Skip to main content

Factorial notation: definition, the convention 0! = 1, the recursive rule, and simplifying factorial fractions

Syllabus dot point

“Define and evaluate factorials, use the recursive relation n! = n(n-1)!, and simplify factorial expressions and fractions by unrolling and cancelling”

HSCMaths Extension 1Combinatorics (ME-A1)12 min read

Quick answer

The factorial n!=n(n−1)(n−2)⋯2×1n! = n(n-1)(n-2)\cdots 2 \times 1 counts the arrangements of nn distinct objects in a row, with the convention 0!=10! = 1. The recursive rule n!=n(n−1)!n! = n(n-1)! lets you unroll a factorial one factor at a time and cancel: 10!7!=10×9×8=720\dfrac{10!}{7!} = 10 \times 9 \times 8 = 720 and (n+2)!(n−1)!=(n+2)(n+1)n\dfrac{(n+2)!}{(n-1)!} = (n+2)(n+1)n. To add factorial fractions, make the larger factorial the common denominator. The number of trailing zeroes of n!n! is the count of factors of 55, found by the floor-sum ⌊n/5⌋+⌊n/25⌋+⋯\left\lfloor n/5 \right\rfloor + \left\lfloor n/25 \right\rfloor + \cdots.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Practice questions

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 n!n! means and be able to evaluate it, including the special convention 0!=10! = 1. Second, you should understand the recursive rule n!=n(n−1)!n! = n(n-1)!, 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 55 people: 55 choices.
  • One person is now placed, so the second position can be filled by any of the remaining 44: 44 choices.
  • Then 33 remain for the third position, then 22 for the fourth, and finally just 11 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

5×4×3×2×1=120.5 \times 4 \times 3 \times 2 \times 1 = 120.

Five people forming a queue: the choices at each positionFive boxes for the five positions in a queue. The first position can be filled in five ways, the second in four ways once one person is placed, then three, two and finally one. Multiplying the choices, five times four times three times two times one, gives one hundred and twenty, which is five factorial.How many ways can 5 people line up?choices for each position in the queue5choices1st place×4choices2nd place×3choices3rd place×2choices4th place×1choices5th place5 × 4 × 3 × 2 × 1 = 120 = 5!

That descending product, 5×4×3×2×15 \times 4 \times 3 \times 2 \times 1, is written 5!5! and read "five factorial". The same reasoning with nn people in a row gives n×(n−1)×⋯×2×1n \times (n-1) \times \dots \times 2 \times 1 arrangements, which is exactly n!n!. So whenever a question asks for the number of ways to arrange nn distinct objects in a line, the answer is n!n!, 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 n≥1n \ge 1, the number n!n! is the product of every whole number from nn down to 11:

n!=n×(n−1)×(n−2)×⋯×3×2×1.n! = n \times (n-1) \times (n-2) \times \dots \times 3 \times 2 \times 1.

The values grow extremely fast. It is worth knowing the first several by heart, because they recur constantly:

1!=1,2!=2,3!=6,4!=24,5!=120,6!=720,7!=5040.1! = 1, \quad 2! = 2, \quad 3! = 6, \quad 4! = 24, \quad 5! = 120, \quad 6! = 720, \quad 7! = 5040.

Beyond these, 8!=40 3208! = 40\,320, 9!=362 8809! = 362\,880 and 10!=3 628 80010! = 3\,628\,800. The domain of the factorial is the whole numbers 0,1,2,…0, 1, 2, \dots only: there is no factorial of a negative number or of a fraction, which is why a calculator returns an error for, say, (−3)!(-3)! or (2.5)!(2.5)!.

The factorial

For each whole number n≥1n \ge 1,

n!=n×(n−1)×(n−2)×⋯×2×1,n! = n \times (n-1) \times (n-2) \times \dots \times 2 \times 1,

and by convention 0!=10! = 1. The factorial is defined only on the whole numbers 0,1,2,…0, 1, 2, \dots, and n!n! counts the number of ways to arrange nn distinct objects in a row.

Why 0! = 1

The convention 0!=10! = 1 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. n!n! counts the arrangements of nn objects in a row, so 0!0! should count the arrangements of 00 objects, that is, the arrangements of the empty set. There is exactly one such arrangement: the empty row, where nothing is placed. So 0!=10! = 1, not 00.

The pattern argument backs this up. Going down the table, each factorial is the next one divided by the top number: 4!=5!÷54! = 5! \div 5, 3!=4!÷43! = 4! \div 4, 2!=3!÷32! = 3! \div 3, 1!=2!÷21! = 2! \div 2. Continuing the pattern, 0!=1!÷1=10! = 1! \div 1 = 1. Defining 0!0! 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:

n!=n×(n−1)!for every whole number n≥1.n! = n \times (n-1)! \qquad \text{for every whole number } n \ge 1.

This is true because n!=n×[(n−1)×(n−2)×⋯×1]n! = n \times \big[(n-1) \times (n-2) \times \dots \times 1\big], and the bracket is exactly (n−1)!(n-1)!. For example 8!=8×7!8! = 8 \times 7! and 10!=10×9!10! = 10 \times 9!. Read forwards, the rule builds factorials up one step at a time, with 0!=10! = 1 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.

Key fact

The recursive (step-down) rule is the engine of this topic:

n!=n×(n−1)!,0!=1.n! = n \times (n-1)!, \qquad 0! = 1.

Applied repeatedly it unrolls a factorial one factor at a time, for example

10!=10×9!=10×9×8!=10×9×8×7!,10! = 10 \times 9! = 10 \times 9 \times 8! = 10 \times 9 \times 8 \times 7!,

and you stop unrolling exactly when a matching factorial appears that you can cancel. Cancelling before multiplying is the whole skill: 10!7!=10×9×8×7!7!=10×9×8=720\dfrac{10!}{7!} = \dfrac{10 \times 9 \times 8 \times 7!}{7!} = 10 \times 9 \times 8 = 720.

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 10!7!\dfrac{10!}{7!}. The bottom is 7!7!, so unroll the top down to 7!7!:

10!7!=10×9×8×7!7!=10×9×8=720.\frac{10!}{7!} = \frac{10 \times 9 \times 8 \times 7!}{7!} = 10 \times 9 \times 8 = 720.

Notice you wrote out only the three factors above 77 and stopped. The number of leftover factors is the gap between the two starting numbers: from 1010 down to (but not including) 77 is exactly 33 factors, 10,9,810, 9, 8.

The same move works with pronumerals, which is where Extension 1 most often takes it. To simplify (n+2)!(n−1)!\dfrac{(n+2)!}{(n-1)!}, unroll the top from n+2n+2 down to (n−1)!(n-1)!:

(n+2)!(n−1)!=(n+2)(n+1) n (n−1)!(n−1)!=(n+2)(n+1) n.\frac{(n+2)!}{(n-1)!} = \frac{(n+2)(n+1)\,n\,(n-1)!}{(n-1)!} = (n+2)(n+1)\,n.

Again the count of leftover factors is the gap between the top index and the bottom index: (n+2)−(n−1)=3(n+2) - (n-1) = 3, so exactly 33 factors survive, (n+2)(n+2), (n+1)(n+1) and nn. The general pattern, which you will meet again as the permutation formula, is

n!(n−r)!=n(n−1)(n−2)⋯(n−r+1)(r factors).\frac{n!}{(n-r)!} = n(n-1)(n-2) \cdots (n-r+1) \qquad (r \text{ factors}).

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 18!+110!\dfrac{1}{8!} + \dfrac{1}{10!}. Since 10!=10×9×8!10! = 10 \times 9 \times 8!, the common denominator is 10!10!, and 18!=10×910!=9010!\dfrac{1}{8!} = \dfrac{10 \times 9}{10!} = \dfrac{90}{10!}. Therefore

18!+110!=9010!+110!=9110!.\frac{1}{8!} + \frac{1}{10!} = \frac{90}{10!} + \frac{1}{10!} = \frac{91}{10!}.

The algebraic version is the more common exam target. To combine 1n!+1(n+1)!\dfrac{1}{n!} + \dfrac{1}{(n+1)!}, note (n+1)!=(n+1)×n!(n+1)! = (n+1) \times n!, so (n+1)!(n+1)! is the common denominator and 1n!=n+1(n+1)!\dfrac{1}{n!} = \dfrac{n+1}{(n+1)!}. Hence

1n!+1(n+1)!=n+1(n+1)!+1(n+1)!=n+2(n+1)!.\frac{1}{n!} + \frac{1}{(n+1)!} = \frac{n+1}{(n+1)!} + \frac{1}{(n+1)!} = \frac{n+2}{(n+1)!}.

The numerator collapses to a short expression precisely because the recursive rule did the heavy lifting; reaching for the product n!×(n+1)!n! \times (n+1)! 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 13!13!, since the display runs out of digits, but a short argument settles it exactly.

Every trailing zero comes from a factor of 1010, and 10=2×510 = 2 \times 5. In the product n!=n×(n−1)×⋯×1n! = n \times (n-1) \times \dots \times 1 there are always far more factors of 22 than factors of 55 (every second number is even, but only every fifth is a multiple of 55). So each trailing zero is governed by a factor of 55, and the number of trailing zeroes equals the number of factors of 55 in the product.

To count the factors of 55 in n!n!, count the multiples of 55 up to nn, then add the multiples of 2525 (each of which contributes a second 55), then multiples of 125125, and so on:

⌊n5⌋+⌊n25⌋+⌊n125⌋+⋯\left\lfloor \frac{n}{5} \right\rfloor + \left\lfloor \frac{n}{25} \right\rfloor + \left\lfloor \frac{n}{125} \right\rfloor + \cdots

For instance 25!25! has ⌊255⌋+⌊2525⌋=5+1=6\left\lfloor \frac{25}{5} \right\rfloor + \left\lfloor \frac{25}{25} \right\rfloor = 5 + 1 = 6 trailing zeroes, and 100!100! has 20+4+0=2420 + 4 + 0 = 24. The square term matters: 25=5225 = 5^2 slips in an extra factor of 55 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 12!9!\dfrac{12!}{9!} (or with a 3!3! 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 3!3! is left over, evaluate just that small piece.
  • "Simplify (n+2)!(n−1)!\dfrac{(n+2)!}{(n-1)!}" 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 1n!±1(n+1)!\dfrac{1}{n!} \pm \dfrac{1}{(n+1)!} as a single fraction." Use (n+1)!=(n+1) n!(n+1)! = (n+1)\,n! so the larger factorial is the common denominator; rewrite the smaller-denominator fraction and combine.
  • "How many zeroes does n!n! end in?" Count the factors of 55 with the floor-sum, remembering the extra 55 from multiples of 2525.
  • "Solve (n+2)!n!=30\dfrac{(n+2)!}{n!} = 30" or "n!(n−2)!=56\dfrac{n!}{(n-2)!} = 56". Unroll to turn the left side into a short product, form a quadratic, solve, and reject any root that is not a whole number ≥0\ge 0.
  • "Show that k×k!=(k+1)!−k!k \times k! = (k+1)! - k!, hence sum a series." Take out the common factor k!k! on the right to prove the identity, then use it to telescope the sum.
Worked examples

Evaluate a numeric factorial fraction by cancelling

Evaluate 10!7!\dfrac{10!}{7!} without a calculator.

Unroll the numerator down to the denominator. The denominator is 7!7!, so peel factors off 10!10! until 7!7! appears, using the recursive rule three times:

10!=10×9×8×7!.10! = 10 \times 9 \times 8 \times 7!.

Cancel the common factorial. Dividing by 7!7! removes the entire tail at once:

10!7!=10×9×8×7!7!=10×9×8.\frac{10!}{7!} = \frac{10 \times 9 \times 8 \times 7!}{7!} = 10 \times 9 \times 8.

Multiply the few surviving factors. Only the three factors above 77 are left:

10×9×8=720.10 \times 9 \times 8 = 720.

Final answer. 10!7!=720\dfrac{10!}{7!} = 720. Computing 10!=3 628 80010! = 3\,628\,800 and 7!=50407! = 5040 and dividing gives the same 720720, but cancelling first avoids the large numbers entirely.


Simplify an algebraic factorial fraction

Simplify (n+2)!(n−1)!\dfrac{(n+2)!}{(n-1)!}, expressing the answer as a product of factors.

Find the gap between the indices. The top index is n+2n+2 and the bottom index is n−1n-1, so after cancelling there will be (n+2)−(n−1)=3(n+2) - (n-1) = 3 factors left.

Unroll the numerator down to (n−1)!(n-1)!. Step the factorial down three times:

(n+2)!=(n+2)×(n+1)×n×(n−1)!.(n+2)! = (n+2) \times (n+1) \times n \times (n-1)!.

Cancel and read off the answer. The (n−1)!(n-1)! cancels top and bottom:

(n+2)!(n−1)!=(n+2)(n+1) n.\frac{(n+2)!}{(n-1)!} = (n+2)(n+1)\,n.

Check with a value. At n=3n = 3 the left side is 5!2!=1202=60\dfrac{5!}{2!} = \dfrac{120}{2} = 60, and the right side is 5×4×3=605 \times 4 \times 3 = 60: they agree, confirming the three surviving factors are correct.


Combine factorial fractions over a common factorial

Write 18!+110!\dfrac{1}{8!} + \dfrac{1}{10!} as a single fraction.

Express the smaller factorial in terms of the larger. Using the recursive rule twice, 10!=10×9×8!10! = 10 \times 9 \times 8!, so 10!10! is the common denominator.

Rewrite the first fraction over 10!10!. Multiply top and bottom of 18!\dfrac{1}{8!} by 10×9=9010 \times 9 = 90:

18!=9010!.\frac{1}{8!} = \frac{90}{10!}.

Add over the common denominator. Both fractions now share 10!10!:

18!+110!=9010!+110!=9110!.\frac{1}{8!} + \frac{1}{10!} = \frac{90}{10!} + \frac{1}{10!} = \frac{91}{10!}.

Final answer. 18!+110!=9110!\dfrac{1}{8!} + \dfrac{1}{10!} = \dfrac{91}{10!} (and since 10!=3 628 80010! = 3\,628\,800, this equals 913 628 800\dfrac{91}{3\,628\,800} if a single number is wanted). Multiplying the denominators together would have given the far clumsier 8!×10!8! \times 10! for no gain.


Count the trailing zeroes of 25!

Without any device, find how many zeroes 25!25! ends in.

Reduce trailing zeroes to factors of 55
A trailing zero needs a factor of 10=2×510 = 2 \times 5. There are many more factors of 22 than of 55 in 25!25!, so the number of trailing zeroes equals the number of factors of 55.
Count multiples of 55 up to 2525
They are 5,10,15,20,255, 10, 15, 20, 25, which is ⌊255⌋=5\left\lfloor \dfrac{25}{5} \right\rfloor = 5 factors of 55.
Add the extra factor from 25=5225 = 5^2
The number 2525 supplies a second factor of 55, counted by ⌊2525⌋=1\left\lfloor \dfrac{25}{25} \right\rfloor = 1. There is no multiple of 125125 below 2525, so the counting stops.
Conclusion
The total number of factors of 55 is 5+1=65 + 1 = 6, so 25!25! ends in exactly 66 zeroes.

Solve a factorial equation

Solve (n+1)!(n−1)!=30\dfrac{(n+1)!}{(n-1)!} = 30 for the whole number nn.

Unroll the numerator down to (n−1)!(n-1)!. Step (n+1)!(n+1)! down twice and cancel:

(n+1)!(n−1)!=(n+1) n (n−1)!(n−1)!=(n+1) n.\frac{(n+1)!}{(n-1)!} = \frac{(n+1)\,n\,(n-1)!}{(n-1)!} = (n+1)\,n.

Form a quadratic. The equation becomes (n+1) n=30(n+1)\,n = 30, that is

n2+n−30=0.n^2 + n - 30 = 0.

Factor and solve
Factoring gives (n−5)(n+6)=0(n - 5)(n + 6) = 0, so n=5n = 5 or n=−6n = -6.
Reject the invalid root
Factorials require a whole number n≥0n \ge 0, so n=−6n = -6 is rejected and n=5n = 5.
Check
With n=5n = 5, (n+1)!(n−1)!=6!4!=72024=30\dfrac{(n+1)!}{(n-1)!} = \dfrac{6!}{4!} = \dfrac{720}{24} = 30, as required. So n=5n = 5.
Common traps

Thinking 0!=00! = 0. The empty product is 11, and there is exactly one arrangement of no objects, so 0!=10! = 1. Setting it to 00 breaks the permutation and combination formulas later.

Multiplying out the factorials before cancelling. Writing 12!9!=479 001 600362 880\dfrac{12!}{9!} = \dfrac{479\,001\,600}{362\,880} is slow and error-prone. Unroll the top to the bottom factorial and cancel first, leaving only a handful of factors.

Treating (n+1)!(n+1)! as n!+1n! + 1 or as (n+1)×n(n+1) \times n. The recursive rule is (n+1)!=(n+1)×n!(n+1)! = (n+1) \times n!, not n!+1n! + 1, and certainly not (n+1)×n(n+1) \times n. The whole factorial below comes along, not just one extra factor.

Saying (a+b)!=a!+b!(a + b)! = a! + b! or (ab)!=a! b!(ab)! = a!\,b!. Factorials do not distribute over addition or multiplication. For example (2+3)!=120(2 + 3)! = 120, but 2!+3!=82! + 3! = 8.

Forgetting the extra 55 from 25,125,…25, 125, \dots when counting trailing zeroes. A multiple of 2525 contributes two factors of 55, so the floor-sum must include ⌊n/25⌋\left\lfloor n/25 \right\rfloor, then ⌊n/125⌋\left\lfloor n/125 \right\rfloor, and so on, not just ⌊n/5⌋\left\lfloor n/5 \right\rfloor.

Keeping a negative or fractional solution to a factorial equation. The factorial is defined only on whole numbers ≥0\ge 0, so reject any root that is negative or non-integer after solving.

Exam technique

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 10!7!=10×9×8\dfrac{10!}{7!} = 10 \times 9 \times 8, before evaluating. This earns the method mark even if the final arithmetic slips.
  • Count the surviving factors from the gap in the indices. For (n+a)!(n+b)!\dfrac{(n+a)!}{(n+b)!} exactly a−ba - b 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 (n+1)!=(n+1) n!(n+1)! = (n+1)\,n! 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 n≥0n \ge 0 whole, so the rejected root is justified, not just dropped.
  • For trailing zeroes, write the floor-sum of powers of 55 and stop when the term hits 00. Show the ⌊n/25⌋\left\lfloor n/25 \right\rfloor 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 marks
Evaluate (i) 6!6! and (ii) 8!5!\dfrac{8!}{5!} without a calculator, showing the cancelling in part (ii).
Show worked solution →

Evaluate 6!6! by multiplying down to 11. By the definition,

6!=6×5×4×3×2×1=720.6! = 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720.

Unroll the top of 8!5!\dfrac{8!}{5!} until 5!5! appears. Write 8!8! as 8×7×6×5!8 \times 7 \times 6 \times 5! so the 5!5! cancels:

8!5!=8×7×6×5!5!=8×7×6=336.\frac{8!}{5!} = \frac{8 \times 7 \times 6 \times 5!}{5!} = 8 \times 7 \times 6 = 336.

Answer. (i) 6!=7206! = 720; (ii) 8!5!=336\dfrac{8!}{5!} = 336.

foundation2 marks
Simplify (n+1)!(n−2)!\dfrac{(n+1)!}{(n-2)!}, writing the answer as a product of factors.
Show worked solution →

Unroll the larger factorial down to the smaller one. The top is (n+1)!(n+1)! and the bottom is (n−2)!(n-2)!, so unroll (n+1)!(n+1)! three steps until (n−2)!(n-2)! appears:

(n+1)!=(n+1)×n×(n−1)×(n−2)!.(n+1)! = (n+1) \times n \times (n-1) \times (n-2)!.

Cancel the common factorial. Dividing by (n−2)!(n-2)!,

(n+1)!(n−2)!=(n+1) n (n−1) (n−2)!(n−2)!=(n+1) n (n−1).\frac{(n+1)!}{(n-2)!} = \frac{(n+1)\,n\,(n-1)\,(n-2)!}{(n-2)!} = (n+1)\,n\,(n-1).

Check with a value. At n=5n = 5 the left side is 6!3!=7206=120\dfrac{6!}{3!} = \dfrac{720}{6} = 120, and the right side is 6×5×4=1206 \times 5 \times 4 = 120: they agree.

Answer. (n+1)!(n−2)!=(n+1) n (n−1)\dfrac{(n+1)!}{(n-2)!} = (n+1)\,n\,(n-1).

core3 marks
Write 1n!−1(n+1)!\dfrac{1}{n!} - \dfrac{1}{(n+1)!} as a single fraction in simplest form.
Show worked solution →

Find the common denominator. The denominators are n!n! and (n+1)!(n+1)!. Because (n+1)!=(n+1)×n!(n+1)! = (n+1) \times n!, the larger one (n+1)!(n+1)! is the common denominator.

Rewrite the first fraction over (n+1)!(n+1)!. Multiply top and bottom of 1n!\dfrac{1}{n!} by (n+1)(n+1):

1n!=n+1(n+1)!.\frac{1}{n!} = \frac{n+1}{(n+1)!}.

Subtract over the common denominator. Now both fractions share (n+1)!(n+1)!:

n+1(n+1)!−1(n+1)!=(n+1)−1(n+1)!=n(n+1)!.\frac{n+1}{(n+1)!} - \frac{1}{(n+1)!} = \frac{(n+1) - 1}{(n+1)!} = \frac{n}{(n+1)!}.

Check with a value. At n=4n = 4 the left side is 124−1120=4120=130\dfrac{1}{24} - \dfrac{1}{120} = \dfrac{4}{120} = \dfrac{1}{30}, and n(n+1)!=4120=130\dfrac{n}{(n+1)!} = \dfrac{4}{120} = \dfrac{1}{30}: they agree.

Answer. 1n!−1(n+1)!=n(n+1)!\dfrac{1}{n!} - \dfrac{1}{(n+1)!} = \dfrac{n}{(n+1)!}.

core3 marks
How many final zeroes are there when 30!30! is written out in full? Justify your count.
Show worked solution →
Reduce the question to counting factors of 55
A final zero comes from a factor of 10=2×510 = 2 \times 5. In a factorial the factors of 22 far outnumber the factors of 55, so the number of final zeroes equals the number of factors of 55 in the product 30×29×⋯×130 \times 29 \times \cdots \times 1.
Count multiples of 55 up to 3030
These are 5,10,15,20,25,305, 10, 15, 20, 25, 30, giving ⌊305⌋=6\left\lfloor \dfrac{30}{5} \right\rfloor = 6 factors of 55 so far.
Add the extra factor from multiples of 2525
The number 25=5225 = 5^2 carries a second factor of 55 that has not yet been counted, and ⌊3025⌋=1\left\lfloor \dfrac{30}{25} \right\rfloor = 1. There are no multiples of 125125 below 3030, so the count stops.
Total
The number of factors of 55 is 6+1=76 + 1 = 7, so 30!30! ends in 77 zeroes.
exam3 marks
Solve (n+2)!n!=30\dfrac{(n+2)!}{n!} = 30 for the whole number nn.
Show worked solution →

Unroll the numerator down to n!n!. Write (n+2)!=(n+2)(n+1) n!(n+2)! = (n+2)(n+1)\,n!, so the n!n! cancels:

(n+2)!n!=(n+2)(n+1) n!n!=(n+2)(n+1).\frac{(n+2)!}{n!} = \frac{(n+2)(n+1)\,n!}{n!} = (n+2)(n+1).

Form a quadratic equation. The equation becomes (n+2)(n+1)=30(n+2)(n+1) = 30. Expanding,

n2+3n+2=30  ⟹  n2+3n−28=0.n^2 + 3n + 2 = 30 \implies n^2 + 3n - 28 = 0.

Factor and solve
Factoring, (n−4)(n+7)=0(n - 4)(n + 7) = 0, so n=4n = 4 or n=−7n = -7.
Reject the invalid root
A factorial is only defined for whole numbers n≥0n \ge 0, so n=−7n = -7 is rejected, leaving n=4n = 4.
Check
With n=4n = 4, (n+2)!n!=6!4!=72024=30\dfrac{(n+2)!}{n!} = \dfrac{6!}{4!} = \dfrac{720}{24} = 30, as required. So n=4n = 4.
exam4 marks
(a) Show that k×k!=(k+1)!−k!k \times k! = (k+1)! - k! for every whole number k≥0k \ge 0. (b) Hence evaluate 1×1!+2×2!+3×3!1 \times 1! + 2 \times 2! + 3 \times 3!.
Show worked solution →

Start from the right side of part (a). Take out the common factor k!k! from (k+1)!−k!(k+1)! - k!, using (k+1)!=(k+1)×k!(k+1)! = (k+1) \times k!:

(k+1)!−k!=(k+1) k!−k!=((k+1)−1)k!=k×k!.(k+1)! - k! = (k+1)\,k! - k! = \big((k+1) - 1\big)k! = k \times k!.

This proves k×k!=(k+1)!−k!k \times k! = (k+1)! - k!.

Apply the identity to each term in part (b). Replacing each k×k!k \times k! by (k+1)!−k!(k+1)! - k! turns the sum into a telescoping chain:

1×1!+2×2!+3×3!=(2!−1!)+(3!−2!)+(4!−3!).1 \times 1! + 2 \times 2! + 3 \times 3! = (2! - 1!) + (3! - 2!) + (4! - 3!).

Cancel the middle terms. The 2!2! and 3!3! each appear once with a plus and once with a minus, so they cancel, leaving

4!−1!=24−1=23.4! - 1! = 24 - 1 = 23.

Check directly. Adding term by term, 1×1+2×2+3×6=1+4+18=231 \times 1 + 2 \times 2 + 3 \times 6 = 1 + 4 + 18 = 23, which agrees.

Answer. 1×1!+2×2!+3×3!=231 \times 1! + 2 \times 2! + 3 \times 3! = 23.

Practise this

Sources & how we know this

ExamExplained