Permutation and Combination
Permutation and Combination
Punjab
7. Permutation Combination and Probability eLearn.Punjab 7. Permutation Combination and Probability eLearn.Punjab
7.1 Introduction 9!
Example 3: Evaluate
6!3!
The factorial notation was introduced by Christian Kramp (1760 - 1826) in 1808. This
notation will be frequently used in this chapter as well as in inding the Binomial Coeicients
= = 84
9! (9.8.7)6!
in later chapter. Let us have an introduction of factorial notation. Solution:
Let n be a positive integer. Then the product n(n - 1)(n - 2). . . . 3 . 2 . 1 is denoted by
6!3! 6!(3.2.1)
2!( 9 - 2 )! 15!(15 - 15 )!
9! 15! 3!
8! ix) x) xi) xii) 4!.0!.1!
Example 1: Evaluate 0!
6!
==
8! 8.7.6.5.4.3.2.1 2. Write each of the following in the factorial form:
Solution: 56
6! 6.5.4.3.2.1 i) 6.5.4. ii) 12.11.10 iii) 20.19.18.17
(n + 1)(n)(n - 1)
8.7.6.5.4.3.2.1 8! vii) n(n - 1 )(n - 2) viii) (n + 2)(n + 1)(n) ix)
Solution: 8.7.6.5 = = 3.2.1
4.3.2.1 4!
x) n(n - 1)(n - 2)....(n - r + 1)
2 3
1. Quadratic Equations eLearn.Punjab 1. Quadratic Equations eLearn.Punjab
7. Permutation Combination and Probability eLearn.Punjab 7. Permutation Combination and Probability eLearn.Punjab
This principle can be extended to three or more events. For instance, the number of
ways that three events A, B and C can occur is the product p.q.r.
One important application of the Fundamental Principle of Counting is to determine
the number of ways that n objects can be arranged in order. An ordering (arrangement) of
n objects is called a permutation of the objects.
A permutation of n diferent objects is an ordering (arrangement) of the objects
such that one object is irst, one is second, one is third and so on.
To determine the possible ways, we count the paths of the tree, beginning from the
According to Fundamental Principle of Counting:
start to the end of each branch. So, we get 6 diferent names of triangle.
i) Three books can be arranged in a row taken all at a time = 3.2.1 = 3! ways
ABC, ACB, BCA, BAC, CAB, CBA.
ii) Number of ways of writing the letters of the WORD taken all at a time
Thus there are six possible ways to write the name of the triangle with vertices A, B and
= 4.3.2.1 = 4!
C.
Each arrangement is called a permutation. Now we have the following deinition.
Explanation: In the igure, we can write any one of the three vertices A, B, C at irst place.
A permutation of n diferent objects taken r (7 n) at a time is an arrangement of
After writing at irst place any one of the three vertices, two vertices are left. So, there are
the r objects. Generally it is denoted by n Pr or P(n,r).
two choices to write at second place. After writing the vertices at two places, there is just one
4 5
1. Quadratic Equations eLearn.Punjab 1. Quadratic Equations eLearn.Punjab
7. Permutation Combination and Probability eLearn.Punjab 7. Permutation Combination and Probability eLearn.Punjab
Corollary: If r = n, then
So the number of ways of arranging the books as given by.
p=n = = = n!
( n - n )! 0! 1
n n! n! n!
4! % 5! % 2! = 4 % 3 % 2 % 1 % 5 % 4 % 3 % 2 % 1 % 2 % 1
= 5740
⇒ n diferent objects can be arranged taken all at a time in n! ways. Exercise 7.2
Example 1: How many diferent 4-digit numbers can be formed out of the digits 1, 2, 3, 4, 1. Evaluate the following:
5, 6, when no digit is repeated?
i) 20 P3 ii) 16 P4 iii) 12
P5 iv) 10
P7 v) 9
P8
2. Find the value of n when:
P2 = 30 Pn = 11.10.9 P4 : n-1P3 = 9 :1
Solution: The total number of digits = 6 n 11 n
i) ii) iii)
The digits forming each number = 4.
So, the required number of 4-digit numbers is given by:
3. Prove from the irst principle that:
p= = = = 6.5.4.3
= 360 i) n Pr = n . n-1Pr -1 ii) = n -1
Pr + r. n-1Pr -1
( 6 - 4 )! 2!
n
6 6! 6! 6.5.4.3.2.1 Pr
4
2.1 4. How many signals can be given by 5 lags of diferent colours, using 3 lags at a time?
Example 2: How many signals can be made with 4-diferent lags when any number of them 5. How many signals can be given by 6 lags of diferent colours when any number of
are to be used at a time? lags can be used at a time?
6. How many words can be formed from the letters of the following words using all letters
Solution: The number of flags = 4 when no letter is to be repeated:
i) PLANE ii) OBJECT iii) FASTING?
Number of signals using 1 lag = 4 P1 = 4
7. How many 3-digit numbers can be formed by using each one of the digits 2, 3, 5, 7, 9
Number of signals using 2 lags = 4 P2 = 4 . 3 =12
only once?
Number of signals using 3 lags = 4 P3 = 4.3.2 = 24 8. Find the numbers greater than 23000 that can be formed from the digits 1, 2, 3, 5, 6 ,
∴
Number of signals using 4 lags = P4 = 4.3.2.1 = 24
4
without repeating any digit.
Total Number of signals = 4 + 12 + 24 + 24 = 64. HINT: The irst two digits on L.H.S. will be 23 etc.
6 7
1. Quadratic Equations eLearn.Punjab 1. Quadratic Equations eLearn.Punjab
7. Permutation Combination and Probability eLearn.Punjab 7. Permutation Combination and Probability eLearn.Punjab
9. Find the number of 5-digit numbers that can be formed from the digits 1, 2, 4, 6, 8 alike of second kind and the rest of them are all diferent. Let x be the required number of
(when no digit is repeated), but permutation. Replacing n1 alike things by n1diferent things and n2 alike things by n2 diferent
i) the digits 2 and 8 are next to each other; things, we shall get all the n things distinct from each other which can be permuted among
ii) the digits 2 and 8 are not next to each other. themselves in n! ways. As n1 diferent things can be permuted among themselves in (n1)!
10. How many 6-digit numbers can be formed, without repeating any digit from the digits ways and n2 diferent things can be arranged among themselves in (n2)! ways, so because of
0, 1, 2, 3, 4, 5? In how many of them will 0 be at the tens place? the replacement suggested above, x permutation would increase to x x (n1) ! % (n2)! number
11. How many 5-digit multiples of 5 can be formed from the digits 2, 3, 5, 7,9, when no digit of ways.
is repeated. ∴ x × (n1 )!× (n 2 )! =
(n)!
In how many ways can 8 books including 2 on English be arranged on a shelf in such a
n
12.
way that the English books are never together? = =
(n)!
(n1 )!× (n2 )! n1 , n2
Hence x
13. Find the number of arrangements of 3 books on English and 5 books on Urdu for
placing them on a shelf such that the books on the same subject are together.
Cor. If there are n1 alike things of one kind, n2 alike things of second kind and n3 alike
14. In how many ways can 5 boys and 4 girls be seated on a bench so that the girls and the
things of third kind, then the number of permutation of n things,taken all at a time is given
boys occupy alternate seats?
by:
n
=
7.2.1 Permutation of Things Not All Different
n!
Suppose we have to ind the permutation of the letters of the word BITTER, using all
(n1 )!× (n2 )!× (n3 )! n1 , n2 n3
the letters in it. We see that all the letters of the word BITTER are not diferent and it has 2
Ts in it. Obviously, the interchanging of Ts in any permutation, say BITTER, will not form Example 1: In how many ways can be letters of the word MISSISSIPPI be arranged when
a new permutation. However, if the two Ts are replaced by T1 and T2, we get the following all the letters are to be used?
two permutation of BITTER
BIT1T2ER and BIT2T1ER Solution: Number of letters in MISSISSIPPI = 11
In MISSISSIPPI,
Similarly, the replacement of the two Ts by T1 and T2 I is repeated 4 times
in any other permutation will give rise to 2 permutation. S is repeated 4 times
P is repeated 2 times
Now, BIT1T2ER consists of 6 diferent letters which can be permuted among themselves M comes only once.
in 6 ! diferent ways. Hence the number of permutation of the letters of the word BITTER
11
Required number of permutation =
taken all at a time
= = =
6! 6.5.4.3.2.1
360 4,4,2,1
2 2
=
=
This example guides us to discover the method of inding the permutation of n things (11)!
(4)!× (4)!× (2)!× (1)!
34650 ways
all of which are not diferent. Suppose that out of n things, n1 are alike of one kind and n2 are
version: 1.1 version: 1.1
8 9
1. Quadratic Equations eLearn.Punjab 1. Quadratic Equations eLearn.Punjab
7. Permutation Combination and Probability eLearn.Punjab 7. Permutation Combination and Probability eLearn.Punjab
10 11
1. Quadratic Equations eLearn.Punjab 1. Quadratic Equations eLearn.Punjab
7. Permutation Combination and Probability eLearn.Punjab 7. Permutation Combination and Probability eLearn.Punjab
9. Fatima invites 14 people to a dinner. There are 9 males and 5 females who are seated
⇒ cr ×
= ∴=
( n - r )! r !( n - r )!
at two diferent tables so that guests of one sex sit at one round table and the guests n n! n n!
r cr
of the other sex at the second table. Find the number of ways in which all gests are
seated.
Which completes the proof.
10. Find the number of ways in which 5 men and 5 women can be seated at a round table
Corollary:
in such a way that no two persons of the same sex sit together.
In how many ways can 4 keys be arranged on a circular key ring?
= = =
n!( n - r )! n!0!
11. n! n!
n
12. How many necklaces can be made from 6 beads of diferent colours? i) If r = n, then cn 1
= = = 1
7.3 Combination
0!( n - 0 )!
n n! n!
ii) If r = 0, then c0
0!n!
While counting the number of possible permutation of a set of objects, the order is
important. But there are situations where order is immaterial. For example
ABC, ACB, BAC, BCA, CAB, CBA are the six names of the triangle whose vertices
i)
7.3.1 Complementary Combination
are A, B and C. We notice that inspite of the diferent arrangements of the vertices
Prove that: nCr = nCn-r
Proof: If from n diferent objects, we select r objects then (n - r) objects are left.
of the triangle, they represent one and the same triangle.
ii) The 11 players of a cricket team can be arranged in 11! ways, but they are players
Corresponding to every combination of r objects, there is a combination of (n - r)
of the same single team. So, we are interested in the membership of the committee
objects and vice versa.
(group) and not in the way the members are listed (arranged). Therefore, a
Thus the number of combinations of n objects taken r at a time is equal to the number
combination of n diferent objects taken r at a time is a set of r objects.
of combinations of n objects taken (n - r) at a time.
The number of combinations of n diferent objects taken r at a time is denoted by nCr
∴ n
Cr =
n
Cn - r
n
or C(n, r) or r and is given by
cn-r =
(n - r )!( n - n + r )!
n n!
Other wise:
cr =
r !( n - r )! = =
n!
( n - r )!r! r !( n - r )!
n
n! n!
Proof: There are nCr combinations of n diferent objects taken r at a time. Each combination ⇒ ncn-r =
n
cr
consists of r diferent objects which can be permuted among themselves in r! ways. So, each
combination will give rise to r! permutation. Thus there will be nCr x r! permutation of n cr r > .
n
Note: This result will be found useful in evaluating nCr when
diferent objects taken r at a time. 2
n
cr × r !=n pr
c2 =
(12).(11)
e.g l2
C10 = 12
C12-10 = 12
= (6). (11) =66
2
version: 1.1 version: 1.1
12 13
1. Quadratic Equations eLearn.Punjab 1. Quadratic Equations eLearn.Punjab
7. Permutation Combination and Probability eLearn.Punjab 7. Permutation Combination and Probability eLearn.Punjab
∴
n
Solution: We know that Cr = nCn - r
n
C8 = nCn-8 (i) Exercise 7.4
But it is given that nC8 = nC12 (ii)
From (i) and (ii), we conclude that 1. Evaluate the following:
12
n
Cn-8 = n
C12 i) C3 ii) 20C17 iii) n
C4
⇒ n - 8 = 12
∴
2. Find the value of n, when
n = 20
12 × 11
i) n
C5 = nC4 ii) n
C10 = iii) C12 = nC6
n
2!
Example 2: Find the number of the diagonals of a 6-sided igure.
3. Find the values of n and r, when
Solution: A 6-sided igure has 6 vertices. Joining any two vertices we get a line segment. i) nCr = 35 and nPr = 210
ii) n-1Cr-1 : nCr : n+1Cr+1 = 3 : 6 : 1 1
∴ Number of line segments = = 15
6 6! 4. How many (a) diagonals and (b) triangles can be formed by joining the vertices of the
C2
2!4! polygon having:
But these line segments include 6 sides of the igure i) 5 sides ii) 8 sides iii) 12 sides?
∴ Number of diagonals = 1 5 - 6 = 9 5. The members of a club are 12 boys and 8 girls. In how many ways can a committee of 3
boys and 2 girls be formed?
Example 3: Prove that: n-1
Cr + n-1Cr- 1 = nCr 6. How many committees of 5 members can be chosen from a group of 8 persons when
each committee must include 2 particular persons?
Solution: L.H.S. = n-1
Cr + n-1Cr- 1 7. In how many ways can a hockey team of 11 players be selected out of 15 players? How
many of them will include a particular player?
n -1 n -1
= +
r n -1- r r -1 n - r
8. Show that: l6C11 + 16C10 = 7C11
9. There are 8 men and 10 women members of a club. How many committees of can be
n -1 n -1
formed, having;
= +
r r -1 n - r -1 r - 1(n - r ) n - r - 1
i) 4 women ii) at the most 4 women iii) atleast 4 women?
10. Prove that nCr + nCr-1 = n+1Cr.
n -1 1 1 n -1 n - r + r
= = + =
r -1 n - r -1 r n - r r - 1 n - r - 1 r (n - r )
7.4 Probability
n n -1
= = =
n We live in an uncertain world where very many events cannot be predicted with
r r - 1(n - r ) n - r - 1 r n - r
n
Cr
complete certainty, e.g.
i) In a cloudy weather, we cannot be sure whether it will or will not rain. However,
version: 1.1 version: 1.1
14 15