1.3 Basics of Combination
Combination relates to the selection of elements only. The order of arrangement does not matter.
The number of ways in which r elements can be selected from n distinct elements is nCr = r!(n−r)!n!
The following example explains the logic behind this formula.
Example 3
In how many ways can 2 students be selected from a group of 4 students?
Solution
This is similar to Example 1. However, the order in which the students are selected does not matter here.
Let the 4 students be A, B, C and D.
Number of ways 4 students can be arranged =4!=4×3×2×1=24
Below are the 24 different ways in which 4 students can be arranged.
| A B C D |
B A C D |
C A B D |
D A B C |
| A B D C |
B A D C |
C A D B |
D A C B |
| A C B D |
B C A D |
C B A D |
D B A C |
| A C D B |
B C D A |
C B D A |
D B C A |
| A D B C |
B D A C |
C D A B |
D C A B |
| A D C B |
B D C A |
C D B A |
D C B A |
Like in the case of permutation, the arrangement of unselected students (
3rd and 4th in each arrangement) does not matter. These 2 unselected students can be arranged in 2! ways.
∴ Number of ways 4 students can be arranged in 2 places =2!4!=224=12
| A B |
B A |
C A |
D A |
| A C |
B C |
C B |
D B |
| A D |
B D |
C D |
D C |
However, in case of combinations, the arrangement of selected students (
1st and 2nd in each arrangement) does not matter. For instance, A B and B A are the same. The order in which they are selected does not make a difference. These 2 selected elements can be arranged in 2! ways.
∴ Number of ways 2 students can be selected from 4=2!12=6
Alternatively (Recommended Method)
If there are
n elements, then number of ways they can be arranged =n!
From these n elements, if r elements need to be selected, then there are (n−r) elements that are not selected. The arrangement of these selected elements and the unselected elements do not matter in n!. The selected elements and unselected elements can be arranged in r! and (n–r)! ways respectively.
∴ nCr= r!nPr=r!(n−r)!n!
In this question, 2 students are to be selected from 4 students.
Number of ways = 4C2=2!(4−2)!4!=2×224=6
Answer: 6
So, the
nCr formula is the number of arrangements of n elements, i.e. n!, divided by the number of arrangements of r selected elements, i.e. r!, and the number of arrangements of (n−r) unselected elements, i.e. (n−r)!.
Example 4
In how many ways can 5 students be selected from a group of 8 students?
Solution
Total number of students = n=8
Number of students to be selected =r=5
Total number of combinations/selections = nCr= 8C5=5!(8−5)!8!=5!×3!8!=3!8×7×6=56
Answer: 56