Factorial notation: definition, the convention 0! = 1, the recursive rule, and simplifying factorial fractions
“Define and evaluate factorials, use the recursive relation n! = n(n-1)!, and simplify factorial expressions and fractions by unrolling and cancelling”
The factorial counts the arrangements of distinct objects in a row, with the convention . The recursive rule lets you unroll a factorial one factor at a time and cancel: and . To add factorial fractions, make the larger factorial the common denominator. The number of trailing zeroes of is the count of factors of , found by the floor-sum .
Jump to a section
What this dot point is asking
Factorials are the arithmetic engine of the whole combinatorics topic, so Extension 1 starts you here, before permutations and combinations. NESA wants three things from this dot point. First, you should know what the symbol means and be able to evaluate it, including the special convention . Second, you should understand the recursive rule , because it is the rule that makes every later manipulation work. Third, and most often examined, you should be fluent at simplifying expressions and fractions built from factorials by "unrolling" and cancelling, rather than by computing two enormous numbers and dividing. The whole point of the notation is to let you cancel before you multiply.
The answer
Where factorials come from: arranging objects in a row
Almost every factorial you meet in this course answers the same kind of question: in how many ways can a set of distinct objects be arranged in a row? Suppose five people line up to form a queue at a bus stop. Fill the queue one position at a time, and count the choices at each stage.
- The person at the front can be any of the people: choices.
- One person is now placed, so the second position can be filled by any of the remaining : choices.
- Then remain for the third position, then for the fourth, and finally just person is left for the last position.
Because the choices are made one after another and each is free of the others, you multiply the counts together (this is the multiplication principle, formalised on the next page). The number of possible queues is
That descending product, , is written and read "five factorial". The same reasoning with people in a row gives arrangements, which is exactly . So whenever a question asks for the number of ways to arrange distinct objects in a line, the answer is , and that is why the notation earns its own section at the start of the topic.
The definition of n factorial
For each whole number , the number is the product of every whole number from down to :
The values grow extremely fast. It is worth knowing the first several by heart, because they recur constantly:
Beyond these, , and . The domain of the factorial is the whole numbers only: there is no factorial of a negative number or of a fraction, which is why a calculator returns an error for, say, or .
For each whole number ,
and by convention . The factorial is defined only on the whole numbers , and counts the number of ways to arrange distinct objects in a row.
Why 0! = 1
The convention looks arbitrary the first time you see it, and it cannot come from the descending-product rule, because there is nothing to multiply. There are two ways to see that it is the only sensible choice, and you should be able to give at least one.
The counting argument is the cleaner one. counts the arrangements of objects in a row, so should count the arrangements of objects, that is, the arrangements of the empty set. There is exactly one such arrangement: the empty row, where nothing is placed. So , not .
The pattern argument backs this up. Going down the table, each factorial is the next one divided by the top number: , , , . Continuing the pattern, . Defining any other way would break every formula that uses factorials, including the permutation and combination formulas later in the topic, so the convention is forced on us by consistency.
The recursive rule: n! = n(n-1)!
The single most useful fact about factorials is that each one is the next number down times the factorial below it:
This is true because , and the bracket is exactly . For example and . Read forwards, the rule builds factorials up one step at a time, with as the starting value. Read backwards, it lets you peel a factor off the front of a factorial, and that is the key to all the simplifying that follows.
The recursive (step-down) rule is the engine of this topic:
Applied repeatedly it unrolls a factorial one factor at a time, for example
and you stop unrolling exactly when a matching factorial appears that you can cancel. Cancelling before multiplying is the whole skill: .
Unrolling to simplify factorial fractions
Almost every exam manipulation of factorials is a fraction in which most of the product cancels. The method is always the same: take the larger factorial and unroll it, one factor at a time, until you reach the smaller factorial, which then cancels top and bottom. You never need to evaluate either factorial in full.
Take . The bottom is , so unroll the top down to :
Notice you wrote out only the three factors above and stopped. The number of leftover factors is the gap between the two starting numbers: from down to (but not including) is exactly factors, .
The same move works with pronumerals, which is where Extension 1 most often takes it. To simplify , unroll the top from down to :
Again the count of leftover factors is the gap between the top index and the bottom index: , so exactly factors survive, , and . The general pattern, which you will meet again as the permutation formula, is
Combining factorial fractions over a common factorial
When two factorial fractions are added or subtracted, do not find some huge common denominator by multiplying the factorials together. Instead use the recursive rule to write the smaller factorial in terms of the larger one, so the larger factorial is already the common denominator.
For a numeric example, take . Since , the common denominator is , and . Therefore
The algebraic version is the more common exam target. To combine , note , so is the common denominator and . Hence
The numerator collapses to a short expression precisely because the recursive rule did the heavy lifting; reaching for the product as a denominator would have made the algebra far messier for no benefit.
Trailing zeroes of a factorial
A neat application that NESA likes, because it tests understanding rather than button-pushing, is counting how many zeroes a factorial ends in. You cannot do it on a calculator beyond about , since the display runs out of digits, but a short argument settles it exactly.
Every trailing zero comes from a factor of , and . In the product there are always far more factors of than factors of (every second number is even, but only every fifth is a multiple of ). So each trailing zero is governed by a factor of , and the number of trailing zeroes equals the number of factors of in the product.
To count the factors of in , count the multiples of up to , then add the multiples of (each of which contributes a second ), then multiples of , and so on:
For instance has trailing zeroes, and has . The square term matters: slips in an extra factor of that the first count alone would miss.
How exam questions ask about factorials
The wording is predictable, and each phrasing maps to one of the moves above.
- "Evaluate (or with a in the denominator) without a calculator." Unroll the larger factorial down to the smaller one and cancel; never compute the full factorials. If a factorial like is left over, evaluate just that small piece.
- "Simplify " or "write as a product of factors". Unroll the top to the bottom factorial; the number of surviving factors is the gap between the two indices.
- "Write as a single fraction." Use so the larger factorial is the common denominator; rewrite the smaller-denominator fraction and combine.
- "How many zeroes does end in?" Count the factors of with the floor-sum, remembering the extra from multiples of .
- "Solve " or "". Unroll to turn the left side into a short product, form a quadratic, solve, and reject any root that is not a whole number .
- "Show that , hence sum a series." Take out the common factor on the right to prove the identity, then use it to telescope the sum.
Evaluate a numeric factorial fraction by cancelling
Evaluate without a calculator.
Unroll the numerator down to the denominator. The denominator is , so peel factors off until appears, using the recursive rule three times:
Cancel the common factorial. Dividing by removes the entire tail at once:
Multiply the few surviving factors. Only the three factors above are left:
Final answer. . Computing and and dividing gives the same , but cancelling first avoids the large numbers entirely.
Simplify an algebraic factorial fraction
Simplify , expressing the answer as a product of factors.
Find the gap between the indices. The top index is and the bottom index is , so after cancelling there will be factors left.
Unroll the numerator down to . Step the factorial down three times:
Cancel and read off the answer. The cancels top and bottom:
Check with a value. At the left side is , and the right side is : they agree, confirming the three surviving factors are correct.
Combine factorial fractions over a common factorial
Write as a single fraction.
Express the smaller factorial in terms of the larger. Using the recursive rule twice, , so is the common denominator.
Rewrite the first fraction over . Multiply top and bottom of by :
Add over the common denominator. Both fractions now share :
Final answer. (and since , this equals if a single number is wanted). Multiplying the denominators together would have given the far clumsier for no gain.
Count the trailing zeroes of 25!
Without any device, find how many zeroes ends in.
- Reduce trailing zeroes to factors of
- A trailing zero needs a factor of . There are many more factors of than of in , so the number of trailing zeroes equals the number of factors of .
- Count multiples of up to
- They are , which is factors of .
- Add the extra factor from
- The number supplies a second factor of , counted by . There is no multiple of below , so the counting stops.
- Conclusion
- The total number of factors of is , so ends in exactly zeroes.
Solve a factorial equation
Solve for the whole number .
Unroll the numerator down to . Step down twice and cancel:
Form a quadratic. The equation becomes , that is
- Factor and solve
- Factoring gives , so or .
- Reject the invalid root
- Factorials require a whole number , so is rejected and .
- Check
- With , , as required. So .
Thinking . The empty product is , and there is exactly one arrangement of no objects, so . Setting it to breaks the permutation and combination formulas later.
Multiplying out the factorials before cancelling. Writing is slow and error-prone. Unroll the top to the bottom factorial and cancel first, leaving only a handful of factors.
Treating as or as . The recursive rule is , not , and certainly not . The whole factorial below comes along, not just one extra factor.
Saying or . Factorials do not distribute over addition or multiplication. For example , but .
Forgetting the extra from when counting trailing zeroes. A multiple of contributes two factors of , so the floor-sum must include , then , and so on, not just .
Keeping a negative or fractional solution to a factorial equation. The factorial is defined only on whole numbers , so reject any root that is negative or non-integer after solving.
Markers reward seeing the cancelling, not just the final number. Lock in the marks like this:
- Always unroll the larger factorial down to the smaller one and show the cancellation. Write the surviving factors explicitly, for example , before evaluating. This earns the method mark even if the final arithmetic slips.
- Count the surviving factors from the gap in the indices. For exactly factors remain; this is a fast check that you unrolled the right number of steps.
- For sums of factorial fractions, make the larger factorial the common denominator. Use rather than multiplying the denominators; the numerator then simplifies cleanly.
- When solving a factorial equation, simplify to a polynomial first, then reject non-whole-number roots. State explicitly that a factorial needs whole, so the rejected root is justified, not just dropped.
- For trailing zeroes, write the floor-sum of powers of and stop when the term hits . Show the term so the marker sees you accounted for the squared factor.
Practice questions
Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.
foundation2 marksEvaluate (i) and (ii) without a calculator, showing the cancelling in part (ii).Show worked solution →
Evaluate by multiplying down to . By the definition,
Unroll the top of until appears. Write as so the cancels:
Answer. (i) ; (ii) .
foundation2 marksSimplify , writing the answer as a product of factors.Show worked solution →
Unroll the larger factorial down to the smaller one. The top is and the bottom is , so unroll three steps until appears:
Cancel the common factorial. Dividing by ,
Check with a value. At the left side is , and the right side is : they agree.
Answer. .
core3 marksWrite as a single fraction in simplest form.Show worked solution →
Find the common denominator. The denominators are and . Because , the larger one is the common denominator.
Rewrite the first fraction over . Multiply top and bottom of by :
Subtract over the common denominator. Now both fractions share :
Check with a value. At the left side is , and : they agree.
Answer. .
core3 marksHow many final zeroes are there when is written out in full? Justify your count.Show worked solution →
- Reduce the question to counting factors of
- A final zero comes from a factor of . In a factorial the factors of far outnumber the factors of , so the number of final zeroes equals the number of factors of in the product .
- Count multiples of up to
- These are , giving factors of so far.
- Add the extra factor from multiples of
- The number carries a second factor of that has not yet been counted, and . There are no multiples of below , so the count stops.
- Total
- The number of factors of is , so ends in zeroes.
exam3 marksSolve for the whole number .Show worked solution →
Unroll the numerator down to . Write , so the cancels:
Form a quadratic equation. The equation becomes . Expanding,
- Factor and solve
- Factoring, , so or .
- Reject the invalid root
- A factorial is only defined for whole numbers , so is rejected, leaving .
- Check
- With , , as required. So .
exam4 marks(a) Show that for every whole number . (b) Hence evaluate .Show worked solution →
Start from the right side of part (a). Take out the common factor from , using :
This proves .
Apply the identity to each term in part (b). Replacing each by turns the sum into a telescoping chain:
Cancel the middle terms. The and each appear once with a plus and once with a minus, so they cancel, leaving
Check directly. Adding term by term, , which agrees.
Answer. .