Skip to content

Mathematics · Ch 6 — Permutations and Combinations

Permutations — Definition and Formula Derivation

3

Permutations — Definition and Formula Derivation

A permutation is an arrangement of a given number of objects taken from a larger collection, where the order in which the objects are placed matters — swapping two objects' positions produces a different permutation, even though the same objects were chosen. This is the key feature that will later distinguish a permutation from a combination (Section 5), where order is irrelevant.

The number of permutations of rr objects chosen from nn distinct objects (with 0≤r≤n0 \le r \le n, no object repeated) is denoted nPr^{n}P_{r} (also written P(n,r)P(n, r)).

Deriving the product form using the Fundamental Principle of Counting

Imagine filling rr positions in a row, one at a time, using distinct objects drawn from a pool of nn:

  • The 1st position can be filled in nn ways (any of the nn objects).
  • Once that object is placed, the 2nd position can be filled in n−1n - 1 ways (one object has been used up).
  • The 3rd position can be filled in n−2n - 2 ways, and so on.
  • The rr-th position can be filled in n−(r−1)=n−r+1n - (r-1) = n - r + 1 ways, since r−1r - 1 objects have already been placed.

By the Fundamental Principle of Counting (Section 1), applied rr times in succession, the total number of ways to fill all rr positions is the product of these rr decreasing factors:

nPr=n(n−1)(n−2)⋯(n−r+1)(r factors).^{n}P_{r} = n(n-1)(n-2)\cdots(n-r+1) \quad (r \text{ factors}).

Converting the product form to factorial form

This product is correct but inconvenient to manipulate. To write it compactly using factorials, multiply and divide by the product of all the remaining integers from (n−r)(n-r) down to 11 — that is, by (n−r)!(n-r)!:

nPr=n(n−1)(n−2)⋯(n−r+1)×(n−r)(n−r−1)⋯2⋅1(n−r)(n−r−1)⋯2⋅1.^{n}P_{r} = \frac{n(n-1)(n-2)\cdots(n-r+1) \times (n-r)(n-r-1)\cdots 2 \cdot 1}{(n-r)(n-r-1)\cdots 2 \cdot 1}.

The numerator is now the product of every integer from nn down to 11, i.e. n!n!, and the denominator is (n−r)!(n-r)!. Hence

nPr=n!(n−r)!,0≤r≤n.^{n}P_{r} = \frac{n!}{(n-r)!}, \qquad 0 \le r \le n.

Checking the boundary cases …