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
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.
Evaluate $\dfrac{9!}{6!}$.
Simplify $\dfrac{(n + 1)!}{(n - 1)!}$.
Adding factorial fractions
Use the larger factorial as the common denominator, because the smaller one divides into it.
Simplify $\dfrac{1}{6!} - \dfrac{1}{7!}$.
Equations with factorials
Cancel first, then solve the ordinary equation that's left. Remember that $n$ must be a whole number.
Solve $\dfrac{n!}{(n - 2)!} = 42$.
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.
Evaluate $6!$.
$6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720$.
Evaluate $0!$.
By definition $0! = 1$. It fits the rule $1! = 1 \times 0!$.
Evaluate $\dfrac{9!}{6!}$.
$\dfrac{9 \times 8 \times 7 \times 6!}{6!} = 504$.
$\dfrac{8!}{4!}$ equals:
$\dfrac{8 \times 7 \times 6 \times 5 \times 4!}{4!} = 8 \times 7 \times 6 \times 5 = 1680$.
Evaluate $5! + 4!$.
$120 + 24 = 144$. (Or $4!(5 + 1) = 24 \times 6 = 144$.)
$\dfrac{(n + 1)!}{(n - 1)!}$ simplifies to:
$(n + 1)! = (n + 1)\,n\,(n - 1)!$, and the $(n - 1)!$ cancels.
Evaluate $\dfrac{10!}{8!\,2!}$.
$\dfrac{10 \times 9 \times 8!}{8! \times 2} = \dfrac{90}{2} = 45$.
$\dfrac{1}{6!} - \dfrac{1}{7!} = \dfrac{1}{k}$. Find $k$.
$\dfrac{7}{7!} - \dfrac{1}{7!} = \dfrac{6}{7!} = \dfrac{6}{5040} = \dfrac{1}{840}$.
Exam style: solve $\dfrac{(n + 1)!}{(n - 1)!} = 56$.
The left side is $(n + 1)n$. Solve $n^2 + n - 56 = 0$: $(n + 8)(n - 7) = 0$. Since $n$ is a whole number, $n = 7$.
Exam style: how many zeroes are at the end of $100!$?
Count factors of $5$. There are $20$ multiples of $5$ up to $100$, and $4$ multiples of $25$ (which give an extra $5$ each). That is $24$ factors of $5$, and there are plenty of 2s, so $24$ zeroes.
Coaching Centre