Permutations and Combinations

Last Updated : 9 Jul, 2026

Permutation and Combination are the most fundamental concepts in mathematics related to picking items from a group or set.

  • Permutation is the arrangement of items in which the order of selection matters.
  • Combination is the selection of items without considering their order.

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-an-Combination

Permutation

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,

  • r : how many components you have to choose.
  • n : total number of components present.

For example, let n = 3 (A, B and C) and r = 2 (All permutations of size 2).
Then there are 3P2 such permutations, i.e. 6.
These six permutations are AB, AC, BA, BC, CA and CB.

Permutation of Two elements out of A, B, and C

Formula

Permutation is the way of arranging items where order is important.

Permutation Formula

For 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. 

pnc


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, 

\bold{{}^nP_r = \frac{n!}{(n-r)!} }

Combination

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.

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.

what is combination

Note: In the example of selecting 2 items among A and B, we can say that,

  • AB and BA are two distinct items i.e., two distinct permutation.
  • AB and BA are the same i.e., same combination.

Formula

Combination Formula is used to choose ‘r’ components out of a total number of ‘n’ components and is given by:

Combination Formula
Combination Formula

Using the above formula for r and (n-r), we get the same result. Thus,

\bold{{}^nC_r = {}^nC_{(n-r)}}

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, 

\bold{{}^nC_r = \frac{n!}{r!\times(n-r)!} = \frac{{}^nP_r}{r!}}

Derivation of Permutation and Combination Formulas

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:

Derivation of Permutations Formula

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) = \frac{n(n-1)\cdots(n-r+1)(n-r)!}{(n-r)!}

⇒ P (n, r) = n!/(n−r)!

Thus, the formula for P (n, r) is derived.

Derivation of Combinations Formula

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 = 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.

➢Practice: Solved Examples

Comment

Explore