Docsity

Permutations and Combinations – Lecture Notes | MATH 1313, Study notes of Mathematics

Toggle sidebar
bg1
Math 1313
Section 6.4
Permutations and Combinations
In this section, we will consider the number of ways in which the
elements in a set can be arranged. Before we can determine the
number of possible arrangements, we have to know whether or not
order matters. In other words, if our set is {1, 2, 3} and we are
looking for all possible arrangements of the elements of the set and
order matters, then 123 and 231 are different arrangements.
However, if order does not matter, then 123 and 231 would be
considered to be the same.
When does order matter? Suppose you and five of your friends are
lining up to take a group photo. How many ways can this happen?
In this case, order matters. You’ll get a different photo if you are
first in line than you will if you are last in line.
Or, suppose you are in line with five other people. In this case
order matters!
Now suppose you are checking your Cash 5 lottery ticket and you
see that you have the correct five numbers. You are still a winner,
even if the numbers on your ticket are in a different order than the
order in which they were drawn. In this game, order does not
matter.
The group photo example is an example of a permutation (order
matters) and the lottery example is an example of a combination
(order does not matter).
Definition: n! is read “n factorial” and is defined to be
.
123)3)(2)(1( ⋅⋅⋅⋅⋅−−− nnnn
Then .
123456!6 ⋅⋅⋅⋅⋅=
Math 1313 Class Notes – Section 6.4, Page 1 of 9
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Permutations and Combinations – Lecture Notes | MATH 1313 and more Study notes Mathematics in PDF only on Docsity!

Math 1313 Section 6. Permutations and Combinations

In this section, we will consider the number of ways in which the elements in a set can be arranged. Before we can determine the number of possible arrangements, we have to know whether or not order matters. In other words, if our set is {1, 2, 3} and we are looking for all possible arrangements of the elements of the set and order matters, then 123 and 231 are different arrangements. However, if order does not matter, then 123 and 231 would be considered to be the same.

When does order matter? Suppose you and five of your friends are lining up to take a group photo. How many ways can this happen? In this case, order matters. You’ll get a different photo if you are first in line than you will if you are last in line.

Or, suppose you are in line with five other people. In this case order matters!

Now suppose you are checking your Cash 5 lottery ticket and you see that you have the correct five numbers. You are still a winner, even if the numbers on your ticket are in a different order than the order in which they were drawn. In this game, order does not matter.

The group photo example is an example of a permutation (order matters) and the lottery example is an example of a combination (order does not matter).

Definition: n! is read “n factorial” and is defined to be n ( n − 1 )( n − 2 )( n − 3 )⋅⋅⋅ 3 ⋅ 2 ⋅ 1.

Then 6! = 6 ⋅ 5 ⋅ 4 ⋅ 3 ⋅ 2 ⋅ 1.

You can work this out on your calculator with just a couple of key strokes. Be sure you find the factorial key on your calculator and that you know how to use it.

Permutations

We will consider several types of permutation problems.

First, we’ll look at permutations of all of the elements of the set.

Example 1 : How many possible photos are there if six people line up in single file to take a picture?

The number of permutations of n distinct objects taken n at a time , written P ( n, n ), is. You may also see this notation for permutations, , which also means.

n! n P n^ n!

Example 2 : Find P (8, 8).

While you can compute this using factorials, it is sometimes more convenient to use the permutation feature on your calculator. You need to find this key and be sure you know how to compute permutations using your calculator.

Example 5 : Eight people apply for three different jobs. Each applicant is qualified to fill each of the three jobs. If the jobs are filled from these 8 people, in how many ways can the jobs be filled?

The final type of permutation problem involves a set where the objects in the set are not all distinct objects (i.e., there are repeated or identical items in the set). Given a set of n objects, not all distinct, with objects alike, objects alike,... , objects

alike and then the number of permutations of

these n objects taken n at a time is

n 1 n 2 +

n 2 nr n 1 (^) + ...+ nr = n ,

!!!

! n 1 n 2 nr

n L

Example 6 : How many permutations of the letters in the word PEPPER are there?

Example 7 : The Fall Flagg Co. would like to create a company password by arranging the letters in the company name FALLFLAGG. How many arrangements are possible?

Combinations

We will use combinations throughout the rest of the course. You should become very proficient at working with combinations on your calculator.

The number of combinations of n distinct objects taken r at a

time ( r ≤ n ) is given by !( )! ( , )! r n r C n r n −

You may also see this notation for combinations, , which also

means

n C r . !( )!

! r n r

n −

Example 8 : Find C ( 10 , 4 ).

Example 9 : How many 5-card hands can be dealt from a standard deck of 52 playing cards?

Example 10 : A six-member governing council will be chosen from a 40-member group. How many possible committees are there?

Example 13 : A student belongs to a media club. This month, he must purchase 3 CDs and 4 DVDs from the club’s featured list. There are 12 featured CDs and 12 featured DVDs. In how many ways can he select his purchase?

Note that these questions ask how many ways we can do two or more specific tasks in succession. (like picking 3 CD’s out of 12, or 3 men out of 10 to pick from. Sometimes the questions we want to ask involve more than one “specific task”.

Example 14 : A coin is tossed 5 times. In how many ways can at least 4 heads appear?

At least means –

At most means –

Example 15 : A hardware store receives a shipment of 100 battery packs. A. A sample of 4 batteries is taken for testing. How many ways can a sample of 4 batteries be chosen?

B. Suppose 9 of the battery packs are defective. How many ways can the selection of 4 batteries for testing contain 2 defective battery packs?

C. How many selections contain at most one defective battery?

D. How many selections contain at least one defective?