Module 4 Permutation & Combination
Module 4 Permutation & Combination
Combination: Combination means selection of things. The word selection is used, when
the order of things has no importance.
An arrangement that can be formed by taking some or all of a finite set of things (or
objects) is called a Permutation. Order of the things is very important in case of
permutation. A permutation is said to be a Linear Permutation if the objects are
arranged in a line. A linear permutation is simply called as a permutation. A permutation
is said to be a Circular Permutation if the objects are arranged in the form of a circle.
The number of (linear) permutations that can be formed by taking r things at a time from
a set of n distinct things (r = n) is denoted by
.
Number of permutations of n different things, taken all at a time, when m specified
things always come together is .
65
The number of permutations of n dissimilar things taken r at a time when k(< r)
particular things always occur is
The number of permutations of n different things, taken not more than r at a time, when
each thing may occur any number of times Is
9. The number of permutations of n different things taken not more than r at a time
66
Module 4.3 Permutations when all the objects are distinct
Theorem 1 The number of permutations of n different objects taken r at a time, where 0 < r ≤ n
and the objects do not repeat is n ( n – 1) ( n – 2). . .( n – r + 1), which is denoted by n Pr.
Proof There will be as many permutations as there are ways of filling in r vacant places
... ……… by
← r vacant places →
the n objects. The first place can be filled in n ways; following which, the second place
can be filled in (n – 1) ways, following which the third place can be filled in (n – 2) ways,..., the
rth place can be filled in (n – (r – 1)) ways. Therefore, the number of ways of filling in r vacant
places in succession is n(n – 1) (n – 2) . . . (n – (r – 1)) or n ( n – 1) (n – 2) ... (n – r + 1)
This expression for nPr is cumbersome and we need a notation which will help to reduce the
size of this expression. The symbol n! (read as factorial n or n factorial ) comes to our rescue. In
the following text we will learn what actually n! means.
Factorial notation: The notation n! represents the product of first n natural numbers, i.e., the
product 1 × 2 × 3 × . . . × (n – 1) × n is denoted as n!. We read this symbol as ‘n factorial’. Thus,
1 × 2 × 3 × 4 . . . × (n – 1) × n = n !
1=1!
1×2=2!
1× 2 × 3 = 3 !
1 × 2 × 3 × 4 = 4 ! and so on.
We define 0 ! = 1
We can write 5 ! = 5 × 4 ! = 5 × 4 × 3 ! = 5 × 4 × 3 × 2 !
= 5 × 4 × 3 × 2 × 1!
(i) 5 ! = 1 × 2 × 3 × 4 × 5 = 120
(ii) 7 ! = 1 × 2 × 3 × 4 × 5 × 6 ×7 = 5040
and (iii) 7 ! – 5! = 5040 – 120 = 4920.
67
Example: Suppose we have to form a number of consisting of three digits using the
digits 1,2,3,4, To form this number the digits have to be arranged. Different numbers will
get formed depending upon the order in which we arrange the digits. This is an example
of Permutation.
Now suppose that we have to make a team of 11 players out of 20 players, This is an
example of combination, because the order of players in the team will not result in a
change in the team. No matter in which order we list out the players the team will
remain the same! For a different team to be formed at least one player will have to be
changed.
Addition rule : If an experiment can be performed in ‘n’ ways, & another experiment can
be performed in ‘m’ ways then either of the two experiments can be performed in (m+n)
ways. This rule can be extended to any finite number of experiments.
Example: Suppose there are 3 doors in a room, 2 on one side and 1 on other side.
A man want to go out from the room. Obviously he has ‘3’ options for it. He can come
out by door ‘A’ or door ‘B’ or door ’C’.
Multiplication Rule : If a work can be done in m ways, another work can be done in ‘n’
ways, then both of the operations can be performed in m x n ways. It can be extended
to any finite number of operations.
68
Example.: Suppose a man wants to cross-out a room, which has 2 doors on one side
and 1 door on other site. He has 2 x 1 = 2 ways for it.
Ex. 5! = 5 x 4 x 3 x 2 x 1 =120
Note 0! = 1
Or (n-1)! = [n x (n-1)!]/n = n! /n
Putting n = 1, we have
O! = 1!/1
or 0 = 1
Permutation
Number of permutations of ‘n’ different things taken ‘r’ at a time is given by:-
n
Pr = n!/(n-r)!
Clearly the first place can be filled up in ‘n’ ways. Number of things left after filling-up the
first place = n-1
So the second-place can be filled-up in (n-1) ways. Now number of things left after
filling-up the first and second places = n - 2
69
Thus number of ways of filling-up first-place = n
By multiplication – rule of counting, total no. of ways of filling up, first, second -- rth-
place together :-
Hence:
n
Pr = n (n-1)(n-2) --------------(n-r+1)
n
Pr = n!/(n-r)!
Number of permutations of ‘n’ different things taken all at a time is given by:-
n
Pn = n!
Proof :
Now we have ‘n’ objects, and n-places.
n
Pn = n!
70
Concept.
n
We have Pr = n!/n-r
Putting r = n, we have :-
n
Pr = n! / (n-r)
n
But Pn = n!
Examples
Q. How many different signals can be made by 5 flags from 8-flags of different colours?
= 8!/(8-5)!
= 8 x 7 x 6 x 5 x 4 = 6720
Q. How many words can be made by using the letters of the word “SIMPLETON” taken
all at a time?
= 9! = 362880.
Number of permutations of n-thing, taken all at a time, in which ‘P’ are of one type, ‘g’ of
them are of second-type, ‘r’ of them are of third-type, and rest are all different is
given by :-
n!/p! x q! x r!
71
Example: In how many ways can the letters of the word “Pre-University” be arranged?
13!/2! X 2! X 2!
Number of permutations of n-things, taken ‘r’ at a time when each thing can be repeated
r-times is given by = nr.
Proof.
Hence total number of ways in which first, second ----r th, places can be filled-up
= n x n x n ------------- r factors.
= nr
Example: A child has 3 pocket and 4 coins. In how many ways can he put the coins
in his pocket.
Answer: First coin can be put in 3 ways, similarly second, third and forth coins also
can be put in 3 ways.
(a) If clockwise and anti clock-wise orders are different, then total number of
circular-permutations is given by (n-1)!
(b) If clock-wise and anti-clock-wise orders are taken as not different, then total
number of circular-permutations is given by (n-1)!/2!
72
Proof(a):
(a) Let’s consider that 4 persons A,B,C, and D are sitting around a round table
Thus, we use that if 4 persons are sitting at a round table, then they can be shifted four
times, but these four arrangements will be the same, because the sequence of A, B, C,
D, is same. But if A, B, C, D, are sitting in a row, and they are shifted, then the four
linear-arrangement will be different.
Hence if we have ‘4’ things, then for each circular-arrangement number of linear-
arrangements =4
Similarly, if we have ‘n’ things, then for each circular – agreement, number of linear –
arrangement = n.
73
Total number of linear–arrangements
= n. (number of circular-arrangements)
n = 1( n!)/n
Proof (b) When clock-wise and anti-clock wise arrangements are not different, then
observation can be made from both sides, and this will be the same. Here two
permutations will be counted as one. So total permutations will be half, hence
in this case.
Circular–permutations = (n-1)!/2
(a) If clock-wise and anti-clockwise orders are taken as different, then total number
of circular-permutations = nPr/r
(b) If clock-wise and anti-clockwise orders are taken as not different, then total
n
number of circular – permutation = Pr/2r
Example: How many necklace of 12 beads each can be made from 18 beads of
different colours?
= 18!/(6 x 24)
Restricted – Permutations
(a) Number of permutations of ‘n’ things, taken ‘r’ at a time, when a particular thing is
to be always included in each arrangement
= r n-1 Pr-1
(b) Number of permutations of ‘n’ things, taken ‘r’ at a time, when a particular thing is
fixed: = n-1 Pr-1
74
(c) Number of permutations of ‘n’ things, taken ‘r’ at a time, when a particular thing is
never taken: = n-1 Pr.
(d) Number of permutations of ‘n’ things, taken ‘r’ at a time, when ‘m’ specified things
always come together = m! x ( n-m+1) !
(e) Number of permutations of ‘n’ things, taken all at a time, when ‘m’ specified things
always come together = n ! - [ m! x (n-m+1)! ]
Example: How many words can be formed with the letters of the word ‘OMEGA’ when:
Ans.
(iii) Three vowels (O,E,A,) can be arranged in the odd-places (1st, 3rd and 5th) =
3! ways.
75
And two consonants (M,G,) can be arranged in the even-place (2nd, 4th)
= 2 ! ways
= 36 ways
= 120-36 = 84 ways.
Number of Combination of ‘n’ different things, taken ‘r’ at a time is given by:-
n
Cr= n! / r ! x (n-r)!
Proof: Each combination consists of ‘r’ different things, which can be arranged among
themselves in r! ways.
n
=> Total number of permutations = r! Cr ---------------(1)
= nPr -------(2)
76
n
Pr = r! . nCr
or n!/(n-r)! = r! . nCr
n
or Cr = n!/r!x(n-r)!
= n!/(n-r)!xr!
Restricted – Combinations
(a) Number of combinations of ‘n’ different things taken ‘r’ at a time, when ‘p’
particular things are always included = n-pCr-p.
(b) Number of combination of ‘n’ different things, taken ‘r’ at a time, when ‘p’
particular things are always to be excluded = n-pCr
Answer:
(i) A particular player is always chosen, it means that 10 players are selected out of
the remaining 14 players.
14
=. Required number of ways = C10 = 14C4
= 14!/4!x19! = 1365
(ii) A particular players is never chosen, it means that 11 players are selected out of 14
players.
14
=> Required number of ways = C11
= 14!/11!x3! = 364
77
(iii) Number of ways of selecting zero or more things from ‘n’ different things is given
by:- 2n-1
=>Total number of ways of selecting one or more things out of n different things
= 2n – 1 [ nC0=1]
Example: John has 8 friends. In how many ways can he invite one or more of them to
dinner?
Ans. John can select one or more than one of his 8 friends.
(iv) Number of ways of selecting zero or more things from ‘n’ identical things is given by
:- n+1
Example: In how many ways, can zero or more letters be selected form the letters
AAAAA?
78
Selecting three 'A's = 1
(V) Number of ways of selecting one or more things from ‘p’ identical things of one
type ‘q’ identical things of another type, ‘r’ identical things of the third type and ‘n’
different things is given by :-
Example: Find the number of different choices that can be made from 3 apples, 4
bananas and 5 mangoes, if at least one fruit is to be chosen.
Answer:
=> 2n = 20=1
(VI) Number of ways of selecting ‘r’ things from ‘n’ identical things is ‘1’.
Example: In how many ways 5 balls can be selected from ‘12’ identical red balls?
Ans. The balls are identical, total number of ways of selecting 5 balls = 1.
79
Example: How many numbers of four digits can be formed with digits 1, 2, 3, 4 and 5?
5
Required number is P4 = 5!/1! = 5 x 4 x 3 x 2 x 1
(a) Number of permutations of ‘n’ things, taken ‘r’ at a time, when a particular thing is
to be always included in each arrangement
= r n-1 Pr-1
(b) Number of permutations of ‘n’ things, taken ‘r’ at a time, when a particular thing is
fixed: = n-1 Pr-1
(c) Number of permutations of ‘n’ things, taken ‘r’ at a time, when a particular thing is
never taken: = n-1 Pr.
(d) Number of permutations of ‘n’ things, taken ‘r’ at a time, when ‘m’ specified things
always come together = m! x ( n-m+1) !
(e) Number of permutations of ‘n’ things, taken all at a time, when ‘m’ specified things
always come together = n ! - [ m! x (n-m+1)! ]
Example: How many words can be formed with the letters of the word ‘OMEGA’ when:
Ans.
80
(i) When ‘O’ and ‘A’ occupying end-places
(iii) Three vowels (O,E,A,) can be arranged in the odd-places (1st, 3rd and 5th) =
3! ways.
And two consonants (M,G,) can be arranged in the even-place (2nd, 4th)
= 2 ! ways
= 36 ways
= 120-36 = 84 ways.
81
Number of Combination of ‘n’ different things, taken ‘r’ at a time is given by:-
n
Cr= n! / r ! x (n-r)!
Proof: Each combination consists of ‘r’ different things, which can be arranged among
themselves in r! ways.
n
=> Total number of permutations = r! Cr ---------------(1)
= nPr -------(2)
n
Pr = r! . nCr
or n!/(n-r)! = r! . nCr
n
or Cr = n!/r!x(n-r)!
n
or Cr = n!/r!x(n-r)! and nCn-r = n!/(n-r)!x(n-(n-r))!
= n!/(n-r)!xr!
Restricted – Combinations
(a) Number of combinations of ‘n’ different things taken ‘r’ at a time, when ‘p’
particular things are always included = n-pCr-p.
(b) Number of combination of ‘n’ different things, taken ‘r’ at a time, when ‘p’
particular things are always to be excluded = n-pCr
82
Example: In how many ways can a cricket-eleven be chosen out of 15 players? if
Ans: (i) A particular player is always chosen, it means that 10 players are selected
out of the remaining 14 players.
14
=. Required number of ways = C10 = 14C4
= 14!/4!x19! = 1365
(ii) A particular players is never chosen, it means that 11 players are selected out of 14
players.
14
=> Required number of ways = C11
= 14!/11!x3! = 364
(iii) Number of ways of selecting zero or more things from ‘n’ different things is given
by:- 2n-1
=>Total number of ways of selecting one or more things out of n different things
= 2n – 1 [ nC0=1]
83
Example: John has 8 friends. In how many ways can he invite one or more of them to
dinner?
Ans. John can select one or more than one of his 8 friends.
(iv) Number of ways of selecting zero or more things from ‘n’ identical things is given by
:- n+1
Example: In how many ways, can zero or more letters be selected form the letters
AAAAA?
(V) Number of ways of selecting one or more things from ‘p’ identical things of one
type ‘q’ identical things of another type, ‘r’ identical things of the third type and ‘n’
different things is given by :-
84
Example: Find the number of different choices that can be made from 3 apples, 4
bananas and 5 mangoes, if at least one fruit is to be chosen.
Ans:
=> 2n = 20=1
(VI) Number of ways of selecting ‘r’ things from ‘n’ identical things is ‘1’.
Example: In how many ways 5 balls can be selected from ‘12’ identical red balls?
Ans. The balls are identical, total number of ways of selecting 5 balls = 1.
Example: How many numbers of four digits can be formed with digits 1, 2, 3, 4 and 5?
5
Required number is P4 = 5!/1! = 5 x 4 x 3 x 2 x 1
85
Restricted – Combinations
(a) Number of combinations of ‘n’ different things taken ‘r’ at a time, when ‘p’
particular things are always included = n-pCr-p.
(b) Number of combination of ‘n’ different things, taken ‘r’ at a time, when ‘p’
particular things are always to be excluded = n-pCr
Ans:
(i) A particular player is always chosen, it means that 10 players are selected out of
the remaining 14 players.
14
=. Required number of ways = C10 = 14C4
= 14!/4!x19! = 1365
(ii) A particular players is never chosen, it means that 11 players are selected out of 14
players.
14
=> Required number of ways = C11
= 14!/11!x3! = 364
(iii) Number of ways of selecting zero or more things from ‘n’ different things is given
by:- 2n-1
86
Number of ways of selecting ‘n’ things out of ‘n’ things = nCn
=>Total number of ways of selecting one or more things out of n different things
= 2n – 1 [ nC0=1]
Example: John has 8 friends. In how many ways can he invite one or more of them to
dinner?
Ans. John can select one or more than one of his 8 friends.
(iv) Number of ways of selecting zero or more things from ‘n’ identical things is given by
:- n+1
Example: In how many ways, can zero or more letters be selected form the letters
AAAAA?
87
(V) Number of ways of selecting one or more things from ‘p’ identical things of one
type ‘q’ identical things of another type, ‘r’ identical things of the third type and ‘n’
different things is given by :-
Example: Find the number of different choices that can be made from 3 apples, 4
bananas and 5 mangoes, if at least one fruit is to be chosen.
Ans:
=> 2n = 20=1
(VI) Number of ways of selecting ‘r’ things from ‘n’ identical things is ‘1’.
Example: In how many ways 5 balls can be selected from ‘12’ identical red balls?
Ans. The balls are identical, total number of ways of selecting 5 balls = 1.
Example: How many numbers of four digits can be formed with digits 1, 2, 3, 4 and 5?
5
Required number is P4 = 5!/1! = 5 x 4 x 3 x 2 x 1
88