Permutation & Combination (TN)
Permutation & Combination (TN)
Permutation & Combination (TN)
(i) Number of ways in which he can enter and leave the cinema hall by a different
door = 5×4
(ii) He can enter & leave by any door = 5×5 = 25.
(iii) He can enter by D1, D2 and leaves by D3, D4, D5 = 2 × 3 = 6
(vi) Boat problem : (General nomenclature). An 8 oared boat to be manned from a crew
of eleven of whom 3 can only steer but can not row. 8 can row but can not steer. In
how many ways the staff can be arranged if 2 of the men can only row on bow side.
8 1
7 2
6 3
5 4
(8 remaining with 9 gaps) select any 4 out of 9 i.e. 9C4 and this is the final answer.
think! how?
(xi) 8 straight lines & 6 circles in a plane. Maximum number of their intersection points.
(xii) A cricket team comprising of A,B,C,..........J, K is to be sent for batting. If ‘A’ wants
to bat before ’J’ and ‘J’ wants to bat after ‘G’. Then the number of batting orders if
other players could go in any order.
A G
G A 2 ways
J J
[ X X X .... X (11 croses). Select 3 places for A G J who can be seated in two ways and
remaining 8 in 8! ways. Hence total = 11C3 . 2 . 8! .]
(6) Formation of groups (distribution of different things among persons are very convinient
by forming the groups)
(m n )!
(a) m + n different things m n ; number of groups = m! n!
2n!
If m = n then number of groups = n! n! 2!
( 2n )!
If these groups are to be distributed between two persons the number of ways = n! n! 2! 2!
( m n p)!
(b) |||ly (m + n + p) different things can be divided into 3 unequal groups is m! n! p!
(3n )!
(1) If the groups are all equal then the number of way =
(n!)3 3!
(3n )! . 3!
(2) If these groups are to be distributed between 3 persons then (n!)3 3!
Proofs and explanation of above
(a) To find the number of ways in which (m + n) different things can be divided into two
unequal groups, it is equivalent to select 'm' persons. Since for each selection of 'm'
persons there will be a corresponding rejection of n persons hence each selection of m
and a corresponding rejection of n people will give a group.
(m n )!
Number of groups = m+n
Cm = m!n!
. However situation is different if m = n.
consider 4 different toys T1 T2 T3 T4
When T1 T2 is selected and T3 T4 is rejected one way of forming the group.
4!
When T3 T4 is selected and T1 T2 is rejected is not a different group hence 2! 2! gives
( 2n ) !
= n!n!2! ...(1)
However if these 2n things are to be distributed between two persons then (1) has to be
multiplied by 2! again.
(b) To understand the article consider 10 children to be divided into three unequal groups of
2,3 and 5.
10!
(i) First make two groups of 2 and 8 and this can be done in 2!8! way say. AB/CDEFGHIJ
Consider our such group of 8 which can be divided into two groups of 3 and 5 in
8! 10! 8! 10!
3!5! ways. Hence total = .
2!8! 3!5! = 2!3!5!
Similar explanation will be valid if initial groups in 3 and 7 and then split 7 in 2 and 5.
However if 10 is divided into two groups of 5 each initially, which can be done
10!
in 5!5!2! ways ....(1)
One such grouping is say
ABCDE FGHIJ
Consider F G H I J keeping A B C D E as it is. Now the group F G H I J can be divided
5!
into two groups of 2 and 3 is 2!3! and similarly when F G H I J is kept as it is,
5!
A B C D E can be divided into two groups of 2 and 3 in 2!3! ways. Hence one group
5!
(each of 5) given by (1) generated 2. 2!3! different groups of 2, 3, 5.
10 ! 2.5! 10!
Total no. of groups = . = 2!3!5!
5!5!2! 2!3!
Similarly if m = n = p situation becomes different.
Consider T1 T2 T3 T4 T5 T6 to be divided into 3 equal groups.
6!
When we say 6C2 . 4C2 = 2!2!2! is totally wrong why?
Note that number of ways in which 30 Jawans can be divided into 3 equal
30! 1
groups = 10!10!10! 3!
and the number of ways in which 30 Jawans can be deputed equally on 3 borders,
30!
(10 on each border) is 10!10!10!3! 3!
Remember that you have to divide by as many factorials as the number of equal groups.
e.g. number of ways in which 200 people can be divided into 100 couples is
(100 equal groups)
( 200 ) !
= ( 2!)100 .100! .....(B)
Answer in (B) can also be written as
2100.100! (1.3.4........199)
(i) = 1.3.5 ....... 199.
2100.(100)!
(100)!(101)(102).....(200) 101 102 200
(ii) 100
2 .100!
= 2 . 2 ..... 2
Consider the example : Number of ways in which 12 different books can be tied up
in 3 bundles one containing 2 and the other two bundles containing 5 different books.
(12) !
Note that our final correct answer is 2!5!5!2! ...(1)
12! 10 !
One way & (1)
2!10! 5!5!2!
12! 7! 12 ! 7 ! 12 !
Second way = & = . = 5!5!2!
5!7! 2!5! 5!7! 2!5!
(i)(b) 6 different books to be distributed between R | S | G if each child gets at least one book.
(Do it in two different ways)
Method 1: 36 – {3C1 (26 – 2) + 3C2} ( note that : 6C3 . 3! . 33 is wrong )
Method 2: 6 different things (123 , 114 and 222) – broad groups
6! 6! 6!
= 1! 2! 3! 1! 1! 4! 2! . 3! ]
( 2!) 3 3!
(ii) Number of ways in which 8 persons can be seated in 3 different taxies each having
3 seats for passangers and duly numbered if
(i) internal arrangement of persons inside the taxi is immaterial.
(ii) internal arrangement also matters.
[Sol. (i) The only way out is to accomodate the persons in groups of 3, 3 and 2.
8! 8! . 3! 8!
No. of groups = 3! 3! 2! 2! & number of ways = =
(3!) 2 (2!) 2 3! (2!) 2
(v) In how many ways 13 cards to each of the four players be distributed from a pack of
52 cards so that each may have
(i) A | K | Q | J of the same suit ; (ii) A | K | Q | J of any suit
36! . 4! (36) ! . 4!
[Sol. (i) 4
4! ; (ii) In case of any suit 4
(4!) 4 ]
(9!) . 4! (9!) . 4!
(vi) A f :AB
Case-I: When both the sets A and B contain an equal number of elements
(i) Total number of functions = 44 = 256
(ii) Number of functions one-one = 4!
(iii) Number of functions many-one = 44 – 4!
(iv) Number of onto function 4! number of bijective mapping = 4!
(v) Number of into functions = 44 – 4!
Alternate : 4C1 [34 – {3C2 + 3C1(24 – 2)}] + 4C2(24 – 2) + 4C3 · 1
7!
9999977 5!·6! = 21 ×
7! 4 ! 3!
9999968 5! = 42 × × × × 3! 2 ! = 12
7! 4!
9999887 4 !·2 ! = 105 3! · 3 ! = 24
7! 4!
9998888 3!·4! = 35 3! · 1 ! = 4
210 40 ]
(g) Four faces of a tetrahedral dice are marked with 2, 3, 4, 5. The lowest face being
considered as the outcome. In how many ways a total of 30 can occur in 7 throws.
[Sol. 5555532 ; 5555442 ; 5555433 ; 5554443 ; 5544444 ] [ Ans: 413 ]
(B) Examples on some at the time
(a) INDEPENDENCE – 5 letters word – Selections and arrangements,
[E’s = 4; N’s = 3 ; D’s = 2 ; I’s = 1; P’s = 1 ; C’s = 1 ]
(b) Number of different collections of 7 letters that can be formed from the letters of the
word ACCOMMODATION. (Ans: 315)
A’s =2; C’s =2 ; O’s = 3; M’s =2 ; D’s = 1 ; T’s = 1 ; N’s = 1 ; I’s = 1
(c) Number of numbers greater than 1000 from the digits 1,1,2,3,4,0 taken 4 at a time.
(Ans: 159)
(d) How many 6 lettered word can be formed using the letters from the word
INTEGRATION if each word has 3 vowels and 3 consonants.
Asking : MISSISSIPPI ( selection of 5 letters)–Six cases [ Ans: 25 ]
(p q r )!
Concept: Coeffecient of xp yq zr in the expansion of (x + y+ z)p + q + r = p! q! r! ]
12! 12 !
e.g. Coeffecient of x5 y4 z3 in (x + y + z)12 is 5! 4! 3! and coeff. of x6 y3 z3 is 6! 3! 3! ]
Explanation : [x + y + z]12 = [x + (y + z)]12
Tr + 1 = 12Cr · x12 – r · (y + z)r
put r = 7
T8 = 12C7 · x5 · (y + z)7 = 12C7 · x5 · 7Cp · y7 – p · zp
put p = 3
= 12C7 · 7C3 · x5 · y4 · z3
(12)! 7! (12)!
Hence coefficient x5 y4 z3 is 12C7 · 7C3 = 7!·5! 3!·4! = 3!·4!·5!
Hence arrange 12 object of which 5 alike, 4 OA and 3 OA taken all at a time in
(12)!
3!·4!·5! ways
If as many more words as possible be formed using the letters of the word
“CIVILISATION” without changing the relative order of vowels and consonants.
6!
[ 6! 1 = 21599]
4!
When objects are different
(8) Circular Permutation
When some are alike
(A) All five are the same arrangement in a circle. Hence number of circular permutations of
(i) (a) n different things taken all at a time = (n–1)! ;
(b) taken r at a time = nCr.(r–1)!
This distinguishes/discriminates/considers to be different the clockwise and anticlockwise
arrangement.
(ii) If clockwise and anticlockwise arrangements are same then (n 1)!
The number of circular permutations of n different things. 2
Example
(i) (a) Number of ways in which 7 Americans and 7 British people can be seated on a
round table so that no two Americans are consecutive. (Ans: 6! . 7!)
(b) Number of circular permutations of n persons if two specified people are never
together.
(ii) (a) Number of ways in which 8 persons can be seated on a round table so that
“all shall not have the same neighbours in any two arrangement”.
(note that clockwise & anticlockwise arrangement are not to be distinguished)
(8 1)!
[Ans: = 2520 ]
2
(b) Number of ways in which 10 children can sit in a mery go round relative to one
another. [Ans: 9! (Here clockwise & anticlockwise arrangement is different]
(iii) Out of 10 flowers of different colours, how many different garlands can be made if
5!
each garland consists of 6 flower of different colour. [ Ans: 10C6 . ]
2
(iv) Number of ways in which 5B and 5G can be seated on a circle alternately if a particular
B1 and G1 are never adjacent to each other in any arrangement.
[Hint : Total 5! 4! – 3! 4! = (4!)2 [5 – 2] = 3(4!)2 = 1728 ]
Alternatively : 4 ! · (G1 can not come in adjacent places of B1
for G1 only 3 places
4 ! · (3) · 4! for remaining 4 girls ]
(v) (a) n people A1 ,A2, ........,Ansitting on a circle. Number of ways in which 3 people
can be selected if no two of them are consecutive.
[Solution : nC3 – [no. of ways when all 3 consecutive
+ when exactly two consecutive]
n
C3 – [n + n (n – 4)] = C3 – (n2 – 3n) ]
n
[Sol. Step (1) Select the initial vertex say ‘1’ (in 15C1 ways)
Method – 3 Applicable only if the digits used are such that they have the same
common difference. (valid even if the digits are repeating)
Writing all the numbers in ascending order of magnitude
S = ( 13579 + 13597 + ........... + 97513 + 97531)
S = ( 13579 + 99531) + (13597 + 97513) + ....
= (111110) 60 time = 6666600 Ans
n
repeated
(b) Sum of all the numbers greater than 10000 formed by the digits 0,1,2,4,5 no digit being
repeated
[Ans: 24(0+1+2+4+5) (1+10+102+103+104) – 6 (1+2+4+5)(1+10+102 +103)
(c) Sum of all distinct four digit numbers that contain only the digits 1,2,3,4,5 each at most
once is given by
[ Ans: 6(2+3+4+5) + 6(1+3+4+5) + 6(1+2+4+5) + 6(1+2+3+5) +6(1+2+3+4)
= 6 [ 4 ( 1+2+3+4+5)] = 24(1+2+3+4+5). (1+10+102+103) ]
(d) Sum of all the numbers that can be formed using all the digits 2, 3, 3, 4, 4, 4 is :
(A*) 22222200 (B) 11111100 (C) 55555500 (D) 20333280
[Hint : 4 x 30 [x] + 3 x 20 [x] + 2 x 10 [x] where [x] = 1 + 10 + 102 + 103 + 104 + 105 ]
(11) Distribution of alike objects
(i) Number of ways in which n identical coins can be distributed between p persons, if
(n p 1)!
each person receiving none , one or more coins = n!(p 1)!
(vi) In how many ways 30 marks be allotted to 8 questions if atleast 2 marks are to be given
to each question, assuming the marks are to be alloted in non negative integral values.
[ Ans: 00 0 0 0....
.... 0 = 21
C 7]
14 7
(viii) A man has to buy 25 mangoes in four different varities buying at least 4 of each variety.
In how many ways can he plan his purchases, if mangoes of each variety are identical
and available in abundance. [ Ans: 12C3]
(ix) Number of ways in which K identical balls can be distributed in p different boxes if no
( K 1)!
box remains empty. [ Ans: ( K p)!( p 1)! ]
(xi) Number of ways in which 2 apples, 3 oranges and 4 mangoes can be distributed
between R|S|G if each child receives none, one or more number of fruits.
(Fruits of the same species are alike). [ Ans: 4C2 . 5C2 . 6C2 ]
(xii) In how many ways 4 alike apples and 4 alike oranges can be distributed in six children
if each child gets at least one fruit.
[Sol. 111113 ; 111122
Case 1 : 1 fruit to each of 5 children and 3 fruits to one child
Case 2 : 1 fruit to each of 4 children and 2 fruits to each of two children.
(xiii) A supermarket offers ice creams in 10 different varieties. Ice creams of each variety are
identical. In how many ways 4 ice creams can be selected
(i) without any restriction ; (ii) at least two ice creams of the same variety are taken.
V1 =
V2 =
V10 =
[Sol. (i) Treat V1 V2 .....V10 as beggar
0000
0 0...
0
to be selected 9
= 13C4
13
(ii) C4 = All four different + 2 alike & 2 different + 2 alike & 2 OA + 3alike
& 1 different + All four alike.
13
Required no. of ways = C4 – all four different
= 13C4 – 10C4 ]
(xiv) In how many ways 30 can be partitioned into 3 unequal natural parts. Number of ways
when equal parts are also counted.
r r r+1 r r–1
n
r if n is even
2
(i) n
Cr is maximum if
n 1 n 1
r or if n is odd
2 2
15 12
eg. Find the difference between the greatest value of Cr and Cr
(ii) A man wants to give as many number of parties as he can out of his 20 friends
by calling the same number of people but not the same group. How many should
he call so that the number of parties is maximum.
(iii) There are 2n letters which are either a’s or b’s. Find the maximum number of
arrangement of these letters. (Maximise 2nCr . Hence r = n ]
(iv) Find the greatest number of different groups that can be formed from the letters
of the word “BAROUCHE”, each group consisting of the same number of
letters. In how many of them will the letter ‘C’ occur
[Maximise 8Cr 8C4 . If C is always taken then the number of ways = 7C3 ]
(b) Grid Problem
Complete cartesian plane is partitioned by drawing line | | to x and y axis equidistant
apart like the lines on a chess board. Then the
(i) Number of ways in which an ant are can reach from (1, 1) to (4, 5) via shortest path.
(c) Dearrangement :
(i) n letters are to be kept in n directed envelopes number of ways in which they can be
1 1 1 n 1
plated if none of the letter goes into its own envelope is = n! 2! 3! 4! ....... (1) n !
[Proof: Let the required number of arrangements be Qn and Let n! = Pn
The total number of arrangements Pn includes Qn in which none of the letters are put
into the right envelopes.
Let us find the number of permutations in which only one letter is put into the right
envelope.
This is n . Qn–1
Similarly, the number of permutations in which only two letters are put into their
Pn = Qn + nC1 . Qn–1 + nC2 Qn–2 + nC3 . Qn–3 + ...... + nQ1 + Q0
This can be written in symbols as
Pn = (Q + 1)n where QK , PK replace QK , PK etc.
We can write this symbolic identity valid x as
(P + x)n = (Q + 1 + x)n where P = Q + 1
replacing x by –1, we get
Qn = (P – 1)n
= Pn – nC1. Pn–1. 1 + nC2 Pn–2 – nC3 Pn–3 + ...... + (–1)n–1 n P1 + (–1)n
reverting to Qn , Pn we have
n
P C P
Qn = n 1 n1 + nC2 Pn–2 – nC3 Pn–3 + .... + (–1)n–1 n P1 + (–1)n
zero
1 1 1
( 1) n 1 ( 1) n
i.e. Qn = n! .........
]
2! 3! 4! ( n 1)! n!
(1) Problem on match the column.
(2) Number of ways in which 13 card combination can be distributed to each of the
4 players if each player gets Ace and king of different suit.
44!·4!
[Ans. (11!) 4 4! ·9 ·4! ]
(d) Coefficient Method : Note that Coeff. of xr in (1 – x)–n = n + r – 1Cr ( n N )
It gives the number of solutions.
(ii) 3 different dice are thrown. Number of ways in which a total of k (9 k 14) can be
had.
(iii) Show that the number of different selections of 5 letters which can be made from five
a’s four b’s; three 3 c’s; two d’s and one e is 71.
[Sol. Coeff. of x5 = (1 + x + x2 + x3 + x4 + x5) (1 + x + ... + x4) (1 + x + .. x3) (1 + x + x2) (1 + x)
1 x6 1 x5 1 x 4 1 x3 1 x 2 (1 x 2 x 3 x 4 )
= . . . . = (neglecting higher degree)
1 x 1 x 1 x 1 x 1 x (1 x ) 5
= coeff. of x5 in (1 – x)–5 – coeff. of x3 (1 – x)–3 – coeff. of x2 in (1 – x)–5 – coeff. of x in (1 – x)–5
= 9C4 – (7C3 + 6C2 + 5C1) = 126 – (35 + 15 + 5) = 126 – 53 = 71]
(iv) Prove that the number of combinations of n letters out of 3n letters of which n are ‘a’
and n are ‘b’ and the rest unlike is (n + 2) 2n – 1 [T/S]
[Sol : Coeff of x in (1 + x + x + .... + x ) (1 + x + x + .... + xn) (1 + x)n
n 2 n 2
2
1 x n 1
or n
coeff. of x in .1 x n
1 x
or coeff of xn in (1 – x)–2 . (1 + x)n
n n n n 2 n n –2
2S = (n +2) (C0 + C1 + ..... + Cn) S = (n + 2)2n –1
(v) A bag contains 6n tickets numbered from 0, 1, 2, .... 6n–1. In how many ways 3 tickets
can be selected so that the sum of the numbers shown on them is equal to 6n.
[Sol. Number of way = coeff. of x6n in (1 + x + x2 + ..... + x6n–1)3 – R
where R = number of cases to be rejected
3
1 x 6n
or coeff. of x 6n
in 1 x
coeff. of x6n in (1 – x)–3 = 6n+2C2
1 1 6n 2
2 2 6n 4
now R = 2n 2n 2n = (3n –1) ways. (excluding 2n, 2n, 2n)
3n 3n 0
But each of such cases repeated 3 times + one case 2n, 2n, 2n
R = 3 (3n – 1) + 1
6n 2
C 2 3(3n 1) 1
required number of ways ]
3!
(vi) In a shooting competition a man can score 0, 2, 3, 4 or 5 points for each shot number
of ways in which he can secure 30 in 7 shot.
[Sol : 5555550 ; 5555532 ; 5555442, 5555433; 5554443, 5544444
(Now compute arrangement in each case)
or Coeff. of x30 in (1 + x2 + x3 + x4 + x5)7 in two different ways.]
(vii) Find the number of integers between 1 to 100000 if the sum of their digits is 15.
[Sol. (X X X X X )
coefficient of x15 in ( 1 + x + x2 + x3 + ... + x9)5 = (19C4 – 5.9C4) = 735 Ans ]
Note : There are five papers each of maximum 9 marks. Number of ways in which the total of
15 can be had in these five papers.