Permutations and Combinations
Permutations and Combinations
Permutations
Definition
For example:
The different ways in which the alphabets A, B and C can be grouped together,
taken all at a time, are ABC, ACB, BCA, CBA, CAB, BAC.
Note that ABC and CBA are not same as the order of arrangement is different. The
same rule applies while solving any problem in Permutations.
The number of ways in which n things can be arranged, taken all at a time, nPn = n!,
called ‘n factorial.’
Factorial Formula
Therefore, the number of ways in which the 3 letters can be arranged, taken all a
time, is 3! = 3*2*1 = 6 ways.
The different ways in which the 3 letters, taken 2 at a time, can be arranged is
3!/(3-2)! = 3!/1! = 6 ways.
0! = 1
Problem 1: Find the number of words, with or without meaning, that can be
formed with the letters of the word ‘CHAIR’.
Solution:
Therefore, the number of words that can be formed with these 5 letters = 5! =
5*4*3*2*1 = 120.
Problem 2: Find the number of words, with or without meaning, that can be
formed with the letters of the word ‘INDIA’.
Solution:
When a letter occurs more than once in a word, we divide the factorial of the
number of all letters in the word by the number of occurrences of each letter.
Problem 3: Find the number of words, with or without meaning, that can be
formed with the letters of the word ‘SWIMMING?
Solution:
The word ‘SWIMMING contains 8 letters. Of which, I occurs twice and M occurs
twice.
Solution:
In order to find the number of permutations that can be formed where the two
vowels U and E come together.
In these cases, we group the letters that should come together and consider that
group as one letter.
So, the letters are S,P,R, (UE). Now the number of words are 4.
Hence, the total number of ways in which the letters of the ‘SUPER’ can be
arranged such that vowels are always together are 4! * 2! = 48 ways.
Problem 5: Find the number of different words that can be formed with the letters
of the word ‘BUTTER’ so that the vowels are always together.
Solution:
The letters U and E should always come together. So the letters are B, T, T, R,
(UE).
Number of ways in which the letters above can be arranged = 5!/2! = 60 (since the
letter ‘T’ is repeated twice).
Solution:
Writing in the following way makes it easier to solve these type of questions.
After 3 vowels take 3 places, no. of ways 4 consonants can take 4 places = 4P4 = 4!
= 24 ways.
Combinations
Definition
For example:
The different selections possible from the
alphabets A, B, C, taken 2 at a time, are AB,
BC and CA.
It does not matter whether we select A after
B or B after A. The order of selection is not
important in combinations.
To find the number of combinations possible
from a given group of items n, taken r at a
time, the formula, denoted by nCr is
n
Cr = n! / [r! * (n-r)!]
For example, verifying the above example,
the different selections possible from the
alphabets A, B, C, taken two at a time are
3
C2 = 3! / (2! * (3-2)!) = 3 possible selections
(i.e., AB, BC, CA)
Important Combination formulas
n
Cn = 1
n
C0 = 1
n
C1 = n
n
Cr = nC(n-r)
The number of selections possible with A, B,
C, taken all at a time is 3C3 = 1 (i.e. ABC)
Solved examples of Combination
Let us take a look at some examples to
understand how Combinations work:
Problem 1: In how many ways can a
committee of 1 man and 3 women can be
formed from a group of 3 men and 4
women?
Solution:
No. of ways 1 man can be selected from a
group of 3 men = 3C1 = 3! / 1!*(3-1)! = 3
ways.
No. of ways 3 women can be selected from a
group of 4 women = 4C3 = 4! / (3!*1!) = 4
ways.
Problem 2: Among a set of 5 black balls and
3 red balls, how many selections of 5 balls
can be made such that at least 3 of them are
black balls.
Solution:
Selecting at least 3 black balls from a set of
5 black balls in a total selection of 5 balls can
be
3 B and 2 R
4 B and 1 R and
5 B and 0 R balls.
Therefore, our solution expression looks like
this.
5
C3 * 3C2 + 5C4 * 3C1 + 5C5 * 3C0 = 46 ways .
Problem 3: How many 4 digit numbers that
are divisible by 10 can be formed from the
numbers 3, 5, 7, 8, 9, 0 such that no number
repeats?
Solution:
If a number is divisible by 10, its units place
should contain a 0.
___0
After 0 is placed in the units place, the tens
place can be filled with any of the other 5
digits.
Selecting one digit out of 5 digits can be
done in 5C1 = 5 ways.
After filling the tens place, we are left with 4
digits. Selecting 1 digit out of 4 digits can be
done in 4C1 = 4 ways.
After filling the hundreds place, the
thousands place can be filled in 3C1 = 3 ways.
Therefore, the total combinations possible =
5*4*3 = 60.