Open In App

Combinations Formula with Examples

Last Updated : 13 Dec, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

Combinations are way of selecting items from a collection of items. Different groups that can be formed by choosing r things from a given set of n different things, ignoring their order of arrangement, are called combinations of n things taken r at a time.

The number of all such combinations is calculated by the combinations formula: nCr or C(n, r).

Combination Formula

Example: All the combinations of four different objects a, b, c, d taken two at a time are ab, ac, ad, bc, bd, cd. Here we have not included ba, ca, da, cb, db, and dc as the order does not alter the combination. Thus there are 6 combinations of 4 different objects taken 2 at a time i.e., 4C2 = 6

Similarly, all the combinations of four different objects a, b, c and d taken three at a time are abc, bcd, cda, dab.

Thus there are four combinations of 4 different objects taken 3 at a time i.e., 4C3 = 4

Corresponding to each of these combinations, we have 3! permutations, as three objects in each combination can be arranged among themselves in 3! ways. Hence, the number of permutations 

= 4C3 × 3!

4P3 = 4C3 × 3!

4!/(4-3)! 3! = 4C3

Thus we can conclude that the total number of permutations of n different things taken r at a time i.e., nPr is equal to nCr × r!

Hence,

nPr = nCr × r! , 0 ≤ r ≤ n

This implies,

nCr =   n! ⁄ r! (n-r)!

Formula for Combinations

The combinations formula provides a way to calculate the number of combinations of n different things taken r at a time is given by

nCr = n! ⁄  r! (n-r)! ,0 < r ≤n

where,

  • n is the size of the set from which elements are permuted
  • r is the size of each permutation
  • ! is factorial operator

Relation between Combinations Formula and Permutations Formula

The main difference between combination and permutation is only that in permutation we also consider the order of selecting the things but in combination order of selection does not matter. And therefore, permutations are always greater than the combination.

Theorem: nPr = nCr × r! ( Permutations formula = Combinations formula × r! )

Proof:

Consider,

RHS = nCr × r!
⇒ RHS = [ n!/ r!(n-r)!]r!
⇒ RHS = n!/(n-r)! = nPr

Hence, the theorem is verified.

Read More about Difference between Permutation and Combination.

Key Points to Remember for Combination Formula

  • We have nCr = n!/r!(n-r)! In particular, if r = n, then nCn = n! /n! = 1
  • nC0 = n! /0! (n-0)! = n!/0!n! = 1/0! = 1. Thus the formula nCr = n!/r!(n-r)! is applicable for r = 0 also.
    • Hence, nCr = n!/r!(n-r)! , 0 ≤ r ≤ n
  • nCn-r = n!/ (n-r)![n-(n-r)]! = n!/ (n-r)! r! = nCr.
    • Hence, nCr = nCn-r i.e., selecting r objects is same as rejecting (n-r) objects

Read More,

Sample Questions

Question 1: From a class of 30 students, 4 are to be chosen for the competition. In how many ways can they be chosen?

Solution:

Total students = n = 30
Number of students to be chosen = r = 4

Hence, Total number of ways 4 students out of 30 can be chosen is 30C4

30C4 = 30! / (4!(30-4)!)
⇒ 30C4 = 30! / (4!26!)
⇒ 30C4 = 27,405 ways

Question 2: Nitin has 5 friends. In how many ways can he invite one or more of them to his party.

Solution:

Nitin may invite (i) one of them (ii) two of them (iii) three of them (iv) four of them (v) all of them 

with combinations formula we can calculate that this can be done in 5C1, 5C2, 5C3, 5C4, 5C5 ways

Therefore, The total number of ways = 5C1 5C2 + 5C3 + 5C4 +  5C5
= 5!/ (1! 4!) + 5!/ (2! 3!) + 5!/ (4! 1!) + 5!/ (5! 0!)
=  5 + 10 + 10 + 5 +1 = 31 ways

Question 3: Find the number of diagonals that can be drawn by joining the angular points of an octagon.

Solution:

A diagonal is made by joining any two angular points. 
There are 8 vertices or angular points in an octagon

Therefore, by using combinations formula the Number of straight lines formed = 8C2
8C2 = 8!/ (2! 6!)
8C2 = 8 ×7 / (2 × 1)
8C2 = 56/ 2 = 28

Which also includes the 8 sides of the octagon.

Therefore, Number of diagonal = 28 - sides of octagon = 28 - 8 = 20 diagonals

Question 4: Find the number of ways of selecting 9 balls from 6 red balls, 5 white balls, and 7 blue balls, if each selection consists of 3 balls of each color.

Solution:

Number of Red balls = 6
Number of white balls = 5
Number of Blue balls = 7

Thus, Total number of balls to be selected = 9

Hence, the required number of ways of selecting 9 balls from 6 red, 5 white, 7 blue balls consisting of 3 balls of each color can be calculated by using combinations formula = 6C3  × 5C3 × 7C3
= 6!/ (3! 3!) × 5!/ (3! 2!) × 7!/ (3! 4!)
= 20 × 10 × 35 
= 7000 ways


Next Article

Similar Reads