Factorials: The Foundation
Factorial: For a positive integer , the factorial is defined as:
By convention, .
Factorials arise naturally from counting. Suppose you want to arrange distinct objects in a row. For the first position you have choices, for the second you have , and so on , giving total arrangements.
How many ways can 5 books be arranged on a shelf?
There are arrangements.
Your GDC can compute factorials directly. On most Casio/TI models, find under the probability or math menu. Always verify by hand for small values to build intuition.
Permutations: Ordered Arrangements
Permutation: A permutation is an arrangement of objects in which order matters. The number of ways to arrange objects chosen from distinct objects is:
The logic: you fill positions one at a time. The first position has choices, the second has , …, the -th has . Multiplying these and rewriting using factorials gives the formula above.
You have 8 plushies and need to arrange 3 of them on a shelf. How many arrangements are possible?
Order matters (the plushie in position 1 is distinct from position 2), so we use permutations:
There are 336 possible shelf arrangements.
There are several equivalent notations for permutations: , , , , all mean exactly the same thing. The IB formula booklet uses .
Don't confuse permutations with factorials. arranges all objects; arranges only of them. In fact, .