Permutation and Combination PDF
Permutation and Combination PDF
MANSW
Page 1 of 10
http://www.mansw.nsw.edu.au/members/reflections/vol23no4yen.htm
12/24/2007
Page 2 of 10
AB BC CD DE AC
BD CE AD BE AE
Number of selections = 10. These selections are called combinations.
Notice how there are only half as many combinations as permutations because order is not important
with combinations (e.g., AB is the same as BA).
The multiplication principle for counting arrangements
1.From this list of given names and surnames, how many different arrangements of given name surname pairs are possible?
Given name
Alex
Brionne
Cathy
Darren
Erin
Fiona
Surname
Garrett
Hinze
Ibsen
Johnson
King
Main course
Garlic prawns
Dessert
Pavlova
Steak Diane
Black Forest
cake
Chocolate
mousse
Mangoes and
Roast lamb
Chicken Dijon
http://www.mansw.nsw.edu.au/members/reflections/vol23no4yen.htm
12/24/2007
Page 3 of 10
ice cream
Grilled perch
Total possible dinner arrangements is 3 x 5 x 4 = 60 (and I've tried every one!!).
The basic counting principle is:
1.If A can be arranged in m different ways and B can be arranged in n different ways, then the
number of possible arrangements of A and B together is m x n.
2.More generally, if
A can be arranged in a different ways,
B can be arranged in b different ways,
C can be arranged in c different ways, and so on;
then the total number of possible arrangements of ABC ... together is a x b x c ....
Permutations
1. A girls' school is electing a captain and vice-captain. There are four candidates: Amy, Betty,
Caroline and Deane. How many possible arrangements of captain/vice-captain are there?
Instead of using a tree diagram to count the possibilities, we can draw boxes for the two positions.
There are 4 ways of choosing the
captain, but once the captain is
determined, there are only 3 ways of
choosing the vice-captain.
Total possible arrangements
= 4 x 3 = 12.
These arrangements are called permutations. The number of permutations possible has the notation
where n is the number of items or people available, and r is the number of places available. In the
above example there were 4 candidates and 2 places.
.
Note
2.8 people are to be photographed, but there are only 5 seats available. In how many ways can 8 people
be seated in 5 seats?
8 people, 5 places.
http://www.mansw.nsw.edu.au/members/reflections/vol23no4yen.htm
12/24/2007
Page 4 of 10
arrangements.
Permutations with restrictions
In mathematics, '!' (read 'factorial') means a special product.
For example, 5! = 5 x 4 x 3 x 2 x 1
('5 factorial')
x! means multiplying backward from x down to 1. There is also an x! key on your calculator.
This factorial notation is good for abbreviating numerical expressions in permutation problems.
1.In how many different ways can 5 boys and 4 girls sit together in a row?
2.What if boys and girls must alternate?
3.What if boys and girls sit in separate groups?
4.What if Katie and Christine want to sit together (they always do)?
We can solve this problem by drawing boxes to represent seats or positions. Boxes are like an
advanced representation of the levels (branches) of a tree diagram.
1.9 seats, 9 places.
arrangements.
9 8 7 6 5 4 3 2 1
2.
B G B G B G B G B
5 4 4 3 3 2 2 1 1
Boys: 5 seats, 5 places, Girls: 4 seats, 4 places.
5! x 4! = 2880 arrangements.
3.
B B B B B G G G G
or
G G G G B B B B B
2 x 5! 4! = 2 x 2880 = 5760 arrangements.
4. Let both girls be considered as one person/seat.
http://www.mansw.nsw.edu.au/members/reflections/vol23no4yen.htm
12/24/2007
Page 5 of 10
This is different to 6 people in a line, because the 6 people in a circle can all move one (or more)
places to the left, without affecting the order of seating. In other words, A B C D E F, B C D E F A, C
D E F A B, etc., are ALL the same circular arrangement because they have the same order.
If the seats were in a line, there would be 6! = 720 possible arrangements. However, for each of these
arrangements, you can move every person left one seat and the order would still be retained. In fact,
you can continue doing this until you get back to where you started - that would be 6 shifts. The
answer 6! is 6 times too high, so we must divide by 6.
Total possible arrangements =
Generally, n items in a circle (e.g. seats, keys on a key ring) can be arranged in (n - 1)! ways.
Alternative method: Another way of thinking of the above example is to say that it doesn't matter
where the first person (X) sits, since only the order around him/her is important. Total possible
arrangements = 5! = 120.
http://www.mansw.nsw.edu.au/members/reflections/vol23no4yen.htm
12/24/2007
Page 6 of 10
Solution
The answer is less than 7!, because L is a repeated letter, so some of the arrangements will be the
same, for example, E I L1 L2 L3 O S, E I L1 L2 L3 O S, E I L1 L2 L3 O S, etc., are the same.
For each arrangement of 7 letters, the 3 L's
EILLLOS
can be arranged in 3! ways, so the 7! needs to be divided by 3!.
No. of permutations =
From n items, of which p are alike of one kind, q are alike of another kind, and so on, the number of
possible permutations is
2. (1989 HSC) Let each different arrangement of all the letters of DELETED be called a word.
(a) How many words are possible?
(b) In how many of these words will the D's be separated?
Solution
(a) DELETED has 2 D's, 3 E's. Permutations
(b) To count how many words have separated D's, we can count how many words have D's
together and subtract from (a). Let DD be counted as one letter, giving 6 letters.
Permutations
No. of words with separated D's = 420 - 120 = 300.
Combinations
Three students need to be selected from a group of 8 students to represent the school at a conference.
How many combinations of 3 representatives are possible?
8 students, 3 places. There are
permutations, but this isn't the answer to the problem. If
A, B, C, D, ... represent the 8 students, then the permutations ABC, ACB, BAC, BCA, CAB, CBA are
the same selection. These 3 students can change places within the group but it's still the same group.
Because of this, we must divide our permutations answer by 3! = 6.
No. of combinations
http://www.mansw.nsw.edu.au/members/reflections/vol23no4yen.htm
12/24/2007
Page 7 of 10
Combinations are a special type of permutation. The number of combinations is smaller because the
order of arrangements is not important, e.g. ABC = ACB = BAC = .... , so we divide by r! where r is
the number of places available.
Combinations have the formula and notation
the number of places available.
Permutations vs combinations
Permutations are arrangements of items, while combinations are selections of items. When you
arrange something, you organize them in a particular order or place, but when you select something,
you simply pick out or choose them, without considering their order or place. When selecting from a
group of items, the order of the items selected is not important.
is sometimes called 'n choose r', for
example,
also be written
is also written as
, for example,
can
Permutations are ordered arrangements: there are more of them because ABC, ACB, BAC, etc. are
considered different. For example, a 'trifecta' bet on a horse race (first 3 horses in correct order) is a
permutation. Combinations are unordered selections: there are fewer of them because ABC, ACB,
BAC, etc. are considered the same. For example, a Lotto bet (6 numbers to come up in any order) is a
combination.
Formulas for
Formulas for
and
and
For example:
Generally,
for example:
Generally:
Most calculators also have and
keys, so permutations and combinations can be calculated in
three different ways: by multiplying backward, by using the n! formulas, or by using the calculator
keys.
Investigations
http://www.mansw.nsw.edu.au/members/reflections/vol23no4yen.htm
12/24/2007
Page 8 of 10
http://www.mansw.nsw.edu.au/members/reflections/vol23no4yen.htm
12/24/2007
Page 9 of 10
Binomial probability
With binomial probability, we are concerned with repeated probability trials in which there are only
two possible outcomes: a success with probability p, and a failure with probability q, where p + q = 1.
These are also called Bernoulli trials after the Swiss mathematician James Bernoulli (1654 -1705).
Some examples of outcomes in Bernoulli trials are HEAD or TAIL, WIN or LOSE, TRUE or FALSE,
BOY or GIRL, DEFECTIVE or NON-DEFECTIVE.
The probability of hitting a target is . Garrett takes 5 shots at the target.
Calculate the probability that he scores:
(a) no hits
(b) only 1 hit
(c) 2 hits
(d) 3 hits
(e) 4 hits
(f) 5 hits.
Solution
http://www.mansw.nsw.edu.au/members/reflections/vol23no4yen.htm
12/24/2007
Page 10 of 10
(a)
No. of different
ways of Getting 1
correct from 5.
No. of different
ways of Getting 2
correct from 5.
xxxx
xxx
(d)
xx
(e)
(f)
The general pattern is
where n is the total number of trials and r is the number of
successes. Note that the sum of the probabilities equals 1.
If p = P(success) and q = P(failure) = 1 - p, and the Bernoulli trial is repeated n times, then the
probability of r successes is
http://www.mansw.nsw.edu.au/members/reflections/vol23no4yen.htm
12/24/2007