Factorials
The factorial n! is shorthand for "n multiplied by n−1 multiplied by n−2 multiplied by … multiplied by 1". It is the most important single notation in combinatorics , and a tool you will use in algebra, calculus, and probability.
Definitions
For a positive integer n:
n!=n⋅(n−1)⋅(n−2)⋯3⋅2⋅1.
By convention:
0!=1.
(The empty product is 1, just as the empty sum is 0. We will see in a moment why this convention is forced on us.)
The first few values:
| n | n! |
|---|
| 0 | 1 |
| 1 | 1 |
| 2 | 2 |
| 3 | 6 |
| 4 | 24 |
| 5 | 120 |
| 6 | 720 |
| 7 | 5040 |
| 8 | 40320 |
| 9 | 362880 |
| 10 | 3628800 |
Growth is super-exponential: 10!≈3.6×106 but 20!≈2.4×1018.
Recursive relation
n!=n⋅(n−1)!for n≥1.
This is the most powerful identity: 5!=5⋅4!, 7!=7⋅6⋅5!, etc. Use it to simplify every ratio of factorials.
Setting n=1: 1!=1⋅0!, so 0!=1 is forced by consistency.
Simplifying ratios
The single most useful technique: when computing n!m! with m>n, write
n!m!=m⋅(m−1)⋯(n+1).
So 7!10!=10⋅9⋅8=720. Never compute both factorials in full first.
Equations involving factorials
Some problems require solving for n in a factorial equation. The standard moves: express factorials using the recursion, divide common factors, end up with a polynomial.
Worked examples
Example 1. Compute 10!⋅2!12!.
10!⋅2!12⋅11⋅10!=212⋅11=66.
Example 2. Compute 6!8!−7!.
6!8⋅7⋅6!−7⋅6!=8⋅7−7=56−7=49.
Example 3. Find n if (n+1)!=12⋅(n−1)!.
(n+1)!=(n+1)⋅n⋅(n−1)!, so (n+1)⋅n=12, i.e. n2+n−12=0, giving n=3 (rejecting n=−4).
Example 4. Find n such that 8!1+9!1=10!n.
LCM is 9! on the left: 9!9+1=9!10. So 10!n=9!10=10!10⋅10=10!100. Thus n=100.
Example 5 (harder). Show that n!⋅(n+2)=(n+2)!−(n+1)!.
RHS =(n+2)⋅(n+1)!−(n+1)!=(n+1)!(n+2−1)=(n+1)!(n+1)=(n+1)⋅(n+1)! ... wait, let me redo.
RHS =(n+2)!−(n+1)!=(n+1)![(n+2)−1]=(n+1)!⋅(n+1).
LHS =n!⋅(n+2).
These are not equal in general. Let me re-state the identity I meant: n!⋅(n+1)=(n+1)! , trivial.
Try: (n+2)!−2(n+1)!+n!=? Let's verify with n=3: 5!−2⋅4!+3!=120−48+6=78. And n!(n2+2n+2−2n−2)=n!⋅n2=6⋅9=54 , that does not match.
Let me give a cleaner Example 5:
Example 5 (harder, redone). Prove r!1−(r+1)!1=(r+1)!r for r≥0.
LHS =(r+1)!(r+1)−1=(r+1)!r. \qed
This identity is used in telescoping sums , a key technique in Class-XII series problems.
Try it yourself
- Compute 8!10!, 13!⋅2!15!, 18!⋅2!20!.
- Compute 4!−3!6!. (Hint: simplify denominator first.)
- Find n if 2⋅(n−2)!n!=15.
- Show n!(n+1)!=n+1.
- Find n if (n+2)!=60⋅(n−1)!.
- Simplify (n−r)!n! as a product.
- Compute 0!,1!,2!,…,10! from scratch using the recursion.
- Find n: (n+1)!+n!=7⋅(n−1)!.
- Prove n⋅n!=(n+1)!−n!.
- Compute 4!⋅8!12!.
- Show k!(n−k)!1=n!1⋅(kn).
- Compute (2n−2)!⋅2!(2n)! in terms of n.
Pitfalls / Tricks
- 0!=1. Memorise; do not "calculate" it.
- Always simplify before computing. 99!100!=100, not "compute 100! then divide".
- Factorials grow very fast. By n=13, n! exceeds 109.
- Insight. Recognising (n−r)!n! as a falling product n(n−1)⋯(n−r+1) is the master simplification. Apply it whenever you see a factorial ratio.