Permutation: Permutation and Combination-XI
Permutation: Permutation and Combination-XI
Permutation: Permutation and Combination-XI
Permutation
The Factorial.
Factorial notation: Let n be a positive integer. Then, the continued product of first n natural
numbers is called factorial n, to be denoted by n ! or n . Also, we define 0 ! = 1.
when n is negative or a fraction, n ! is not defined.
Thus, n ! = n (n – 1) (n – 2) ......3.2.1.
Deduction: n ! = n(n – 1) (n – 2) (n – 3) ......3.2.1
= n[(n 1)(n 2)(n 3)......3.2.1] = n[(n 1)!]
Thus, 5! 5 (4!),3! 3 (2!) and 2! 2 (1!)
Also, 1! 1 (0!) 0! 1 .
Exponent of Prime p in n ! .
Let p be a prime number and n be a positive integer. Then the last integer amongst 1, 2, 3,
n n
....... (n – 1), n which is divisible by p is p , where denote the greatest integer less
p p
n
than or equal to .
p
10 12 15
For example: 3 , 2, 5 etc.
3 5 3
Let Ep (n) denotes the exponent of the prime p in the positive integer n. Then,
n n n
Ep (n!) Ep (1.2.3..........(n 1)n) = Ep p.2p.3p....... p = Ep 1.2.3......
p p p
[ Remaining integers between 1 and n are not divisible by p]
n
Now the last integer amongst 1, 2, 3,..... which is divisible by p is
p
n/p n n n n
2 Ep p,2p,3p.... 2 p because the remaining natural numbers from 1 to
p p p p p
n n n
are not divisible by p = 2 Ep 1.2.3...... 2
p p p
n n n n
Similarly we get Ep (n!) 2 3 ..... S
p p p p
where S is the largest natural number. Such that pS n pS 1 .
1
Permutation and Combination-XI
Example: A college offers 7 courses in the morning and 5 in the evening. The number of ways a
student can select exactly one course, either in the morning or in the evening
(a) 27 (b) 15 (c) 12 (d) 35
Solution: (c) 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.
Hence he has total number of 7 + 5 = 12 choices.
(2) Multiplication principle : Suppose that an event X can be decomposed into two stages A and B.
Let stage A occur in m ways and suppose that these stages are unrelated, in the sense that stage
B occurs in n ways regardless of the outcome of stage A. Then event X occur in mn ways. This rule
is applicable even if event X can be decomposed in more than two stages.
Note : The above principle can be extended for any finite number of operations and may be
stated as under :
If one operation can be performed independently in m different ways and if second
operation can be performed independently in n different ways and a third operation
can be performed independently in p different ways and so on, then the total
number of ways in which all the operations can be performed in the stated order is
(m × n × p × .....)
Example: In a monthly test, the teacher decides that there will be three questions, one from
each of exercise 7, 8 and 9 of the text book. If there are 12 questions in exercise 7, 18
in exercise 8 and 9 in exercise 9, in how many ways can three questions be selected
(a) 1944 (b) 1499 (c) 4991 (d) None of these
Solution: (a) There are 12 questions in exercise 7. So, one question from exercise 7 can be selected
in 12 ways. Exercise 8 contains 18 questions. So, second question can be selected in
18 ways. There are 9 questions in exercise 9. So, third question can be selected in 9
ways. Hence, three questions can be selected in 12 × 18 × 9 = 1944 ways.
Definition of Permutation.
The ways of arranging or selecting a smaller or an equal number of persons or objects at a
time from a given group of persons or objects with due regard being paid to the order of
arrangement or selection are called the (different) permutations.
For example : Three different things a, b and c are given, then different arrangements which
can be made by taking two things from three given things are ab, ac, bc, ba, ca, cb.
Therefore the number of permutations will be 6.
2
Permutation and Combination-XI
Number of Permutations without Repetition.
(1) Arranging n objects, taken r at a time equivalent to filling r places from n things
r-places : 1 2 3 4 r
Number of choices : n (n–1)(n – 2 )(n – 3) n – (r–1)
Example: In a train 5 seats are vacant then how many ways can three passengers sit
5! 5! 120
Solution: (c) Number of ways are = 5 P3 60 .
(5 3)! 2! 2
Example: How many words comprising of any three letters of the word “UNIVERSAL” can be
formed
9! 9!
Solution: (a) Required numbers of words = 9 P3 504 .
(9 3)! 6!
Example: How many numbers of five digits can be formed from the numbers 2, 0, 4, 3, 8 when
repetition of digit is not allowed
= {5 ! – 4 !} = 120 – 24 = 96.
3
Permutation and Combination-XI
Example: How many numbers can be made with the help of the digits 0, 1, 2, 3, 4, 5 which are
greater than 3000 (repetition is not allowed)
Solution: (c) All the 5 digit numbers and 6 digit numbers are greater than 3000. Therefore number
of 5 digit numbers = 6 P5 5P5 600 .
{Since the case that 0 will be at ten thousand place should be omit}. Similarly
number of 6 digit numbers 6 ! – 5 ! = 600.
Now the numbers of 4 digit numbers which are greater than 3000, having 3, 4 or 5 at
first place, this can be done in 3 ways and remaining 3 digit may be filled from
remaining 5 digits i.e., required number of 4 digit numbers are 5 P3 3 180 .
Example: The number of 5 digit telephone numbers having at least one of their digits
repeated is
(a) 90,000 (b) 100,000 (c) 30,240 (d) 69,760
Solution: (d) Using the digits 0, 1, 2,.......,9 the number of five digit telephone numbers which can
be formed is 105 .
(since repetition is allowed)
The number of five digit telephone numbers which have none of the digits repeated
= 10
P5 30240
4
Permutation and Combination-XI
Example: How many words can be made from the letters of the word ‘COMMITTEE’
9! 9! 9!
(a) (b) (c) (d) 9 !
(2!)2 (2!)3 2!
9! 9!
Solution: (b) Number of words = [Since here total number of letters is 9 and 2M’s,
2!2!2! (2!)3
2T’s and 2E’s]
Conditional Permutations.
(1) Number of permutations of n dissimilar things taken r at a time when p particular things
always occur = n p
Cr p r!
(2) Number of permutations of n dissimilar things taken r at a time when p particular things
np
never occur = Cr r!
(3) The total number of permutations of n different things taken not more than r at a time,
n(nr 1)
when each thing may be repeated any number of times, is .
n 1
(4) Number of permutations of n different things, taken all at a time, when m specified
things always come together is m! (n m 1)!
(5) 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)!
(6) Let there be n objects, of which m objects are alike of one kind, and the remaining (n m)
objects are alike of another kind. Then, the total number of mutually distinguishable
n!
permutations that can be formed from these objects is .
(m!) (n m)!
Note : The above theorem can be extended further i.e., if there are n objects, of which p1
are alike of one kind; p2 are alike of another kind; p3 are alike of 3rd kind;......: pr are alike of rth
kind such that p1 p2 ...... pr n ; then the number of permutations of these n objects is
n!
.
(p1 !) (p2 !) ...... (pr !)
Important Tips
5
Permutation and Combination-XI
be arranged in 4! ways. Now we loosen the string and these two particular can be arranged in 2 !
ways. Thus total arrangements = 24 × 2 = 48.
Never together = Total – Together = 120 – 48 = 72.
Example: All the letters of the word ‘EAMCET’ are arranged in all possible ways. The number of
such arrangement in which two vowels are not adjacent to each other is
Solution: (c) First we arrange 3 consonants in 3 ! ways and then at four places (two places
1
between them and two places on two sides) 3 vowels can be placed in 4 P3 ways.
2!
1
Hence the required ways = 3 ! × 4 P3 72 .
2!
Example: The number of words which can be made out of the letters of the word ‘MOBILE’
when consonants always occupy odd places is
(a) 20 (b) 36 (c) 30 (d) 720
Solution: (b) The word ‘MOBILE’ has three even places and three odd places. It has 3 consonants
and 3 vowels. In three odd places we have to fix up 3 consonants which can be done
in 3P3 ways. Now remaining three places we have to fix up remaining three places
which can be done in 3 P3 ways.
The total number of ways = 3 P3 3 P3 36 .
Example: The number of 4 digit number that can be formed from the digits 0, 1, 2, 3, 4, 5, 6, 7
so that each number contain digit 1 is
(a) 1225 (b) 1252 (c) 1522 (d) 480
Solution: (d) After fixing 1 at one position out of 4 places, 3 places can be filled by 7 P3 ways. But
some numbers whose fourth digit is zero, so such type of ways = 6 P2
Example: m men and n women are to be seated in a row, so that no two women sit together. If
m n , then the number of ways in which they can be seated is
Solution: (a) First arrange m men, in a row in m ! ways. Since n < m and no two women can sit
together, in any one of the m ! arrangement , there are (m + 1) places in which n
women can be arranged in m 1
Pn ways.
m!(m 1)!
m 1
Pn .
(m n 1)!
6
Permutation and Combination-XI
Example: If the letters of the word ‘KRISNA’ are arranged in all possible ways and these words
are written out as in a dictionary, then the rank of the word ‘KRISNA’ is
Solution: (a) Words starting from A are 5 ! = 120; Words starting from I are 5 ! = 120
Words starting from KN are 4 ! = 24; Words starting from KRA are 3 ! = 6
Words starting from KRIA are 2 ! = 2; Words starting from KRIN are 2 ! = 2
Words starting from KRIS are 1 ! = 1 Words starting from KRISNA are 1 ! = 1
Example: We are to form different words with the letters of the word ‘INTEGER’. Let m1 be the
number of words in which I and N are never together, and m2 be the number of
words which begin with I and end with R. Then m1 /m2 is equal to
Solution: (a) We have 5 letters other than ‘I’ and ‘N’ of which two are identical (E's). We can
5!
arrange these letters in a line in ways. In any such arrangement ‘I’ and ‘N’ can be
2!
5! 6
placed in 6 available gaps in 6 P2 ways, so required number = P2 m1 .
2!
Now, if word start with I and end with R then the remaining letters are 5. So, total
5!
number of ways = m2 .
2!
m1 5! 6! 2!
. . 30 .
m2 2! 4! 5!
Example: An n digit number is a positive number with exactly n digits. Nine hundred distinct
n-digit numbers are to be formed using only the three digits 2, 5 and 7. The smallest
value of n for which this is possible is
(a) 6 (b) 7 (c) 8 (d) 9
Solution: (b) Since at any place, any of the digits 2, 5 and 7 can be used total number of such
positive n-digit numbers are 3 n . Since we have to form 900 distinct numbers, hence
3n 900 n 7 .
Example: 18 The number of numbers that can be formed with the help of the digits 1, 2, 3, 4, 3, 2,
1 so that odd digits always occupy odd places, is
(a) 24 (b) 18 (c) 12 (d) 30
7
Permutation and Combination-XI
4!
Solution: (b) The 4 odd digits 1, 3, 3, 1 can be arranged in the 4 odd places, in 6 ways and 3
2!2!
3!
even digits 2, 4, 2 can be arranged in the three even places 3 ways. Hence the
2!
required number of ways = 6 × 3 = 18.
Circular Permutations.
So far we have been considering the arrangements of objects in a line. Such permutations
are known as linear permutations.
Instead of arranging the objects in a line, if we arrange them in the form of a circle, we call
them, circular permutations.
In circular permutations, what really matters is the position of an object relative to the
others.
Thus, in circular permutations, we fix the position of the one of the objects and then arrange
the other objects in all possible ways.
There are two types of circular permutations :
(i) The circular permutations in which clockwise and the anticlockwise arrangements give
rise to different permutations, e.g. Seating arrangements of persons round a table.
(ii) The circular permutations in which clockwise and the anticlockwise arrangements give
rise to same permutations, e.g. arranging some beads to form a necklace.
Look at the circular permutations, given below :
A A
D B B D
C C
Suppose A, B, C, D are the four beads forming a necklace. They have been arranged in
clockwise and anticlockwise directions in the first and second arrangements respectively.
Now, if the necklace in the first arrangement be given a turn, from clockwise to
anticlockwise, we obtain the second arrangement. Thus, there is no difference between the
above two arrangements.
(1) Difference between clockwise and anticlockwise arrangement : If anticlockwise and
clockwise order of arrangement are not distinct e.g., arrangement of beads in a necklace,
arrangement of flowers in garland etc. then the number of circular permutations of n distinct
(n 1)!
items is
2
(2) Theorem on circular permutations
Theorem 1 : The number of circular permutations of n different objects is (n 1)!
Theorem 2 : The number of ways in which n persons can be seated round a table is (n 1)!
8
Permutation and Combination-XI
Theorem : The number of ways in which n different beads can be arranged to form a
1
necklace, is (n 1)! .
2
Note : When the positions are numbered, circular arrangement is treated as a linear
arrangement.
In a linear arrangement, it does not make difference whether the positions are
numbered or not.
Example: In how many ways a garland can be made from exactly 10 flowers
9!
(a) 10 ! (b) 9 ! (c) 2 (9!) (d)
2
1
Solution: (d) A garland can be made from 10 flowers in (9!) ways [ n flower's garland can
2
1
be made in (n 1)! ways]
2
Example: In how many ways can 5 boys and 5 girls sit in a circle so that no boys sit together
5! 5!
(a) 5! × 5! (b) 4! × 5 ! (c) (d) None of these
2
Solution: (b) Since total number of ways in which boys can occupy any place is (5 1)! 4! and the
5 girls can be sit accordingly in 5! ways. Hence required number of ways are 4 ! × 5 !.
Example: The number of ways in which 5 beads of different colours form a necklace is
(a) 12 (b) 24 (c) 120 (d) 60
Solution: (a) The number of ways in which 5 beads of different colours can be arranged in a circle
to form a necklace are = (5 1)! 4! .
But the clockwise and anticlockwise arrangement are not different (because when
the necklace is turned over one gives rise to another). Hence the total number of
1
ways of arranging the beads = (4!) 12 .
2
Example: The number of ways in which 5 male and 2 female members of a committee can be
seated around a round table so that the two female are not seated together is
(a) 480 (b) 600 (c) 720 (d) 840
Solution: (a) Fix up a male and the remaining 4 male can be seated in 4! ways. Now no two female
are to sit together and as such the 2 female are to be arranged in five empty seats
between two consecutive male and number of arrangement will be 5 P2 . Hence by
fundamental theorem the total number of ways is = 4! 5P2 24 20 480 ways.
9
Permutation and Combination-XI
Combinations
Definition.
Each of the different groups or selections which can be formed by taking some or all of a
number of objects, irrespective of their arrangements, is called a combination.
Clearly, AB and BA represent the same selection or group but they give rise to different
arrangements.
Clearly, in a group or selection, the order in which the objects are arranged is immaterial.
Notation: The number of all combinations of n things, taken r at a time is denoted by C(n,r)
n
or n Cr or .
r
(1) Difference between a permutation and combination : (i) In a combination only selection
is made whereas in a permutation not only a selection is made but also an arrangement in a
definite order is considered.
(iii) Practically to find the permutation of n different items, taken r at a time, we first select r
items from n items and then arrange them. So usually the number of permutations exceeds the
number of combinations.
(iv) Each combination corresponds to many permutations. For example, the six
permutations ABC, ACB, BCA, BAC, CBA and CAB correspond to the same combination ABC.
Note : Generally we use the word ‘arrangements’ for permutations and word “selection”
for combinations.
The number of combinations (selections or groups) that can be formed from n different
n!
objects taken r(0 r n) at a time is nCr
r!(n r)!
Let the total number of selections (or groups) = x. Each group contains r objects, which can be
arranged in r ! ways. Hence the number of arrangements of r objects = x (r!) . But the number of
arrangements = n Pr .
Pr
n
n!
x (r!) nPr x x nCr .
r! r!(n r)!
10
Permutation and Combination-XI
Important Tips
n
Cr is a natural number. n C 0 nCn 1, nC1 n
n
Cr nCnr n
Cr nCr 1 n 1Cr
n
C x nC y x y or x y n n. n 1Cr 1 (n r 1)n Cr 1
If n is even then the greatest value of n Cr is n Cn/2 .
n n
C n 1 C n 1
If n is odd then the greatest value of n Cr is or .
2 2
n n n 1 n
C nr 1
Cr . Cr 1 n r
r Cr 1 r
n
C 0 nC1 nC2 ..... nCn 2n n
C 0 nC2 n C 4 ...... nC1 nC3 nC5 ..... 2n 1
2n 1
C 0 2n 1C1 2n 1C2 ..... 2n 1Cn 22n nCn n 1Cn n 2Cn n 3Cn .... 2n 1Cn 2nCn 1
n! 1
Note : Number of combinations of n dissimilar things taken all at a time n Cn 1,
n!(n n)! 0!
(0! 1) .
15
Example: If C 3r 15Cr 3 , then the value of r
(a) 3 (b) 4 (c) 5 (d) 8
Solution: (a) 15 15
C 3r Cr 3 15
C15 3r Cr 3 15 3r r 3 r 3 .
15
n
Cr
Example:
n
Cr 1
nr nr 1 nr 1 nr 1
(a) (b) (c) (d)
r r r r
n
Cr n! n! (r 1)!(n r 1)! (n r 1)(r 1)!(n r)!
Solution: (c) =
n
Cr 1 r!(n r)! r!(n r)! n! r(r 1)!(n r)!
n!
(r 1)!(n r 1)!
(n r 1)
.
r
n 1
Example: If C 3 2nC2 , then n =
(a) 3 (b) 4 (c) 5 (d) 6
Solution: (c) n 1
C 3 2.n C 2
(n 1)! n! n 1 2
2. n 1 6 n 5 .
3!(n 2)! 2!(n 2)! 3.2! 2!
Example: 26 If n Cr 1 36, nCr 84 and n Cr 1 126 then the value of r is
(a) 1 (b) 2 (c) 3 (d) None of these
n
Cr 1 36 n
C 84
Solution: (c) Here and n r
n
Cr 84 Cr 1 126
3n 10r 3 and 4n 10r 6 ; on solving we get n 9 and r 3 .
11
Permutation and Combination-XI
Example: In a conference of 8 persons, if each person shake hand with the other one only,
then the total number of shake hands shall be
(a) 64 (b) 56 (c) 49 (d) 28
Solution: (d) Total number of shake hands when each person shake hands with the other once
only = 8 C 2 28 ways.
Example: How many words of 4 consonants and 3 vowels can be formed from 6 consonants
and 5 vowels.
(a) 75000 (b) 756000 (c) 75600 (d) None of these
6 5
Solution: (b) Required number of words = C 4 C 3 7! = 756000
[Selection can be made in 6 C 4 5C 3 while the 7 letters can be arranged in 7!]
Example: To fill 12 vacancies there are 25 candidates of which five are from scheduled caste. If
3 of the vacancies are reserved for scheduled caste candidates while the rest are
open to all, then the number of ways in which the selection can be made
(a) 5 C 3 22 C 9 (b) 22
C9 5 C3 (c) 22
C3 5 C3 (d) None of these
Solution: (a) The selection can be made in C 3 C 9 [since 3 vacancies filled from 5 candidates in
5 22
5
C 3 ways and now remaining candidates are 22 and remaining seats are 9, then
remaining vacancies filled by 22
C 9 ways. Hence total number of ways 5 C 3 22 C 9 .
Number of Combinations with Repetition and All Possible Selections.
(1) The number of combinations of n distinct objects taken r at a time when any object may
be repeated any number of times.
= coefficient of xr in (1 x x 2 ....... xr )n = coefficient of xr in (1 x) n n r 1Cr
(2) The total number of ways in which it is possible to form groups by taking some or all of n
things at a time is 2n 1 .
(3) The total number of ways in which it is possible to make groups by taking some or all out
of n (n1 n2 ....) things, when n1 are alike of one kind, n 2 are alike of second kind, and so
on is {(n1 1)(n2 1)......} 1 .
(4) The number of selections of r objects out of n identical objects is 1.
(5) Total number of selections of zero or more objects from n identical objects is n 1 .
(6) The number of selections taking at least one out of a1 a2 a3 ...... an + k objects, where
a1 are alike (of one kind), a2 are alike (of second kind) and so on...... a n are alike (of nth kind)
and k are distinct = [(a1 1)(a2 1)(a3 1).......(an 1)]2k 1 .
Example: There are 10 lamps in a hall. Each one of them can be switched on independently.
The number of ways in which the hall can be illuminated is
(a) 102 (b) 1023 (c) 210 (d) 10 !
Solution: (b) Number of ways are = 2 1 1023
10
12
Permutation and Combination-XI
Example: 10 different letters of English alphabet are given. Out of these letters, words of 5
letters are formed. How many words are formed when atleast one letter is repeated
(a) 99748 (b) 98748 (c) 96747 (d) 97147
Solution: (a) Number of words of 5 letters in which letters have been repeated any times = 105
But number of words on taking 5 different letters out of 10 = 10
C 5 252
Required number of words = 105 252 = 99748.
Example: A man has 10 friends. In how many ways he can invite one or more of them to a
party
(a) 10 ! (b) 210 (c) 10! 1 (d) 210 1
Solution: (d) Required number of friend = 210 1 (Since the case that no friend be invited i.e., 10
C0
is excluded)
Example: Numbers greater than 1000 but not greater than 4000 which can be formed with the
digits 0, 1, 2, 3, 4 (repetition of digits is allowed), are
(a) 350 (b) 375 (c) 450 (d) 576
Solution: (b) Numbers greater than 1000 and less than or equal to 4000 will be of 4 digits and will
have either 1 (except 1000) or 2 or 3 in the first place with 0 in each of remaining
places.
After fixing 1st place, the second place can be filled by any of the 5 numbers.
Similarly third place can be filled up in 5 ways and 4th place can be filled up in 5 ways.
Thus there will be 5 × 5 × 5 = 125 ways in which 1 will be in first place but this include
1000 also hence there will be 124 numbers having 1 in the first place. Similarly 125
for each 2 or 3. One number will be in which 4 in the first place and i.e., 4000. Hence
the required numbers are 124 + 125 + 125 +1 = 375 ways.
Conditional Combinations.
(1) The number of ways in which r objects can be selected from n different objects if k
particular objects are
n k n k
(i) Always included = Cr k (ii) Never included = Cr
(2) The number of combinations of n objects, of which p are identical, taken r at a time is
np
= Cr npCr 1 npCr 2 ....... npC0 if r p and
= n p
Cr npCr 1 npCr 2 ....... n pCr p if r p
Example: In the 13 cricket players 4 are bowlers, then how many ways can form a cricket team
of 11 players in which at least 2 bowlers included
(a) 55 (b) 72 (c) 78 (d) None of these
Solution: (c) The number of ways can be given as follows:
2 bowlers and 9 other players = 4 C2 9C 9 ; 3 bowlers and 8 other players = 4 C 3 9C 8
4 bowlers and 7 other players = 4 C 4 9C7
Hence required number of ways = 6 × 1 + 4 × 9 + 1 × 36 = 78.
13
Permutation and Combination-XI
Example: In how many ways a team of 10 players out of 22 players can be made if 6 particular
players are always to be included and 4 particular players are always excluded
(a) 22
C 10 (b) 18
C3 (c) 12
C4 (d) 18
C4
Solution: (c) 6 particular players are always to be included and 4 are always excluded, so total
number of selection, now 4 players out of 12.
Hence number of ways = 12
C4 .
Example : In how many ways can 6 persons to be selected from 4 officers and 8 constables, if at
least one officer is to be included]
(a) 224 (b) 672 (c) 896 (d) None of these
4 8 4 8 4 8 4 8
Solution: (c) Required number of ways = C1 C5 C2 C 4 C 3 C 3 C 4 C2 = 4 × 56 + 6 × 70 + 4 ×
56 + 1 × 28 = 896.
14
Permutation and Combination-XI
Type I : If order of group is not important : The number of ways in which 3p different things
(3p)!
can be divided equally into three groups is
3!(p!)3
Type II : If order of group is important : The number of ways in which 3p different things can
(3p)! (3p)!
be divided equally into three distinct groups is t3!
3!(p!)3
(p!)3
Note : If order of group is not important : The number of ways in which mn different things
mn!
can be divided equally into m groups is
(n!)m m!
If order of group is important: The number of ways in which mn different things can
(mn)! (mn)!
be divided equally into m distinct groups is m
m! .
(n!) m! (n!)m
Example: In how many ways can 5 prizes be distributed among four students when every
student can take one or more prizes
Solution: (a) The required number of ways = 4 5 1024 [since each prize can be distributed by 4
ways]
Example: The number of ways in which 9 persons can be divided into three equal groups is
9! 9 8 7 65 4
Solution: (d) Total ways = = 280.
(3!)3
32 32 32
Example: The number of ways dividing 52 cards amongst four players equally, are
Example: A question paper is divided into two parts A and B and each part contains 5
questions. The number of ways in which a candidate can answer 6 questions
selecting at least two questions from each part is
Solution: (c) The number of ways that the candidate may select
2 questions from A and 4 from B = 5 C 2 5C 4 ; 3 questions form A and 3 from B = 5 C 3 5C 3
4 questions from A and 2 from B = 5 C 4 5C2 . Hence total number of ways are 200.
15
Permutation and Combination-XI
Derangement.
If n things form an arrangement in a row, the number of ways in which they can be
1 1 1 1
deranged so that no one of them occupies its original place is n! 1 ...... (1)n . .
1! 2! 3! n!
Example: There are four balls of different colors and four boxes of colors same as those of the
balls. The number of ways in which the balls, one in each box, could be placed such
that a ball doesn't go to box of its own color is
(a) 8 (b) 7 (c) 9 (d) None of these
1 1 1
Solution: (c) Number of derangement are = 4 ! 12 4 1 9 .
2! 3! 4!
(Since number of derangements in such a problem is given by
1 1 1 1 1
n!1 ...... (1)n .
1! 2! 3! 4! n!
Some Important Results for Geometrical Problems.
(1) Number of total different straight lines formed by joining the n points on a plane of
which m (< n) are collinear is n C 2 m C 2 1 .
(2) Number of total triangles formed by joining the n points on a plane of which m (< n) are
collinear is n C3 mC 3 .
(4) If m parallel lines in a plane are intersected by a family of other n parallel lines. Then
mn(m 1)(n 1)
total number of parallelograms so formed is m C2 nC2 i.e
4
(6) If 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 part into which these lines divide the plane is
= 1 n .
n
(7) Number of rectangles of any size in a square of n n is r 3
and number of squares of
r 1
n
any size is r
r 1
2
.
16
Permutation and Combination-XI
np
(8) In a rectangle of n p (n p) number of rectangles of any size is (n 1)(p 1) and
4
n
number of squares of any size is (n 1 r)(p 1 r) .
r 1
Example: The number of triangles that can be formed by choosing the vertices from a set of 12
points, seven of which lie on the same straight line, is
Example: Out of 18 points in a plane, no three are in the same straight line except five points
which are collinear. The number of (i) straight lines (ii) triangles which can be
formed by joining them
(i) (a) 140 (b) 142 (c) 144 (d) 146
Multinomial Theorem.
x 1 x 2 ...... xm n .....(i)
(x a1 x a1 1 ...... xb1 )(x a2 x a2 1 ..... xb2 )......(x am x am1 ..... xbm ) ......(iii)
This is because the number of ways, in which sum of m integers in (i) equals n, is the same as
the number of times x n comes in (iii).
17
Permutation and Combination-XI
(1) Use of solution of linear equation and coefficient of a power in expansions to find the
number of ways of distribution : (i) The number of integral solutions of
x 1 x 2 x 3 ...... xr n where x1 0,x2 0,......xr 0 is the same as the number of ways to
distribute n identical things among r persons.
This is also equal to the coefficient of x n in the expansion of (x 0 x1 x2 x 3 ......)r
r
1
= coefficient of x in (1 x)
r
= coefficient of x n in n
1 x
r(r 1) 2 r(r 1)(r 2)......(r n 1) n
= coefficient of x n in 1 rx x ...... x .......
2! n!
r(r 1)(r 2)....(r n 1) (r n 1)! nr 1
Cr 1
n! n!(r 1)!
(ii) The number of integral solutions of x 1 x 2 x 3 ..... xr n where x1 1,x 2 1,.......xr 1 is
same as the number of ways to distribute n identical things among r persons each getting at
least 1. This also equal to the coefficient of x n in the expansion of (x1 x2 x 3 ......)r
r
x
= coefficient of x in x (1 x)
r r
= coefficient of x n in n
1 x
r(r 1) 2 r(r 1)(r 2).....(r n 1) n
= coefficient of x n in xr 1 rx x ..... x .....
2! n!
r(r 1) 2 r(r 1)(r 2).....(r n 1) n
= coefficient of x n r in 1 rx x ..... x .....
2! n!
r(r 1)(r 2)......(r n r 1) r(r 1)(r 2).....(n 1) (n 1)!
= = = n 1Cr 1 .
(n r)! (n r)! (n r)!(r 1)!
Example: A student is allowed to select utmost n books from a collection of (2n 1) books. If
the total number of ways in which he can select one book is 63, then the value of n is
(a) 2 (b) 3 (c) 4 (d) None of these
Solution: (b) Since the student is allowed to select utmost n books out of (2n 1) books. Therefore
in order to select one book he has the choice to select one, two, three,......., n books.
Thus, if T is the total number of ways of selecting one book then
2n 1 2n 1 2n 1
T C1 C2 ..... Cn 63 .
Again the sum of binomial coefficients
2n 1
C 0 2n 1 C1 2n 1C2 ...... 2n 1Cn 2n 1Cn 1 + 2n 1
Cn 2 ..... 2n 1C2n 1 (1 1)2n 1 22n 1
2n 1
or, C 0 2(2n 1C1 2n 1C2 ..... 2n 1Cn ) 2n 1 C2n 1 22n 1
22n 1
1 2(T) 1 22n 1 1 T 22n 1 63 22n 26 2 2n n 3 .
2
Example: If x, y and r are positive integers, then x Cr xCr 1y C1 xCr 2 y C2 ..... y Cr
x!y! (x y)!
(a) (b) (c) xy
Cr (d) xy
Cr
r! r!
18
Permutation and Combination-XI
Solution: (c) The result xy
Cr is trivially true for r 1,2 it can be easily proved by the principle of
mathematical induction that the result is true for r also.
Number of Divisors.
Let N p11 .p22 .p33 ......pkk , where p1 ,p2 ,p3 ,......pk are different primes and 1 , 2 , 3 ,......, k are
natural numbers then :
(1) The total number of divisors of N including 1 and N is = (1 1)( 2 1)( 3 1)....(k 1)
(2) The total number of divisors of N excluding 1 and N is = (1 1)( 2 1)( 3 1).....(k 1) 2
(3) The total number of divisors of N excluding 1 or N is = (1 1)( 2 1)( 3 1).....(k 1) 1
(4) The sum of these divisors is
(p10 p21 p32 ...... p11 )(p20 p12 p22 ... p22 ).....(pk0 pk1 pk2 .... pkk )
(5) The number of ways in which N can be resolved as a product of two factors is
1
2 ( 1 1)( 2 1)....(k 1),If N is not a perfect square
1 [( 1 1)( 2 1).....(k 1) 1],If N is a perfect square
2
(6) The number of ways in which a composite number N can be resolved into two factors
which are relatively prime (or co-prime) to each other is equal to 2n 1 where n is the number
of different factors in N.
Important Tips
All the numbers whose last digit is an even number 0, 2, 4, 6 or 8 are divisible by 2.
All the numbers sum of whose digits are divisible by 3,is divisible by 3 e.g. 534. Sum of the digits is
12, which are divisible by 3, and hence 534 is also divisible by 3.
All those numbers whose last two-digit number is divisible by 4 are divisible by 4 e.g. 7312, 8936,
are such that 12, 36 are divisible by 4 and hence the given numbers are also divisible by 4.
All those numbers, which have either 0 or 5 as the last digit, are divisible by 5.
All those numbers, which are divisible by 2 and 3 simultaneously, are divisible by 6. e.g., 108, 756
etc.
All those numbers whose last three-digit number is divisible by 8 are divisible by 8.
All those numbers sum of whose digit is divisible by 9 are divisible by 9.
All those numbers whose last two digits are divisible by 25 are divisible by 25 e.g., 73125, 2400 etc.
19
Permutation and Combination-XI
Example: Number of divisors of n 38808 (except 1 and n) is
(a) 70 (b) 68 (c) 72 (d) 74
Solution: (a) Since 38808 = 8 × 4851 = 8 × 9 × 539 = 8 × 9 × 7 × 7 × 11 = 2 3 32 72 11
So, number of divisors = (3 + 1) (2 + 1) (2 + 1) (1 + 2) – 2 = 72 – 2 = 70.
20