Permutations
Permutations
Basic Concepts of
Permutations and
5 Combinations
Permutation and combination are essential concepts that help solve complex counting problems.
For instance, let’s consider the scenario of arranging members of the Lok Sabha in different
seating arrangements.
Example 1. Raghav has 3 different types of shirts and 2 different types of trousers. Whenever
he goes out, he likes to wear a shirt and a trouser. In how many ways can he decide what
to wear?
(a) 5 (b) 4 (c) 6 (d) 8
Sol. (c) Given, Number of shirts = 3
Number of trousers = 2
Total ways = 3 × 2 = 6
Hence, the correct option is (c).
Addition Rule: If one task can be done in m ways and another task which is independent
of the first task can be done in n ways, then the total number of ways either of them
can perform is m + n.
E.g.: Task A: Choosing a dessert from a menu with 4 options.
Task B: Selecting a drink from a menu with 3 options.
Number of ways to choose a dessert = 4
Number of ways to select a drink = 3
Total number of ways to either choose a dessert or select a drink = 4 + 3 = 7
Example 2. Rani has 3 different types of shoes and 2 different types of sandals. Whenever
she goes out, she likes to wear either a shoe or a sandal. In how many ways can she decide
what to wear?
(a) 3 (b) 2 (c) 5 (d) 6
Sol. (c) Given, Number of shoes = 3
Number of sandals = 2
Since, she likes to wear either a shoe or a sandal, thus
Total required ways = 3 + 2 = 5
Hence, the correct option is (c).
Example 3. A room has 6 doors. In how many ways can a man enter the room through one
door and come out through a different door?
(a) 30 (b) 36 (c) 64 (d) 80
Sol. (a) Given, Total doors = 6
If entered from one door then there are 6 options available and for exit, there are 5 doors.
Total ways = 5 × 6 = 30
Hence, the correct option is (a).
Example 4. In a class there are 27 boys and 14 girls. The teacher wants to select 1 boy or
1 girl to represent the class in a function. In how many ways can the teacher make this
selection?
(a) 41 (b) 224 (c) 278 (d) 378
Sol. (a) Given, Total boys = 27
Total girls = 14
Since, the teacher wants to select 1 boy or 1 girl as class representative, thus
Total required ways = 27 + 14 = 41
Hence, the correct option is (a).
Example 5. Given 4 flags of different colors, how many different signals can be generated, if
a signal requires the use of 2 flags one below the other?
(a) 5 (b) 4 (c) 12 (d) 8
Sol. (c) Given, There are 4 flags of different colors.
Since, a signal requires the use of 2 flags one below the other.
hus, the selection of the first signal can be done in 4 ways and that of the second can
T
be done in 3 ways.
Using, multiplication rule,
Total required signals = 4 × 3 = 12
Hence, the correct option is (c).
P
2 Quantitative Aptitude W
Example 6. In a monthly test, the teacher decides that there will be three questions, one
from each of Exercise 7, 8 and 9 of the textbooks. 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) 1214 (b) 1234 (c) 6000 (d) 1944
Sol. (d) Given: Number of questions in Exercise 7 = 12,
Number of questions in Exercise 8 = 18,
Number of questions in Exercise 9 = 9
Total ways of selecting three questions = 12 × 18 × 9 = 1944
Hence, the correct option is (d).
Example 7. In how many ways can 5 letters be posted in 4 letter boxes?
(a) 120 (b) 1024 (c) 625 (d) None of these
Sol. (b) Total number of letters = 5
Total number of letter boxes = 4
∴ For each letter, there are 4 options (letter boxes) where it can be posted.
Thus, total number of ways = 4 × 4 × 4 × 4 × 4 = 1024
Hence, the correct option is (b).
Example 8. Find the number of 4 letter words, with or without meaning, which can be
formed out of the letters of the word ROSE, when
(I) the repetition of the letters is not allowed.
(II) the repetition of the letters is allowed.
(a) 16, 186 (b) 24, 256 (c) 24, 172 (d) None of these
Sol. (b) Given word = ROSE
Total letters = 4
(I) repetition of letters is not allowed = 4 × 3 × 2 × 1 = 24
(II) repetition of letters is allowed = 4 × 4 × 4 × 4 = 44 = 256
Hence, the correct option is (b).
2. You have four different colors of socks, and you want to wear one sock of each color. In
how many ways can you choose which socks to wear?
(a) 8 ways (b) 12 ways (c) 16 ways (d) 24 ways
3. A person can go from place ‘A’ to ‘B’ by 11 different modes of transport but is allowed
to return back to ‘A’ by any mode other than the one earlier. The number of different
ways, the entire journey can be complete is
(a) 110 (b) 1010 (c) 95 (d) 109
Basic Concepts of Permutations and Combinations 3
4. There are ten flights operating between city A and city B. The number of ways in which
a person can travel from city A to city B and return by different flight is
(a) 90 (b) 95 (c) 80 (d) 78
5. Consider the word “TRAIN”. How many distinct 5-letter words can be formed from its
letters without repeating any letter?
(a) 120 (b) 24 (c) 360 (d) 30
6. How many 3 digit odd numbers can be formed using the digits 5, 6, 7, 8, 9, if the digits
can be repeated?
(a) 55 (b) 75 (c) 65 (d) 36
7. In how many ways can 3 letters be posted in 4 letter boxes?
(a) 24 (b) 27 (c) 64 (d) None of these
Answer Key
1. (b) 2. (b) 3. (a) 4. (a) 5. (a) 6. (b) 7. (c)
THE FACTORIAL
If we take a number ‘n’, then n! or ∠n is called the factorial of ‘n’ and the value of n! is equal
to multiplication of 1 to n i.e. n! = 1 × 2 × 3 × 4 × ... × n or we can write, n! = n(n – 1)
(n – 2) ... 3 × 2 × 1
Note: 0! = 1
5!
3. The value of is
10 !
1
(a) (b) 30240 (c) 120 (d) 36,28,800
30240
4. Find n if (n + 2)! = 12(n)!
(a) 4 (b) 3 (c) 6 (d) None of these
1 1 x
5. Find the value of x if + =.
9 ! 10 ! 11 !
(a) 11 (b) 121 (c) 150 (d) None of these
Answer Key
1. (a) 2. (c) 3. (a) 4. (a) 5. (b)
PERMUTATIONS
A permutation determines the number of possible arrangements in a set when the order of
the arrangements matters. It can be calculated using the formula:
n!
n
Pr =
(n − r ) !
where n is the total number of objects and r is the number of objects to be arranged.
E.g., if we have three different boxes: one Yellow, one Green, and one Red and we want to
arrange them on a table, the number of possible arrangements (permutations) would be:
3! 3! 3!
3
P3
= = = = 6
(3 − 3) ! 0! 1
In the scenario where all n students are winners, the permutation formula becomes:
n! n!
n
Pn
= = = n!
(n − n) ! 0!
4! 4! 4 × 3× 2!
Sol. =
(I) 4P2 = = = 4 × 3 = 12
(4 − 2) ! 2! 2!
7! 7! 7 ×6 × 5 × 4!
(II)
= 7P
3
= = = 210
(7 − 3) ! 4 ! 4!
10 ! 10 × 9 × 8 × 7 × 6 × 5 × 4 !
(III) 10P = = = 151200
6
(10 − 6) ! 4!
P
6 Quantitative Aptitude W
herefore, the correct answer is option ‘b’, which states that the restriction in nPr is n ≥
T
r. This means that we need at least r objects to select from a total of n objects.
Hence, the answer is option (b).
Example 14. Justify 0! = 1.
Sol. We know that,
n! = n(n – 1)(n – 2) × ... × 3 × 2 × 1
Let us consider for n = 3
3! = 3 × 2 × 1
3!
⇒ 2!
=
3
3!
or 2 ! =
3
n!
In general, (n − 1) ! =
n
Put n = 1 in above equation, we get
1! 1
(1 − 1) ! = ⇒ 0 ! =⇒ 0 ! =
1
1 1
Example 15. If nP4 = 12 × nP2 , then n is equal to (ICAI)
(a) –1 (b) 6 (c) 5 (d) None of these
Sol. (b) Detailed method:
Given: nP4 = 12 × nP2
n! n!
⇒ 12
=
(n − 4) ! (n − 2) !
[n(n − 1)(n − 2)(n − 3)(n − 4) !] n(n − 1)(n − 2) !
⇒ 12
=
(n − 4) ! (n − 2) !
⇒ n(n – 1)(n – 2)(n – 3) = 12n(n – 1)
⇒ n(n – 1)[(n – 2)(n – 3) – 12] = 0
⇒ n(n – 1)(n2 – 5n + 6 – 12) = 0
⇒ n(n – 1)(n2 – 5n – 6) = 0
⇒ n(n – 1)[n2 – (6 – 1)n – 6] = 0
⇒ n(n – 1)[n2 – 6n + n – 6] = 0
⇒ n(n – 1)[n(n – 6) + 1(n – 6)] = 0
⇒ n(n – 1)(n – 6)(n + 1) = 0
⇒ n = 0 or n – 1 = 0 or n – 6 = 0 or n + 1 = 0
⇒ n = 0 or n = 1 or n = 6 or n = –1
Since, n cannot be negative.
Therefore, n ≠ –1
If n = 0 or 1, then in those cases (n – 2) and (n – 3) are not positive integers.
Basic Concepts of Permutations and Combinations 7
Thus, n = 6 is the correct answer.
Go by choices:
Given: nP4 = 12 × nP2
We know that,
For nPr, n ≥ r
Also, n and r are positive.
Thus, n cannot be –1.
For option (b): n = 6
6! 6!
⇒ LHS: 6P4 = = = 6 × 5 × 4 × 3 = 360
(6 – 4) ! 2 !
6! 6!
⇒ RHS: 12 × 6P2 = 12 × = 12 × = 12 × 6 × 5 = 360
(6 – 2) ! 4!
Clearly, LHS = RHS
Therefore, the required value of n is 6.
Hence, the answer is option (b).
Example 16. If 5Pr = 60, then the value of r is (ICAI)
(a) 3 (b) 2 (c) 4 (d) None of these
5! 5 × 4×3× 2 120
Sol. (a) ⇒ 60 ⇒
= 60 ⇒
= 60
=
(5 − r ) ! (5 − r ) ! (5 − r ) !
⇒ (5 – r)! = 2
Since, (2)! = 2
Therefore, (5 – r) = 2
r = 5– 2 = 3
Hence, the answer is option (a).
19 ! 19 !
⇒ =
(19 − 3) ! 16 !
⇒ 19 × 18 × 17 = 5814
Hence, the answer is option (a).
Example 22. In how many ways among 8 students – (5 boys and 3 girls), can school select
School Prefect, Head boy and Head Girl, if no member can hold two positions and each boy
and girl is eligible for School Prefect too?
(a) 90 (b) 150 (c) 60 (d) None of these
Sol. (a) Given,
Total students = 8
Number of boys = 5
Number of girls = 3
Now, if a girl is selected as a prefect, then,
Number of ways of choosing head girl and a girl prefect = 3P2 = 6
Number of ways of choosing head boy is 5P1 = 5
Similarly, if a boy is selected as a prefect, then
Number of ways of selecting head girl = 3P1 = 3
Number of ways of choosing head boy and a boy prefect is 5P2 = 20
Therefore, total no. of ways = 6 × 5 + 3 × 20
= 30 + 60 = 90
Therefore, there are a total 90 required ways.
Hence, the correct option is (a).
Example 23. The number of ways the letters of the word `TRIANGLE’ to be arranged so that
the word ‘ANGLE’ will be always present is
(a) 20 (b) 60 (c) 24 (d) 32
Sol. (c) Given: In the word ‘TRIANGLE’ the word ‘ANGLE’ should always be present.
Thus, consider ‘ANGLE’ as one letter so the letters will be T, R, I and ‘ANGLE’.
P
10 Quantitative Aptitude W
Therefore, there are 4 letters which can be arranged in 4! i.e. 24 ways.
Hence, option (c) is correct.
Answer Key
1. (b) 2. (a) 3. (b) 4. (a) 5. (d) 6. (b) 7. (a) 8. (c) 9. (a) 10. (c)
CIRCULAR PERMUTATION
Circular Permutation refers to arrangements where the objects or individuals are arranged
in a circular manner. Unlike linear permutation, where the arrangement is in a straight line,
circular permutation involves arranging objects in a circular form.
4 2 3 1 2 4 1 3
1 4 3 2
Clearly, all the four arrangements are similar to each other.
i.e., these 4-people permutations equal to one in circular.
Thus, n ordinary permutations are equal to one permutation.
Hence, there are nPn / n ways in which n things can be arranged in circular permutations
which is equal to (n – 1)!.
Example 26. How many ways 5 glasses of Coca – cola can be served to 10 people if one says
that he does not drink coca cola?
(a) 10000 (b) 27506 (c) 6290 (d) 15120
Sol. (d) Since Number of permutations of n distinct objects taken r at a time when a particular
object is not taken in any arrangement is n – 1Pr
So, here n = 10, r = 5
Total ways : 9P5
9!
⇒ = 9×8×7 × 6 × 5
4!
⇒ 15120
Hence, the correct option is (d).
Example 27. The number of arrangements of 6 different things taken 3 at a time in which
one particular thing always occurs is :
(a) 60 (b) 25 (c) 30 (d) None of these
Sol. (a) We know that, number of permutations of r objects out of n distinct objects when a
particular object is always included in any arrangement is r . n–1Pr–1.
o, the number of arrangements of 6 different things taken 3 at a time in which one
S
particular thing always occurs is: 3 × 6–1P3–1 = 5P2 × 3
⇒ 5 × 4 × 3 = 60
Hence, option (a) is correct.
Example 28. How many four digit numbers greater than 5000 can be formed out of the
digits 0, 1, 2, 3, 5, 7, 8, 9 if no digit is repeated in any number?
(a) 330 (b) 840 (c) 460 (d) None of these
Sol. (b) Given digits: 0, 1, 2, 3, 5, 7, 8, 9
our digits number greater than 5000 that can be formed out of the given digits can
F
begin with 5, 7, 8 or 9
Thus, possible ways for thousands place = 4
So, rest 3 digits can be chosen in 7 × 6 × 5
Therefore, the required ways:
⇒ 4 × 7 × 6 × 5 = 840
Hence, option (b) is correct.
P
14 Quantitative Aptitude W
Example 29. The sum of all 4-digit number containing the digits 2, 4, 6, 8, without repetitions is
(a) 1,33,330 (b) 1,22,220 (c) 2,13,330 (d) 1,33,320
Sol. (d) (Hint, Formula: (n – 1)! × Sum of digits × (11111 ... n times)
Here, n = 4
Thus, (n – 1)! = (4 – 1)! = 3! = 6
Sum of digits = 2 + 4 + 6 + 8 = 20
Therefore, the required sum = 6 × 20 × 1111 = 133,320
Hence, the correct option is (d).
Answer Key
1. (c) 2. (b) 3. (a) 4. (c) 5. (d) 6. (d) 7. (a) 8. (a) 9. (a) 10. (b)
11. (b) 12. (a)
COMBINATION
The number of ways in which selection is done where order does not matter can be
n!
calculated as nCr where n Cr = .
r ! × (n − r ) !
n!
Sol. (b) We know that, n
Cr =
r ! × (n − r ) !
12 !
Thus, 12 C8 =
8 ! × (12 − 8) !
12 × 11 × 10 ×9×8 !
=
4 × 3× 2 × 1 ×8 !
12 × 11 × 10 ×9
= = 495
4 × 3× 2 × 1
So, the value of 12C
8 is 495.
Hence, option (b) is correct i.e., 495.
Example 31. In how many ways can I select 5 cards from a pack of 52?
(a) 2598960 (b) 2598830 (c) 2600480 (d) None of these
Sol. (a) Total number of ways 5 cards can be selected from 52 pack of cards is :
52 !
⇒ 52C5 =
5 !(52 − 5 ) !
52 ! 52 × 51 × 50 × 49 × 48
=
⇒ = 2598960
5 !× 47 ! 5 × 4×3× 2
Hence, the correct option is (a).
Example 32. The number of straight lines obtained by joining 16 points on a plane, no three
of them being on the same line is
(a) 120 (b) 110 (c) 210 (d) None of these
P
16 Quantitative Aptitude W
Sol. (a) Total points = 16
We know, to form a straight line, 2 points are required.
ince, no three points are in same line thus the number of straight line that can be
S
formed from 16 points
16 !
= 16
C2 = =8 × 15 =120
14 ! × 2 !
Therefore, the required number of straight lines is 120.
Hence, the correct option is (a).
Example 33. Out of 7 boys and 4 girls, a team of a debate club of 5 is to be chosen. The
number of teams such that each team includes at least one girl is
(a) 429 (b) 439 (c) 419 (d) 441
Sol. (d) Given,
Number of boys = 7
Number of girls = 4
umber of teams with at least one girl = Total number of teams - Number of teams
N
with no girl = 11C5 – 7C5
11 ! 7!
= − = 462 – 21 = 441
6 ! ×5 ! 2 ! ×5 !
Hence, the correct option is (d) i.e. 441.
Example 34. If there are 40 guests in a party. If each guest takes a shake hand with all the
remaining guests. Then the total number of hands shake is
(a) 780 (b) 840 (c) 1560 (d) 1600
Sol. (a) No. of guests = 40
As we know for the shake hands, 2 persons are required.
Thus, total number of hand shakes = 40C
2
40 ! 40 ! 40 × 39
= = = = 780
(40 − 2) ! × 2 ! 38 ! × 2 ! 2
Hence, the correct answer is option (a) i.e. 780.
Example 35. The number of diagonals in a decagon is (ICAI)
(a) 30 (b) 35 (c) 45 (d) None of these
Sol. (b) We know that, decagon have 10 sides.
1
The number of diagonals in a polygon having n sides is n
C2 − n or n(n − 3)
2
Here, n = 10
Thus, number of diagonals
1
= × 10 × (10 − 3) = 5 × 7 = 35
2
Therefore, the number of diagonals in decagon are 35.
Hence, option (b) is correct i.e., 35.
Answer Key
1. (d) 2. (a) 3. (c) 4. (b) 5. (c) 6. (a)
2. nP
r = n – 1P
r + r . n – 1P
r – 1
n!
Sol. (c) Since
n
Cr =
r !(n − r ) !
P
18 Quantitative Aptitude W
11 ! 11 !
11
C2 =
+ 11C3 +
2 !(11 − 2) ! 3 !(11 − 3) !
11 ! 11 ! 11 × 10 11 × 10 × 9
⇒ + = +
2 !× 9! 3!× 8! 2 3× 2
110
⇒ (1 + 3)= 110 × 2= 220
2
Hence, the correct option is (c).
Example 37. How many different permutations are possible from the letters of the word
‘MATHEMATICS’?
11 ! 11 !
(a) 11! (b) (c) (d) None of these
2 !× 2 !× 2 ! 2 !× 2 !
12
C4 × 8C4 × 4C4
Possible ways =
3!
12 !
= = 5775
(4 !)3 (3 !)
Hence, the correct option is (a).
Example 45. The Number of ways in which 15 mangoes can be equally divided among 2
students is
15 15 15
(a) (b) (c) (d) None of these
(5 !) 4
(5 !) 3
(5 !)2
Sol. (b) Given, Total number of mangoes = 15
Number of students = 3
15
⇒ 5 mangoes
=
3
So, the required number of ways in which 15 mangoes may be equally distributed among
15 ! 15 !
3=students is =
5 ! × 5 ! × 5 ! (5 !)3
SUMMARY
Multiplication rule: If a certain thing may be done in ‘m’ different ways and when it has
been done, a second thing can be done in ‘n’ different ways, then total number of ways
of doing both things simultaneously = m × n.
Addition rule: If there are two alternative jobs which can be done in ‘m’ ways and in ‘n’
ways respectively then either of two jobs can be done in (m + n) ways.
Factorial: The factorial n, written as n! or ∟n, represents the product of all integers
from 1 to n both inclusive i.e. n! = n(n – 1)(n – 2) ... 3 . 2 . 1 and note that 0! = 1.
Permutation: The ways of arranging or selecting a smaller or equal number of objects
from a collection of objects with due regard being paid to the order of arrangement or
selection, are called permutations.
n!
The number of permutations of n things chosen r at a time is given by: n
Pr = .
(n − r ) !
Circular Permutation:
n
Pn
(i) Arranging n things in circular arrangement is given by: = (n − 1) ! ways in which
n
all the n things can be arranged in a circle.
(ii) Number of permutations of n distinct objects taken r at a time when a particular
object is not taken in any arrangement is n–1Pr.
(iii) Number of permutations of r objects out of n distinct objects when a particular object
is always included in any arrangement is r . n–1Pr–1.
Combinations: The number of ways in which smaller or equal number of things are
arranged or selected from a collection of things where the order of selection or arrangement
n!
is not important, are called combinations given by: n Cr = .
r !(n − r ) !
n!
Permutations when some of the things are alike, taken all at a time is .
n1!. n2!. n3!....
Permutations of r things out of n when each thing may be repeated once, twice, …upto
r times in any arrangement nr.
The total number of ways in which it is possible to form groups by taking some or all of
n things 2n – 1. The total, number of ways in which it is possible to make groups by
taking some or all out of n (= n1 + n2 + n3 + ...) things, where n1 things are alike of one
kind and so on, is given by {(n1 + 1) (n2 + 1) (n3 + 1) …} – 1.
The combinations of selecting r1 things from a set having n1 objects and r2 things from
a set having n2 objects where combination of r1 things, r2 things are independent is given
n1 n2
by: Cr × Cr .
1 2
P
24 Quantitative Aptitude W