Professional Documents
Culture Documents
Dokumen - Tips Theory and Questions Related To Permutation Combination
Dokumen - Tips Theory and Questions Related To Permutation Combination
Multiplication principle:
Step A Step B
n ways
B
The procedure can be completed in m + n ways.
Example 1: Number of 4 digit numbers using 1, 2, 3, 4, 5:
(i) any digit can occur any number of times
I II III IV
5 5 5 5 625
ways: 5 5 5 5
(ii) repetition of digits is not allowed
I II III IV
5 4 3 2 120
ways: 5 4 3 2
4 5 5 5 500
ways: 4 5 5 5
4 4 3 2 96
ways: 4 4 3 2
Page 1
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
II III IV I
2 or 4 2 5 5 5 250
ways: 5 5 5 2
(ii) repetition of digits is not allowed
II III IV I
2 or 4 2 4 3 2 48
ways: 4 3 2 2
Example 4: Number of 4 digit even numbers using 0, 1, 2, 3, 4:
(i) any digit can occur any number of times
II III IV I
0, 2 or 43 4 5 5 300
ways: 4 5 5 3
ways: 4 3 2 1
or
II III IV I
2 or 4 2 3 3 2 36
Total 60
ways: 3 3 2 2
Page 2
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
n
(iii) Cr n Cn r
x y
(iv) n
Cx n
C y
or
x y n
(v) n
C r 1 n
C r n 1 C r
n n n 1
(vi) Cr C r 1
r
n
Cr n r 1
(vii)
n r
C r 1
8x 7 x6
336
Example 3: Words are formed using the letters of the word ‘JODHPUR’.
1. Total number of words = 7!
2. Total number of words in which P,U,R, are together = 5! 3! = 720
(considering P, U, R to be one unit, we can arrange the 5 letters in 5! ways. P, U, R
can change their positions within themselves in 3! ways).
3. Number of words in which P, U, R are not together = 7! – 5! 3! = 4320
(Total number of words – number of words in which P, U, R are together).
4. Number of words in which no two of P, U, R are together= 4! 5C3. 3!
x x x x x
Positions for J,O,D,H
x : Positions where P,U and R can be placed
The letters J,O,D,H can be arranged in 4! ways.
We have 5 positions for placing 3 letters P, U, R. This can be done in 5C3. 3! ways.
Page 3
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
5. Number of words in which all the vowels are together and all the consonants are
together = 2! (2! 5!)
(Vowels within themselves can be arranged in 2! ways and consonants in 5! ways. The two groups of
vowels and consonants can change their positions in 2! ways).
6. Number of words starting with J and ending with R = 5!
R
(Positions of J and R are fixed. Therefore, we need to permute O, D, H, P and U only).
7. Number of words in which relative positions of vowels and consonants remain
unchanged = 2! 5!
8. Number of words in which vowels occupy odd places = 4C2 2! 5!
(There are four odd places: 1st, 3rd, 5th, and 7th. We have two vowels O and U. So we,
first of all, select two positions and arrange vowels there. This can be done in 4C2 2!
ways. Then, the remaining five places can be filled in 5! ways.)
9. Total number of 4 letter words when any letter can be repeated any number of times is
equal to 7 7 7 7
ways: 7 7 7 7
10. Four letter words, using the letters of the word ‘JODHPUR’, are formed. The number
of words which have at least one letter repeated is equal to 7 7 7 7 7 6 5 4 .
11. Rank of the word ‘JODHPUR’ in the dictionary of the words formed with the letters
of the word ‘JODHPUR’:
Words starting with D or H:
D or H
ways: 2 6 5 4 3 2 1 2 6 ! 1440
Words starting with JD or JH:
J D or H
ways:
1 2 5 4 3 2 1 2 5 ! 240
Words starting with JODHPR:
J 1 D
1O 1 H P R U
Page 4
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
Let there are n objects (all dissimilar). r objects are to be chosen with/without
restrictions.
1. Without any restriction
Number of ways = nCr
2. n1 particular objects are included in the selection
n n1
Number of ways = C r n
1
Example 4: Words are formed using the letters of the word ‘EXAMINATION’. Find
(i). the number of words (ii). the number of four letter words
In the word ‘EXAMINATION’, we have
E – 1, X – 1, M – 1, T – 1, O – 1
A – 2, I – 2, N – 2
11 !
(i). Total number of words = 2 ! 2 ! 2 !
3 4!
C1.7 C 2 . 756
2. Two letters are alike and two are different 2!
3 4!
3. Two letters are alike of one kind and C2 18
2!2!
two are of another kind
2454
Total
Example 5: Words are formed using the letters of the word ‘JODHPUR’. Find the number of
words in which P comes before U and U comes before R.
Let us designate each one of P, U and R by a single letter (say X). Now, we arrange
X, X, X, J, O, D, H to form words.
Page 5
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
7!
Total number of words = 3 ! 840
In these words, if the first X (seen from the left) is replaced by P, the second X by U
and the third X by R, then we get the words in which P comes before U and U before
R. Hence the required number of words is 840.
Example 6: How many numbers greater than 10 lacs can be formed using 2,3,0,3,4,2,3.
Solution: All the given digits are to be used.
Required number of numbers
= (Total numbers formed including the numbers
containing 0 at the left most position) – (total number of number of
numbers starting with zero)
7! 6!
=
2 !3! 2 !3!
6!
= 7 1 360.
2 !3!
Example 7: There are 3 children, 4 women and 5 men. A group of 4 persons is to be formed
containing atleast one women. Find the number of ways in which this can be done.
Solution: Total number of ways in which we can select 4 persons (without any restriction)
= 12 C 4
Number of groups not containing any woman = 8 C4
Required number of ways of selecting 4 persons = 12 C 4 8 C 4
1. Let there be n dissimilar objects.
Selection of one of more objects can be done in 2n – 1 ways.
Proof: I. p objects may be selected in n C p ways.
Total number of ways = n C1 n C 2 . . . n C n 2 n 1
II. Since, one or more objects are to be taken, hence each object has two possibilities:
(i) may be taken (ii) may not be taken.
Hence, the number of ways in which we may select or may not select the objects is
equal to 2 x 2 x 2 x . . . n times i.e. 2n.
This includes one way in which no object is taken.
Number of ways of selecting one or more objects is equal to 2n – 1.
2. Let there be n objects (not all are different).
n1 objects are alike of first type.
n2 objects are alike of second type.
.
.
.
nk objects are alike of kth type.
n1 n 2 . . . n k n .
Number of ways in which the objects may be selected is n1 1 n 2 1 . . . n k 1 1 .
Example 8: 5 balls of different colors are given. In how many ways the balls may be selected?
Solution: Required number of ways = 25 –1
= 31
Page 6
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
Page 7
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
(ii) If there be p groups (among these k groups) containing equal number of objects, then
the number of ways is
n!
n 1! n 2 ! . . . n k ! p!
12 !
2 6, 6
6 ! 2 2 !
12 !
3 4, 4, 4
4 ! 3 3 !
12 !
4 3, 3, 3, 3
(3 ! ) 4 4 !
12 !
4 2, 2, 2, 6
( 2 !)3 6 ! 3 !
12 !
5 2, 2, 2, 3, 3
2 ! 3
(3 !) 2 3 ! 2 !
12 !
6 4, 4, 1, 1, 1, 1
4 ! 2
(1 !) 4 2 ! 4 !
Page 8
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
Example 13: Find number of ways in which 12 apples can be equally divided among 3 persons.
Solution: Apples are being considered to be dissimilar. 4 apples are to be given to each
person. We may solve this problem in two different ways.
First approach: Take 4 apples and give it to one person. 8 apples are left now. Take 4 apples and
give it to second person. Remaining 4 apples are given to the third person.
Required number of ways
12 C 4 . 8C 4 . 4C 4
12 ! 8! 4!
. .
4 !8 ! 4 !4 ! 4 !0 !
12 !
4 !4 ! 4 !
Second approach: Divide 12 apples into 3 groups each containing 4 apples, and then permute the
groups against the persons.
Required number of ways
12 !
3!
4 !4 ! 4 ! 3 !
12 !
4 !4 ! 4!
Example 14: Five balls are to be placed in three boxes. Each box is capable of holding all the
five balls. The balls are placed in the boxes in such a way that no box remains empty.
Find the number of ways of placing the balls in the boxes.
Solution: We divide 5 balls into 3 groups in such a way that each group contains atleast one
ball. Now, these groups are permuted against the boxes. Thus, number of ways in
which this can be done is the number of ways of placing atleast one balls in the boxes.
(i). All the boxes are dissimilar and all the balls are dissimilar.
Number of balls in Number of ways of Number of ways of placing
the groups dividing balls into groups the balls in the boxes
5!
1, 1, 3 10 10 . 3! = 60
1 ! 2
3! 2 !
5!
2, 2, 1 15 15 . 3! = 90
2 ! 21 ! 2 !
Total 150
__________________________________________________________________
(ii) Balls are identical and boxes are dissimilar.
Number of balls in Number of ways of Number of ways of placing
the groups dividing balls into groups the balls in the boxes
3!
1, 1, 3 1 3
2!
3!
2, 2, 1 1 3
2!
Total 6
Page 9
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
__________________________________________________________________
Circular Permutations:
c b b a
a c
These arrangements are identical with respect to the objects but are distinct relative to the direction.
Examples: (i). Number of ways in which n distinct beads can be stung into a necklace is
( n 1) !
2
(ii). Number of ways in which 5 distinct objects can be given to 2 persons is
2x2x2x2x2
(iii). Number of ways in which 5 distinct objects can be distributed between
2 persons is 25 – 2.
(iv). Number of ways is which 5 identical objects can be given to 2 persons
is equal to Coefficient of x5 in (1 + x + x2 + x3 + x4 + x5)2
(v). Number of ways in which 5 identical objects can be distributed between
2 persons is equal to coefficient of x5 in (x + x2 + x3 + x4 + x5 )2
Number of rectangles on a chessboard 9 C 2 . 9 C 2
Number of squares on a chessboard:
Page 10
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
Let
1000! 7.N1 where N1 and N 2 are integers not divisible by 7
500! 7.N 2
and and are given by
1000 1000 1000
164
7 7 2 7 3
500 500 500
82
7 7 2 7 3
Number of times we write 3 while writing numbers 1 to 1000:
3 occurs exactly once in 3C1.9.9 numbers.
3 occurs exactly twice in 3C2.9 numbers.
3 occurs exactly thrice in 3C3 numbers.
So, the number of times, we write 3 while writing the numbers 1 to 1000
is 243 + 2 27 + 3 1 i.e. 300.
Page 11
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
A
N
... m parellel
roads
E
B
n parallel roads
n 1
2 , if n is odd
n 2
, if n is even
2
11. n straight lines are drawn in the plane such that no two lines are parallel and no three
lines are concurrent. The number of parts into which these lines divide the plane, is
n
1 r
r 1
12. Sum of numbers formed by using the digits 1,2,3,4,5 (repetition of digits is not
allowed) :
1 occurs at the units place in 4! numbers.
1 occurs at the ten’s place in 4! numbers.
1 occurs at the hundred’s place in 4! numbers.
1 occurs at the thousand’s place in 4! numbers.
1 occurs at the ten thousand’s place in 4! numbers.
We have similar results for the other digits.
So the required sum
1 2 3 4 5 .24 1 2 3 4 5 . 10. 24 1 2 3 4 5 . 10 2.24
Page 12
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.
PERMUTATIONS & COMBINATIONS
1 2 3 4 5 . 103. 24 +
1 2 3 4 5 10 . 244
1 2 3 4 5 .24. 1 10 10 2 10 3 10 4
Page 13
S P Gupta. A - 12 (Opp. Shri Ram Mandir), Mathur Vaish Nagar, Tonk Road, Jaipur – 302029 Ph.: 2549422, 2554655, 9829055465.