4A

Factorial notation

The definition of n!, why 0! = 1, unrolling factorials, and simplifying and cancelling expressions with factorials.

How many ways can six people line up for a photo? Any of the $6$ can stand first, then any of the remaining $5$ second, and so on: $6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720$. Products like this turn up in almost every counting question, so they get their own notation.

What n! means

n factorial
$$n! = n \times (n - 1) \times (n - 2) \times \cdots \times 2 \times 1, \qquad 0! = 1$$

A neater way to say the same thing is that each factorial is built from the one before:

So $1! = 1$, $2! = 2$, $3! = 6$, $4! = 24$, $5! = 120$, $6! = 720$, $7! = 5040$. They grow very fast: $10!$ is already over $3.6$ million.

Unrolling and cancelling

The recursive definition can be used again and again, which we call unrolling: $9! = 9 \times 8! = 9 \times 8 \times 7! = 9 \times 8 \times 7 \times 6!$. To simplify a fraction, unroll the bigger factorial until the smaller one appears, then cancel.

Example 1●

Evaluate $\dfrac{9!}{6!}$.

$\dfrac{9 \times 8 \times 7 \times 6!}{6!}$
Unroll 9! until 6! appears.
$= 9 \times 8 \times 7 = 504$
Cancel the 6!.
Example 2●●

Simplify $\dfrac{(n + 1)!}{(n - 1)!}$.

$\dfrac{(n + 1)\,n\,(n - 1)!}{(n - 1)!}$
(n + 1)! = (n + 1) × n × (n − 1)!. Unroll twice, until (n − 1)! appears.
$= n(n + 1)$

Adding factorial fractions

Use the larger factorial as the common denominator, because the smaller one divides into it.

Example 3●●

Simplify $\dfrac{1}{6!} - \dfrac{1}{7!}$.

$\dfrac{7}{7!} - \dfrac{1}{7!}$
7! = 7 × 6!, so multiply the first fraction top and bottom by 7.
$= \dfrac{6}{7!} = \dfrac{6}{5040} = \dfrac{1}{840}$

Equations with factorials

Cancel first, then solve the ordinary equation that's left. Remember that $n$ must be a whole number.

Example 4●●

Solve $\dfrac{n!}{(n - 2)!} = 42$.

$n(n - 1) = 42$
Unroll n! twice and cancel.
$n = 7$
Two consecutive whole numbers multiplying to 42: 7 × 6. (The quadratic n² − n − 42 = 0 also gives n = −6, which is not allowed.)

Your turn

How many zeroes are at the end of $30!$?

Show the working

Each end zero comes from a factor $10 = 2 \times 5$. There are far more 2s than 5s, so count the 5s. The multiples of $5$ up to $30$ are $5, 10, 15, 20, 25, 30$, and $25 = 5^2$ gives an extra one. That is $7$ factors of $5$, so $30!$ ends in $7$ zeroes.

Flashcards
$0!$
$1$
Recursive definition of $n!$
$n! = n \times (n - 1)!$
$dfrac{n!}{(n - 2)!}$
$n(n - 1)$
Practice
  1. Evaluate $6!$.

  2. Evaluate $0!$.

  3. Evaluate $\dfrac{9!}{6!}$.

  4. $\dfrac{8!}{4!}$ equals:

  5. Evaluate $5! + 4!$.

  6. $\dfrac{(n + 1)!}{(n - 1)!}$ simplifies to:

  7. Evaluate $\dfrac{10!}{8!\,2!}$.

  8. $\dfrac{1}{6!} - \dfrac{1}{7!} = \dfrac{1}{k}$. Find $k$.

  9. Exam style: solve $\dfrac{(n + 1)!}{(n - 1)!} = 56$.

  10. Exam style: how many zeroes are at the end of $100!$?

Formula sheet