Skip to content

Mathematics · Ch 5 — Permutations and Combinations

Permutations When All the Objects Are Distinct

5.3.1

Permutations When All the Objects Are Distinct

The Fundamental Counting Problem

When we talk about permutations, we are asking: In how many ways can we arrange a given set of objects? The simplest case — and the one that builds the foundation for everything else — is when every object is different from every other object, and we never use the same object twice.

Suppose you have 5 distinct books on a shelf and you want to arrange 3 of them in a row. The first slot can be any of the 5 books. Once you pick one, the second slot can be any of the remaining 4. The third slot then has 3 choices. So the total number of arrangements is 5×4×3=605 \times 4 \times 3 = 60. This is the core idea: each choice reduces the pool by one.

The General Formula: nPr^nP_r

The textbook states this as Theorem 1: The number of permutations of nn different objects taken rr at a time, where 0<r≤n0 < r \le n and the objects do not repeat, is

n(n−1)(n−2)⋯(n−r+1)n(n-1)(n-2)\cdots(n-r+1)

and this expression is denoted by nPr^nP_r (read as "n P r").

nPr=n(n−1)(n−2)⋯(n−r+1),0<r≤n^nP_r = n(n-1)(n-2)\cdots(n-r+1), \quad 0 < r \le n

Why this product? The proof by filling vacant places

Imagine rr empty slots in a row, waiting to be filled with distinct objects chosen from a set of nn distinct objects.

  • First place: You can choose any of the nn objects. So there are nn ways.
  • Second place: One object is already used, so n−1n-1 objects remain. You have n−1n-1 ways.
  • Third place: Two objects are used, so n−2n-2 objects remain. You have n−2n-2 ways.
  • ...
  • rrth place: By the time you reach the rrth slot, you have already used r−1r-1 objects. So the number of objects left is n−(r−1)=n−r+1n - (r-1) = n - r + 1. You have n−r+1n - r + 1 ways.

By the multiplication principle (if one task can be done in mm ways and a second in nn ways, the two together can be done in m×nm \times n ways), the total number of ways to fill all rr places in succession is the product:

n×(n−1)×(n−2)×⋯×(n−r+1)n \times (n-1) \times (n-2) \times \cdots \times (n - r + 1)

This product has exactly rr factors. The last factor is n−r+1n - r + 1, not n−rn - r. Check: when r=1r=1, the product is just nn (which is n−1+1n - 1 + 1). When r=nr=n, the product runs from nn down to n−n+1=1n - n + 1 = 1, giving n!n!.

Watch out

A common mistake is to think the last factor is n−rn - r. It is n−r+1n - r + 1. For example, 5P3=5×4×3^5P_3 = 5 \times 4 \times 3 — the last factor is 5−3+1=35 - 3 + 1 = 3, not 22.

The Problem of Cumbersome Notation

The expression n(n−1)(n−2)⋯(n−r+1)n(n-1)(n-2)\cdots(n-r+1) is correct but unwieldy, especially when nn and rr are large. Writing it out factor by factor is tedious. We need a compact notation. This is where the factorial symbol n!n! comes in.

The symbol n!n! (read as "n factorial" or "factorial n") is defined for a non-negative integer nn as the product of all positive integers from 1 up to nn:

n!=1×2×3×⋯×nn! = 1 \times 2 \times 3 \times \cdots \times n

with the special convention that 0!=10! = 1 (this makes formulas work consistently later).

Using factorials, we can rewrite the permutation formula in a much shorter form. Notice that:

n!=n×(n−1)×(n−2)×⋯×2×1n! = n \times (n-1) \times (n-2) \times \cdots \times 2 \times 1

and

(n−r)!=(n−r)×(n−r−1)×⋯×2×1(n-r)! = (n-r) \times (n-r-1) \times \cdots \times 2 \times 1

If we divide n!n! by (n−r)!(n-r)!, we get:

n!(n−r)!=n×(n−1)×⋯×(n−r+1)×(n−r)×(n−r−1)×⋯×1(n−r)×(n−r−1)×⋯×1\frac{n!}{(n-r)!} = \frac{n \times (n-1) \times \cdots \times (n-r+1) \times (n-r) \times (n-r-1) \times \cdots \times 1}{(n-r) \times (n-r-1) \times \cdots \times 1}

All the factors from (n−r)(n-r) downward cancel, leaving exactly the product n(n−1)⋯(n−r+1)n(n-1)\cdots(n-r+1). Therefore:

nPr=n!(n−r)!,0≤r≤n^nP_r = \frac{n!}{(n-r)!}, \quad 0 \le r \le n

This is the compact, standard form. It works for r=0r=0 as well: nP0=n!n!=1^nP_0 = \frac{n!}{n!} = 1, which makes sense — there is exactly one way to arrange zero objects (do nothing).

Key Special Cases

CaseFormulaValueMeaning
r=1r = 1nP1^nP_1nnChoosing 1 object from nn: nn ways
r=nr = nnPn^nP_nn!n!Arranging all nn distinct objects: n!n! ways
r=0r = 0nP0^nP_011The empty arrangement
Important

The formula nPr=n!(n−r)!^nP_r = \frac{n!}{(n-r)!} is valid for 0≤r≤n0 \le r \le n. When r>nr > n, nPr^nP_r is defined as 0 (you cannot arrange more objects than you have).

A Quick Example to Cement the Idea

Problem: How many 3-letter words (with or without meaning) can be formed from the letters of the word "DELHI", without repeating any letter? …

Theorem 1

Theorem 1 — Permutations of Distinct Objects

Statement:

The number of permutations of nn different objects taken rr at a time, where 0<r≤n0 < r \leq n and the objects do not repeat, is

n(n−1)(n−2)⋯(n−r+1)n (n-1) (n-2) \cdots (n - r + 1)

This product is denoted by nPr^nP_r (or P(n,r)P(n, r)).

Important

The three conditions are non-negotiable:

  • All nn objects are distinct (no two are identical).
  • rr is between 11 and nn inclusive — you cannot take more objects than you have.
  • No repetition — once an object is used in a position, it cannot be used again.

Why this formula makes sense

Think of arranging rr objects out of nn as filling rr empty slots in a row. Each slot gets exactly one object, and no object can appear twice. The number of ways to fill these slots, one after another, is exactly the product above.

›Proof

Proof of Theorem 1

Consider rr vacant places arranged in a line:

______________⏟r places\underbrace{\_\_\_\_\_\_\_\_\_\_\_\_\_\_}_{r \text{ places}}

Step 1 — First place:

Any of the nn distinct objects can occupy the first place.

Number of ways = nn.

Step 2 — Second place:

One object has already been used. Only n−1n-1 objects remain.

Number of ways = n−1n-1.

Step 3 — Third place:

Two objects have been used. Only n−2n-2 objects remain.

Number of ways = n−2n-2.

Continuing this pattern:

For the kk-th place (1≤k≤r1 \leq k \leq r), exactly k−1k-1 objects have already been placed. So the number of choices for the kk-th place is

n−(k−1)=n−k+1n - (k-1) = n - k + 1

Step r — Last place:

When we reach the rr-th place, r−1r-1 objects have been used. The number of remaining objects is

n−(r−1)=n−r+1n - (r-1) = n - r + 1

Applying the multiplication principle:

The total number of ways to fill all rr places in succession is the product of the number of ways for each place:

n×(n−1)×(n−2)×⋯×(n−r+1)n \times (n-1) \times (n-2) \times \cdots \times (n - r + 1)

This is exactly nPr^nP_r.

The multiplication principle applies because the choice at each step is independent of the specific objects chosen earlier — only the count of remaining objects matters.

∎ …