Math Lab
Home/Class XI/Ch 6/Factorials

Factorials

The factorial n!n! is shorthand for "nn multiplied by n1n - 1 multiplied by n2n - 2 multiplied by \dots multiplied by 11". 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 nn: n!=n(n1)(n2)321.n! = n \cdot (n - 1) \cdot (n - 2) \cdots 3 \cdot 2 \cdot 1.

By convention: 0!=1.0! = 1. (The empty product is 11, just as the empty sum is 00. We will see in a moment why this convention is forced on us.)

The first few values:

nnn!n!
0011
1111
2222
3366
442424
55120120
66720720
7750405040
884032040\,320
99362880362\,880
101036288003\,628\,800

Growth is super-exponential: 10!3.6×10610! \approx 3.6 \times 10^6 but 20!2.4×101820! \approx 2.4 \times 10^{18}.

Recursive relation

n!=n(n1)!for n1.n! = n \cdot (n - 1)! \quad \text{for } n \ge 1.

This is the most powerful identity: 5!=54!5! = 5 \cdot 4!, 7!=765!7! = 7 \cdot 6 \cdot 5!, etc. Use it to simplify every ratio of factorials.

Setting n=1n = 1: 1!=10!1! = 1 \cdot 0!, so 0!=10! = 1 is forced by consistency.

Simplifying ratios

The single most useful technique: when computing m!n!\dfrac{m!}{n!} with m>nm > n, write m!n!=m(m1)(n+1).\dfrac{m!}{n!} = m \cdot (m - 1) \cdots (n + 1).

So 10!7!=1098=720\dfrac{10!}{7!} = 10 \cdot 9 \cdot 8 = 720. Never compute both factorials in full first.

Equations involving factorials

Some problems require solving for nn 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 12!10!2!\dfrac{12!}{10! \cdot 2!}.

121110!10!2!=12112=66\dfrac{12 \cdot 11 \cdot 10!}{10! \cdot 2!} = \dfrac{12 \cdot 11}{2} = 66.

Example 2. Compute 8!7!6!\dfrac{8! - 7!}{6!}.

876!76!6!=877=567=49\dfrac{8 \cdot 7 \cdot 6! - 7 \cdot 6!}{6!} = 8 \cdot 7 - 7 = 56 - 7 = 49.

Example 3. Find nn if (n+1)!=12(n1)!(n + 1)! = 12 \cdot (n - 1)!.

(n+1)!=(n+1)n(n1)!(n + 1)! = (n + 1) \cdot n \cdot (n - 1)!, so (n+1)n=12(n + 1) \cdot n = 12, i.e. n2+n12=0n^2 + n - 12 = 0, giving n=3n = 3 (rejecting n=4n = -4).

Example 4. Find nn such that 18!+19!=n10!\dfrac{1}{8!} + \dfrac{1}{9!} = \dfrac{n}{10!}.

LCM is 9!9! on the left: 9+19!=109!\dfrac{9 + 1}{9!} = \dfrac{10}{9!}. So n10!=109!=101010!=10010!\dfrac{n}{10!} = \dfrac{10}{9!} = \dfrac{10 \cdot 10}{10!} = \dfrac{100}{10!}. Thus n=100n = 100.

Example 5 (harder). Show that n!(n+2)=(n+2)!(n+1)!n! \cdot (n + 2) = (n + 2)! - (n + 1)!.

RHS =(n+2)(n+1)!(n+1)!=(n+1)!(n+21)=(n+1)!(n+1)=(n+1)(n+1)!= (n + 2) \cdot (n + 1)! - (n + 1)! = (n + 1)!\,(n + 2 - 1) = (n + 1)!\,(n + 1) = (n + 1) \cdot (n + 1)! ... wait, let me redo.

RHS =(n+2)!(n+1)!=(n+1)![(n+2)1]=(n+1)!(n+1)= (n + 2)! - (n + 1)! = (n + 1)!\,[(n + 2) - 1] = (n + 1)! \cdot (n + 1).

LHS =n!(n+2)= n! \cdot (n + 2).

These are not equal in general. Let me re-state the identity I meant: n!(n+1)=(n+1)!n! \cdot (n + 1) = (n + 1)! , trivial.

Try: (n+2)!2(n+1)!+n!=?(n + 2)! - 2(n + 1)! + n! = ? Let's verify with n=3n = 3: 5!24!+3!=12048+6=785! - 2 \cdot 4! + 3! = 120 - 48 + 6 = 78. And n!(n2+2n+22n2)=n!n2=69=54n!(n^2 + 2n + 2 - 2n - 2) = n! \cdot n^2 = 6 \cdot 9 = 54 , that does not match.

Let me give a cleaner Example 5:

Example 5 (harder, redone). Prove 1r!1(r+1)!=r(r+1)!\dfrac{1}{r!} - \dfrac{1}{(r + 1)!} = \dfrac{r}{(r + 1)!} for r0r \ge 0.

LHS =(r+1)1(r+1)!=r(r+1)!= \dfrac{(r + 1) - 1}{(r + 1)!} = \dfrac{r}{(r + 1)!}. \qed\qed

This identity is used in telescoping sums , a key technique in Class-XII series problems.

Try it yourself

  1. Compute 10!8!\dfrac{10!}{8!}, 15!13!2!\dfrac{15!}{13! \cdot 2!}, 20!18!2!\dfrac{20!}{18! \cdot 2!}.
  2. Compute 6!4!3!\dfrac{6!}{4! - 3!}. (Hint: simplify denominator first.)
  3. Find nn if n!2(n2)!=15\dfrac{n!}{2 \cdot (n - 2)!} = 15.
  4. Show (n+1)!n!=n+1\dfrac{(n + 1)!}{n!} = n + 1.
  5. Find nn if (n+2)!=60(n1)!(n + 2)! = 60 \cdot (n - 1)!.
  6. Simplify n!(nr)!\dfrac{n!}{(n - r)!} as a product.
  7. Compute 0!,1!,2!,,10!0!, 1!, 2!, \dots, 10! from scratch using the recursion.
  8. Find nn: (n+1)!+n!=7(n1)!(n + 1)! + n! = 7 \cdot (n - 1)!.
  9. Prove nn!=(n+1)!n!n \cdot n! = (n + 1)! - n!.
  10. Compute 12!4!8!\dfrac{12!}{4! \cdot 8!}.
  11. Show 1k!(nk)!=1n!(nk)\dfrac{1}{k!\,(n - k)!} = \dfrac{1}{n!} \cdot \binom{n}{k}.
  12. Compute (2n)!(2n2)!2!\dfrac{(2n)!}{(2n - 2)! \cdot 2!} in terms of nn.

Pitfalls / Tricks

  • 0!=10! = 1. Memorise; do not "calculate" it.
  • Always simplify before computing. 100!99!=100\dfrac{100!}{99!} = 100, not "compute 100!100! then divide".
  • Factorials grow very fast. By n=13n = 13, n!n! exceeds 10910^{9}.
  • Insight. Recognising n!(nr)!\dfrac{n!}{(n - r)!} as a falling product n(n1)(nr+1)n(n-1)\cdots(n-r+1) is the master simplification. Apply it whenever you see a factorial ratio.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Factorials
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6