![]() |
VOOZH | about |
Permutation and Combination are the most fundamental concepts in mathematics related to picking items from a group or set.
For example, in the diagram below, PQ and QP are different in permutation but the same in combination. Therefore, we have more permutations than combinations.
Permutation is used to find the number of ways to pick βrβ things out of βnβ different things in a specific order and replacement is not allowed.
It is represented as n Pr , where,
For example, let n = 3 (A, B and C) and r = 2 (All permutations of size 2).
π Permutation of Two elements out of A, B, and C
Then there are 3P2 such permutations, i.e. 6.
These six permutations are AB, AC, BA, BC, CA and CB.
Permutation is the way of arranging items where order is important. The formula is given as:
π Permutation FormulaFor example:
If there are three different numerals 1, 2 and 3 and to permute the numerals
Taking r = 2, it gives (1, 2), (1, 3), (2, 1), (2, 3), (3, 1) and (3, 2) - 6 ways
Here, (1, 2) and (2, 1) are distinct.
Putting the third left numeral to each cases we get
(1, 2, 3), (1, 3, 2), (2, 1, 3), (2, 3, 1), (3, 1, 2) and (3, 2, 1) - 6 ways
In general, n distinct things can be set taking r (r < n) at a time in n(n - 1)(n - 2)...(n - r - 1) ways. In fact, the first thing can be any of the n things.
Now, after choosing the first thing, the second thing will be any of the remaining n - 1 things. Likewise, the third thing can be any of the remaining n - 2 things. Alike, the rth thing can be any of the remaining n - (r - 1) things.
Hence, the entire number of permutations of n distinct things carrying r at a time is n(n - 1)(n - 2)...[n - (r + 1)], which is written as n Pr. Or, in other words,
It is the way of arranging given number of components, where order is not given importance. For example, if there are two components A and B, then there is only one way to select two things, i.e. AB and BA represents the same combination.
For example, let n = 3 (A, B and C) and r = 2 (All combinations of size 2). Then there are 3C2 such combinations, which is equal to 3. These three combinations are AB, AC and BC.
π what is combination
Here, the combination of any two letters out of three letters A, B and C is shown below, the order in which A and B are taken is not important as AB and BA represent the same combination.
Note: In the example of selecting 2 items among A and B, we can say that,
Combination Formula is used to choose βrβ components out of a total number of βnβ components and is given by:
Using the above formula for r and (n-r), we get the same result. Thus,
Combination, on the further hand, is a type of pack. Again, out of those three numbers 1, 2 and 3 if sets are created with two numbers, then the combinations are (1, 2), (1, 3) and (2, 3).
Here, (1, 2) and (2, 1) are identical, unlike permutations where they are distinct. This is written as 3C2. In general, the number of combinations of n distinct things taken r at a time is,
We can derive these Permutation and Combination formulas using the basic counting methods, as these formulas represent the same thing. Derivation of these formulas is as follows:
Permutation is selecting r distinct objects from n objects without replacement and where the order of selection is important. By the fundamental theorem of counting and the definition of permutation, we get
P (n, r) = n (n-1) (n-2) (n-3). . . . .(n-(r+1))
By multiplying and dividing above with (n-r)! = (n-r)(n-r-1)(n-r-2). . . . .3. 2. 1, we get
P (n, r) = [n.(nβ1).(nβ2)β¦.(nr+1)[(nβr)(nβrβ1)(n-r)!] / (n-r)!
β P (n, r) = n!/(nβr)!
Thus, the formula for P (n, r) is derived.
Combination is choosing r items out of n items when the order of selection is of no importance. Its formula is calculated as,
C(n, r) = Total Number of Permutations /Number of ways to arrange r different objects.
[Since by the fundamental theorem of counting, we know that number of ways to arrange r different objects in r ways = r!]C(n,r) = P (n, r)/ r!
β C(n,r) = n!/(nβr)!r!
Thus, the formula for Combination i.e., C(n, r) is derived.
Example 1: Find the number of permutations and combinations of n = 9 and r = 3.
Solution:
Given, n = 9, r = 3
Using the formula given above:
For Permutation:
nPr = (n!) / (n - r)!
β nPr = (9!) / (9 - 3)!
β nPr = 9! / 6! = (9 Γ 8 Γ 7 Γ 6! )/ 6!
β nPr = 504For Combination:
nCr = n!/r!(n β r)!
β nCr = 9!/3!(9 β 3)!
β nCr = 9!/3!(6)!
β nCr = 9 Γ 8 Γ 7 Γ 6!/3!(6)!β nCr = 84
Example 2: In how many ways can a committee consisting of 4 men and 2 women can be chosen from 6 men and 5 women?
Solution:
- Choose 4 men out of 6 men = 6C4 ways = 15 ways
- Choose 2 women out of 5 women = 5C2 ways = 10 ways
The committee can be chosen in 6C4 Γ 5C2 = 150 ways.
Example 3: In how many ways can 5 different books be arranged on a shelf?
Solution:
This is a permutation problem because the order of the books matters.
Using the permutation formula, we get:
5P5 = 5! / (5 - 5)! = 5! / 0! = 5 x 4 x 3 x 2 x 1 = 120Therefore, there are 120 ways to arrange 5 different books on a shelf.
Example 4: How many 3-letter words can be formed using the letters from the word "FABLE"?
Solution:
This is a permutation problem because the order of the letters matters.
Using the permutation formula, we get:
5P3 = 5! / (5 - 3)! = 5! / 2! = 5 x 4 x 3 = 60Therefore, there are 60 3-letter words that can be formed using the letters from the word "FABLE".
Example 5: A committee of 5 members is to be formed from a group of 10 people. In how many ways can this be done?
Solution:
This is a combination problem because the order of the members doesn't matter.
Using the combination formula, we get:
10C5 = 10! / (5! x (10 - 5)!) = 10! / (5! x 5!)
β10C5= (10 x 9 x 8 x 7 x 6) / (5 x 4 x 3 x 2 x 1) = 252Therefore, there are 252 ways to form a committee of 5 members from a group of 10 people.
Example 6: A pizza restaurant offers 4 different toppings for their pizzas. If a customer wants to order a pizza with exactly 2 toppings, in how many ways can this be done?
Solution:
This is a combination problem because the order of the toppings doesn't matter.
Using the combination formula, we get:
4C2 = 4! / (2! x (4 - 2)!) = 4! / (2! x 2!) = (4 x 3) / (2 x 1) = 6Therefore, there are 6 ways to order a pizza with exactly 2 toppings from 4 different toppings.
Example 7: How many considerable words can be created by using 2 letters from the termβLOVEβ?
Solution:
The term βLOVEβ has 4 distinct letters.
Therefore, required number of words = 4P2 = 4! / (4 β 2)!
Required number of words = 4! / 2! = 24 / 2
β Required number of words = 12
Example 8: Out of 5 consonants and 3 vowels, how many words of 3 consonants and 2 vowels can be formed?
Solution:
Number of ways of choosing 3 consonants from 5 = 5C3
Number of ways of choosing 2 vowels from 3 = 3C2
Number of ways of choosing 3 consonants and 2 vowels from 3 = 5C3 Γ 3C2β Required number = 10 Γ 3
= 30It means we can have 30 groups where each group contains a total of 5 letters (3 consonants and 2 vowels).
Number of ways of arranging 5 letters among themselves
= 5! = 5 Γ 4 Γ 3 Γ 2 Γ 1 = 120Hence, the required number of ways = 30 Γ 120
β Required number of ways = 3600
Example 9: How many different combinations do you get if you have 5 items and choose 4?
Solution:
Insert the given numbers into the combinations equation and solve. βnβ is the number of items that are in the set (5 in this example); βrβ is the number of items youβre choosing (4 in this example):
C(n, r) = n! / r! (n β r)!
β nCr = 5! / 4! (5 β 4)!
β nCr = (5 Γ 4 Γ 3 Γ 2 Γ 1) / (4 Γ 3 Γ 2 Γ 1 Γ 1)
β nCr = 120/24
β nCr = 5The solution is 5.
Example 10: Out of 6 consonants and 3 vowels, how many expressions of 2 consonants and 1 vowel can be created?
Solution:
Number of ways of selecting 2 consonants from 6 = 6C2
Number of ways of selecting 1 vowels from 3 = 3C1
Number of ways of selecting 3 consonants from 7 and 2 vowels from 4.
β Required ways = 6C2 Γ 3C1
β Required ways = 15 Γ 3
β Required ways= 45It means we can have 45 groups where each group contains a total of 3 letters (2 consonants and 1 vowels).
Number of ways of arranging 3 letters among themselves = 3! = 3 Γ 2 Γ 1
β Required ways to arrange three letters = 6Hence, the required number of ways = 45 Γ 6
β Required ways = 270
Question 1: How many ways can 5 books be arranged on a shelf?
Question 2: In how many ways can a committee of 3 be chosen from a group of 10 people?
Question 3: How many 4-digit PIN codes can be created using the digits 0-9 if repetition is allowed?
Question 4: A pizza shop offers 8 toppings. How many different 3-topping pizzas can be made?
Question 5: In how many ways can 6 people be seated at a round table?
- Practice Questions
- Tricks
- Quiz
- Difference