Mathematics · Ch 5 — Permutations and Combinations
Derivation of the Formula for nPr
Derivation of the Formula for nPr
From the Product Form to the Factorial Form
The earlier formula for the number of permutations of different objects taken at a time was a product of decreasing factors:
This form is correct but not compact. To turn it into a neat factorial expression, multiply and divide by the product of all the integers from down to .
Why multiply by that particular string?
The product is exactly . Multiplying numerator and denominator by it does not change the value — it simply fills in the missing factors so that the numerator becomes a complete factorial.
Write the numerator as:
The whole numerator is now the product of all integers from down to , which is . The denominator is . Therefore:
This holds for .
The Special Case
When , the formula gives:
Since by definition, we get , which matches the number of ways to arrange all objects.
Extending the Formula to
What about arranging no objects at all? There is exactly one way to do nothing — leave all objects untouched. So should equal .
Check the factorial formula for :
The formula works perfectly for as well. Hence the complete, universally valid statement is:
When Repetition Is Allowed …
Theorem 2 (Permutations with Repetition Allowed)
The number of permutations of different objects taken at a time, where repetition of any object is allowed, is .
Hypotheses:
- The objects are all distinct from one another.
- We are selecting objects in order (a permutation, not a combination).
- After each selection, the chosen object is returned to the pool, so it can be chosen again in the next position.
- can be any non‑negative integer; there is no restriction because repetition makes it possible to use the same object more than once.
When is this used?
Whenever you are counting ordered arrangements (like passwords, PIN codes, or words) where the same item can appear multiple times — for example, the number of 3‑letter words you can form from the letters of the word NUMBER if repetition is allowed is .
›Proof
Proof.
We have different objects, and we need to fill positions in a sequence.
Step 1 – First position.
There are choices for the object that goes in the first place.
Step 2 – Second position.
Because repetition is allowed, the object we used in the first position is still available. So for the second position we again have choices.
Step 3 – Third position.
The same reasoning applies: the object used in the first two positions is not removed from the pool, so we still have choices for the third position.
Continuing in this way for all positions, each position independently offers possibilities.
Step 4 – Applying the multiplication principle.
The total number of ways to fill all positions is the product of the number of choices for each position:
This completes the proof. ∎ …