Permutations and Combinations: Learning Part
Permutations and Combinations: Learning Part
05
Permutations and
Combinations
Learning Part
Session 1
● Fundamental Principle of Counting
● Factorial Notation
Session 2
● Divisibility Test
● Permutation
Session 3
● Number of Permutations Under Certain Conditions
● Circular Permutations
Session 4
● Combination
● Restricted Combinations
Session 5
● Combinations from Identical Objects
Session 6
● Arrangement in Groups
● Multinomial Theorem
● Multiplying Synthetically
Session 7
● Rank in a Dictionary
Practice Part
● JEE Type Examples
● Chapter Exercises
In everyday life, we need to know about the number of ways of doing certain work from given number of available
options. For example, Three persons A,B and C are applying for a job in which only one post is vacant. Clearly, vacant
post can be filled either by A or B or C i.e., total number of ways doing this work is three.
Again, let two persons A and B are to be seated in a row, then only two possible ways of arrangement is AB or BA.In
two arrangements, persons are same but their order is different. Thus, in arranging things, order of things is important.
Session 1
Fundamental Principle of Counting, Factorial Notation
A
B
C
Factorial Notation
Hence, by the fundamental principle of multiplication, total Let n be a positive integer. Then, the continued product of
number of different ways first ‘n’ natural numbers is called factorial n, to be denoted
=5× 4 [i.e., A to B and then B to C ] by n ! or n i.e., n ! = n(n − 1)(n − 2 ) K 3 ⋅ 2 ⋅ 1
= 20 ways Note When n is negative or a fraction, n! is not defined.
Chap 05 Permutations and Combinations 361
= (n + 1)! − 1! n n n
∴ E p (n !) = + 2 + E p 1 ⋅ 2 ⋅ 3 K 2
[ put r = n in (r + 1)! and r = 1 is r !] p p p
= (n + 1)! − 1
Similarly, we get
n
n n n n
y Example 7. Find the remainder when ∑ r ! is divided E p (n !) = + 2 + 3 + K + s
r =1 p p p p
by 15, if n ≥ 5.
Sol. Let where, s is the largest natural number such that
n
N = ∑ r ! = 1! + 2! + 3! + 4 ! + 5! + 6! + 7 ! + K + n ! ps ≤ n < ps + 1
r =1 Note Number of zeroes at the end of n! = E5 ( n!).
= (1! + 2! + 3! + 4 !) + (5! + 6! + 7 ! +K + n !)
= 33 + (5! + 6! + 7 ! + K+n !) y Example 8. Find the exponent of 3 in 100! .
N 33 (5! + 6! + 7 ! + K+ n !) Sol. In terms of prime factors 100! can be written as 2a ⋅ 3b ⋅ 5c ⋅ 7d K
⇒ = +
15 15 15 Now, b = E 3 (100!)
3
=2+ + Integer [as 5!, 6!, K are divisible by 15] 100 100 100 100
15 = + 4 + 3 + 4 +K
3 3 3 3
3
= + Integer = 33 + 11 + 3 + 1 + 0 + ... = 48
15
Hence, exponent of 3 is 48.
Hence, remainder is 3.
362 Textbook of Algebra
2. There are 6 books on Mathematics, 4 books on Physics and 5 books on Chemistry in a book shop. The
number of ways can a student purchase either a book on Mathematics or a book on Chemistry, is
(a) 10 (b) 11 (c) 9 (d) 15
1 1 λ
3. If a, b and c are three consecutive positive integers such that a < b < c and + = , the value of λ is
a! b ! c!
(a) a (b) b (c) c (d) a + b + c
11. The number of prime numbers among the numbers 105 ! + 2,105 ! + 3,105 ! + 4, …, 105 ! + 104
and 105 ! + 105 is
(a) 31 (b) 32 (c) 33 (d) None of these
Session 2
Divisibility Test, Principle of Inclusion and Exclusion,
Permutation
Divisibility Test Principle of Inclusion
In decimal system all numbers are formed by the digits 0, and Exclusion
1, 2, 3, …, 9. If a b c d e is a five-digit number in decimal
1. If A and B are finite sets, from the Venn diagram (i), it
system, then we can write that.
is clear that
a b c d e = 10 4 ⋅ a + 10 3 ⋅ b + 10 2 ⋅ c + 10 ⋅ d + e. U
Number a b c d e will be divisible
A B
(1) by 2, if e is divisible by 2.
(2) by 4, if 2d + e is divisible by 4. (i)
(3) by 8, if 4c + 2d + e is divisible by 8.
n (A ∪ B ) = n (A) + n (B ) − n (A ∩ B )
(4) by 2t , if number formed by last t digits is divisible by 2 t .
and n ( A ′ ∩ B ′ ) = n (U ) − n ( A ∪ B )
For example, Number 820101280 is divisible by 2 5
2. If A , B and C are three finite sets, then from the Venn
because 01280 is divisible by 2 5 . diagram (ii), it is clear that
(5) by 5, if e = 0 or 5.
U
(6) by 5t , if number formed by last t digits is
B
divisible by 5 t . A
1000
n( A 5 ) = = [200] = 200 Note
5 (i) The number of permutations of n different things taken all at
1000 a time = n Pn = n!
n( A 2 ∩ A 3 ) = = [16667
. ] = 166
6 P0 = 1 , n P1 = n and n Pn − 1 = n Pn = n!
n
(ii)
1000 n
Pr = n( n − 1 Pr = n( n − 1)( n − 2 Pr
= [6667
. ] = 66
(iii) − 1) − 2)
n( A 3 ∩ A 5 ) =
15 = n( n − 1)( n − 2)( n − 3 Pr − 3) = K
1000
n( A 2 ∩ A 5 ) = = [100] = 100 n −1
Pr = ( n − r ) n −1
10
(iv) Pr −1
n
1000 Pr
and n ( A 2 ∩ A 3 ∩ A 5 ) = = [33.33] = 33 (v) = ( n − r + 1)
30
n
Pr − 1
Permutation 11 (n − 1) n + 3
n+5
Each of the different arrangements which can be made by y Example 15. If Pn + 1 = ⋅ Pn , find n.
taking some or all of a number of things is called a 2
n+5
permutation. In permutation, order of the arrangement is Pn + 1 11(n − 1)
Sol. We have, =
important. n+3
Pn 2
y Example 17. Find the value of r, if Note Total number of letters in English alphabet = 26
(i) Number of vowels = 5
(i) 11 Pr = 990
i.e., A, E, I, O, U [strong vowels]
(ii) 8
P5 + 5 ⋅ 8 P4 = 9 Pr (ii) W and Y an half vowels. [weak vowels]
(iii) 22
Pr + 1 : 20
Pr + 2 = 11 : 52 (iii) Number of consonants = 21 [except vowels]
i.e., B, C, D, F, G, ..., Y, Z
Sol. (i) Q 11 Pr = 990 = 11 × 10 × 9 = 11P3 (iv) Words which contains all vowels are
∴ r =3 EDUCATION, EQUATION, ...
(ii) Q 8
P5 + 5 ⋅ 8 P4 = 9 Pr (iv) Words which do not contains any vowels are
SKY, FLY, TRY, ...
8P
⇒ 8
P4 8 5 + 5 = 9 Pr
P4 y Example 20. How many different signals can be
given using any number of flags from 4 flags of
⇒ 8
P4 (8 − 5 + 1 + 5) = 9 Pr [from note (v)]
different colours?
⇒ 9 ⋅ P4 = Pr
8 9
Sol. The signals can be made by using one or more flags at a
⇒ 9
P5 = 9 Pr [from note (iii)] time. Hence, by the fundamental principle of addition, the
total number of signals
∴ r =5
= 4 P1 + 4 P2 + 4 P3 + 4 P4
(iii) Q 22
Pr +1 :
20
Pr +2 = 11 : 52
= 4 + ( 4 × 3) + ( 4 × 3 × 2) + ( 4 × 3 × 2 × 1)
22
Pr +1 11 = 4 + 12 + 24 + 24 = 64
⇒ 20
=
Pr +2 52
y Example 21. Find the total number of 9-digit
22 ⋅ 21 ⋅ 20
Pr −1 11 numbers which have all different digits.
⇒ =
(19 − r ) ⋅ (20 − r ) ⋅ (21 − r ) ⋅ 20
Pr −1 52 Sol. Number of digits are 10 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
[from note (iii) and (iv)] Total number of 9-digit numbers = 10
P9
⇒ (21 − r ) ⋅ (20 − r ) ⋅ (19 − r ) = 52 × 2 × 21 Out of these, the number of numbers having zero at the
= 14 × 13 × 12 first place = 9 P8
∴ r =7 Hence, required number of numbers = 10
P9 − 9 P8
y Example 23. A 5-digit number is formed by the digits Proof Let the required number of permutations be x .
1, 2, 3, 4, 5 without repetition. Find the number of the Since, p different things can be arranged among
numbers, thus formed divisible by 4. themselves in p ! ways, therefore if we replace p
Sol. Let a 5-digit number be abcde. identical things by p different things, which are also
different from the rest of things, the number of
It will be divisible by 4, if 2d + e is divisible by 4.
permutations will become x × p !
⇒ 2d + e is divisible by 4 ∴ e must be even.
123 Again, if we replace q identical things by q different
Even
things, the number of permutations will become
e
⇒ 2 d + is divisible by 4 ( x × p !) × q !
2
1424 3 Again, if we replace r identical things by r different
Should be even
things, the number of permutations will become
Then, e = 2, d = 1, 3, 5 ( x × p ! × q !) × r ! . Now, all the n things are different
Total four cases
and e = 4, d = 2 and therefore, number of permutations should be n ! .
∴ Required number of ways = 4 × {
3! = 24 Thus, x × p ! × q ! × r ! = n !
Number of ways n!
∴ x=
filling abc after filling de. p!q!r !
Aliter A number will be divisible by 4, if the last two digits
Remark
of the number is divisible by 4, then for divisible by 4, last
The above theorem can be extended further i.e. if there are
two digits 12 or 24 or 32 or 52
n things taken all at a time, p1 are alike of one kind, p2 are alike of
second kind,p3 are alike of third kind, ..., pr are alike of rth kind
such that p1 + p2 + p3 + K + pr = n, the number of permutations
3! ways 4 ways n!
of these n things is .
p1 ! p2 ! p3 ! ... pr !
Hence, the number formed is divisible by 4 = 3! × 4 = 24.
y Example 24. Find the number of permutations of y Example 25. How many words can be formed with
letters ab c d e f g taken all together if neither ‘beg’ the letters of the word ‘ARIHANT’ by rearranging them?
Sol. Here, total letters 7, in which 2A’s but the rest are
nor ‘cad’ pattern appear. 7!
Sol. The total number of permutations without any restriction is 7! different. Hence, the number of words formed = = 2520
2!
n (U ) = 7 ! = 5040
Let n ( A ) be the number of permutations in which ‘beg’ y Example 26. Find the number of permutations of the
pattern always appears letters of the words ‘DADDY DID A DEADLY DEED’.
b e gac d f Sol. Here, total letters 19, in which 9D ’s, 3A’s, 2Y’s, 3E’s and
i.e., n ( A ) = 5! = 120 rest occur only once.
19 !
and let n ( B ) be the number of permutations in which ‘cad’ ∴ Required number of permutations =
pattern always appears 9 ! × 3! × 2! × 3!
c a db e f g
i.e., n ( B ) = 5! = 120 y Example 27. How many words can be formed with
Now, n ( A ∩ B ) = Number of permutations in which ‘beg’ the letters of the words
and ‘cad’ pattern appear (i) HIGH SCHOOL and
begcad f (ii) INTERMEDIATE by rearranging them?
i.e., n ( A ∩ B ) = 3! = 6 Sol. (i) Here, total letters are 10, in which 3H’s and 2O’s, but
Hence, the number of permutations in which ‘beg’ and ‘cad’ the rest are different. Hence, the number of words
patterns do not appear is n ( A ′ ∩ B ′ ). 10!
formed =
or n ( A ′ ∩ B ′ ) = n (U ) − n ( A ∪ B ) 3! 2!
= n (U ) − [n ( A ) + n ( B ) − n ( A ∩ B )]
(ii) Here, total letters are 12, in which 2I’s, 2T’s and 3E’s
= 5040 − 120 − 120 + 6 = 4806
but the rest are different. Hence, the number of words
2. The number of permutations of n things taken all 12!
formed = Note [For Remember]
at a time, p are alike of one kind, q are alike of 2! 2! 3!
second kind and r are alike of a third kind and High School = 10 th class = Total number of letters are 10
n!
the rest n − ( p + q + r ) are all different is Intermediate = 12 th class = Total number of letters
p!q !r ! are 12
368 Textbook of Algebra
3. The number of permutations of n different y Example 31. In how many ways can 4 prizes be distributed
things taken r at a time when each thing may be among 5 students, if no student gets all the prizes?
repeated any number of times is n r . Sol. The number of ways in which the 4 prizes can be given
Proof Since, the number of permutations of n away to the 5 students, if a student can get any number
different things taken r at a time = Number of ways in of prizes = 54 = 625.
which r blank places can be filled by n different Again, the number of ways in which a student gets all the 4
things. prizes = 5, since there are 5 students and any one of them
may get all the four prizes.
Clearly, the first place can be filled in n ways. Since, Therefore, the required number of ways in which a student
each thing may be repeated, the second place can be does not get all the prizes = 625 − 5 = 620.
filled in n ways. Similarly, each of the 3rd, 4th, K, r th
place can be filled in n ways. y Example 32. Find the number of n-digit numbers, which
By multiplication principle, the number of contain the digits 2 and 7, but not the digits 0, 1, 8, 9.
permutations of n different things taken r at a time Sol. The total number without any restrictions containing
when each thing may be repeated any number of digits 2, 3, 4, 5, 6, 7 is n (U ) = 6n .
times The total number of numbers that contain 3, 4, 5, 6, 7 is
= n × n × n × K × r factors n ( A ) = 5n .
The total number of numbers that contain 2, 3, 4, 5, 6 is
= nr
n ( B ) = 5n .
Corollary When r = n The total number of numbers that contain 3, 4, 5, 6 is
i.e., the number of permutations of n different things, n ( A ∩ B ) = 4n .
taken all at a time, when each thing may be repeated The total number of numbers that do not contain digits 2
any number of times in each arrangements is n n . and 7 is n ( A ∪ B )
i.e., n ( A ∪ B ) = n ( A ) + n ( B ) − n ( A ∩ B )
y Example 28. A child has four pockets and three = 5n + 5n − 4 n = 2 (5n ) − 4 n
marbles. In how many ways can the child put the Hence, the total number of numbers that contain 2 and 7 is
marbles in its pockets? n( A ′ ∩ B ′ )
∴ n ( A ′ ∩ B ′ ) = n (U ) − n ( A ∪ B ) = 6n − 2 ⋅ (5n ) + 4n
Sol. The first marble can be put into the pocket in 4 ways, so
can the second. Thus, the number of ways in which the
child can put the marbles = 4 × 4 × 4 = 4 3 = 64 ways y Example 33. Show that the total number of
permutations of n different things taken not more than
y Example 29. There are m men and n monkeys r at a time, when each thing may be repeated any
(n > m ). If a man have any number of monkeys. In how n(n r − 1)
number of times is .
many ways may every monkey have a master? (n − 1)
Sol. The first monkey can select his master by m ways and Sol. Given, total different things = n
after that the second monkey can select his master again The number of permutations of n things taken one at a time
by m ways, so can the third and so on.
= n P1 = n , now if we taken two at a time (repetition is
All monkeys can select master = m × m × m K upto n
factors = (m )n ways allowed), then first place can be filled by n ways and second
place can again be filled in n ways.
y Example 30. How many four digit numbers can be ∴The number of permutations of n things taken two at a time
formed by using the digits 1, 2, 3, 4, 5, 6, 7, if atleast = n P1 × n P1 = n × n = n 2
one digit is repeated ? Similarly, the number of permutations of n things taken
Sol. The numbers that can be formed when repetition of digits three at a time = n 3
is allowed are 7 4 = 2401.
M M M M M
The numbers that can be formed when all the digits are The number of permutations of n things taken r at a
distinct when repetition is not allowed are 7 P4 = 840. time = n r . Hence, the total number of permutations
Therefore, the numbers that can be formed when atleast = n + n 2 + n 3 + K + nr
one digit is repeated = 7 4 − 7 P4 n ( n r − 1)
= [sum of r terms of a GP]
= 2401 − 840 = 1561 ( n − 1)
Chap 05 Permutations and Combinations 369
11. Six identical coins are arranged in a row. The number of ways in which the number of tails is equal to the
number of heads, is
(a) 9 (b) 20 (c) 40 (d) 120
12. A train time table must be compiled for various days of the week so that two trains twice a day depart for three
days, one train daily for two days and three trains once a day for two days. How many different time tables can
be compiled?
(a) 140 (b) 210 (c) 133 (d) 72
13. Five persons entered the lift cabin on the ground floor of an 8 floor house. Suppose each of them can leave
the cabin independently at any floor beginning with the first. The total number of ways in which each of the five
persons can leave the cabin at any one of the floor, is
(a) 57 (b) 75 (c) 35 (d) 2520
14. Four die are rolled. The number of ways in which atleast one die shows 3, is
(a) 625 (b) 671 (c) 1256 (d) 1296
15. The number of 4-digit numbers that can be made with the digits 1, 2, 3, 4 and 5 in which atleast two digits are
identical, is
(a) 45 − 5 ! (b) 505 (c) 600 (d) 120
16. There are unlimited number of identical balls of three different colours. How many arrangements of atmost 7
balls in a row can be made by using them?
(a) 2187 (b) 343 (c) 399 (d) 3279
Session 3
Number of Permutations Under Certain Conditions,
Circular Permutations, Restricted Circular Permutations
Number of Permutations Sol. The word ‘INSURANCE’ has nine different letters,
Under Certain Conditions combine the vowels into one bracket as (IUAE) and treat-
ing them as one letter we have six letters viz.
(i) Number of permutations of n different things, taken r (IUAE) N S R N C and these can be arranged among
at a time, when a particular thing is to be always 6!
themselves in ways and four vowels within the bracket
included in each arrangement, is r ⋅ n − 1 Pr − 1 2!
can be arranged themselves in 4 ! ways.
Corollary Number of permutations of n different 6!
∴ Required number of words = × 4 ! = 8640
things, taken r at a time, when p particular things is 2!
to be always included in each arrangement, is
p ! (r − ( p − 1)) n − p Pr − p . y Example 36. How many words can be formed with
the letters of the word ‘PATALIPUTRA’ without
(ii) Number of permutations of n different things, taken r changing the relative positions of vowels and
at a time, when a particular thing is never taken in consonants?
each arrangement, is
n −1 Sol. The word ‘PATALIPUTRA’ has eleven letters, in which
Pr . 2P’s, 3A’s, 2T’s, 1L, 1U, 1R and 1I. Vowels are AAIUA
(iii) Number of permutations of n different things, taken 5!
These vowels can be arranged themselves in = 20 ways.
all at a time, when m specified things always come 3!
together, is The consonants are PTLPTR these consonants can be
m ! × (n − m + 1) ! arranged themselves in
6!
= 180 ways
(iv) Number of permutations of n different things, taken 2!2!
all at a time, when m specified things never come ∴ Required number of words
together, is = 20 × 180 = 3600 ways.
n ! − m ! × (n − m + 1) !
y Example 37. Find the number of permutations
y Example 34. How many permutations can be made that can be had from the letters of the
out of the letters of the word ‘TRIANGLE’ ? How many word ‘OMEGA’
of these will begin with T and end with E ? (i) O and A occuping end places.
Sol. The word ‘TRIANGLE’ has eight different letters, which (ii) E being always in the middle.
can be arranged themselves in 8! ways.
∴ Total number of permutations = 8 ! = 40320
(iii) Vowels occuping odd places.
Again, when T is fixed at the first place and E at the last (iv) Vowels being never together.
place, the remaining six can be arranged themselves in Sol. There are five letters in the word ‘OMEGA’.
6 ! ways. (i) When O and A occuping end places
∴The number of permutations which begin with T and end with i.e., M E G (OA)
E = 6! = 720. the first three letters (M, E, G) can be arranged
themselves by 3 ! = 6 ways and last two letters (O, A)
y Example 35. In how many ways can the letters of can be arranged themselves by 2 ! = 2 ways.
the word ‘INSURANCE’ be arranged, so that the vowels ∴ Total number of such words
are never separate?
= 6 × 2 = 12 ways.
Chap 05 Permutations and Combinations 371
(ii) When E is the fixed in the middle, then there are four Similarly, if n different things are arranged along a circle
places left to be filled by four remaining letters O, M, for each circular arrangement number of linear
G and A and this can be done in 4 ! ways. arrangements is n.
∴ Total number of such words = 4 ! = 24 ways.
Therefore, the number of linear arrangements of n
(iii) Three vowels (O, E, A) can be arranged in the odd different things = n × number of circular arrangements of
places in 3 ! ways (1st, 3rd and 5th) and the two n different things
consonants (M, G) can be arranged in the even places
in 2 ! ways (2nd and 4th) (ii) Arrangements of beads or flowers
∴ Total number of such words (all different) around a circular
= 3 ! × 2 ! = 12 ways. necklace or garland
(iv) Total number of words = 5 ! = 120 Consider five beads A, B, C , D and E in a necklace or five
Combine the vowels into one bracket as (OEA) and flowers A, B, C , D and E in a garland, etc. If the necklace or
treating them as one letter, we have garland on the left is turned over, we obtain the
(OEA), M, G and these can be arranged themselves in arrangement on the right i.e. anti-clockwise and clockwise
3 ! ways and three vowels with in the bracket can be order of arrangement is not different we will get
arranged themselves in 3 ! ways. arrangements as follows:
∴ Number of ways when vowels come together We see that arrangements in figures are not different.
= 3 ! × 3 ! = 36 ways.
Flip to right
Hence, number of ways when vowels being
never together = 120 − 36 = 84 ways. D C C D
Circular Permutations E B B E
A A
(i) Arrangements round a circular table
Consider five persons A, B, C , D and E on the Then, the number of circular permutations of n different
1
circumference of a circular table in order which has no things taken all at a time is (n − 1) !, if clockwise and
2
head now, shifting A, B, C , D and E one position in anti-clockwise orders are taken as not different.
anti-clockwise direction we will get arragements as
follows y Example 38. Find the number of ways in which 12
different beads can be arranged to form a necklace.
E D C
Sol. 12 different beads can be arranged among themselves in a
A D E C D B circular order in (12 − 1) ! = 11 ! ways. Now, in the case of
necklace, there is no distinction between clockwise and
B C A B E A anti-clockwise arrangements. So, the required number of
1
(i) (ii) (iii) arrangements = (11 !).
B A 2
C A B E
y Example 39. Consider 21 different pearls on a
necklace. How many ways can the pearls be placed in
D E C D
on this necklace such that 3 specific pearls always
(iv) (v)
remain together?
We see that, if 5 persons are sitting at a round table, they Sol. After fixing the places of three pearls, treating 3 specific
can be shifted five times and five different arrangements. pearls = 1 unit. So, we have now
Thus, obtained will be the same, because anti-clockwise 18 pearls + 1 unit = 19 and the number of arrangement will
order of A, B, C , D and E does not change. be (19 − 1) ! = 18 !
Also, the number of ways of 3 pearls can be arranged
But if A, B, C , D and E are sitting in a row and they are
between themselves is 3 ! = 6.
shifted in such an order that the last occupies the place of
Since, there is no distinction between the clockwise and
first, then the five arrangements will be different. Thus, if anti-clockwise arrangements.
there are 5 things, then for each circular arrangement 1
number of linear arrangements is 5. So, the required number of arrangements = 18 !⋅ 6 = 3 (18 !).
2
372 Textbook of Algebra
Restricted Circular y Example 42. In how many different ways can five
boys and five girls form a circle such that the boys and
Permutations girls alternate?
Sol. After fixing up one boy on the table, the remaining can
Case I If clockwise and anti-clockwise orders are taken as
be arranged in 4 ! ways but boys and girls are to alternate.
different, then the number of circular permutations of n There will be 5 places, one place each between two boys
different things taken r at a time. these five places can be filled by 5 girls in 5 ! ways.
n B1
Pr 1 n!
= = ⋅
r r (n − r ) ! B5
B2
Note For checking correctness of formula, put r = n, then we get
( n − 1) ! [result (5) (i)]
B4
y Example 40. In how many ways can 24 persons be B3
seated round a table, if there are 13 sets ?
Hence, by the principle of multiplication, the required
Sol. In case of circular table, the clockwise and anti-clockwise
number of ways = 4 ! × 5 ! = 2880.
orders are different, the required number of circular
24
P13 24 ! y Example 43. 20 persons were invited to a party. In
permutations = = .
13 13 × 11 ! how many ways can they and the host be seated at a
⇒ n ! = n × number of circular arrangements of n circular table ? In how many of these ways will two
different things particular persons be seated on either side of the host?
⇒ Number of circular arrangements of n different things Sol. I Part Total persons on the circular table
n! = 20 guest + 1 host = 21
= = ( n − 1) !
n They can be seated in (21 − 1) ! = 20 ! ways.
Hence, the number of circular permutations of n different
things taken all at a time is (n − 1) !, if clockwise and II Part After fixing the places of three persons
anti-clockwise orders are taken as different. (1 host + 2 persons).
Treating (1 host + 2 persons) = 1 unit, so we have now
y Example 41. Find the number of ways in which three {(remaining 18 persons + 1 unit) = 19} and the number of
Americans, two British, one Chinese, one Dutch and arrangement will be (19 − 1) ! = 18 ! also these two particular
one Egyptian can sit on a round table so that persons
persons can be seated on either side of the host in 2 ! ways.
of the same nationality are separated.
P20 H P1
Sol. The total number of persons without any restrictions is P19 P2
n (U ) = (8 − 1)! P18 P3
= 7! = 5040 P17 P4
P5
When, three Americans ( A1, A 2 , A 3 ) are sit together, P16
P6
n ( A ) = 5! × 3! P15
P14 P7
= 720
P13 P8
When, two British ( B1, B 2 ) are sit together P12 P P P9
11 10
n ( B ) = 6! × 2!
Hence, the number of ways of seating 21 persons on the
= 1440 circular table such that two particular persons be seated on
When, three Americans ( A1, A 2 , A 3 ) and two British ( B1, B 2 ) either side of the host = 18 ! × 2 ! = 2 × 18 !
are sit together n ( A ∩ B ) = 4 ! × 3! × 2! = 288
Case II If clockwise and anti-clockwise orders are taken as
∴ n ( A ∪ B ) = n ( A ) + nB ) − n ( A ∩ B ) not different, then the number of circular permutations of n
= 720 + 1440 − 288= 1872 n
P 1 n!
different things taken r at a time = r = ⋅
Hence, n ( A ∩ B ′ ) = n (U ) − n ( A ∪ B ) 2r 2r (n − r ) !
Note
= 5040 − 1872
For checking correctness of formula put r = n, then we get
= 3168 ( n − 1)!
[result (5) (ii)]
2
Chap 05 Permutations and Combinations 373
y Example 44. How many necklace of 12 beads each can be made from 18 beads of various colours?
Sol. In the case of necklace, there is no distinction between the clockwise and anti-clockwise arrangements, the required
number of circular permutations.
18
P12 18 ! 18 × 17 × 16 × 15 × 14 × 13 ! 119 × 13 !
= = = =
2 × 12 6 ! × 24 6 × 5 × 4 × 3 × 2 × 1 × 24 2
2. The number of words that can be made by writing down the letters of the word ‘CALCULATE’ such that each
word starts and ends with a consonant, is
3 5
(a) (7) ! (b) 2 (7) ! (c) (7) ! (d) 3 (7) !
2 2
3. The number of words can be formed from the letters of the word ‘MAXIMUM’, if two consonants cannot occur
together, is
(a) 4! (b) 3 ! × 4 !
4!
(c) 3! (d)
3!
4. All the letters of the word ‘EAMCET’ are arranged in all possible ways. The number of such arrangements in
which two vowels are not adjacent to each other, is
(a) 54 (b) 72
(c) 114 (d) 360
5. How many words can be made from the letters of the word ‘DELHI’, if L comes in the middle in every word?
(a) 6 (b) 12 (c) 24 (d) 60
6. In how many ways can 5 boys and 3 girls sit in a row so that no two girls are sit together?
(a) 5 ! × 3 ! (b) 4 P3 × 5 ! (c) 6P3 × 5 ! (d) 5P3 × 3 !
7. There are n numbered seats around a round table. Total number of ways in whichn1 (n1 < n ) persons can sit
around the round table, is equal to
(a) nCn 1 (b) n Pn 1 (c) nC n1 − 1 (d) n Pn1 − 1
8. In how many ways can 7 men and 7 women can be seated around a round table such that no two women can
sit together?
(a) 7! (b) 7 ! × 6 ! (c) (6 !)2 (d) (7 !)2
10. If 11 members of a committee sit at a round table so that the President and secretary always sit together, then
the number of arrangements, is
(a) 9 ! × 2 (b) 10! (c) 10 ! × 2 (d) 11!
11. In how many ways can 15 members of a council sit along a circular table, when the secretary is to sit on one
side of the Chairman and the deputy secretary on the other side?
(a) 12 ! × 2 (b) 24 (c) 15 ! × 2 (d) 30
Session 4
Combination, Restricted Combinations
Combination (ii) n C r = 0, if r > n
Each of the different groups or selections which can be (iii) n C 0 = n C n = 1 , n C 1 = n
made by some or all of a number of given things without
reference to the order of the things in each group is called (iv) n Pr = n C r , if r = 0 or 1
a combination. n
(v) n C r = n C n − r , if r >
2
Important Result (vi) If n C x = n C y ⇒ x = y or x + y = n
(1) The number of combinations of n different n +1
(vii) n C r + n C r − 1 = Cr [Pascal’s rule]
things taken r at a time is denoted by n C r or
n n n −1
C (n , r ) or . (viii) n C r = ⋅ Cr − 1
r r
Then, (ix) n ⋅ n − 1 C r − 1 = (n − r + 1) ⋅ n C r − 1
n! n
n −r +1
n
Cr = [ 0 ≤ r ≤ n] (x)
Cr
=
r !( n − r )! n r
Cr − 1
n
Pr
= n
r! (xi) (a) If n is even , n C r is greatest for r =
2
n ( n − 1) ( n − 2) K ( n − r + 1)
= , n ∈ N and r ∈W n −1 n +1
r ( r − 1) ( r − 2) K 2 ⋅ 1 (b) If n is odd , n C r is greatest for r = or
2 2
Proof Let the number of combinations of n different
(xii) n C 0 + n C 1 + n C 2 + K + n C n = 2 n
things taken r at a time be n C r .
(xiii) n C 0 + n C 2 + n C 4 +K
Now, each combination consists of r different things and
these r things can be arranged among themselves in r ! = n C 1 + n C 3 + n C 5 + K = 2n − 1
ways.
(xiv) 2n + 1 C 0 + 2n + 1
C1 + 2n + 1
C 2 +K + 2n + 1
C n = 2 2n
Thus, for one combination of r different things, the
n +1 n +2 n+3
number of arrangements is r ! . (xv) n C n + Cn + C2 + Cn + K
2n − 1
Hence, for n C r combinations, number of arrangements is + Cn = 2n
Cn + 1
r ! × Cr
n
…(i)
y Example 45. If 15
C 3r = 15C r + 3 , find r C 2 .
But number of permutations of n different things taken r at
a time is n Pr . …(ii) Sol. We have, 15
C 3r = 15C r +3
y Example 48. If 2n
C 3 : n C 3 = 11 : 1, find the value of n . ⇒ 2n − 2r = 3r + 3
⇒ 5r − 2n = − 3
Sol. We have,
or 10r − 4 n = − 6 …(ii)
2n
C 3 : n C 3 = 11 : 1
2n
On subtracting Eq. (ii) from Eq. (i), we get
C3 11
⇒ n
= n =9
C3 1
From Eq. (i), we get
2n ( 2n − 1) (2n − 2)
10r − 27 = 3 ⇒ 10r = 30
1⋅2⋅3 4 ( 2n − 1)
⇒ = 11 ⇒ = 11 ∴ r =3
n ( n − 1) ( n − 2) ( n − 2)
1⋅2⋅3
y Example 51. Prove that product of r consecutive
⇒ 8 n − 4 = 11n − 22 ⇒ 3n = 18 positive integers is divisible by r ! .
∴ n =6 Sol. Let r consecutive positive integers be (m),
n +1 n −1
(m + 1), (m + 2), K , (m + r − 1), where m ∈ N .
y Example 49. If C r + 1 : nC r : C r − 1 = 11 : 6 : 3 , ∴ Product = m (m + 1) (m + 2) K (m + r − 1)
find the values of n and r. (m − 1)! m (m + 1) (m + 2) K (m + r − 1)
n +1
=
Cr +1 11 (m − 1)!
Sol. Here, =
n
Cr 6 (m + r − 1)! r ! ⋅ (m + r − 1)!
= =
n + 1 C r 11 n
n n n −1 (m − 1)! r ! (m − 1)!
⇒ ⋅ = Q C r = r ⋅ Cr
r + 1 n Cr 6
− 1
[Q m + r − 1C r is natural number]
n + 1 11 = r!⋅ m +r −1
Cr ,
⇒ =
r +1 6 which is divisible by r ! .
⇒ 6n + 6 = 11r + 11
⇒ 6n − 11r = 5 …(i)
y Example 52. Evaluate
3 5
and n −1
n
Cr
=
6 47
C4 + ∑ 50 − j C 3 + ∑ 56 − k C 53 − k .
Cr 3 j =0 k =0
−1
3 5
n −1
⇒
n
⋅
Cr −1
=
6 n n n −1 Sol. We have, 47
C4 + ∑ 50 − j C 3 + ∑ 56 − k C 53 − k
r n −1
Cr 3 Q C r = r ⋅ Cr − 1
j =0 k =0
−1
376 Textbook of Algebra
3 5
= 47
C4 + ∑ 50 − j C 3
j =0
+ ∑ 56 − k C 3 [Q nC r
k =0
= nC n − r ] Restricted Combinations
(i) The number of selections (combinations) of r objects
= 47
C 4 + ( 50C 3 + 49
C3 + 48
C3 + 47
C3)
out of n different objects, when
+ ( 56C 3 + 55
C3 + 54
C3 + 53
C3 + 52
C 3 + 51C 3 ) (a) k particular things are always included= n − k C r − k .
= 47
C4 + 47
C3 + 48
C3 + 49
C3 + 50
C 3 + 51C 3 n −k
(b) k particular things are never included = Cr .
+ 52
C3 + 53
C3 + 54
C3 + 55
C3 + 56
C3 (ii) The number of combinations of r things out of n
= ( C4 + 47 47
C3) + 48
C3 + 49
C3 + 50
C3 + C3 51 different things, such that k particular things are not
together in any selection = n C r − n − k C r − k
+ 52
C3 + 53
C3 + 54
C3 + 55
C3 + 56
C3
(iii) The number of combinations of n different objects
= 48
C4 + 48
C3 + 49
C3 + 50
C 3 + 51C 3 + K + 56
C3 taking r at a time when, p particular objects are
= 49
C4 + 49
C3 + 50
C3 + K + 56
C3 always included and q particular objects are always
excluded = n − p −q C r − p
M M M M M
Note
= 56
C4 + 56
C3 = 57
C4 (i) The number of selections of r consecutive things out of
n things in a row = n − r + 1.
y Example 53. Prove that the greatest value of (ii) The number of selections of r consecutive things out of
n, if r < n
2n
C r ( 0 ≤ r ≤ 2n ) is 2n C n (for 1 ≤ r ≤ n). n things along a circle = .
1, if r = n
2n
Cr n Cr
2n − r + 1 n − r + 1
Sol. We have, = Q n =
2n
C r −1 C r − 1
r r y Example 55. In how many ways can a cricket, eleven
players by chosen out of a batch 15 players, if
2 ( n − r ) + ( r + 1) 1 + 2( n − r ) + 1
= = >1 (i) a particular is always chosen.
r r
2n
(ii) a particular player is never chosen?
Cr
⇒ 2n
>1 [for 1 ≤ r ≤ n] Sol. (i) Since, particular player is always chosen. It means
Cr −1 that 11 − 1 = 10 players are selected out of the
remaining 15 − 1 = 14 players.
∴ 2n
Cr −1 < 2n
Cr
∴ Required number of ways = 14C 10 = 14C 4
On putting r =1, 2, 3, …, n,
14 ⋅ 13 ⋅ 12 ⋅ 11
then 2n
C0 < 2n
C 1, 2n
C1 < 2n
C 2 , K, 2n
Cn − 1 < 2n
Cn = = 1001
1⋅2⋅3⋅ 4
On combining all inequalities, we get
(ii) Since, particular player is never chosen. It means that
⇒ 2n
C0 < 2n
C1 < 2n
C2 < 2n
C3 < K < 2n
Cn − 1 < 2n
Cn 11 players are selected out of the remaining 15 − 1 = 14
players.
but 2n
Cr = 2n
C 2n − r , it follows that
∴ Required number of ways = 14C 11 = 14C 3
2n
C 2n < 2n
C 2n − 1 < C 2n − 2 <
2n 2n
C 2n − 3 < K < Cn + 1 <
2n 2n
Cn
14 ⋅ 13 ⋅ 12
Hence, the greatest value of 2n
C r is 2n
Cn . = = 364
1 ⋅ 2⋅ 3
y Example 54. Thirty six games were played in a y Example 56. How many different selections of 6
football tournament with each team playing once books can be made from 11 different books, if
against each other. How many teams were there?
(i) two particular books are always selected.
Sol. Let the number of teams be n.
(ii) two particular books are never selected?
Then number of matches to be played is n C 2 = 36 Sol. (i) Since, two particular books are always selected. It
9 ×8 9 means that 6 − 2 = 4 books are selected out of the
⇒ n
C2 = = C2
1×2 remaining 11 − 2 = 9 books.
9 ⋅8⋅7 ⋅6
⇒ n =9 ∴ Required number of ways = 9C 4 = = 126.
1⋅2⋅3⋅ 4
Chap 05 Permutations and Combinations 377
(ii) Since, two particular books are never selected. It y Example 59. A question paper consists of two
means that 6 books are selected out of the remaining sections having respectively, 3 and 5 questions. The
11 − 2 = 9 books. following note is given on the paper ‘‘It is not
∴ Required number of ways = 9C 6 necessory to attempt all the questions one question
9 ⋅8⋅7 from each section is compulsory’’. In how many
= 9C 3 = = 84.
1⋅2⋅3 ways can a candidate select the questions?
Sol. Here, we have two sections A and B (say), the section A
y Example 57. A person tries to form as many different has 3 questions and section B has 5 questions and one
parties as he can, out of his 20 friends. Each party question from each section is compulsory, according to
should consist of the same number. How many friends the given direction.
should be invited at a time? In how many of these ∴ Number of ways selecting one or more than one question
parties would the same friends be found? from section A is 2 3 − 1 = 7
Sol. Let the person invite r number of friends at a time. Then, and number of ways selecting one or more than one
the number of parties are 20 C r , which is maximum, question from section B is 2 5 − 1 = 31
when r = 10. Hence, by the principle of multiplication, the required
If a particular friend will be found in p parties, then p is the number of ways in which a candidate can select the
number of combinations out of 20 in which this particular questions
friend must be included. Therefore, we have to select 9 = 7 × 31 = 217.
more from 19 remaining friends.
Hence, p = 19C 9 y Example 60. A student is allowed to select atleast
(2) The number of ways (or combinations) of n one and atmost n books from a collection of (2n + 1)
different things selecting atleast one of them is books. If the total number of ways in which he can
select books is 63, find the value of n.
2n − 1 . This can also be stated as the total
Sol. Given, student select atleast one and atmost n books from
number of combinations of n different things. a collection of (2n + 1) books. It means that he select one
Proof For each things, there are two possibilities, whether book or two books or three books or … or n books.
it is selected or not selected. Hence, by the given hypothesis.
2n + 1 2n + 1 2n + 1
Hence, the total number of ways is given by total C1 + C2 + C 3 + ... + 2 n + 1 C n = 63 …(i)
possibilities of all the things which is equal to Also, the sum of binomial coefficients, is
2 × 2 × 2 × ... × n factors = 2 n 2n + 1
C0 + 2n + 1
C1 + K + 2n + 1
Cn + 2n + 1
Cn + 1
2n + 1
But, this includes one case in which nothing is selected. +K+ Cn + 1
2n + 1 2n + 1
= ( 1 + 1) =2
Hence, the total number of ways of selecting one or more
2n + 1
of n different things = 2 n − 1 ⇒ C 0 + 2 ( 2 n + 1C 1 + 2n + 1
C2 + K + 2n + 1
Cn )
2n + 1 2n + 1
Aliter Number of ways of selecting one, two, three, …, n + C 2n + 1 = 2 [Q C r = C n − r ]
n
2n + 1 2n + 1
things from n different things are ⇒ 1 + 2 × 63 + 1 = 2 ⇒ 128 = 2
2n + 1
n n n n
C 1 , C 2 , C 3 , ..., C n , respectively. ⇒ 2 =2
7
⇒ 7 = 2n + 1
∴ n =3
Hence, the total number of ways or selecting atleast one
thing is y Example 61. There are three books of Physics, four
n
C1 + nC2 + nC 3 + K + nCn of Chemistry and five of Mathematics. How many
= ( n C 0 + n C 1 + n C 2 + K + n C n ) − n C 0 = 2n − 1 different collections can be made such that each
collection consists of
y Example 58. Mohan has 8 friends, in how many (i) one book of each subject,
ways he invite one or more of them to dinner? (ii) atleast one book of each subject,
Sol. Mohan select one or more than one of his 8 friends. So, (iii) atleast one book of Mathematics.
required number of ways
Sol. (i) 3 C 1 × 4C 1 × 5C 1 = 3 × 4 × 5 = 60
= 8C 1 + 8C 2 + 8C 3 + K + 8C 8 (ii) (23 − 1) × (24 − 1) × (25 − 1) = 7 × 15 × 31 = 3255
= 2 − 1 = 255.
8
(iii) (25 − 1) × 27 = 31 × 128 = 3968
378 Textbook of Algebra
(a) {1, 2, 3} (b) {4, 5, 6} (c) {8, 9, 10} (d) {9, 10, 11}
7. If 2n
C2 : C2 = 9 : 2 and Cr = 10, then r is equal to
n n
15. In an examination, there are three multiple choice questions and each question has four choices. Number of
ways in which a student can fail to get all answers correct, is
(a) 11 (b) 12 (c) 27 (d) 63
16. In an election, the number of candidates is 1 greater than the persons to be elected . If a voter can vote in
254 ways, the number of candidates is
(a) 6 (b) 7 (c) 8 (d) 10
17. The number of groups that can be made from 5 different green balls, 4 different blue balls and 3 different red
balls, if atleast one green and one blue ball is to be included
(a) 3700 (b) 3720 (c) 4340 (d) None of these
18. A person is permitted to select atleast one and atmost n coins from a collection of (2n + 1) distinct coins. If the
total number of ways in which he can select coins is 255, thenn equals
(a) 4 (b) 8 (c) 16 (d) 32
Session 5
Combinations from Identical Objects
Combinations from ∴ The total number of selections when all the three kinds of
fruits are selected = 5 × 6 × 7 = 210
Identical Objects But, in one of these selection number of each kind of fruit is
(i) The number of combinations of n identical objects zero and hence this selection must be excluded.
taking r objects (r ≤ n ) at a time = 1. ∴ Required number = 210 − 1 = 209
(ii) The number of combinations of zero or more objects
from n identical objects = n + 1.
(iii) The total number of combinations of atleast one out
Combinations when both Identical
of a 1 + a 2 + a 3 + K + a n objects, where a 1 are alike of and Distinct Objects are Present
one kind, a 2 are alike of second kind, a 3 are alike of The number of combinations (selections) of one or more
third kind, …, a n are alike of nth kind objects out of a 1 + a 2 + a 3 + K + a n objects, where a 1
= (a 1 + 1) (a 2 + 1) (a 3 + 1) K (a n + 1) − 1 are alike of one kind, a 2 are alike of second kind, a 3 are
alike of third kind, …, a n are alike of nth kind and k
y Example 62. How many selections of atleast one red are distinct.
ball from a bag containing 4 red balls and 5 black = {(a 1 + 1) (a 2 + 1) (a 3 + 1) L (a n + 1)}
balls, balls of the same colour being identical?
(k C 0 + k C1 + k C2 + K + k Ck ) − 1
Sol. Number of selections of atleast one red ball from 4 identi-
cal red balls = 4 = (a 1 + 1) (a 2 + 1) (a 3 + 1) + K + (a n + 1) 2 k − 1
Number of selections of any number of black balls from 5
identical black balls y Example 65. Find the number of ways in which one
=5+1=6 or more letters can be selected from the letters
∴ Required number of selections of balls AAAAA BBBB CCC DD EFG.
= 4 × 6 = 24 Sol. Here, 5A’s are alike, 4 B ’s are alike, 3 C ’s are alike, 2D ’s
are alike and E, F, G are different.
y Example 63. There are p copies each of n different ∴ Total number of combinations
books. Find the number of ways in which a non-empty = ( 5 + 1) ( 4 + 1) ( 3 + 1) ( 2 + 1) 2 3 − 1
selection can be made from them. = 6 ⋅5 ⋅ 4 ⋅3 ⋅8 − 1
Sol. Since, copies of the same book are identical. = 2879
∴ Number of selections of any number of copies of a book [excluding the case, when no letter is selected]
is p + 1. Similarly, in the case for each book.
Explanation Selection from ( AAAAA ) can be made by 6
Therefore, total number of selections is ( p + 1)n .
ways such include no A, include one A, include two A,
But this includes a selection, which is empty i.e., zero copy include three A, include four A, include five A. Similarly,
of each book. Excluding this, the required number of selections from ( BBBB ) can be made in 5 ways, selections
non-empty selections is ( p + 1)n − 1. from (CCC ) can be made in 4 ways, selections from ( DD )
can be made in 3 ways and from E, F, G can be made in
y Example 64. There are 4 oranges, 5 apples and 2 × 2 × 2 ways.
6 mangoes in a fruit basket and all fruits of the same
kind are identical. In how many ways can a person make
a selection of fruits from among the fruits in the basket?
Number of Divisors of N
Sol. Zero or more oranges can be selected out of 4 identical Every natural number N can always be put in the form
oranges = 4 + 1 = 5 ways. N = p 1α 1 ⋅ p 2α 2 ⋅ p 3α 3 ... p kα k , where p 1 , p 2 , p 3 , ..., p k are
Similarly, for apples number of selection = 5 + 1 = 6 ways distinct primes and α 1 , α 2 , α 3 , K, α k ∈W .
and mangoes can be selected in 6 + 1 = 7 ways.
380 Textbook of Algebra
(ii) The total number of divisors of N excluding 1 and N And sum of all these divisors (proper)
= (α 1 + 1) (α 2 + 1) (α 3 + 1) K (α k + 1) − 2 = ( 20 + 21 + 22 + 23 ) ( 30 + 31 + 32 )
(iii) The total number of divisors of N excluding either 1 (7 0 + 71 + 7 2 ) (110 + 111 ) − 1 − 38808
or N = (α 1 + 1) (α 2 + 1) (α 3 + 1) K (α k + 1) − 1 = (15) (13) (57 ) (12) − 38809
(iv) Sum of all divisors = ( p 10 + p 11 + p 12 + p 13 + K + p 1∞1 ) = 133380 − 38809
( p 20 + p 21 + p 22 + p 23 + K + p 2α 2 ) ... = 94571
(vi) The number of even divisors of N are possible only if y Example 68. Find the number of odd proper divisors
p 1 = 2 , otherwise there is no even divisor. of the number 35700. Also, find sum of the odd
∴ Required number of even divisors proper divisors.
Sol. Q35700 = 22 × 31 × 52 × 71 × 171
= α 1 (α 2 + 1) (α 3 + 1) + K + (α k + 1)
∴ Required number of odd proper divisors
(vii) The number of odd divisors of N
= Total number of selections of zero 2 and any
Case I If p 1 = 2 , the number of odd divisors number of 3’s or 5’s or
= (α 2 + 1) (α 3 + 1) K (α k + 1) 7’s or 17’s
= (1 + 1) (2 + 1) (1 + 1) (1 + 1 ) − 1 = 23
Case II If p 1 ≠ 2 , the number of odd divisors
∴ The sum of odd proper divisors
= (α 1 + 1) (α 2 + 1) (α 3 + 1) K (α k + 1)
= (30 + 31 ) (50 + 51 + 52 ) (7 0 + 71 ) (17 0 + 71 ) − 1
(viii) The number of ways in which N can be resolved as a = 4 × 31 × 8 × 18 − 1
product of two factors
= 17856 − 1 = 17855
1 (α + 1) (α + 1) K (α + 1) , if N is not a
y Example 69. If N = 10800, find the
2 1 2 k perfect square
= (i) the number of divisors of the form
1
{(α 1 + 1) (α 2 + 1) K (α k + 1) + 1} , if N is a 4m + 2 , ∀ m ∈W .
2 perfect square (ii) the number of divisors which are multiple of 10.
(ix) The number of ways in which a composite number N (iii) the number of divisors which are multiple of 15.
can be resolved into two factors which are relatively Sol. We have, N = 10800 = 24 × 33 × 52
prime ( or coprime) to each other is equal to 2 n − 1 , (i) Q( 4 m + 2) = 2(2m + 1), in any divisor of the form
where n is the number of different factors (or different 4 m + 2, 2 should be exactly 1.
primes) in N . So, the number of divisors of the form
( 4 m + 2) = 1 × (3 + 1) × (2 + 1) = 1 × 4 × 3 = 12
y Example 66. Find the number of proper factors of
the number 38808. Also, find sum of all these divisors. (ii) ∴ The required number of proper divisors
Sol. The number 38808 = 23 ⋅ 32 ⋅ 7 2 ⋅ 11 = Total number of selections of atleast one 2 and one
5 from 2, 2, 2, 2, 3, 3, 3, 5, 5
Hence, the total number of proper factors (excluding 1 and
itself i.e., 38808) = 4 × (3 + 1) × 2 = 32
Chap 05 Permutations and Combinations 381
(iii) ∴ The required number of proper divisors Proof The number of ways in which (m + n ) distinct
= Total number of selections of atleast one 3 and one objects are divided into two groups of the sizem and n
5 from 2, 2, 2, 2, 3, 3, 3, 5, 5
= The number of ways m objects are selected out of
= ( 4 + 1) × 3 × 2 = 30 (m + n ) objects to form one of the groups, which can
be done in m + n C m ways. The other group of n objects
y Example 70. Find the number of divisors of the
is formed by the remaining n objects.
number N = 2 3⋅ 3 5 ⋅ 5 7 ⋅7 9 ⋅9 11 , which are
perfect square.
m+n
Sol. QN = 2 3 ⋅ 3 5⋅ 5 7 ⋅ 7 9⋅ 9 11
= 2 3 ⋅ 3 5 ⋅ 5 7 ⋅ 7 9 ⋅ 3 22
= 2 3⋅ 3 27⋅ 5 7 ⋅ 7 9
m n
For perfect square of N , each prime factor must occur even
number of times. (Tree diagram)
2 can be taken in 2 ways (i.e., 20 or 22 ) (m + n )
m +n
3 can be taken in 14 ways (i.e., 30 or 32 or 34 or 36 or 38 or = C m ⋅n C n =
m!n!
310 or 312 or 314 or 316 or 318 or 320 or 322 or 324 or 326 )
Corollary I The number of ways to distribute (m + n )
5 can taken in 4 ways (i.e., 50 or 52 or 54 or 56 )
and 7 can taken in 5 ways
distinct objects among 2 persons in the groups
(i.e., 7 0 or 7 2 or 7 4 or 7 4 or 7 6 or 7 8 ) containing m and n objects
Hence, total divisors which are perfect squares = (Number of ways to divide) × (Number of groups)
= 2 × 14 × 4 × 5 = 560 (m + n )
= × 2!
m!n!
y Example 71. In how many ways the number 10800
can be resolved as a product of two factors? Corollary II The number of ways in which (m + n + p )
Sol. Let N = 10800 = 2 4 × 3 3 × 5 2 distinct objects can be divided into three unequal
groups containingm, n and p objects, is
Here, N is not a perfect square [Q power of 3 is odd]
1
Hence, the number of ways = ( 4 + 1) (3 + 1) (2 + 1) = 30
2 m+n+p
52
x1 + x2 + x3 +...+xn
13 13
13 13
x1 xn (Tree diagram)
.
x2 x3 ..
(Tree diagram) 52! 52!
4
× 4! =
4 ! (13!) (13!)4
(x 1 + x 2 + x 3 + L + x n ) ! Aliter Each player will get 13 cards. Now, first player can
.
x 1 ! x 2 ! x 3 !L x n ! be given 13 cards out of 52 cards in 52 C 13 ways. Second
Corollary V The number of ways to distribute player can be given 13 cards out of remaining 39 cards (i.e.,
( x 1 + x 2 + x 3 + K + x n ) distinct objects among n 52 − 13 = 39) in 39
C 13 ways. Third player can be given 13
persons in the groups containing x 1 , x 2 , K , x n cards out of remaining 26 cards (i.e., 39 − 13 = 26 ) in 26
C 13
objects ways and fourth player can be given 13 cards out of
remaining 13 cards (i.e., 26 − 13 = 13) in 13 C 13 ways.
= (Number of ways to divide) × (Number of groups)
( x + x 2 + x 3 + ... + x n ) ! Hence, required number of ways
= 1 × n! = C 13 ×
52 39
C 13 × 26
C 13 × 13C 13
x 1 ! x 2 ! x 3 !K x n !
52! 39 ! 26! 52!
(b) Division of Objects Into Groups of Equal Size = × × × 1=
13! 39 ! 13! 26! 13! 13! (13!)4
The number of ways in which mn distinct objects can
be divided equally into m groups, each containing n (ii) Here, order of group is not important, then the
objects and number of ways in which 52 different cards can be
(i) If order of groups is not important is. divided equally into 4 groups is
(mn ) ! 1 52
= × .
(n !) m m !
(ii) If order of groups is important is. 13 13
(mn ) ! 1 (mn ) ! 13 13
× ×m ! = .
(n !) m m ! (n !) m (Tree diagram)
Note Division of 14n objects into 6 groups of 2n, 2n, 2n, 2n, 3n, 3n, 52!
( 14 n)! 4 ! (13!)4
( 2n)! ( 2n)! ( 2n)! ( 2n)! ( 3n)! ( 3n)! ( 14 n) 1
size is = 4 2
× Aliter Each group will get 13 cards. Now, first group can be
4 ! 2! (( 2n)!) (( 3n)!) 4 ! 2! given 13 cards out of 52 cards in 52 C 13 ways. Second group
Now, the distribution ways of these 6 groups among 6 persons is can be given 13 cards out of remaining 39 cards (i.e.,
( 14 n)!
×
1
× 6!=
( 14 n)!
× 15
52 − 13 = 39) in 39 C 13 ways. Third group can be given 13
4 2
[( 2n)!)] [( 3n)!] 4 ! 2! [( 2n)!]4 [( 3n)!] 2 cards out of remaining 26 cards
(i.e., 39 − 13 = 26) in 26 C 13 ways and fourth group can be
y Example 73. In how many ways can a pack of 52 given 13 cards out of remaining 13 cards (i.e., 26 − 13 = 13)
in 13 C 13 ways. But the all (four) groups can be interchanged
cards be
in 4! ways. Hence, the required number of ways
(i) distributed equally among four players in order?
1
(ii) divided into four groups of 13 cards each? = 52 C 13 × 39C 13 × 26C 13 × 13C 13 ×
4!
(iii) divided into four sets, three of them having 17 cards 52! 39 ! 26! 1 52!
= × × ×1× =
each and fourth just one card? 13! 39 ! 13! 26! 13! 13! 4 ! (13!)4 4 !
Sol. (i) Here, order of group is important, then the numbers
(iii) First, we divide 52 cards into two sets which contains
of ways in which 52 different cards can be divided
1 and 51 cards respectively, is
equally into 4 players is
52!
1! 51!
Chap 05 Permutations and Combinations 383
12! × 2 12 ⋅ 11 ⋅ 10 ⋅ 9 ⋅ 8 ⋅ 7 !⋅ 2
52 = = = 1584.
5! × 7 ! 5 ⋅ 4 ⋅3 ⋅2 ⋅1 ⋅7 !
II Part Here, order is not important, then the number of
17 1 ways in which 12 different balls can be divided into three
17 17 groups of 5,4 and 3 balls respectively, is
12! 12 ⋅ 11 ⋅ 10 ⋅ 9 ⋅ 8 ⋅ 7 ⋅ 6 ⋅ 5!
Now, 51 cards can be divided equally in three sets each = = = 27720
contains 17 cards (here order of sets is not important) 5! 4 ! 3! 5! ⋅ 4 ⋅ 3 ⋅ 2 ⋅ 1 ⋅ 3 ⋅ 2 ⋅ 1
51!
in ways.
3! (17 !)3 12
Hence, the required number of ways
52! 51!
= ×
1! 51! 3 !(17 !)3
5 2
52! 52! 4
= =
1! 3!(17 )3 (17 !) 3 3! (Tree diagram)
Aliter First set can be given 17 cards out of 52 cards in Aliter First group can be given 5 balls out of 12 balls in
52 12
C 17 . Second set can be given 17 cards out of remaining 35 C 5 ways. Second group can be given 4 balls out of
cards (i.e., 52 − 17 = 35) in 35 C 17 . Third set can be given 17 remaining 7 balls (12 − 5 = 7 ) in 7 C 4 and 3 balls can be
cards out of remaining 18 cards (i.e., 35 − 17 = 18) in 18 C 17 given out of remaining 3 balls in 3 C 3 .
and fourth set can be given 1 card out of 1 card in 1C 1. But
Hence, the required number of ways (here order of groups
the first three sets can interchanged in 3! ways. Hence, the are not important)
total number of ways for the required distribution
= 12
C 5 × 7C 4 × 3C 3
1
= 52 C 17 × 35C 17 × 18C 17 × 1C 1 × !
3 12! 7!
= × ×1
52! 35! 18! 1 (52)! 5! 7 ! 4 ! 3!
= × × ×1× =
17 ! 35! 17 ! 1! 17 ! 18! 3! (17 !)3 3! 12!
=
5! 4 ! 3!
y Example 74. In how many ways can 12 different balls
be divided between 2 boys, one receiving 5 and the y Example 75. In how many ways can 16 different
other 7 balls? Also, in how many ways can these 12 balls books be distributed among three students A, B, C so
be divided into groups of 5, 4 and 3 balls, respectively? that B gets 1 more than A and C gets 2 more than B ?
Sol. I Part Here, order is important, then the number of ways Sol. Let A gets n books, then B gets n + 1 and C gets n + 3.
in which 12 different balls can be divided between two
Now, n + (n + 1) + (n + 3) = 16
boys which contains
5 and 7 balls respectively, is ⇒ 3n = 12
∴ n=4
12
16
5 7
(Tree diagram)
4 7
5
12! 12 ⋅ 11 ⋅ 10 ⋅ 9 ⋅ 8 ⋅ 7 !
= × 2! = ⋅ 2 = 1584 (Tree diagram)
5! 7 ! (5⋅ 4 ⋅ 3 ⋅ 2⋅ 1)7 !
⇒ A , B, C gets 4, 5 and 7 books, respectively.
Aliter First boy can be given 5 balls out of 12 balls in 12 C 5 .
Second boy can be given 7 balls out of 7 balls (i.e., Hence, the total number of ways for the required
12 − 5 = 7) but there order is important boys interchange by distribution
(2 types), then required number of ways 16!
=
12! 4 ! 5! 7 !
= 12 C 5 × 7C 7 × 2! = × 1 × 2!
5! 7 !
384 Textbook of Algebra
y Example 76. In how many ways can 9 different The number of division ways for tree diagrams (i), (ii) and
books be distributed among three students if each (iii) are
9! 1 9! 9! 1
receives atleast 2 books? × , and × , respectively.
Sol. If each receives atleast 2 books, then the division as (2!)2 (5!) 2! 2! 3! 4 ! (3!)3 3!
shown by tree diagrams Hence, the total number of ways of distribution of these
groups among 3 students is
9 9 9 9! 1 9! 9! 1
2 × + + 3
× × 3!
(2!) (5!) 2 ! 2 ! 3 ! 4 ! (3!) 3 !
3. If a1, a 2, a 3, L , a n + 1 be (n + 1) different prime numbers, then the number of different factors (other than 1) of
a1m ⋅ a 2 ⋅ a 3, K , a n + 1, is
(a) m + 1 (b) (m + 1) 2 n (c) m ⋅ 2n + 1 (d) None of these
8. The number of proper divisors of 1800, which are also divisible by 10, is
(a) 18 (b) 27 (c) 34 (d) 43
12. Number of ways in which 12 different books can be distributed equally among 3 persons, is
12 ! 12 ! 12 ! 12 !
(a) (b) (c) (d)
(4 !)3 (3 !)4 (4 !)4 (3 !)3
14. Number of ways in which 12 different things can be distributed in 5 sets of 2, 2, 2, 3, 3, things is
12 ! 12 ! 5 ! 12 ! 12 ! 5 !
(a) 2 3
(b) 2 3
(c) 3 4
(d)
(3 !) (2 !) (3 !) (2 !) (3 !) (2 !) (3 !)2 (2 !)4
15. Number of ways in which 12 different things can be divided among five persons so that they can get 2, 2, 2, 3,
3 things respectively, is
12 ! 12 ! 5 ! 12 ! 12 ! 5 !
(a) (b) (c) (d)
(3 !)2 (2 !)3 (3 !)2 (2 !)3 (3 !)2 (2 !)4 (3 !)2 (2 !)4
16. The total number of ways in which 2n persons can be divided into n couples, is
2n ! 2n ! 2n !
(a) (b) (c) (d) None of these
(n !)2 (2n !)n n ! (2n !)2
17. n different toys have to be distributed among n children. Total number of ways in which these toys can be
distributed so that exactly one child gets no toy, is equal to
(a) n ! (b) n ! nC2 (c) (n − 1) ! nC2 (d) n ! n −1C2
18. In how many ways can 8 different books be distributed among 3 students if each receives atleast 2 books?
(a) 490 (b) 980 (c) 2940 (d) 5880
Session 6
Arrangement in Groups, Multinomial Theorem,
Multiplying Synthetically
Arrangement in Groups All 5 balls can be arranged by 5! ways and boxes can be
3!
(a) The number of ways in which n different things arranged in each system by .
2!
can be arranged into r different groups is 3! 3!
Hence, required number of ways = 5! × + 5! ×
r (r + 1 )(r + 2) K (r + n − 1 ) or n !⋅ n − 1 C r − 1 2! 2!
according as blank groups are or are not admissible. = 120 × 3 + 120 × 3 = 720
Proof (b) The number of ways in which n different things
(i) Let n letters a 1 , a 2 , a 3 , K, a n be written in a row can be distributed into r different groups is
in any order. All the arrangements of the letters r n −r C 1 (r − 1 ) n + r C 2 (r − 2) n − K + ( −1 ) r −1 ⋅ r C r −1
in r, groups, blank groups being admissible, can Or
be obtained thus, place among the letters (r − 1)
r
20 + 4 − 1
(n + r ) things into each of the r groups and distribute Hence, total number of Sols = C4 −1
the remaining n things into r groups, blank lots being 23 ⋅ 22 ⋅ 21
allowed. Hence, the required number is n + r − 1 C r − 1 . = C3 =
23
= 1771
1 ⋅2 ⋅3
Aliter The number of distribution of n identical (ii) Since, x + y + z + w = 20 …(i)
Here, x ≥ 1, y ≥ 1, z ≥ 1, w ≥ 1
things into r different groups is the coefficient of x n
or x− 1 ≥ 0, y − 1 ≥ 0, z − 1 ≥ 0, w − 1 ≥ 0
in (1 + x + x 2 + K + ∞ ) r or in ( x + x 2 + x 3 + K + ∞ ) r
Let x1 = x − 1 ⇒ x = x1 + 1
according as blank groups are or are not allowed. y1 = y − 1 ⇒ y = y1 + 1
These expressions are respectively equal to z1 = z − 1 ⇒ z = z1 + 1
(1 − x ) −r and x r (1 − x ) −r w1 = w − 1 ⇒ w = w1 + 1
Then, from Eq. (i), we get
Hence, coefficient of x n in two expressions are
x 1 + 1 + y1 + 1 + z1 + 1 + w 1 + 1 = 20
n +r −1 n −1
C r − 1 and C r − 1 , respectively. ⇒ x 1 + y1 + z1 + w 1 = 16
and x 1 ≥ 0, y1 ≥ 0, z1 ≥ 0, w 1 ≥ 0
y Example 81. In how many ways 5 identical balls can Hence, total number of Solutions = 16 + 4 − 1C 4 − 1
be distributed into 3 different boxes so that no box
19 ⋅ 18 ⋅ 17
remains empty? = 19C 3 = = 57 ⋅ 17 = 969
1 ⋅2 ⋅3
5 −1 4 ⋅3 Aliter
Sol. The required number of ways = C 3 − 1 = 4C 2 = =6
1 ⋅2 Part (ii) Q x + y + z + w = 20
Aliter Each box must contain atleast one ball, since no x ≥ 1, y ≥ 1, z ≥ 1, w ≥ 1
box remains empty. Boxes can have balls in the following Hence, total number of solutions
20 − 1
systems. = C 4 − 1 = 19C 3 = 969
Box I II III Box I II III
Number 1 1 3 Or Number of 1 2 2
y Example 84. How many integral solutions are there
of balls balls to x + y + z + t = 29, when x ≥ 1, y > 1, z ≥ 3 and t ≥ 0 ?
Sol. Since, x + y + z + t = 29 …(i)
Here, balls are identical but boxes are different the number
of combinations will be 1 in each systems. and x, y, z, t are integers
3! 3! ∴ x ≥ 1, y ≥ 2, z ≥ 3, t ≥ 0
∴ Required number of ways = 1 × + 1 × = 3 + 3 = 6
2! 2! ⇒ x − 1 ≥ 0, y − 2 ≥ 0, z − 3 ≥ 0, t ≥ 0
Let x 1 = x − 1, x 2 = y − 2, x 3 = z − 3
y Example 82. Four boys picked up 30 mangoes. In or x = x 1 + 1, y = x 2 + 2, z = x 3 + 3 and then x 1 ≥ 0, x 2 ≥ 0,
how many ways can they divide them, if all mangoes x 3 ≥ 0, t ≥ 0
be identical? From Eq. (i), we get
Sol. Clearly, 30 mangoes can be distributed among 4 boys such x 1 + 1 + x 2 + 2 + x 3 + 3 + t = 29
that each boy can receive any number of mangoes. ⇒ x 1 + x 2 + x 3 + t = 23
30 + 4 − 1
Hence, total number of ways = C4 −1 Hence, total number of solutions = 23 + 4 − 1C 4 − 1
33 ⋅ 32 ⋅ 31 26 ⋅ 25 ⋅ 24
= 33
C3 = = 5456 = 26
C3 = = 2600
1 ⋅2 ⋅3 1 ⋅2 ⋅3
Aliter
y Example 83. Find the positive number of solutions of Q x + y + z + t = 29 …(i)
x + y + z + w = 20 under the following conditions and x ≥ 1, y − 1 ≥ 1, z − 2 ≥ 1, t + 1 ≥ 1
(i) Zero value of x , y, z and w are included. Let x 1 = x , y1 = y − 1, z1 = z − 2, t 1 = t + 1
(ii) Zero values are excluded. or x = x 1, y = y1 + 1, z = z1 + 2, t = t 1 − 1
Sol. (i) Since, x + y + z + w = 20 and then x 1 ≥ 1, y1 ≥ 1, z1 ≥ 1, t 1 ≥ 1
From Eq. (i), x 1 + y1 + 1 + z1 + 2 + t 1 − 1 = 29
Here, x ≥ 0, y ≥ 0, z ≥ 0, w ≥ 0
⇒ x 1 + y1 + z1 + t 1 = 27
The number of Sols of the given equation in this case Hence, total number of solutions = 27 − 1
C4 −1 = 26
C3
is same as the number of ways of distributing 20
things among 4 different groups. 26 ⋅ 25 ⋅ 24
= = 2600
1 ⋅2 ⋅3
Chap 05 Permutations and Combinations 389
y Example 85. How many integral Solutions are there = Coefficient of x n in the expansion of
to the system of equations x 1 + x 2 + x 3 + x 4 + x 5 = 20 x lr (1 + x + x 2 + K + x m − l ) r
and x 1 + x 2 = 15, when x k ≥ 0?
= Coefficient of x n − lr in the expansion of
Sol. We have, x 1 + x 2 + x 3 + x 4 + x 5 = 20 …(i)
(1 + x + x 2 + K + x m − l ) r
and x 1 + x 2 = 15 …(ii)
Then, from Eqs. (i) and (ii), we get two equations = Coefficient of x n − lr in the expansion of
r
x3 + x4 + x5 = 5 …(iii) 1 ⋅ (1 − x m − l + 1 )
x 1 + x 2 = 15 …(iv) (1 − x )
and given x 1 ≥ 0, x 2 ≥ 0, x 3 ≥ 0, x 4 ≥ 0 and x 5 ≥ 0
[sum of m − l + 1 terms of GP]
Then, number of solutions of Eq. (iii)
n − lr
= 5 + 3 −1
C 3 − 1 = 7C 2
= Coefficient of x in the expansion of
7 ⋅6 (1 − x m − l + 1 ) r (1 − x ) −r
= = 21
1 ⋅2
y Example 87. In how many ways can three persons,
and number of solutions of Eq. (iv) each throwing a single dice once, make a sum of 15 ?
15 + 2 − 1
= C 2 − 1 = 16C 1 = 16 Sol. Number on the faces of the dice are 1, 2, 3, 4, 5, 6 (least
Hence, total number of solutions of the given system of number 1, greatest number 6)
equations Here, l = 1, m = 6, r = 3 and n = 15
= 21 × 16 = 336 ∴ Required number of ways = Coefficient of x 15 − 1 × 3 in the
expansion of (1 − x 6 )3 (1 − x )−3
y Example 86. Find the number of non-negative
integral solutions of 3x + y + z = 24. = Coefficient of x 12 in the expansion of
Sol. We have, (1 − 3x 6 + 3x 12 )(1 + 3C 1 x + 4C 2 x 2 + K + 8C 6 x 6 + K
3x + y + z = 24 and given x ≥ 0, y ≥ 0, z ≥ 0 + 14C 12 x 12 + K )
Let x =k = 14C 12 − 3 × 8C 6 + 3 = 14C 2 − 3 × 8C 2 + 3
∴ y + z = 24 − 3k …(i) = 91 − 84 + 3 = 10
Here, 24 ≥ 24 − 3k ≥ 0[Q x ≥ 0]
Hence, 0 ≤ k ≤ 8 y Example 88. In how many ways in which an
The total number of integral solutions of Eq. (i) is examiner can assign 30 marks to 8 questions, giving
24 − 3k + 2 − 1
C2 −1 = 25 − 3k
C 1 = 25 − 3k not less than 2 marks to any question.
Sol. If examiner given marks any seven question 2 (each)
Hence, the total number of Sols of the original equation marks, then marks on remaining questions given by
8 8 8
examiner = − 7 × 2 + 30 = 16
= ∑(25 − 3k ) = 25 ∑1 − 3 ∑k If x i are the marks assigned to ith question, then
k =0 k =0 k =0
x 1 + x 2 + x 3 + K + x 8 = 30 and 2 ≤ x i ≤ 16
8 ⋅9
= 25 ⋅ 9 − 3 ⋅ = 225 − 108 = 117 for i = 1, 2, 3, K, 8.
2
Here, l = 2,m = 16, r = 8 and n = 30
(d) The number of ways in which n identical things ∴ Required number of ways
can be distributed into r groups so that no group 30 − 2 × 8
= Coefficient of x in the expansion of
contains less than l things and more than m
things (l < m ) is coefficient of x n − lr in the (1 − x 16 − 2 + 1 )8 (1 − x )−8
expansion of (1 − x m − l + 1 ) r (1 − x ) −r . = Coefficient of x 14 in the expansion of
(e) If a group has n things in which p are identical, [Q the remaining (n − 1) letters can be placed in (n − 1)
then the number of ways of selecting r things envelopes is (n − 1) ! ]
from a group is and n ( Ai ∩ A j ) = 1 × 1 × (n − 2 ) ! [Qi and j can be placed in
r r their corresponding envelopes and remaining (n − 2 )
∑ n−p
C r or ∑ n − p C r ,according asr ≤ p or letters can be placed in (n − 2 ) envelopes in (n − 2 ) ! way]
r =0 r =r − p
r ≥ p. Also, n ( Ai ∩ A j ∩ Ak ) = 1 × 1 × 1 × (n − 3 ) !
Hence, the required number is
y Example 89. A bag has contains 23 balls in which 7 n ( A1 ′ ∩ A2 ′ ∩ A 3 ′ ∩ K ∩ An ′ )
are identical. Then, find the number of ways of
= n (U ) − n ( A1 ∪ A2 ∪ A 3 ∪ K ∪ An )
selecting 12 balls from bag.
= n ! − {∑ n ( Ai ) − ∑ n( Ai ∩ A j )
Sol. Here, n = 23, p = 7, r = 12 (r > p )
12 + ∑ n ( Ai ∩ A j ∩ Ak ) −K + ( −1) n
∴ Required number of selections = ∑ 16
Cr
r =5 ∑ n ( A1 ∩ A2 ∩ A 3 ∩ K ∩ An )
= C 5 + C 6 + C 7 + C 8 + C 9 + C 10 + C 11 + C 12
16 16 16 16 16 16 16 16
= n ! − { n C 1 × (n − 1) ! − n C 2 × (n − 2 ) !
= ( 16C 5 + 16C 6 ) + ( 16C 7 + 16C 8 ) + ( 16C 9 + 16C 10 ) + n C 3 × (n − 3 ) ! −K + ( −1) n − 1 × n C n × 1 ! }
+ ( 16C 11 + 16C 12 ) n × (n − 1) ! n(n − 1)
n +1 = n! − − × (n − 2 ) !
= 17C 6 + 17C 8 + 17C 10 + 17C 12 [Q n C r + n C r −1 = Cr ] 1! 2!
n(n − 1)(n − 2 )
= C 11 + C 9 + C 10 + C 12 [Q C r = n C n − r ] × (n − 3 ) ! − K + ( −1) n − 1 × 1
17 17 17 17 n
+
3!
= ( 17C 11 + 17C 12 ) + ( 17C 9 + 17C 10 )
n ! n ! n !
= n ! − − + − K + ( −1) n ⋅ 1
= 18C 12 + 18C 10 = 18C 6 + 18C 8 1! 2 ! 3 !
Derangements Any change in the order of the things in 1 1 1 ( −1) n
r =p
The number of ways to put 3 letters in 3
addressed envelopes so that all are in wrong
y Example 90. A person writes letters to six friends envelopes
and addresses the corresponding envelopes. In how = The number of ways without restriction − The
many ways can the letters be placed in the envelopes number of ways in which all are in correct envelopes
so that (i) atleast two of them are in the wrong − The number of ways in which 1 letter is in the
envelopes. (ii) all the letters are in the wrong correct envelope − The number of ways in which 2
envelopes. letter are in correct envelope
Sol. (i) The number of ways in which atleast two of them in = 3 ! − 1 − 3 C 1 × 1 − 0 [from Eqs. (i) and (ii)]
the wrong envelopes
6 =2
= ∑ 6
C 6 − r ⋅ Dr [ 3C 1 means that select one envelope to put the letter
r =2
correctly]
= 6
C4 × D 2 + 6C 3 × D 3 + 6C 2 × D 4 + 6C 1
The number of ways to put 4 letters in 4
× D 5 + 6C 0 × D 6 addressed envelopes so that all are in wrong
= 15D 2 + 20D 3 + 15D 4 + 6D 5 + D 6 [from note] envelopes
= 15 × 1 + 20 × 2 + 15 × 9 + 6 × 44 + 265 = The number of ways without restriction − The
= 719
number of ways in which all are in correct envelopes
− The number of ways in which 1 letter is in the
(ii) The number of ways in which all letters be placed in correct envelope − The number of ways in which 2
wrong envelopes = D 6 = 265 [from note] letters are in correct envelopes − The number of ways
Aliter in which 3 letters are in correct envelopes
(i) The number of all the possible ways of putting 6 = 4 ! − 1 − 4C 1 × 2 − 4C 2 × 1 − 4C 3 × 0
letters into 6 envelopes is 6 ! . [from Eqs. (i), (ii) and (iii)]
Number of ways to place all letters correctly into = 24 − 1 − 8 − 6 − 0 = 9 …(iv)
corresponding envelopes = 1
The number of ways to put 5 letters in 5
and number of ways to place one letter in the wrong addressed envelopes so that all are in wrong
envelope and other 5 letters in the write envelope = 0 envelopes
[Q It is not possible that only one letter goes in the = The number of ways without restriction − The
wrong envelope, when if 5 letters goes in the right number of ways in which all are in correct envelopes −
envelope, then remaining one letter also goes in the The number of ways in which 1 letter is in the correct
write envelope] envelopes − The number of ways in which 2 letters are
Hence, number of ways to place atleast two letters in correct envelopes − The number of ways in which 3
goes in the wrong envelopes letters are in correct envelopes − The number of ways
in which 4 letters are in correct envelopes
= 6 ! − 0 − 1 = 6 ! − 1 = 720 − 1 = 719
= 5 ! − 1 − 5C 1 × 9 − 5C 2 × 2 − 5C 3 × 1 − 5C 4 × 0
(ii) The number of ways 1 letter in 1 address envelope, so
that one letter is in wrong envelope = 0 …(i) [from Eqs. (i), (ii), (iii) and (iv)]
[because it is not possible that only one letter goes in = 120 − 1 − 45 − 20 − 10 − 0 = 44
the wrong envelope]
392 Textbook of Algebra
The number of ways to put 6 letters in 6 addressed y Example 91. In how many ways the sum of upper
envelopes so that all are in wrong envelopes faces of four distinct die can be five?
= The number of ways without restriction − The Sol. Here, the number of required ways will be equal to the
number of ways in which all are in correct envelopes number of solutions of x 1 + x 2 + x 3 + x 4 = 5 i.e., 1 ≤ x i ≤ 6
− The number of ways in which 1 letter is in the for i = 1, 2, 3, 4.
correct envelope − The number of ways in which 2 Since, upper limit is 6, which is greater than required
sum, so upper limit taken as infiite. So, number of Sols is
letters are in correct envelopes − The number of ways
equal to coefficient of α 5 in the expansion of
in which 3 letters are in correct envelopes − The (1 + α + α 2 + K + ∞ )4
number of ways in which 4 letters are in correct
envelopes − The number of ways in which 5 letters = Coefficient of α 5 in the expansion of (1 − α )−4
are in correct envelopes. = Coefficient of α 5 in the expansion of
= 6 ! − 1 − 6 C 1 × 44 − 6 C 2 × 9 − 6 C 3 × 2 (1 + 4C 1α + 5C 2 α 2 + K )
− 6C 4 × 1 − 6C 5 × 0 8 ⋅7 ⋅6
= 8C 5 = 8C 3 = = 56
[from Eqs. (i), (ii), (iii), (iv) and (v)] 1 ⋅2 ⋅3
= 720 − 1 − 264 − 135 − 40 − 15 = 720 − 455 = 265 Case II If the upper limit of a variable is less than
the sum required and the lower limit of all variables
Multinomial Theorem is non-negative, then the upper limit of that variable
is that given in the problem.
(i) If there are l objects of one kind, m objects of second
kind, n objects of third kind and so on, then the y Example 92. In an examination, the maximum
number of ways of choosing r objects out of these marks each of three papers is 50 and the maximum
objects (i.e., l + m + n +K) is the coefficient of x r in mark for the fourth paper is 100. Find the number
the expansion of of ways in which the candidate can score 60%
(1 + x + x 2 + x 3 + K + x l )(1 + x + x 2 + K + x m ) marks in aggregate.
(1 + x + x 2 + K + x n ) Sol. Aggregate of marks = 50 × 3 + 100 = 250
Further, if one object of each kind is to be included, 60
then the number of ways of choosing r objects out of ∴ 60% of the aggregate = × 250 = 150
100
these objects (i.e., l + m + n +K) is the coefficient of
Let the marks scored by the candidate in four papers be x 1,
x r in the expansion of x 2 , x 3 and x 4 . Here, the number of required ways will be
( x + x 2 + x 3 + K + x l )( x + x 2 + x 3 + K + x m ) equal to the number of Sols of x 1 + x 2 + x 3 + x 4 = 150 i.e.,
(x + x 2 + x 3 + K + x n ) K 0 ≤ x 1, x 2 , x 3 ≤ 50 and 0 ≤ x 4 ≤ 100.
Since, the upper limit is 100 < required sum (150).
(ii) If there are l objects of one kind, m objects of second
kind, n objects of third kind and so on, then the The number of solutions of the equation is equal to
number of possible arrangements/permutations of r coefficient of α150 in the expansion of
objects out of these objects (i.e., l + m + n +K) is the (α 0 + α1 + α 2 + K + α 50 )3 (α 0 + α1 + α 2 + K + α100 )
coefficient of x r in the expansion of
= Coefficient of α150 in the expansion of
x x2 xl x x2 xm
r ! 1 + + + K + 1 + + +K + (1 − α 51 )3 (1 − α10 )(1 − α )−4
1! 2 ! l ! 1! 2 ! m!
x x2 xn = Coefficient of α150 in the expansion of
1 + + +K + K.
1! 2 ! n! (1 − 3α 51 + 3α102 )(1 − α101 )(1 + 4C 1α + 5C 2 α 2 + K + ∞ )
= Coefficient of α150 in the expansion of
Different Cases of (1 − 3α 51 − α101 + 3α102 )(1 + 4C 1α + 5C 2 α 2 + K + ∞ )
Multinomial Theorem = C 150 − 3 ×
153 102
C 99 − C 49 + 3 × 51C 48
52
by (1 + α ), we get 1 4 7 8 7 4 1 ...
p 0 + (p 0 + p1 ) α + (p1 + p2 ) α 2 + (p2 + p 3 ) α 3 + K …on multiplying by 1 + α + α → To each coefficient add 2
2
n −1 n +1
+ (pn − 2 + pn − 1 )α + (pn − 1 + pn )α + pnα n
preceding coefficients.
i.e., we just add coefficient of α r with coefficient of α r − 1 1 5 12 19 22 19 12 ...
(i.e., previous term) to get coefficient α r in product. …on multiplying by 1 + α + α 2 → To each coefficient add 2
Now, coefficient of α = p r − 1 + p r
r
preceding coefficients.
On multiplying p 0 + p 1 α + p 2 α 2 + p 3 α 3 + K + p n α n by ... ... ... ... ... ... 53 ...
(1 + α + α 2 )
Hence, required coefficient is 53.
we get, p 0 + ( p 0 + p 1 ) α + ( p 0 + p 1 + p 2 ) α 2
y Example 94. Find the number of different
+ (p1 + p2 + p 3 ) α 3 + (p2 + p 3 + p 4 ) α 4 + K
selections of 5 letters which can be made from
i.e., to find coefficient of α r in product and add this with 2 5A’s, 4B ’s, 3C’s, 2D’s and 1E
preceding coefficients. Sol. All selections of 5 letters are given by 5th degree terms in
Now, coefficient of α r = p r − 2 + p r − 1 + p r (1 + A + A 2 + A 3 + A 4 + A 5 )(1 + B + B 2 + B 3 + B 4 )
Similarly, in product of p 0 + p 1 α + p 2 α 2 + K with (1 + C + C 2 + C 3 )(1 + D + D 2 )(1 + E )
(1 + α + α 2 + α 3 ), the coefficient of α r in product will be ∴ Number of 5 letter selections
p − 3 + pr − 2 + pr − 1 + pr = Coefficient of α 5 in (1 + α + α 2 + α 3 + α 4 + α 5 )
1r 444 24443
3 preceding coefficients (1 + α + α 2 + α 3 + α 4 )(1 + α + α 2 + α 3 )
and in product of p 0 + p 1 α + p 2 α 2 + K with (1 + α + α 2 )(1 + α )
( 1 + α + α 2 + α 3 + α 4 ), the coefficient of α r in product Multiplying synthetically
will be p r − 4 + p r − 3 + p r − 2 + p r − 1 + p r 1 α α 2
α3 α4 α 5 ...
14444 4244444 3
4 preceding coefficients 1 1 1 1 1 1
Multiplying Synthetically A, A, N, N, X, M, T, O.
Then, number of combinations
= coefficient of x 4 in (1 + x + x 2 )3 (1 + x )5
1 α α 2
α 3
α 4
α 5
α 6
...
[Q2A’s, 2I ’s, 2N’s, 1E, 1X, 1M, 1T and 1O]
1 3 3 1 0 0 0
= Coefficient of x 4 in {(1 + x )3 + x 6 + 3(1 + x )2 x 2
394 Textbook of Algebra
+ 3(1 + x )x 4 }(1 + x )5 A X A O
= Coefficient of x in 4
7 ×6
∴ Number of selections = 3 C 1 × 7 C 2 = 3 × = 63
{(1 + x ) + x (1 + x ) + 3x (1 + x ) + 3x (1 + x ) }
8 6 5 2 7 4 6 1×2
4!
8 ⋅7 ⋅6 ⋅5 7 ⋅6 and number of permutations = 63 ⋅ = 756
= 8C 4 + 0 + 3 ⋅ 7C 2 + 3 = + 3⋅ + 3 = 70 + 63 + 3 2!
1 ⋅2 ⋅3 ⋅ 4 1 ⋅2 From Case I, II and III
= 136
The required number of combinations = 70 + 3 + 63 = 136
and number of permutations
3 and number of permutations = 1680 + 18 + 756 = 2454
x x2 x
5
= Coefficient of x 4 in 4 ! 1 + + 1 + Note Number of combinations and permutations of 4 letters
1! 2! 1! taken from the word MATHEMATICS are 136 and 2454
3 respectively, as like of EXAMINATION.
x 2
= Coefficient of x 4 in 4 ! 1 + x + (1 + x )
5
2
Number of Solutions with the
= Coefficient of x 4 in
x6 3 3
Help of Multinomial Theorem
4 ! (1 + x )3 + + (1 + x )2 x 2 + x 4 (1 + x ) (1 + x )5 Case I If the equation
8 2 4
α + 2 β + 3γ + K + q θ = n …(i)
= Coefficient of x 4 in
(a) If zero included, the number of solution of Eq. (i)
x6 3 3
4 ! (1 + x )8 + (1 + x )5 + x 2 (1 + x )7 + x 4 (1 + x )6 = Coefficient of x n in (1 + x + x 2 + K )
8 2 4
(1 + x 2 + x 4 + K )(1 + x 3 + x 6 + K ) K
3 3 8 ⋅7 ⋅6 ⋅5 3 7 ⋅6 3
= 4 ! 8 C 4 + 0 + ⋅ 7C 2 + = 24 + ⋅ + (1 + x q + x 2q + K )
2 4 1 ⋅2 ⋅3 ⋅ 4 2 1 ⋅2 4
= 8 ⋅ 7 ⋅ 6 ⋅ 5 + 6(3 ⋅ 7 ⋅ 6) + 6 ⋅ 3 = 1680 + 756 + 18 = 2454 = Coefficient of x n in
Aliter There are 11 letters: (1 − x ) −1 (1 − x 2 ) −1 (1 − x 3 ) −1 K (1 − x q ) −1
A, A, I, I, N, N, E, X, M, T, O (b) If zero excluded, then the number of solutions of Eq. (i)
The following cases arise: = Coefficient of x n in ( x + x 2 + x 3 + K )
Case I All letters different The required number of ( x 2 + x 4 + x 6 + K )( x 3 + x 6 + x 9 + K )
choosing 4 different letters from 8 different (A, I, N, E, X, K ( x q + x 2q + K )
M, T, O) types of the letters
8 ⋅7 ⋅6 ⋅5 = Coefficient of x n in x 1 + 2 + 3 + K + q (1 − x ) −1
= 8C 4 = = 70
1⋅2 ⋅3 ⋅ 4 (1 − x 2 ) −1 (1 − x 3 ) −1 K (1 − x q ) −1
and number of permutations = 8 P 4 = 8 ⋅ 7 ⋅ 6 ⋅ 5 = 1680 q (q + 1 )
n−
= Coefficient of x 2 in
Case II Two alike of one type and two alike of
another type This must be 2A’s, 2I’s or 2I’s, 2N’s, or (1 − x ) (1 − x ) (1 − x 3 ) −1 K(1 − x q ) −1
−1 2 −1
2N’s, 2A’s.
y Example 96. Find the number of non-negative
∴ Number of selections = 3 C 2 = 3 integral solutions of x 1 + x 2 + x 3 + 4 x 4 = 20.
For example, [for arrangements] Sol. Number of non-negative integral solutions of the
given equation
A A I I
= Coefficient of x 20 in (1 − x )−1(1 − x )−1(1 − x )−1(1 − x 4 )−1
4! = Coefficient of x 20 in (1 − x )−3 (1 − x 4 )−1
and number of permutations = 3 ⋅ = 18
2! 2!
= Coefficient of x 20 in (1 + 3C 1 + 4C 2 x 2 + 5C 3 x 3 + 6C 4 x 4
Case III Two alike and two different This must be
+ K + 10C 8 x 8 + K + 14C 12 x 12 + K + 18C 16 x 16 + K
2A’s or 2I’s or 2N’s
+ C 20 x 20 + K )(1 + x 4 + x 8 + x 12 + x 16 + x 20 + K )
22
and for each case 7 different letters.
= 1 + 6C 4 + 10C 8 + 14C 12 + 18C 16 + 22
C 20
For example, for 2A’s, 7 differents’s are I, N, E, X, M, T, O
For example, [for arrangements] = 1 + 6C 2 + 10C 2 + 14C 2 + 18C 2 + 22
C2
Chap 05 Permutations and Combinations 395
From Eq. (ii), 3a + b + c + d = 25, where a, b, c, d ≥ 0 Total number of cases = 66 = 26 × 36 = 64 × 729 = 46656
Clearly, 0 ≤ a ≤ 8, if a = k , then and number of ways to get the sum less than or equal to 15,
b + c + d = 25 − 3k …(iii) which is 4501 [from Example 100]
Hence, number of non-negative integral solutions of Hence, the number of ways to get a sum greater than 15 is
Eq. (iii) is 46656 − 4501 = 42155
25 − 3k + 3 − 1 (27 − 3k )(26 − 3k )
C 3 − 1 = 27 − 3k C 2 = Case IV If the equation
2
3 2 x 1 x 2 x 3 K x n = 2 α1 ⋅ 3 α 2 ⋅ 5 α 3 K
= (3k − 53k + 234 )
2 where α 1 , α 2 , α 3 , K are natural numbers.
Therefore, required number is In this case number of positive integral solutions
3 8 ( x 1 , x 2 , x 3 , K, x n ) are
∑(3k 2 − 53k + 234 )
2k = 0 ( α 1 + n − 1 C n − 1 )( α 2 + n − 1 C n − 1 )( α 3 + n − 1 C n − 1 ) K
3 8 × 9 × 17 8 × 9
= 3 ⋅ − 53 ⋅ + 234 × 9 = 1215
2 6 2 y Example 102. Find the total number of positive
integral solutions for ( x , y , z ) such that xyz = 24.
y Example 100. In how many ways can we get a sum
Sol. Q xyz = 24 = 23 × 31
of atmost 15 by throwing six distinct dice ?
Sol. Let x 1, x 2 , x 3 , x 4 , x 5 and x 6 be the number that appears Hence, total number of positive integral solutions
on the six dice. = ( 3 + 3 −1C 3 − 1 )( 1 + 3 − 1C 3 − 1 )
The number of ways = Number of solutions of the inequation = 5C 2 × 3C 2 = 30
x 1 + x 2 + x 3 + x 4 + x 5 + x 6 ≤ 15 Aliter
Introducing a dummy variable x 7 ( x 7 ≥ 0), the inequation Q xyz = 24 = 23 × 31
becomes an equation
Now, consider three boxes x , y , z .
x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 = 15
3 can be put in any of the three boxes.
Here, 1 ≤ x i ≤ 6 for i = 1, 2, 3, 4, 5, 6 and x 7 ≥ 0.
Also, 2, 2, 2 can be distributed in the three boxes in
Therefore, number of solutions 3 + 3 −1
C 3 −1 = 5C 2 = 10 ways. Hence, the total number of
= Coefficient of x 15 in ( x + x 2 + x 3 + x 4 + x 5 + x 6 )6 positive integral solutions = the number of distributions
× (1 + x + x 2 + K ) which is given by 3 × 10 = 30.
−7
= Coefficient of x in (1 − x ) (1 − x )
9 6 6
10 ⋅ 9 4 ⋅ 3 n ( n − 1) n (n − 3) 14 × 11
= 10C 2 − 4C 2 + 1 = − + 1 = 45 − 6 + 1 = 40 ⇒ − n = 77 ⇒ =
1⋅2 1 ⋅2 2 2 2
we get, n = 14
(ii) Required number of triangles
(c) n straight lines are drawn in a plane such that no two
10 ⋅ 9 ⋅ 8 4
= 10C 3 − 4C 3 = − C 1 = 120 − 4 = 116 of them are parallel and no three of them are
1 ⋅2 ⋅3 concurrent. Then, number of parts into which these
(iii) Required number of quadrilaterals lines divides the plane is equal to
= 10C 4 − ( 4 C 3 ⋅ 6C 1 + 4C 4 ⋅ 6C 0 )
n
(n 2 + n + 2 )
1 + ∑ k, .e.
10 ⋅ 9 ⋅ 8 ⋅ 7 k =1 2
= − ( 4C 1 ⋅6 C 1 + 1.1)
1 ⋅2 ⋅3 ⋅ 4
y Example 107. If n lines are drawn in a plane such
= 210 − ( 4 × 6 + 1) = 210 − 25 = 185
that no two of them are parallel and no three of them
(b) If there are n points in a plane out of these points no are concurrent, such that these lines divide the plane
any three are collinear, then in 67 parts, then find number of different points at
(i) Total points of intersection of the lines joining which these lines will cut.
these n points = p C 2 , where p = n C 2 Sol. Given number of straight lines = n , then
(ii) If n points are the vertices of a polygon, then n
n2 + n + 2
n(n − 3 )
1+ ∑k = 67 ⇒
2
= 67
total number of diagonals = n C 2 − n = k =1
2 ⇒ n + n − 132 = 0 ⇒ (n + 12) (n − 11) = 0
2
Again, to form the square consists of four small squares, Sol. The required number of ways
select the lines as follows (1-3, 2-4, 3-5,…, 7-9) from both = Coefficient of x 6 in ( 2 C 1x + 2C 2 x 2 ) ( 4 C 1x + 4C 2 x 2
vertical and horizontal lines, thus 7 × 7 squares are
obtained. Proceed in the same way) + 4C 3 x 3 + 4C 4 x 4 ) ( 2 C 1x + 2C 2 x 2 )
Note If n parallel lines are intersected by another n parallel lines, = Coefficient of x 3 in (2 + x )2 ( 4 + 6x + 4 x 2 + x 3 )
( n − 1) n ( 2n − 1)
then number of rhombus = ∑ ( n − 1) =
2
6 = Coefficient of x 3 in ( 4 + 4 x + x 2 ) ( 4 + 6x + 4 x 2 + x 3 )
(e) Number of Rectangles and Squares = 4 + 16 + 6
(i) Number of rectangles of any size in a square of = 26
n
n × n is ∑ r 3 and number of squares of any Aliter
r =1 In the given figure there are 8 squares and we have to place
n 6X ’s this can be done in
size is ∑ r 2 . 8 ⋅7
r =1
8
C 6 = 8C 2 = = 28 ways
1⋅2
(ii) In a rectangle of n × p (n < p ) number of
But these include the possibility that either headed row or
np
rectangles of any size is (n + 1) ( p + 1) and lowest row may not have any X . These two possibilities are
4 to be excluded.
number of squares of any size is ∴ Required number of ways = 28 − 2 = 26
n
∑ (n + 1 − r ) ( p + 1 − r ).
r =1 X X
(f) If there are n rows, first row has α 1 squares, 2nd row
has α 2 squares, 3rd row has α 3 squares, ... and nth
row has α n squares. If we have to filled up the
squares with β X s such that each row has atleast
one X. The number of ways = Coefficient of x β in
( α1 C1 x + α2
C 2 x 2 +… + α 1 C α 1 x α 1 )
× ( α 2 C 1 x + α 2 C 2 x 2 +… + α2
Cα2 x α2 )
× ( α 3 C 1 x + α 3 C 2 x 2 +… + α 3 C α 3 x α 3 ) ×
… × ( α n C 1 x + α n C 2 x 2 +… + α n C α n x α n ) Sol. If all letters are same, then number of ways
= Coefficient of x 6 in ( 3C 1x + 3C 2 x 2 + 3C 3 x 3 )3 ( 1C 1x )2
y Example 110. Six X ’s have to be placed in the = Coefficient of x in (3 + 3x + x 2 )3
squares of the figure below, such that each row
contains atleast one X. In how many different ways = Coefficient of x in (3 + 3x )3
can this be done? [neglecting higher degree term]
= 27 × 3C 1 = 81
But in DIPESH all letters are different.
∴ Required number of ways = 81 × 6!
Chap 05 Permutations and Combinations 399
2. If number of ways in which 7 different balls can be distributed into 4 boxes, so that no box remains empty is
48 λ, the value of λ is
(a) 231 (b) 331 (c) 431 (d) 531
3. If number of ways in which 7 identical balls can be distributed into 4 boxes, so that no box remains empty is4λ,
the value of λ is
(a) 5 (b) 7 (c) 9 (d) 11
6. If a, b and c are integers and a ≥ 1, b ≥ 2 and c ≥ 3. If a + b + c = 15, the number of possible solutions of the
equation is
(a) 55 (b) 66 (c) 45 (d) None of these
8. A person writes letters to six friends and addresses the corresponding envelopes. Let x be the number of ways
so that atleast two of the letters are in wrong envelopes and y be the number of ways so that all the letters are
in wrong envelopes. Then, x − y is equal to
(a) 719 (b) 265 (c) 454 (d) None of these
9. A person goes for an examination in which there are four papers with a maximum ofm marks from each paper.
The number of ways in which one can get 2 m marks, is
(b) (m + 1) (2m 2 + 4m + 1)
2 m+ 3 1
(a) C3
3
(c) (m + 1) (2m 2 + 4m + 3)
1
(d) None of these
3
10. The number of selections of four letters from the letters of the word ASSASSINATION, is
(a) 72 (b) 71 (c) 66 (d) 52
12. If a, b , and c are positive integers such that a + b + c ≤ 8, the number of possible values of the ordered triplet (
a, b , c ) is
(a) 84 (b) 56 (c) 83 (d) None of these
14. The total number of integral solutions for ( x , y , z ) such that xyz = 24, is
(a) 36 (b) 90 (c) 120 (d) None of these
15. There are 12 points in a plane in which 6 are collinear. Number of different straight lines that can be drawn by
joining them, is
(a) 51 (b) 52 (c) 132 (d) 18
400 Textbook of Algebra
16. 4 points out of 11 points in a plane are collinear. Number of different triangles that can be drawn by joining
them, is
(a) 165 (b) 161 (c) 152 (d) 159
17. The number of triangles that can be formed with 10 points as vertices, n of them being collinear, is 110. Then, n
is
(a) 3 (b) 4 (c) 5 (d) 6
18. ABCD is a convex quadrilateral. 3, 4, 5 and 6 points are marked on the sides AB, BC, CD and DA, respectively.
The number of triangles with vertices on different sides, is
(a) 270 (b) 220 (c) 282 (d) None of these
19. There are 10 points in a plane of which no three points are collinear and 4 points are concyclic. The number of
different circles that can be drawn through atleast 3 points of these points, is
(a) 116 (b) 120 (c) 117 (d) None of these
20. 4 points out of 8 points in a plane are collinear. Number of different quadrilateral that can be formed by joining
them, is
(a) 56 (b) 60 (c) 76 (d) 53
21. There are 2n points in a plane in which m are collinear (n > m > 4). Number of quadrilateral formed by joining
these lines
(a) is equal to C4 − mC4
2n
(b) is greater than C4 − mC4
2n
22. In a polygon the number of diagonals is 54. The number of sides of the polygon, is
(a) 10 (b) 12 (c) 9 (d) None of these
23. In a polygon no three diagonals are concurrent. If the total number of points of intersection of diagonals interior
to the polygon be 70, then the number of diagonals of the polygon, is
(a) 20 (b) 28 (c) 8 (d) None of these
24. n lines are drawn in a plane such that no two of them are parallel and no three of them are concurrent. The
number of different points at which these lines will cut, is
n −1
(a) ∑k (b) n (n − 1) (c) n 2 (d) None of these
k =1
25. Six straight lines are drawn in a plane such that no two lines are parallel and no three lines are concurrent. Then,
the number of parts into which these lines divide the plane, is
(a) 15 (b) 22 (c) 29 (d) 36
26. A parallelogram is cut by two sets of m lines parallel to its sides. The number of parallelogram thus formed, is
(a) ( mC2 )2 (b) ( m + 1C2 )2 (c) ( m + 2C2 )2 (d) None of these
27. The number of rectangles excluding squares from a rectangle of size 11 × 8 is 48λ, then the value of λ is
(a) 13 (b) 23 (c) 43 (d) 53
28. The number of ways the letters of the word PERSON can be placed in the squares of the figure shown so that
no row remains empty, is
R1
R2
R3
(ii) There is exactly one choice, in which, ai ∈ P j for all y Example 120. Find the sum of the digits in the unit’s
j = 1, 2, 3, ..., m which is not favourable for place of all numbers formed with the help of 3, 4, 5, 6
P1 ∪ P2 ∪ P3 ∪ ... ∪ Pm to be equal to A. Thus, ai can taken all at a time.
belong to P1 ∪ P2 ∪ P3 ∪ ... ∪ Pm in (2m − 1) ways. Sol. Sum of the digits in the unit’s place
Since, there are n elements in the set A, the number of = ( 4 − 1) ! (3 + 4 + 5 + 6) = 6 × 18 = 108
ways in which P1 ∪ P2 ∪ P3 ∪ ... ∪ Pm can be equal to (ii) The sum of all digit numbers that can be formed using
A is (2m − 1)n . the digits a1, a 2 , ..., an (repetition of digits not allowed)
(10n − 1)
is = (n − 1) ! (a1 + a 2 + K + an )
y Example 119. A is a set containing n elements. A 9
subset P of A is chosen. The set A is reconstructed y Example 121. Find the sum of all five digit
by replacing the elements of P. A subset of A is numbers that can be formed using the digits 1, 2, 3,
again chosen. Find the number of ways of choosing 4 and 5 (repetition of digits not allowed)
P and Q, so that 105 − 1
Sol. Required sum = (5 − 1) ! (1 + 2 + 3 + 4 + 5)
(i) P ∩ Q contains exactly r elements. 9
= 24 ⋅ 15 ⋅ 11111 = 3999960
(ii) P ∩ Q contains exactly 2 elements. Aliter
(iii) P ∩ Q = φ Since, one of the numbers formed with the 5 digits a, b, c , d
Sol. Let A = {a1, a 2 , a 3 , ..., an } and e is 104 a + 103 b + 102 c + 10d + e ;
(i) The r elements in P and Q such that P ∩ Q can be Hence, 104 a will occur altogether in 4 ! ways similarly each
chosen out of n is n C r ways a general element of A of 104 b, 104 c , 104 d , 104 e will occur in 4 ! ways.
must satisfy one of the following possibilities [here, Hence, if all the numbers formed with the digits be written
general element be ai (1 ≤ i ≤ n )] one below the other, thus
(i) ai ∈ P and ai ∈ Q
104 ⋅ a + 103 ⋅ b + 102 ⋅ c + 10 ⋅ d + e
(ii) ai ∈ P and ai ∉Q
(iii) ai ∈ P and ai ∈ Q 104 ⋅ b + 103 ⋅ c + 102 ⋅ d + 10 ⋅ e + a
(iv) ai ∉ P and ai ∉Q 104 ⋅ c + 103 ⋅ d + 102 ⋅ e + 10 ⋅ a + b
Let a1, a 2 , ..., ar ∈ P ∩ Q
104 ⋅ d + 103 ⋅ e + 102 ⋅ a + 10 ⋅ b + c
There is only one choice each of them (i.e., (i) choice)
and three choices (ii), (iii) and (iv) for each of 104 ⋅ e + 103 ⋅ a + 102 ⋅ b + 10 ⋅ c + d
remaining (n − r ) elements. Hence, the required sum
Hence, number of ways of remaining elements = 3n − r
= 4 ! × (a + b + c + d + e ) × (104 + 103 + 102 + 10 + 1)
Hence, number of ways in which P ∩ Q contains
= 4 ! × (1 + 2 + 3 + 4 + 5) (11111) = 3999960
exactly r elements = n C r × 3n − r
(i) Put r = 2, then n C 2 × 3n − 2 Difference between Permutation and Combination
(iii) Put r = 0, then n C 0 × 3n = 3n Problems of permutations Problems of combinations
1. Arrangements Selections, choose
Sum of digits
2. Standing in a line, seated in a row Distributed group is formed
(i) The sum of the digits in the unit’s place of all numbers 3. Problems on digits Committee
formed with the help of a1, a 2 , ..., an taken all at a time
is (n − 1) ! (a1 + a 2 + K + an ) 4. Problems on letters from a word Geometrical problems
(repetition of digits not allowed)
404 Textbook of Algebra
2. The letters of the word ‘‘KANPUR’’ are arranged in all possible ways as in a dictionary, the rank of the word
‘‘KANPUR’’ from last is
(a) 121 (b) 122
(c) 598 (d) 599
3. The letters of the word ‘‘MUMBAI’’ are arranged in all possible ways as in a dictionary, the rank of the word
‘‘MUMBAI’’ is
(a) 297 (b) 295
(c) 299 (d) 301
4. The letters of the word ‘‘CHENNAI’’ are arranged in all possible ways as in a dictionary, then rank of the word
‘‘CHENNAI’’ from last is
(a) 2016 (b) 2017
(c) 2018 (d) 2019
5. If all permutations of the letters of the word ‘‘AGAIN’’ are arranged as in a dictionary, then 50th word is
(a) NAAGI (b) NAGAI
(c) NAAIG (d) NAIAG
Shortcuts and Important Results to Remember
1 When two dice are thrown, the number of ways of getting 11 Highest power of prime p in n Cr , since
a total r (sum of numbers on upper faces), is n!
n
Cr =
(i) r − 1, if 2 ≤ r ≤ 7 r ! (n − r ) !
(ii) 13 − r, if 8 ≤ r ≤ 12
If Hp (n !) = α,
2 When three dice are thrown, the number of ways of
getting a total r (sum of numbers on upper faces), is Hp (r !) = β
(i) r −1
C2 , if 3 ≤ r ≤ 8 and Hp {(n − r ) !} = γ