-
A branch of mathematics where we count number of objects or
number of ways of doing a particular job without
actually counting them is known as combinatorics and in this
chapter we will with elementary combinatorics.
For example, if in a room there are five rows of chairs and each
row contains, seven hours, then without counting
them we can say, total number of chairs is 35. We start this
chapter principle of product or fundamental principle of
counting.FUNDAMENTAL PRINCIPLE OF COUNTING
MULTIPLICATION PRINCIPLE OF COUNTING
If a job can be mm ways, and when it is done in any one of these
ways another job be done in n, then both the jobs
together can be done in mn ways. The rule can be extended to
move number of jobs.
Illustration 1. A college offers 7 courses in the morning and 5
in the evening. Find the possible number of choices
with the student if he wants to study one course in the morning
and one in the evening.
Solution: The student has seven choices from the morning courses
out of which he can select one course in 7
ways. For the evening course, he has 5 choices out of which he
can select one in 5 ways. Hence the
total number of ways in which he can make the choice of one
course in the morning and one in the
evening = 7 x 5 = 35.
Illustration 2. A person wants to go from station A to station C
via station B. There are three routes from A to B
and four routes from B to C. In how many ways can he travel from
A to C?
Solution: A B in 3 ways
B C in 4 ways
A C in3x4 =12ways
Remark: The rule of product is applicable only when the number
of ways of doing each part is independent of
each other i.e. corresponding to any method of doing the first
part, the other part can be done by any
method
Illustration 3. How many (1) 5 digit (ii) 3 digit numbers can be
formed by using 1, 2, 3, 4, 5 without repetition of
digits.
Solution: (i) Making a 5-digit number is equivalent to filling 5
places.
Places:
1 2 3 4 5
Number of Choices: 5 4 3 2 1
The first place can be filled in 5 ways using anyone of the
given digits.
1.00 Introduction
1.01 Fundamental Principal Of Counting
-
The second place can be filled in 4 ways using any of the
remaining 4 digits. Similarly, we can fill
the 3rd, 4th and 5th place. No. of ways of filling all the five
places = 5 x 4 x 3 x 2 x 1 = 120 120
5-digit numbers can be formed.
(ii) Making a 3-digit number is equivalent to filling 3
places.
Places: l
Number of Choices: 5 4 3
Number of ways of filling all the three places = 5 x 4 x 3 = 60
Hence the total possible 3-digit
numbers = 60.
Illustration 4. There are 10 steamers plying between Liverpool
and Dublin; in how many ways can a man go from
Liverpool to Dublin and return by a different steamer?
Solution: There are ten ways of making the first passage; and
with each of these there is a choice of nine ways
of returning (since the man is not to come hack by the same
steamer); hence the number of ways of
making the two journeys is 10 x 9, or 90. This principle may
easily be extended to the case in which
there are more than two operations each of which can be
performed in a given number of ways.
If one experiment has n possible outcomes and another has m
possible outcomes, then there are (m + n) possible
outcomes when exactly one of these experiments is performed. In
other words, if a job can be done by n methods and
by using the first method, can be done in a1 ways or by second
method in 2 ways and so on . . . by the nth method in a
ways, then the number of ways to get the job done is 1(
.......... )na a a .
Illustration 5. A train is going from Cambridge to London stops
at nine intermediate stations. Six persons enter the
train during the journey with six different tickets. How many
different sets of tickets they have had?
Solution: For 1S ,9 different tickets available, one for each of
the remaining 9 stations; similarly at 2S . 8
different tickets available; and so on.
Hence, it is clear, that total number of different tickets
=9+8+7+6+5+4+3+2+1=45
Hence, the six different tickets must be any six of these 45;
and there evidently as mar different sets
of 6 tickets as there are combinations of 45 things taken 6 at a
time.
Illustration 6. A college offers 7 courses in the morning and 5
in the evening. Find the number J of ways a student
can select exactly one course, either in the morning or in the
evening.
Solution: The student has seven choices from the morning courses
out of which he can select one course in 7
ways. For the evening course, he has 5 choices out of which he
can select one course in 5 ways.
1 2 3
Addition Principle :
-
Hence he has total number of 7 + 5 = 12 choices.
Illustration 7. A person wants to leave station B. There are
three routes from station B o A and J four routes from B
to C. In how many ways can he leave the station B.
Solution: B A in 3 ways
B C in 4 ways
He can leave station B in 3 + 4 = 7 ways.
The number of permutations of n objects, taken r at a time, is
the total number of arrangements of r objects, selected
from n objects where the order of the arrangement is
important.
Without repetition:
(a) Arranging n objects, taken r at a time is equivalent to
filling r places from n things.
r-places -
1 2 3 4
No. of choices- n n-1 n-2 n-3 n-(r-1)
The number of ways of arranging = the number of ways of filling
r places
=n (n1) (n2) (nr+1)
= ( 1)( 2)...................( 1(( )!) !
( )! ( )!
n
r
n n n n r n r nP
n r n r
(b) The number of arrangements of n different objects taken all
at a time !n nP n
With repetition: (a) The number of permutations (arrangements)
of n different objects, taken r at a time, when each
object may occur once, twice, thrice .... up to r times in any
arrangement
= The number of ways of filling r places where each place can be
filled by any one of n objects.
r-places -
1 2 3 4
No. of choices- n n n n n
The number of permutations = the number of ways of filling r
places = ( )rn
(b) The number of arrangements that can be formed using n
objects out of which p are identical (and of one kind), q
are identical (and of another kind), r are identical (and of
another kind) and the rest are distinct is !
! ! !
n
p q r
Illustration 8. How many 7- letter words can be formed using the
letters of the words?
(a) BELFAST (b) ALABAMA
r
r
1.02
Permutations (Arrangement Of Objects)
-
Solution: (a) BELFAST has all different letters.
Hence the number of words= 7
7P = 7! = 5040
(b) ALABAMA has 4 As but the rest are all different. Hence the
number of words
that can be formed is 7!/4!= 7 x 6 x 5 = 210.
Illustration 9.
a. How many anagrams can be made by using the letters of the
word HINDUSTAN.
b. How many of these anagrams begin and end with a vowel.
c. ln how many of these anagrams, all the vowels come
together.
d. In how many of these anagrams, none of the vowels come
together.
e. In how many of these anagrams, do the vowels and the
consonants occupy the same relative
positions as in HINDUSTAN.
Solution: (a) The total number of anagrams
= Arrangements of nine letters taken all at a time = 9! /2! =
181440.
(b) We have 3 vowels and 6 consonants, in which 2 consonants are
alike. The first place can be filled
in 3 ways and the last in 2 ways. The rest of the places
can be filled in 7! / 2! ways.
Hence the total number of anagrams 3 x 2 x 7! / 2! = 15120
(c) Assume the vowels (I, U, A) as a single letter. The letters
(IUA) H, D, S, T, N,
N can be arranged in 7! / 2! ways. Also IUA can be arranged
among themselves in 3! = 6 ways.
Hence the total number of anagrams = 7! / 2! x 6 = 15120
(d) Let us divide the task into two parts. In the first, we
arrange the 6 consonants
as shown below in 6! / 2! ways.
x C x C x C x C x C x C x (C stands for consonants and x stands
for blank spaces in between them)
Now 3 vowels can be placed in 7 places (in between the
consonants) in 7 3P
7!
=210 ways.
4!
Hence the total number of anagrams =6! / 2! x 210 = 75600.
(e) In this case, the vowels can be arranged among themselves in
3! = 6ways. Also, the consonants
can be arranged among themselves in 6! / 2! ways.
Hence the total number of anagrams 6! / 2! x 6= 2160.
Illustration 10. How many 3 digit numbers can be formed using
the digits 0, 1, 2,3,4,5 so that (a) digits may not be
repeated (b) digits may be repeated.
Solution: (a) Let the 3-digit number be XYZ
Position (X) can be filled by 1, 2,3,4,5 but not 0. So it can be
filled in 5 ways.
-
Position (Y) can be filled in 5 ways again. (Since 0 can be
placed in this position).
Position (Z) can be filled in 4 ways.
Hence by the fundamental principle of counting, total number of
ways is
5 x 5 x 4 = l00ways.
(b) Let the 3 digit number be XYZ
Position (X) can be filled in 5 ways
Position (Y) can be filled in 6ways.
Position (Z) can be filled in 6 ways.
Hence by the fundamental principle of counting, total number of
ways is
5 x 6 x 6 = 180
Number of permutations under certain conditions:
Number of permutations of n different things, taken r at a time,
when particular thing s to be always included in
each arrangement is 1
1
n
rr P
Number of permutations of n different things, taken r at a time,
when a particular thin; is never taken in any
arrangement is1n
rP .
Number of permutations of n different things, taken r at a time,
when m particular things are never taken in any
arrangement is n m
rP
Number of permutations of n different things, taken all at a
time, when m specific things always come together is
(m!) (n m + 1)!.
Number of permutations of n different things, taken all at a
time, when m specified things never come together is
n! m! (n m + 1)!
Illustration 11. There are m men and n monkeys (n > m). if a
man have any number of monkeys .in how many ways
may every monkeys have a master?
Solution: The first monkey can select his master by m ways and
after that the second monkey can select his
master again by m ways, so can the third. And so on,
hence all monkeys can select master = m x m x mup to n times =
nm ways
Illustration 12. Find the number of ways in which we can arrange
four letters of the word MATHEMAT.
Solution: Letters of the word MATHEMATICS are (M, M), (A, A),
(T, T), H, E, I, C and S, making eight
distinct letters. We can choose four out of them in 8
4 70C ways, and arrange each of these sets of
four in 4! = 24 ways, yielding (70) (24) = 1680 arrangements.
Second, we can choose one pair from
1.03
Important Results
-
among the three identical letter pairs, and two distinct letters
out of the remaining seven in
3 7
1 2 3 7 6 / 2 63C C ways. The letters so obtained can be
arranged in 4! /2! = 12
ways, so the number of arrangements in this case is (63) (12) =
756. Finally, we can choose two pairs
out of the three identical letter pairs. This can be done
in3
2C ways and the letters obtained can be
arranged in 4! /2! 2! = 6 ways, so that the number of
arrangements in this last case is (3) (6) = 18.
Hence the total number of arrangements is 1680 + 756 + 18 =
2454.
In the event of the given n things arranged in a circular or
even elliptical permutation and in this case the first and
the last thing in the arrangement are indistinguishable the
number of :permutations is (n1)!.
For example is 20 persons are circularly arranged, the number of
arrangements is 19!
If positions on a circular arrangement are numbered, then can it
be treated as linear arrangement?
however, in the case of circular permutations wherein clockwise
and anticlockwise orders need not be differentiated
as in the case of differently coloured beads or different
flowers made in to a garland, the number of permutations is
1 !
2
nwhere the number of beads or flowers is taken as n. In details
the concept is explained as follows:
ARANGEMENTS AROUND A CIRCULAR TABLE
Consider five persons A, B, C, D, E be seated on the
circumference of a circular table in Order which has no head
now, shifting A, B, C, D, E one position in anticlockwise
direction we will get arrangements as shown in following
figure: We observe that arrangements in all figures are
different. Thus, the number of circular permutations of n
different things taken all at a time is (n 1)!, if clockwise and
anticlockwise orders are taken as different.
Illustration 13. 20 persons were invited to a party. In how many
ways can they and the host be seated at a circular
table? In how many of these ways will two particular persons be
seated on either side of the host?
Solution: 1st part: Total persons on the circular table = 20
guest + 1 host
= 21
they can be seated in (21 1)! = 20! ways.
1.04
Cicular Permutations
-
2nd
part: After fixing the places of three persons
(1 host + 2 persons). Treating (1 host + 2 person) = 1 unit,
so we have now ((remaining 18 persons + 1 unit) = 19) and
the number of arrangement will be (19 1)! = 18! also these
two particular person can be seated on either side of the
host
in 2! ways. Hence, the number of ways of seating 21 persons
on the circular table such that two particular persons be
seated
on either side of the host= 18! x 2! =2x18!
Consider five beads A, B, C, D, E in a necklace or five flowers
A, B, C, D, E in a garland etc. If the necklace or
garland on the left is turned over we obtain the arrangement on
the right. i.e., anticlockwise and clockwise order of
arrangement is not different we will get arrangements as
follows:
We see that arrangements in above figures are not different.
Then the number of circular permutations of n different things
taken all at a time is1
( 1)!2
n if clockwise and
anticlockwise orders are taken as not different.
Illustration 14. Consider 21 different pearls on a necklace. How
many ways can the pearls be placed in on this
necklace such that 3 specific pearls always remain together?
Solution: After fixing the places of three pearls. Treating 3
specific pearls = 1 units, so we have now 18 pearls
+ 1 unit = 19 and the number of arrangement will be (19 1)! =
18! also, the number of ways of 3
pearls can be arranged between themselves is 3! 6. Since, there
is no distinction between the
clockwise and anticlockwise arrangements. So, the required
number of arrangements = 1
218!. 6 = 3
(18!).
1.05
Arrangements Of Beads Or Flowers (All Different) Around A
Circular Necklace Or Garland
-
NUMBER OF CIRCULAR PERMUTATIONS OF n DIFFERENT THINGS TAKEN r AT
A TIME
CASE I - If clockwise and anticlockwise orders are taken as
different, then the required number of circular
permutations= or ( 1)!n
nr
r
PC r
r
Illustration 15. In how many ways can 24 persons be seated round
a table, if there are 13 seats?
Solution: In case of circular table the clockwise and
anticlockwise order are different, then the required number
of circular permutations =
24
13 24!
13 13 11!
P
Case II - If clockwise and anticlockwise orders are taken as not
different, then the required number of circular
permutations = ( 1)!
or 2 2
n n
r rP C r
r
Illustration 16. How many necklace of 12 beads each can be made
from 18 beads of various colours?
Solution: In the case of necklace there is not distinction t
between the clockwise and anticlockwise
arrangements, then the required number of circular
permutations
18
12 18! 18 17 16 15 14 13! 119 13!
2 12 24 6! 6 5 4 3 2 1 24 2
P
Illustration 17. In how many ways 10 boys and 5 girls can sit
around a circular table so that no two girls sit together.
Solution: 10 boys can be seated in a circle in 9! ways. There
are 10 spaces in between the boys, which can be
occupied by 5 girls in 10
5P ways. Hence total numbers of ways are 9! 10
5P .or 10
59! (5!)C .
Illustration 18. If n distinct objects are arranged in a circle,
show that the number of ways of selecting three of these
n things so that no two of them is next to each other is ( 4)(
5)
6
n n n
Solution: Let the n things be 1 2, ,..........................
.nx x x The first choice may be one of these n things; and,
this is done in 1nC ways.
Suppose 1x is the one chosen; the next two may be chosen
excluding 1x and, the two next to 1x ,
namely 2x , nx from the remaining (n 3) in 3
2
n C ways. Of these 3 2n C there are (n 4)
selections when the second two chosen are next to each other,
like
3 4 4 5 2 1. ,.......................... .n nx x x x x x
the number of ways of selecting the second two after x1 is
chosen, so that the two are not next to
each other is
-
3
2
( 3)( 4) ( 4)( 5)( 4) ( 4)
1.2 2
n n n n nC n n
The two objects can be relatively interchanged in 2 ways.
Further the order of the choice of the three
is not to be considered. Hence the number of ways of choice of
the three is
( 4)( 5) 2! ( 4)( 5)
2 3! 6
n n n n n n
Illustration 19. 2n persons are to be seated n on each side of a
long table. r(
-
1
nC n There are n ways to select one thing out of n distinct
things.
n nr n rC C therefore or
n n
x yC C x y x y n
If n is odd then the greatest value of nrC is 1 1
2 2
or n nn nC C
If n is even then the greatest value of nrC is
2
n nC
If the number of ways of selection of r objects out of 2n
objects is maximum then,
What can be the possible value of r?
Illustration 20. Six Xs have to be placed in spaces on the
adjoining Figure so that each row contains at least one X.
In how many different ways this can be done?
Solution: If there be no restriction on the placing of the) (s,
the number of ways is 8 8
6 2 28C C these
there are two ways in which the X; s can be placed; one, with
the first row empty and the other with
the third row empty. These two cases only do not satisfy the
condition.
So the number of ways = 28 2 = 26.
IMPORTANT RESULTS OF COMBINATIONS (SELECTIONS)
The number of ways in which r objects can be selected from n
distinct objects if a particular object is always
included is 1
1
n
rC .
The number of ways in which r objects can be selected from n
distinct objects if a particular object is always
excluded is 1n
rC .
The number of ways in which r objects can be selected from n
distinct objects if m particular objects are always
included isn m
r mn C .
The number of ways in which r objects can be selected from n
distinct objects if m particular objects are always
excluded is n m
rn C .
Illustration 21. A lady desires to give a dinner party for 8
guests. In how many ways can the lady select guests for
the dinner from her 12 friends, if two of the guests will not
attend the party together?
Solution: The following three methods of approach are
indicated.
(i) Number of ways of forming the party
-
= 12 10
8 6C C since 10
6C is the number of ways of making up the party with both the
specified
guests included.
=495210=285
(OR)
(ii) Number of ways of forming the party
= Number of ways of forming without both of them
+ Number of ways of forming with one of them and without the
other
= 10 10
8 72. 45 240 285C C
(OR)
(iii) Split the number of ways of forming the party
= those with one of the two (say A) + those without A
= 10 11
7 82. 120 165 285C C
Note- The number of ways in which r objects can be selected from
n objects if m particular
objects are identical is 0
or r r
n m n m
r r
r r r m
C C according as or r m r m
Illustration 22. A bag contains 23 balls in which 7 are
identical. Then find the number of ways of selecting 12 balls
from bag.
Solution: Here n=23, p=7, r=12(r>p)
Hence, required number of selections12
16
5
r
r
C
17 17 17 17
11 12 9 10
18 18 18 18
12 10 6 8
C C C C
C C C C
SELECTION FROM DISTINCT OBJECTS
16 16 16 16 16 16 16 16
5 6 7 8 9 10 11 12
16 16 16 16 16 16 16 16
5 6 7 8 9 10 11 12
17 17 17 17 1
6 8 10 12 1
17 17 17 17
11 9 10 12
n n n
r r r
n n
r n
C C C C C C C C
C C C C C C C C
C C C C C C C
C C C C C C
r
1.07
Selection From Distinct / Identical Objects
-
The number of ways (or combinations) of selection from n
distinct objects, taken at least one of them is
1 2 3 .......................................... 2 1n n n n
n
nC C C C
Logically it can be explained in two ways, as one can be
selected in 1
nC ways, two in 2nC ways and so on and by
addition principle of counting the total number of ways of doing
either of the job is
1 2 3 ..........n n n n
nC C C C
Also, for every object, there are two choices, either selection
or non-selection. Hence total choices are 2n . But this
also includes the case when none of them is selected. Therefore
the number of selections, when at least one is selected
= 2 1n
It is allowed to select at most 5 things out of 11 different
things. In how many ways
at least one of them can be selected?
Illustration 23. Given five different green dyes, four different
blue dyes and three different red dyes, how many
combination of dyes can be chosen taking at least one green, one
blue dye?
Solution: Any one dye of a particular colour can be either
chosen or not; and, thus there are 2 ways in
which each one may be dealt with.
Number of ways of selection so that at least one green dye is
included 52 1 31
(1 is subtracted to correspond to the case when none of the
green dyes is chosen.)
A similar argument may be advanced in respect of other two
colours also.
Number of combinations =5 4 32 1 2 1 2 31 15 8 3720
SEL ECTION FROM IDENTICAL OBJECTS
1. The number of selections of r r n objects out of n identical
objects is 1.
2. The number of ways of selections of at least one object out
of n identical object is n.
3. The number of ways of selections of at least one out of 1 2
3, , ........... na a a a objects, where 1a are alike of one
kind, 2a are alike of second kind, and so on na are alike of the
nth kind, is
4. The number of ways of selections of at least one out of 1 2
3................... na a a a k objects, where 1a are
alike of one kind a are alike of nth kind and k are distinct
is
1 21 1 ................... 1 2 1kna a a
1 21 1 ................... 1 1na a a
-
Illustration 24. Find the number of combinations that can be
formed with 5 oranges, 4 mangoes and 3 bananas when
it is essential to take
(i) at least one fruit (ii) one fruit of each kind.
Solution: Here 5 oranges are alike of one kind, 4 mangoes are
alike of second kind and 3 bananas are alike of
third kind
(i) The required number of combinations (when at least one
fruit)
= (5 + 1) (4 + 1) (3 + 1)2i
= 1201 =119
(ii) The required number of combinations (when one fruit of each
kind)
5 4 3
1 1 1 5 4 3 60C C C
Let n N and 31 21 2 3. . ..................... ,k
kn P P P P where 1 2 3, , .............. kP P P P are different
prime numbers and
1 2 3, , .............. k are natural numbers then:
the total number of divisors of N including 1 and n is
1 2 31 , 2 , 3 .............. 1k
the total number of divisors of n excluding 1 and n is
1 2 31 , 2 , 3 .............. 1 2k
the total number of divisors of n excluding exactly one out of 1
or n is
1 2 31 , 2 , 3 .............. 1 1k
the sum of these divisors is 1 21
1 , 1 ,.............. 12
k
= 1 20 1 2 0 1 2 0 1 2
1 1 1 1 2 2 2 2, , ....... , , ....... .......... , ,
.......k
k k k kP P P P P P P P P P P P
(Use sum of G.P. in each bracket)
the number of ways in which n can be resolved as a product of
two factors is
if n is not a perfect square
1 2
11 , 1 ,.............. 1 1
2k if n is a perfect square
the number of ways in which is composite number n can be
resolved into two factors which are relatively prime
(or co prime) to each other is equal to 12k where k is the
number of different factors (or different primes) in n.
Illustration 25. If n = 10800then find the
(a) total number of divisors of n
(b) the number of even divisors
1.08
Divisors Of A Given Natural Number
-
(c) the number of divisors of the form 4m + 2
(d) the number of divisors which are multiples of 15
Solution: n= 10800 = 4 3 22 3 5
Any divisor of n will be of the form 2 3 5 where 0 a 4,0 b 3,0 c
2a b c
.
For any distinct choices of a, b and c, we get a divisor of
n
(a) total number of divisors = (4 + 1) (3 + 1) (2 + 1) = 60
(b) for a divisor to be even, a should be at least one. So total
number of even divisors
= 4(3 + 1) (2 + 1) = 48.
(c) 4m + 2 = 2(2m + 1). In any divisor of the form 4m + 2, a
should be exactly 1. So number of
divisors of the form 4m + 2 = 1(3 + 1) (2 + 1) = 12.
(d) A divisor of n will be a multiple of 15 if b is at least one
and c is at least one.
So number of such divisors = (4+1) x 3 x 2 = 30.
(8) Division into groups:
(i) The number of ways in which (m + n) different things can be
divided into two groups which contain m and n
things respectively is
( )!;
! !
m n n
m n
m nC C m n
m n
Corollary : If m = n, then the groups are equal size. Division
of these groups can be given by two types.
Type I : If order of group is not important:
The number of ways in which 2n different things can be divided
equally into two groups is
2
(2 )!
2!( !)
n
n
Type II: If order of group is important:
The number of ways in which 2n different things can be divided
equally into two distinct groups is
2 2
(2 )! 2 !2!
2!( !) ( !)
n n
n n
(ii) The number of ways in which (m + n +p) different things can
be divided into three groups which contain m , n
and p things respectively is
( )!;
! ! !
m n p n p p
m n p
m n pC C C m n p
m n p
Corollary : If m = n = p, then the groups are equal size.
Division of these groups can he given by two types.
Type .I : If order of group is not important: The number of ways
in which 3p different things can be divided equally
into three groups is3
(3 )!
3!( !)
p
p
-
Type II : If order of group is important : The number of ways in
which 3p different things can be divided equally into
three distinct groups is
3 3
(3 )! 3 !3!
3!( !) ( !)
p p
p p
Note:
(1) If order of group is not important: The number of ways in
which mn different things can be divided equally into m
groups is !
( !) !mmn
n m
(2) If order of group is important : The number of ways in which
mn different things can be divided equally into m
distinct groups is ! ( )!
!( !) ! ( !)m mmn mn
mn m n
Illustration 26. In how many ways can a pack of 52 cards be
equally among 4 players in order? .
Solution. Here order ot group is important, then. the numbers of
ways in which 52 different cards can be
divided equally into 4 players is 4 4
52! (52)!4!
4!(13!) (13!)
Alternative method :
Each player will get 13 cards. Now first player can be given 13
cards out of 52 cards in 52
C13 ways. Second player can
be given 13 cards out of remaining 39 cards (i.e. 52 13 = 39) in
39
C13 ways. Third player can be given 13 cards out
of remaining 26 cards (i.e., 39 13 = 26) in 26
C13 ways and fourth player can be given 13 cards out of
remaining 13
cards (i.e. 26 13 = 13) in 13
C13 ways.
Hence required number of ways
52 39 26 13
13 13 13 13
4
52! 39! 26!1
13! 39! 13! 26! 13! 13!
52!
13!
C C C C
Illustration 27. In how many ways can a pack of 52 cards be
formed into 4 groups of 13 cards each ?
Solution. Here order of group is not important, then the number
of ways in which 52 different cards can be
divided equally into 4 groups is
4
52!
4!(13!)
Alternative Method:
Each group will get 13 cards. Now first group can be given 13
cards out of 52 cards in C13 ways. Second group can be
given 13 cards out of remaining 39 cards (i.e. 52 13 = 39) in
39
C13 ways. Third group can be given 13 cards out of
remaining 26 cards (i.e., 39 13 = 26) in 26C13 ways and fourth
group can be given 13 cards out of remaining 13
-
cards (i.e.,26 13 = 13) in 13
C13 ways. But the all (four) groups can be interchanged in 4 !
ways. Hence the required
number of ways
52 39 26 13
13 13 13 13
4
1
4!
52! 39! 26! 11
13! 39! 13! 26! 13! 13! 4!
52!
13! 4!
C C C C
Illustration28. In how many ways can a pack of 52 cards be
divided in 4 sets, three of them having 17 cards each
and fourth just card?
Solution. First we divide 52 cards into two sets which contains
1 and 51 cards respectively is (52)!
1!51!
Now 51 cards can be divided equally in three sets each contains
17 cards (Here order of sets is not
important) in 3
(51)!
3!(17!)ways.
Hence the required number of ways
3
(52)! (51)!
1!51! 3!(17!)
3 3
(52)! (52)!
1!3!(17!) (17!) 3!
Alternative Method :
First set can be given 17 cards out of 52 cards in 52
C17. Second set can be given 17 cards out of remaining 35
cards
(i.e. 52 17 = 35) in 35
C17. Third set can be given 17 cards out of remaining 18 cards
(i.e., 35 17 = 18) in 18
C17
and fourth set can be given 1 card out of 1 card in 1C1. But the
first three sets can be interchanged in 3 ! ways. Hence
the total number of ways for the required distribution
52 35 18 1
17 17 17 1
3
1
3!
52 35! 18! 11
17! 35! 17! 18! 17! 1! 3!
(52)!
(17!) 3!
C C C C
Illustration29. In how many ways can 12 balls be divided between
2 boys, one receiving 5 and the other 7 balls?
Also in how many ways can these 12 balls be divided into groups
of 5, 4 and 3 balls respectively ?
Solution. I Part: Here order is important, then the number of
ways in which 12 different balls can be divided
between two boys which contains 5 and 7 balls respectively,
is
(12)!2! 1584
5!7!
-
Alternative Method:
First boy can be given 5 balls out of 12 balls in 12
C5. Second boy can be given 7 balls out of 7 balls (i.e. 12 5 =
7)
but there order is important (boys interchange by (2 types) then
required no. of ways
II part : Here order is not important then the number of ways in
which 12 different balls can be
divided into three groups of 5, 4 and 3 balls respectively,
is
(12)!27720
5!4!3!
Alternative Method:
First group can be given 5 balls out of 12 balls in C5 ways.
Second group can be given 4 balls out of remaining 7 balls
(12 5 = 7) in 7C4 and 3 balls can be given out of remaining 3
balls in
3C3.
Hence the required number of ways (Here order of groups are not
important)
12 7 3
5 4 3
12! 7!1
5! 7! 4! 3!
12!
5! 4! 3!
C C C
(9) Arrangement in Groups:
(i) The number of ways in which n different things can be
arranged into r different groups is
1 1
1 or !n r n
n rP n C
according as blank group are or are not admissible.
Illustration 30. In how many ways 5 different. balls can be
arranged into 3 different boxes so that no box remains
empty?
Solution. The required number of ways = 5 1 4
3 1 25!. 5!. 720C C
Alternative Method :
Each box must contain a least one ball since no box remains
empty. Boxes can have balls in the following systems
12 7
5 7 2!
12!1 2!
5! 7!
12! 2
5! 7!
12. 11. 10. 9. 8. 7! .2
5. 4. 3. 2. 1. 7!
1584
C C
-
All 5 balls can be arranged by 5 ! ways and boxes can be
arranged in each system by 3!
2!
Hence required number of ways3! 3!
5! 5! 7202! 2!
(ii) The number of ways in which n different things can be
distributed into r different groups is
1 1
1 2( 1) ( 2) .................... ( 1)n r n r n r r rr C r C r
C
coefficient of xn in !( 1)
x rn e
Here blank groups are not allowed.
Note Coefficient of xr in
!
rpx pe
r
Illustration 31. In how many ways 5 different balls can be
distributed into 3 boxes so that no box remains empty?
Solution.
Alternative Method :
Each box must contain at least one ball since no. box remains
empty. Boxes can have balls in the following systems
The number of ways to distribute the balls in I system = 5 4
3
1 1 3C C C
The total number of ways to distribute 1, 1, 3 balls to the
boxes
= 5 4 3
1 1 3
3!
2!C C C
5 4 1 3 60
and the number of ways to distribute the balls in II system
=5 4 2
1 2 2C C C
5 5 55 3 3 3
1 2 3
5 3
5
The required number of ways
3 3 1 3 2 3 3
243 96 3 0
150
OR
Coefficient of in 5! ( 1)
coeffi of in 5!
x
C C C
x e
x 3 2
5 5
5 5
3 3 1
3 2 1 5! 3 3
5! 5 5!
3 3.2 3
243 96 3
150
x x xe e e
-
The total number of ways to distribute 1, 2, 2 balls to the
boxes
=5 4 2
1 2 2
3!
2!C C C
5 6 1 3 90
The required number of ways = 60 + 90 = 150
(iii) The number of ways in which n identical things can be
distributed into r different groups is
1 1
1 1 or n r n
r rC C
according as blank groups are or are not admissible.
Illustration 32. In how many ways 5 identical balls can be
distributed into 3 different boxes so that no box remains
empty?
Solution. The required number of ways = 5 1 4
3 1 2 = CC = 6
Alternative Method:
Each box must contain at least one ball since no box remains
empty. Boxes can have balls in the following systems
Here balls are identical but boxes are different the number of
combinations will be I in each systems.
Required number of ways
= 3! 3!
1 1 62! 2!
Illustration 33. Four boys picked up 30 mangoes. in how many
ways can they divide them if all mangoes be
identical?
Solution. Clearly, 30 mangoes can be distributed among 4 boys
such that each boy can receive any number of
mangoes.
Hence total number of ways
30 4 1 33
4 1 3 = C =5456C
Illustration 34. Find the positive number of solutions of x + y
+ z + w = 20 under the following conditions:
(i) zero values of x, y , z, w are included. (ii) zero values
are excluded.
Solution. (i) Since x + y + z + w = 20
Here 0, 0, 0, 0x y z w
The number of solutions of the given equation in this case is
same as the number of ways of
distributing 20 things among 4 different groups.
Hence total number of solutions =20 4 1 23
4 1 3 1771C C
(ii) Since x+y+z+w = 20
-
Illustration 35. How many integral solutions are there to x + y
+ z + t = 29, when x 1,y l, z 3andt 0?
Solution. Since x + y + z + t = 29
and x , y, z, t are integers
1 2 3
1 2 3 1 2 3
1, 2, 3, 0
1 0, 2 0, 3 0, 0
let 1, 2, 3
or 1, 2, 3 andthen 0, 0, 0, 0
From (1),
x y z t
x y z t
x x x y x z
x x y x z x x x x t
1 2 3
1 2 3
23 41
41
26
3
1 2 3 29
23
Hence total number of solutions
26. 25. 24 2600
1. 2. 3
x x x t
x x x t
C
C
Illustration 36. How many integral solutions are there to the
system of equations x1 +x2 +x3 +x4+x5 = 20 and x1 +x2
= 15 when xk 0?
Solution. We have x1 +x2 +x3 +x4+x5 = 20 (i)
and x1 + x2 = 15 (ii)
then from (i) and (ii) we get two equation
1 1
1 1
1 1
Here 1, 1, 1, 1
or 1 0, 1 0, 1 0, 1 0
Let 1 1
1 1
1 1
x y z w
x y z w
x x x x
y y y y
z z z z
1 1
1 1 1 1
1 1
Then from (1)
1 1 1 1 20
w w w w
x y z w
1 1 1 1
1 1 1 1
16 41
41
19
3
16
and 0, 0, 0, 0
Hence total number of solutions
19. 18. 17
1. 2. 3
x y z w
x y z w
C
C
201 19
41 3
57. 17 969.
Alternative Method :
Part ( ) : 20
1, 1, 1, 1
Hence total no. of solutions
ii x y z w
x y z w
C C
969.
-
3 4 5
1 2
5
15
x x x
x x
1 2 3 4 5
5 31
31
7
2
and given 0, 0, 0, 0 and 0
Then number of solutions of equation ( )
7. 6 21
1. 2
x x x x x
iii C
C
and number of solutions of equation (iv) = 15 + 2 1
C2-1
= 16
C1 = 16
Hence total number of solutions of the given system of equations
= 21 x 16 =336.
Illustration 37. Find the number of non-negative integral
solutions of 3x + y + z = 24.
Solution. We have
let x = k
3x + y + z = 24 and given x 0, y 0, z 0
y+z = 243k
243 21 25321 1
Here 24 24 3 0
Hence 0 8
The total number of integral solutions of ( )is
25 3
Hence the to
k k
k
k
i
C C
k
8 8 8
0 0 0
tal number of solutions of the original equation
25 3 25 1 3 k k k
k k
8.9
25. 9 3. 225 108 1172
(iv) The number of ways in which n identical things can be
distributed into r groups so that no
group contains less than l things and more than in things (l
< m) is
ii. 1 1+1 1+2 in r
coefficient of xn in the expansion of
1 2x x x ... xr
l l l m
or coefficient of xn in the expansion of
11- 1r rlr m lx x x
Illustration 38. In how many ways can three persons, each
throwing a single dia once, make a sum of 15?
Solution. Numbers on the faces of the dia are 1, 2, 3, 4, 5, 6
(least number 1, greatest number 6)
-
315 1 2 3 4 5 6
315 3 2 3 4
312 2 3 4 5
Required number of ways coefficient of in
coeffi. of in 1
coeffi. of in 1
co
x x x x x x x
x x x x x x x
x x x x x x
3 312 6
12 6 12 2 6 12
effi. of in 1 1
coeffi. of in 1 3 3 1 3 6 .... 28 ... 91 ...
91 84 3 94 84
10
x x x
x x x x x x x
Illustration 39. In how many ways in which an examiner can
assign 30 marks to 8 questions, giving not less than 2
marks to any question.
Solution. If examiner given marks any seven question 2 (each)
marks then marks on remaining questions given
by examiner = 7 x 2+ 30 = 16
If x are the marks assigned to ith question, then x1 + x2 + x3 +
... + x8 = 30 and 2 xi l6fori =1,2,3
8.
Therefore the required number of ways
830 2 3 16
830 16 14
814 14
815
14
814
14 8 9 2 21
1 2
coefficient of in ...
coeffi. of in 1 ....
coeffi. of in 1 ...
1coeffi. of in
1
coeffi. of in 1
coeffi. of in 1 ...C C C 1413
21 21
14 7
....
C C
Note: Coefficient Of xr in the expansion of(l x)
-n is
n + r - 1Cr
(v) If a group has n things in which p are identical, then the
number of ways of selecting r things
from a group is
0
according as or .r r
n p n p
r r
r r r p
C or C r p r p
-
Illustration 40. A bag has contains 23 balls in which 7 are
identical. Then find the number of ways of selecting 12
balls from bag.
Solution. Here n = 23,p=7,r=12 (r > p)
1216
5
16 16 16 16 16 16 16 16
5 6 7 8 9 10 11 12
16 16 16 16 16 16 16 16
5 6 7 8 9 10 11 12
17 17
6 8
Required number of selections
r
r
C
C C C C C C C C
C C C C C C C C
C C 17 17 210 12 1
17 17 17 17
11 9 10 12
17 17 17 17
11 12 9 10
18 18
12 10
18 18
6 8
n n n
r r r
n n
r n r
C C C C C
C C C C C C
C C C C
C C
C C
Deragements
If. n things are arranged in a row, the number of ways in which
they can be deranged so that no one of them occupies
its original place is
1 1 1 1 1! 1 ....................... ( 1)
1! 2! 3! 4! !
nnn
No object goes to its scheduled place.
Remark: If r things goes to wrong place out of n things then (n
r) things goes to original place (Here r < n)
If Dn = No. of ways, if all n things goes to wrong place
and Dr = No. of ways, if r things goes to wrong place
If r goes to wrong places out of n, then (n r) goes to correct
places.
Then Dn = nCn - r Dr
Where 1 1 1 1 1
! 1 ....................... ( 1)1! 2! 3! 4! !
r
rD rr
Illustration 41. A person writes letters to six friends and
addresses the corresponding envelopes. in how many ways
can the letters he placed in the envelopes so that (i) at least
two of them are in the wrong envelopes.
(ii) all the letters are in the wrong envelopes.
Solution.
6
2
2 2 3 3 4 4 5 5 6 6
6 6
4
( ) The number of ways in which at least two of them in the
wrong envelopes
Here 6
1 1 .2! 1
1! 2!
n
n r r
r
n n n n n
n n n n n
i C D
C D C D C D C D C D
n
C C 63 2
6 6
1 0
1 1 1 1 1 1 1.3! 1 .4! 1
1! 2! 3! 1! 2! 3! 4!
1 1 1 1 1 1 1 1 1 1 1 .5! 1 6! 1
1! 2! 3! 4! 5! 1! 2! 3! 4! 5! 6!
C
C C
-
15 40 135 264 265
719
( ) The number of ways is which all letters be placed in wrong
envelopes
1 1 1 1 1 1 6! 1
1! 2! 3! 4! 5! 6!
1 1 1 1 720 120
2 6 24 720
ii
360 120 30 6 1 265
Alternative Method:
(i) The number of all the possible ways of putting 6 letters
into 6 envelopes is 6 !.
Number of ways to place all letters correctly into corresponding
envelopes = 1
and Number of ways to place one letter is the wrong envelope and
other 5 letters in the write envelope = 0
(: It is not possible that only one letter goes in the wrong
envelop when if 5 letters goes in the right envelope, then
remaining one letter also goes in the write envelope)
Hence number of ways to place at least two letters goes in the
wrong envelopes
=6!0l
=6! 1
= 720 1 =719
(ii) The number of ways I letter in 1 address envelope so that
one letter is in wrong envelope=0
(Because it is not possible that only one letter goes in the
wrong envelope)
The number of ways to put 2 letters in 2 addressed envelopes so
that all are in wrong envelopes
= The number of ways without restriction The number of ways in
which all are in correct envelopes The number
of ways in which 1 letter is in the correct envelop
=2!l0
=21
=1 (2){from(1)}
The number of ways to put 3 letters in 3 addressed envelopes so
that all are in wrong envelopes
= The number of ways without restriction The number of ways in
which all are in correct envelopes The number
of ways in which 1 letter is in the correct envelope The number
of ways in which 2 letter are in correct envelope
3!l3C1 x l0 (from(1),(2)} =2
(3C1 means that select one envelope to put the letter
correctly)
The number of ways to put 4 letters in 4 addressed envelopes so
that all are in wrong envelopes
The number of ways without restriction The number of ways in
which all are in correct envelopes The number
of ways in which I letter is in the correct envelope The number
of ways in which 2 letter are in correct envelopes
The number of ways in which 3 letters are in correct
envelopes
-
4 4 4
1 2 34! 1 2 1 0
24 1 8 6
9
C C C
The number of ways to put 5 letters in 5 addressed envelopes so
that all are in wrong envelopes
= The no. of ways without restriction The no. of ways in which
all are in correct envelopes The no. of ways in
which 1 letter is in correct envelop The no. of ways in which 2
letters are in correct envelopes The-no, of ways
in which 3 letters are in correct envelopes The no. of ways in
which 4 letters are in correct envelopes
5 5 5 5
1 2 3 45! 1 9 2 1 0
120 1 45 20 10 0
44
C C C C
The number of ways-to put 6 letters in 6 addressed envelopes so
that all are in wrong envelopes
= The no. of ways without restriction The no. of ways in which
all are in correct envelopes The no. of ways in
which I letter is in the correct envelop The no. of ways in
which 2 letters are in correct envelopes The no. of
ways in which 3 letters are in correct envelopes The no. of ways
in which 4 letters are in correct envelopes The
no. of ways in which 5 letters are in correct envelopes.
6 6 6 6 6
1 2 3 4 56! 1 44 9 2 1 0
{from (1), (2), (3), (4) & (5)}
720 1 264 135 40 15
720 455 265.
C C C C C
Multinomial Theorem
(i) If there are 1 objects of one kind, m objects of second
kind, n objects of third kind and so on; then the number of
ways of choosing r objects out of these objects (i.e.,l + m + n
+ ...) is the coefficient of xr in the expansion of
(l+x+x2+...+x
l(l+x+x
2+...+x
m)( l+x+x
2+...+x
n)
Further if one object of each kind is to be included, there the
number of ways of choosing r objects out of these objects
(i.e., 1 + m + n + ...) is the coefficient of x in the expansion
of
(x + x2 x3 + ... x) (x + + + ... X) (x + + x3 + ... + x)
(ii) If there are I objects of one kind, m object of second
kind, n object of third kind and so on; then the number of
possible arrangements/permutations of r objects out of these
objects (i.e. 1+ m + n + ...) is the coefficient of x in the
expansion of
2 2 2
! 1 ............ 1 .......... 1 ...........1! 2! ! 1! 2! ! 1! 2!
!
l m nx x x x x x x x xr
l m n
Illustration 42. Find the number of Combinations and
Permutations of 4 letters taken from the word
EXAMINATION.
Solution. There are 11 letters A, A; I, I; N, N; E, X, M, T,
O.
3 54 2
3 24 6 2
Then No. of combinations coefficient of in 1 1
2 ' , 2 ' , 2 ' ,1 ,1 ,1 ,1 1
coefficient of in 1 3 1 3 1
x x x x
A s I s N s E X M Tand O
x x x x x x
54
8 5 7 64 6 2 4
8 7
4 2
1
coefficient of in 1 1 3 1 3 1
0 3. 3
8. 7. 6. 5 7. 6 3. 3
1. 2. 3. 4 1. 2
70 63 3
136
x x
x x x x x x x x
C C
-
3 524
32
54
63 24
and No. of Permutations
coefficient of in 4! 1 11! 2! 1!
coefficient of in 4! 1 12
3 coefficient of in 4! 1 1
8 2
x x xx
xx x x
xx x x x
52 4
68 5 7 64 2 4
8 7
4 2
31 1
4
3 3 coefficient of in 4! 1 1 1 1
8 2 4
3 3 4! 0 .
2 4
8.7.6.5 3 7.6 3 24 .
1.2.3.4 2 1.2 4
8. 7. 6. 5 6 3. 7. 6
x x x
xx x x x x x x
C C
6. 3 1680 756 18
Alternative Method :
There are 11 letters: A, A;I, I;N, N;E, X, M, T, O.
The following cases arise:
Case I : All letters different : The required number of choosing
4 different letters from 8 different (A, I, N, E, X, M, T,
0) types of the letters = 2454
8
4
8.7.5.670
1.2.3.4C
8
and No. of Permutations = 8P4 = 8.7.6.5 = 1680
Case II : Two alike of one type & Two alike of another type
2As, 2Is, or 2Is, 2Ns, or 2Ns, 2As.: This must be
= 18
Case III: Two alike and Two different: This must be 2As or 21s
or 2Ns and for each case 7 different letters.
-
= 756
From Case I,II and III,
The required No. of Combinations =70+3+63 and No. of
Permutations = 1680 + 18 + 756 =2454.
How to find number of Solutions of the Equation
If the equation
2 2 4
2 3 ... .....(1)
( ) If zero included then no. of solutions of (1)
coefficient of in 1 ... 1 ...n
q n
i
x x x x x
3 6 2
1 1 11 2 3
2 3
1 ... ... 1 ...
coefficient of in 1 1 1 ... 1
( ) If zero exluded then the no. of solutions of (1)
coefficient of in ...
q q
n q
n
x x x x
x x x x x
ii
x x x x 2 4 6 3 6 9
2
1 2 3 ...
. ... ...
.... ...
coefficient of in
q q
n
x x x x x x
x x
x x1 1 11 2 3
1 1 1 11 2 32
1 1 1 ... 1
coefficient of in 1 1 1 ... 1
q q
q qn
q
x x x x
x x x x x
Illustration 43. Find the number of non negative integral
solutions of 1 2 3 44 20x x x x .
Solution.
20 3 4 2 5 3 6 4 10 8 14 12
1 2 3 4 8 12
18 16 22 20
16 20
coefficient of in (1 ... ... ..
.... ... ...)
x C x C x C x C x C x C x
C x C x
4 8 12 16 20
6 10 14 18 22
4 8 12 16 20
6 10 14 18 22
2 2 2 2 2
1 ...
1
1
6. 5 10. 9 14. 13 18. 17 22. 21 1
1. 2 1. 2 1. 2 1. 2 1. 2
1 15 45 91 153 231
536
x x x x x
C C C C C
C C C C C
Illustration 44. Find the number of positive unequal integral
solution of the equation x + y + z + w = 20;
Solution.
11 1 120 4
1320 4
Number of non negative integral solutions of the given
equation
coefficient of in 1 1 1 1
coefficient of in 1 1
x x x x x
x x x
1 2 3 4
1 1 2 1 2 3 1 2 3 4
1 2 3 4 1 2 3 4
1 2 3 4
We have
20
assume , Here , , , 1
now let , , and
, , ,
from (1), 4 3 2 20, then , , , 1
4 3 2 20
x y z w
x y z w x y z w
x x y x x z y x w z x
x x y x x z x x x w x x x x
x x x x x x x x
x x x x
1 1 1 12010 4 3 2
110 4
......(2)
Number of positive integral solutions of (2)
coefficient of in 1 1 1 1
coefficient of in 1 1
x x x x x
x x x1 1 13 2
10 4 8 12 3 6 9 12
2 4 6 8 10
2 3 4 5 6 7 8 9 10
1 1
coefficient of in 1 .... 1 ...
1 ...
1 ...
coeffi
x x
x x x x x x x x
x x x x x
x x x x x x x x x x
10 3 6 9 4 7 10 8 2 4 6 8 10
2 3 4 5 6 7 8 9 10
10 2 4 6 8 10 3 5 7 9 6 10 9
cient of in 1 1
1 ...
coefficient of in (1
x x x x x x x x x x x x x
x x x x x x x x x x
x x x x x x x x x x x x x x
-
6 8 10 9 4 6 8 10 7 9 10 8 10 2
3 4 5 6 7 8 9 10
)(1
)
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
23
x x x x x x x x x x x x x x x
x x x x x x x x
Number of Rectangles and Squares
(i) Number of rectangles of any size in a square of n x n
is3
1
n
r
r and number of squares of any size is 2
1
n
r
r
(ii) In a rectangle of n x p (n
-
[ ]
( !) (1.2.3.....( 1). )
.2 .3 .....( 1) .
because the remaining natural numbers from 1 to n are not
divisible by p.
1.2.3
p p
p
p
x x
E n E n n
nE p p p n p p
p
nE
p
2 2
....
Now the last integer amongs 1,2,3...., which is divisible by p
is
. .2 .3 ....
because the remaining natural nu
p
n
p
n
p
n p n n nE p p p p
p pp p
2 2
mbers from 1 to are not divisible by p.
1.2.3....
similarly, we get
p
n
p
n n nE
p p p
2 3
1
( !) ....
Where s is the largest natural number such that
p s
s s
n n n nE n
p p p p
p n p
Illustration 46. Find the exponent of 3 in 100!.
Solution: In terms of prime factors 100 ! can be written as 2a.
3
b 5
c. 7
d.
Now, 3 2 3 4
100 100 100 100(100!)
3 3 3 3E
=33 + 11+3+1=48
Hence, the exponent of 3 in 100 ! is 48 ( 100 ! = 2a. 3
48 .5
c .7
d )
2 2 3 4 5
33 33 33 33 33(33!)
2 2 2 2 2E
= 16+8+4+2+1 = 31
Hence, the exponent of 2 in 33 ! in 31. Now 33 ! is divisible by
231
which is also divisible by 219
largest value of n is 31.
Illustration 47. Find the number of zeros at the end of
100!?
Solution: In terms of prime factors 100 ! can be written as 2a.
3
b .5
c. 7
d
Now, 2 2 3 4 5 6
100 100 100 100 100 100(100!)
2 2 2 2 2 2E
-
5 2
97 24
73 24
73 24
50 25 12 6 3 1
97
100 100 and (100!)
5 5
20 4
24
100! 2 .3 .5 .7 ...
2 .3 .(2 5) .7 ...
2 .3 .(10) .7 ...
Hence number of zeros at the end of 100! is 24.
b d
b d
b d
E
OR
Exponent of 10 in 100! min (97,24) 24.
Important Results to Remember
(i) n straight lines are drawn in the 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 equal to 1+ n
Illustration 48. Six straight lines are drawn in the plane such
that no two lines are parallel and no three lines are
concurrent. Then find the number of parts into which these lines
divide the plane.
Solution. No. of parts of the plane = 1 + 6
= 1 +6.7
1.2 = 22
(ii) The sum of the digits in the unit place of all numbers
formed with the help of a1 ,a2 an taken all at a
time is
= (n 1)! (a1 ,a2 an) (repetition of digits not allowed)
Illustration 49. Find the sum of the digits in the unit place of
all numbers formed with the help of 3, 4, 5, 6 taken all
at a time.
Solution. Sum of the digits in the unit place
= (41)!(3+4+5+6)
= 6.18 = 108.
(iii) The sum of all digit numbers that can be formed using the
digits a1 ,a2 an (repetition of digits not
allowed) is
1 2
(10 1)( 1)!( ............... )
9
n
nn a a a
Illustration 50: Find the sum of all five digit numbers that can
he formed using the digits 1, 2,3, 4 and 5 (repetition of
digits not allowed).
5(10 1)
9
-
Solution. Required sum= (51)! (1 +2+3+4+5)
= 24.15. 11111
= 3999960.
Alternative Method:
Since one of the numbers formed with the 5 digits a , b , c , d,
e is
104a+ 10
3b + 10
2c+ l0d+e;
Hence 104a will occur altogether in 4 ! Ways similarly each of
10
4b, 10
4c, 10
4d, 10
4e will occur in 4 ! Ways. Hence, if
all the numbers formed with the digits be written one below the
other, thus
4 3 2
4 3 2
4 3 2
4 3 2
4 3 2
10 . 10 . 10 . 10.
10 . 10 . 10 . 10.
10 . 10 . 10 . 10.
10 . 10 . 10 . 10.
10 . 10 . 10 . 10.
Hence the required sum
4! ( ) (104 103 102 10 1)
4! (1 2 3 4 5) (1
a b c d e
b c d e a
c d e a b
d e a b c
e a b c d
a b c d e
1111)
3999960.
(iv) If there are n rows, I row has 1 squares. II row has 2 .
squares, III row has 3 squares, and so on. If we
placed Xs in the squares such that each row contain at least one
X. The number of ways = coefficient of
x in
3 31 1 1 1 2 2 2 1
1 2
3 3
3
2 2 2
1 2 1 2 1 2............ ............ ( .....
....... )
C x C x C x C x C x C x C x C x
C x
Illustration 51. Six Xs have to be placed in the squares of the
figure below, such that each row contains at least one
X. In how many different ways can this be done?
Solution: The required no. of ways
= coefficient of x6 in (
2 2 2
1 2C x C x )(4 4 2 4 3 4 4
1 2 3 4C x C x C x C x )(2 2 2
1 2C x C x )
= coefficient of x3 in (2 + x)
2 (4 + 6x + 4x
2 + x
3)
-
= coefficient of x3 in (4 + 4x + x
2) (4 + 6x + 4x
2 + x
3)
= 4+16+6 = 26
Alternative Method
In the given figure there are 8 squares and we hay to place 6X s
this can be done in
X X
X X X X
i.e.8 8
6 2
8.728
1.2C C ways
But these include the possibility that either headed row or
lowest row may not have any X. These two possibilities are
to be excluded. Required number of ways = 28 2 = 26
Example 1: A letter lock consists of three rings each marked
with 10 different letters. In how many ways is it
possible to make an unsuccessful attempt to open the block?
Solution: Two rings may have same letter at a time but same ring
cannot have two letters at time, therefore, we
must proceed ring wise. Each of the three rings can have any one
of the 10 different letters in 10 ways.
Therefore Total number of attempts = 10 10 10 = 1000.
But out of these 1000 attempts only one attempt is
successful.
Therefore Required number of unsuccessful attempts
= 1000 - 1 = 999.
Solved Examples
-
Example 2: Find the total number of signals that can be made by
five flags of different colour when any number of
them may be used in any signal.
Solution:
Case I : When only one flag is used.
No. of signals made = 5P1 = 5.
Case II : When only two flag is used.
Number of signals made = 5P2 = 5.4 = 20.
Case III : When only three flags are used.
Number of signals is made = 5P3 = 5.4.3 = 60.
Case IV : When only four flags are used.
Number of signals made = 5P4 = 5.4.3.2 = 120.
Case V : When five flags are used.
Number of signals made = 5P5 = 5! = 120.
Hence, required number = 5 + 20 + 60 + 120 + 120 = 325.
Example 3: Prove that if each of the m points in one straight
line be joined to each of the n points on the other
straight line, the excluding the points on the given two lines.
Number of points of intersection of these
lines is 1/4 mn (m-1(n-1).
Solution: To get one point of intersection we need two points on
the first line and two points on the second line.
These can be selected out of n-points in nC2 ways and for m
points in
mC2 ways.
Therefore Required number = 2 1 2 1 2 1 2 1
0 2 1 1 2Now 1 etc.........n n n n
n nC C C C
= m m 1 n n 1
. 2! 2!
= 1/4 m n (m - 1)(n - 1)
Example 4: There are ten points in a plane. Of these ten points
four points are in a straight line and with the
exception of these four points, no other three points are in the
same straight line. Find
(i) the number of straight lines formed.
(ii) the number of triangles formed.
(iii) the number of quadrilaterals formed by joining these ten
points.
Solution:
(i) For straight line, we need 2 points
No. of point selected out
of 4 collinear points
No. of points selected out
of remaining 6 points
No. of straight line
formed
0
1
2
1
4C0
6C2 = 15
4C1
6C1 = 24
-
2 0 1
(In last case only one straight line is formed)
Therefore Required number = 15 + 24 + 1 = 40
(ii) For triangle, we need 3 points
No. of point selected out
of 4 collinear points
No. of points selected out
of remaining 6 points
No. of triangles formed
0
1
2
3
3
2
1
0
4C0
6C3 = 20
4C1
6C2 = 60
4C2
6C1 = 36
0
(In last case number of triangles formed is 0)
Therefore Required number = 20 + 60 + 36 + 0 = 116
(iii) For a quadrilateral, we need 4 points
No. of point selected out
of 4 collinear points
No. of points selected out
of remaining 6 points
No. of quadrilateral
formed
0
1
2
3
4
4
3
2
1
0
4C0
6C4 = 15
4C1
6C3 = 80
4C2
6C2 = 90
0
0
(In these cases number quadrilateral is formed
Therefore Required number = 15 + 80 + 90 = 185.
Example 5: A student is allowed to select at most n-blocks from
a collection of (2n + 1) books. If the total number
of ways in which he can select a book is 63, find the value of
n.
Solution: Since the student is allowed to select at the most
n-books out of (2n + 1) books, therefore, he can
choose, one book, two books or at the most n books. The number
of ways of selecting at least one
books are
2 1 2 1 2 1
1 2 ......... 63 n n n
nC C C S (Say)
Again, we know that
2 1 2 1 2 1 2 1 2 1
0 1 2 1 ......... 2n n n n n
n nC C C C
2 1 2 1 2 1 2 1
0 2 1 1 2Now 1 etc.........n n n n
n nC C C C Hence, we have
1 + 1 + 2S = 22n+1
or 2 + 2 . 63 = 22n+1
-
or 128 = 22n+1
or 27 = 22n+1
=> 2n+1
= 7
or 2n = 6
n = 3
Example 6: A family consists of a grandfather, 6 sons and
daughters and 5 grand children. They are to be seated in
a row for dinner. The grand children wish to occupy the two
seats at each end and the grandfather
refuses to have a grandchild on either side of him. In how many
ways can the seating arrangements be
made for the dinner?
Solution: There are 6 adults, 4 grand children and 1 grand
father.
Let us mark the seat for 11 persons from 1 to 11.
S S S S S S
1 2 3 .....................9 10 11
Seats number 1, 2 and 10, 11 at the ends are to be occupied by 4
grand children and it can be done in
4P4 = 4! = 24 ways.
Now, we will seat the grandfather who cannot occupy seat number
3 or seat number 9 because he does
not want to have a child by his side. Hence, he has to choose
any of five seats 4, 5, 6, 7, 8 i.e. can seat
himself in 5 ways.
Example 7: In an examination, the maximum marks for each of the
three papers are 50 each. Maximum marks for
the fourth paper is 100. Find the number of ways in which the
candidate can score 60% marks in the
aggregate.
Solution: Aggregate of marks 50 3 + 100 = 250
Therefore 60% of the aggregate = 3/5 250 = 150
Now the number of ways of getting 150 marks in the aggregate
= coefficient of x150
in (x0 + x
1 +.........+ x
50)3 (x
0 + x
1 + x
2 +......+ x
100)
= coeff. of x150
in ((1 - x51
)/(1 -x))3 ((1 - x
101)/(1 - x))
= coeff. of x150
in (1-x51
)3(1-x
101)(1-x)
-4
= coeff. of x150
in (1-3x51
+ 3.x102
- x153
)(1-x101
)(1-x)-4
coeff. of x150
in
51 101 102 152 ( 3)1 3. 3. 3. ... 1 4 r rrx x x x x x C x
= 1.(151.152.153)/6 - 3(100.101.102)/6 - 1(50.51.52)/6 +
3(49.50.51)/6
= 151.76.51 - 100.101.51 - 50. 17.26 + 49.25.51
= 57 (151.76 - 100 - 101) + 17 (49.25 - 50.26)
= 51 (11476 - 10100) + 17 (3675 - 1300)
= 51.1376 + 17.2375 = 70176 + 40375
= 110551.
-
Example 8: Find the number of 4 lettered words that can be
formed form the letters of the word PROPORTION?
Solution:
Step 1 Letter Freq.
P 2
R 2
O 3
T 1
I 1
N 1
--------------------------------------------
10 (always check total)
Step 2
(i) here we cannot have all the 4 letters alike, so
(ii) 3 alike 1 diff. Selection Remark
Say X Y 1C1
5C1 = 5
1C1 3O's
5C1 one form {P, R, T, I, N}
Arrangement of these 3X's and 1 Y = 4
4
3! 1!
P
= 4!/3! = 4
Hence total such words = 5 4 = 20.
(iii) 2 same 2 diff. Selection
2(X) (Y, Z) 3C1
5C2 = 12
Arrangement = (p+q+r)/p!q!r! = (2+1+1)2!1!1! = 12
Hence total words = 12 30 = 360
(iv) 2 same 2 another same Selection
(2X) (2Y) 3C2 = 3
Arrangements = (2+2)!/2!2! = 6
Total words = 3 6 = 18
(v) 1 same, 3 diff 4diff. Selection 6C4 =
6C2 = 15
Arrangement = (1+1+1+1)!/1!1!1!1! = 4! = 24
Total words = 15 24 = 360
(vi) 1 same, 3 another same case ii (already considered)
Hence grand total of desired words
= 20 + 360 + 18 + 360 - 758.
-
Example 9: You are given the responsibility of organizing a
fresher's welcome party at IIT-Kanpur. Total 496
students will join IIT-K. Six restaurants A, B, C, D, E and F
are booked. Capacity of each is 120, 146,
46, 72, 72, 80 persons at a time respectively. You have to group
them in such a way that each group has
least possible number of students. How would you do so?
Solution: Remember: Equal division minimizes the number of
students in each group.
But: 496/6 = 82.6 > 46
Therefore C has least capacity of 46 and is not capable to
accommodate 82 students. Hence let us group
for it first i.e. 46 students get accommodated.
Students left Restaurant left
450 A B D E and F
But 450/5 = 90 > 72
Next D and E each require smallest group 72, 72
D 72 E 72
Students left Restaurant left
306 A B and F
Now F is the least left for grouping, so assigning 80 to F.
Students left Restaurant left
226 A and B
Now Therefore 226/2 = 113 < 120 and each of A and B is
capable of accommodating to this. Hence,
A 113
B 113
But not
A 120
B 106
As in the case A does not have minimum possible number of
students.
Hence, we grouped 496 students into 46, 72, 72, 80, 113 and 113
each.
No. of ways of doing so = 496! / (46!(72!)2 .2!80!(113!)
2.2!)
Example 10: How many different numbers can be formed with the
digits 1, 3, 5, 7, 9 when taken all at a time and
what is their sum?
Solution: The total number of numbers = |5 = 120. Suppose we
have 9 in the unit's place. We will have |4 = 24
such numbers. The number of numbers in which we have 1, 3, 5 or
7 in the unit's place is |4 = 24.
Hence, the sum of the digits in the unit's place in all the 120
numbers
= 24 (1 + 3 + 5 + 7 + 9)
= 600.
-
The number of numbers when we have any one of the given digits
in ten's place is also |4 = 24 in each
case. Hence, the sum of the digits in the ten's place = 24 (1 +
3 + 5 + 7 + 9) tens
= 60 tens = 600 10.
Proceeding similarly, the required sum
= 600 units + 600 tens + 600 hundreds + 600 thousands + 60 ten
thousands.
= 60 (1 + 10 + 100 + 1000 + 10000) = 600 11111
= 6666600.
Example 11: Find the values of r for which the number fo
combinations of n things taken r at a time is greatest.
Solution: Since nCr =
(n(n-1)(n-2)....(n-r+2)(n-r+1))/(1.2.3...(r-1)r)
and nCr-1 = (n(n-1)(n-2)....(n-r+2))/(1.2.3...(r-1))
Therefore nCr =
nC
r-1 (2-r+1)/r =
nCr-1(((n+1)/r)-1).
The multiplying factor (n-r+1)/r may be written as (((n+1)/r) -
1), which shows that it decreases as r
increases. Hence as r resumes the values 1, 2, 3,...... in
succession, nCr is continually increased until
(((n+1)/r) - 1) becomes equal to 1 or less than 1.
Now (((n+1)/r) - 1) > 1
so long as (n+1)/r) - 2
that is (n+1)/r) - r .
We have to choose the greatest value of r consistent with this
inequality.
(1) Let n be even, and equal to 2m, then
(n+1)/2 = (2m+1)/2 = m+(1/2) ;
and for all values r up to m (inclusive of m) this is greater
than r.
Hence by putting r = m = n/2 , we find that the greatest number
of combination is nCn/2.
(2) Let n be odd, and equal to 2m + 1; then
(n+1)/2 = (2m+1)/2 = m+1 ;
and for all values of r up to m (inclusive of m) this is greater
than r, but when r = m + 1 the multiplying
factor becomes equal to 1, and nCm+1 =
nCm; that is
n+1nC/ 2 = n+1
nC/ 2 and
therefore the number of combinations is greatest when the things
are taken (n+1)/2 or (n-1)/2 at a time,
the result being the same in the two cases.