MathCompass

Binomial Theorem & Identities

Combinatorics Advanced

πŸ“‹ Prerequisites

The binomial theorem tells you how to expand (a + b)\(^{n}\) without multiplying it all out. The coefficients are binomial coefficients from Pascal's triangle. Beyond just expansion, the theorem gives you powerful identities and techniques for solving competition problems.

πŸ“š Key Concepts

The Binomial Theorem

\[ (a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^k \]

Expanded form:

\[ (a+b)^n = \binom{n}{0}a^n + \binom{n}{1}a^{n-1}b + \binom{n}{2}a^{n-2}b^2 + ... + \binom{n}{n}b^n \]

The coefficient of \(a^{n-k}\(\)b^{k} \(is \binom{n}{k},\) the k-th entry in row n of Pascal's triangle.\)

Why It Works (Combinatorial Proof)

(a + b)\(^{n}\) = (a+b)(a+b)...(a+b) [n factors]

To get a term with \(b^{k},\) you pick b from k of the n factors and a from the rest.

\(Number of ways: \binom{n}{k}. So coefficient = \binom{n}{k}.\)

This is the most satisfying proof β€” it tells you WHY the coefficients are binomial coefficients.

Pascal's Triangle Revisited

Row n of Pascal's triangle = coefficients of (a+b)\(^{n}.\)

n=0:       1
n=1:      1 1
n=2:     1 2 1
n=3:    1 3 3 1
n=4:   1 4 6 4 1
n=5:  1 5 10 10 5 1
      

\(Pascal's identity \binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k} corresponds to how each row builds from the one above.\)

Finding a Specific Term

Term with \(b^{k}\) (or the (k+1)-th term):

\[ \binom{n}{k} a^{n-k} b^k \]

\(Example: coefficient of x^{3} in (2+x)^{5} = \binom{5}{3} \\times 2^{2} \\times 1^{3} = 10 \\times 4 = 40\)

Common trick: for (ax + by)\(^{n},\) don't forget the coefficients a and b each get raised to their powers too!

Substitution Tricks

Plug in specific values for a and b to get identities.

Set a = 1, b = 1: \((2^{n} = \\sum \binom{n}{k}\)\) β€” sum of row n = \(2^{n}\) (total subsets)

Set a = 1, b = -1: \(0 = \\sum (-1)^{k}\binom{n}{k}\) β€” alternating sum = 0 (for n > 0)

Set a = 1, b = 2: \((3^{n} = \\sum 2^{k}\)\binom{n}{k}\)

This technique generates all kinds of combinatorial identities.

Vandermonde's Identity

\[ \binom{m+n}{k} = \sum_{i=0}^{k} \binom{m}{i} \binom{n}{k-i} \]

Combinatorial proof: choose k items from m+n total. Split into group of m and group of n. Pick i from first group, k-i from second. Sum over all i.

Algebraic proof: coefficient of \(x^{k} in (1+x)^{m+n} = (1+x)^{m}(1+x)^{n}.\)

Hockey-Stick Identity

\[ \sum_{i=r}^{n} \binom{i}{r} = \binom{n+1}{r+1} \]

Name comes from the shape on Pascal's triangle: a diagonal of numbers sums to the number just below the end of the diagonal.

Very useful for summing binomial coefficients along a diagonal.

Multinomial Theorem (Generalization)

\(For more than two terms: \((a_{1} + a_{2}\) + ... + a_{k})\(^{n}\)\)

\(\(Coefficient of \(a_{1}\)(^{n_{1}}a_{2}\)(^{n_{2}}...a\)_{k}\(^{n_{k}}\) where \(n_{1}+...+n\)_{k} = \)n:\)

\[ \binom{n}{n_1, n_2, ..., n_k} = \frac{n!}{n_1! n_2! ... n_k!} \]

This is the same as the permutations-with-repetition formula β€” makes sense combinatorially.

Applications

⚠️ Common Mistake: Forgetting that the "k-th term" \(uses \binom{n}{k-1}, not \binom{n}{k}\) β€” terms are 0-indexed by the exponent of b. Also: when expanding (ax + by)\(^{n},\) both a and b get raised to powers along with the variables. \(And the hockey-stick identity sums \binom{i}{r} from i=r to n, giving \binom{n+1}{r+1}\) β€” note the +1 on both indices.
πŸ’‘ Key Insight: The binomial theorem is algebra made combinatorial. Every coefficient has a counting story. The substitution trick (plugging in 1, -1, etc.) is magic β€” it turns algebraic expansions into summation formulas for free. And Vandermonde + hockey-stick are the two most useful binomial identities for competitions β€” memorize them, but more importantly, understand why they're true (the combinatorial proofs).

✏️ Example Problems

πŸ“ Example 1 (Find a coefficient)

What is the coefficient of \(x^{3}\) in the expansion of (1 + 2x)\(^{5}\)?

\(\(Binomial theorem: term with (2x)^{3} = \binom{5}{3} \\times 1^{5}\)^{-}\((^{3} \\times (2x)^{3}\)\)\)

Step 1: Identify n, k, a, b.

n = 5 (exponent), k = 3 (power of x we want)

a = 1, b = 2x

Step 2: \(General term: \binom{n}{k} \\times a\)^{n-k} \(\\times b\)^{k}

\[ \binom{5}{3} \times 1^{5-3} \times (2x)^3 \]

Step 3: Compute.

\((\binom{5}{3}\) = 10\)

\(1^{2}\) = 1

(2x)\(^{3} = 8x^{3}\)

\(Coefficient = 10 \\times 1 \\times 8 = 80\)

Full expansion check: (1+2x)\(^{5} = 1 + 10x + 40x^{2} + 80x^{3} + 80x^{4} + 32x^{5}\) βœ“

Answer: 80

πŸ“ Example 2 (Sum identity via substitution)

\(Evaluate: \binom{6}{0} + \binom{6}{1} + \binom{6}{2} + \binom{6}{3} + \binom{6}{4} + \binom{6}{5} + \binom{6}{6}\)

Substitution trick: set a = 1, b = 1 in (a+b)\(^{n}.\)

Step 1: \(Recognize this as \\sum \binom{6}{k} for k = 0 to 6.\)

Step 2: Binomial theorem with a = 1, b = 1.

\[ (1+1)^n = \sum_{k=0}^{n} \binom{n}{k} 1^{n-k} 1^k = \sum_{k=0}^{n} \binom{n}{k} \]

Step 3: So the sum = \(2^{n} = 2^{6}\) = 64.

Direct computation check:

1 + 6 + 15 + 20 + 15 + 6 + 1 = 64 βœ“

Combinatorial meaning: \((\binom{n}{k}\) counts k-element subsets of n items. Summing over all k counts all subsets. Total subsets of n elements = 2^{n}.\)

Answer: 64

πŸ“ Example 3 (Hockey-stick identity)

\(Evaluate: \binom{3}{3} + \binom{4}{3} + \binom{5}{3} + \binom{6}{3} + \binom{7}{3}\)

\(Hockey-stick identity: \\sum \binom{i}{r} from i=r to n = \binom{n+1}{r+1}\)

Step 1: Identify r and n.

r = 3 (bottom number, constant)

Sum goes from i = 3 to i = 7, so n = 7

Step 2: Apply hockey-stick.

\[ \sum_{i=3}^{7} \binom{i}{3} = \binom{7+1}{3+1} = \binom{8}{4} \]

Step 3: \(Compute \binom{8}{4}.\)

\[ \binom{8}{4} = \frac{8 \times 7 \times 6 \times 5}{4 \times 3 \times 2 \times 1} = \frac{1680}{24} = 70 \]

Direct check:

\((\binom{3}{3}\) = 1\)

\((\binom{4}{3}\) = 4\)

\((\binom{5}{3}\) = 10\)

\((\binom{6}{3}\) = 20\)

\((\binom{7}{3}\) = 35\)

Sum = 1 + 4 + 10 + 20 + 35 = 70 βœ“

Answer: 70

Previous
Next