◀ Back to Note

Tony's Intertwingled Memex • Reference Manual

Binomial Expansion

Formulas & Definitions
Core Definition

Binomial expansion is an algebraic method used to expand powers of a two-term sum or difference (a+b)n(a + b)^n(a+b)n into a sum of monomials using the Binomial Theorem:

(a+b)n=∑k=0n(nk)an−kbk(a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^k(a+b)n=k=0∑n​(kn​)an−kbk
where (nk)=n!k!(n−k)!\binom{n}{k} = \frac{n!}{k!(n-k)!}(kn​)=k!(n−k)!n!​ represents the binomial coefficients given by row nnn of Pascal's Triangle.

Concept Explanation

When expanding a binomial (a+b)n(a + b)^n(a+b)n, multiplying repeated factors by hand becomes increasingly tedious and error-prone as nnn grows. The Binomial Theorem provides an immediate structural formula where:

  1. The powers of the first term aaa decrease from nnn down to 000.
  2. The powers of the second term bbb increase from 000 up to nnn.
  3. The sum of exponents in every individual term equals nnn.
  4. The numerical coefficients match row nnn of Pascal's Triangle.

Pascal's Triangle Reference (Rows 0 to 4)

  • Row 0 (n=0n = 0n=0): 111
  • Row 1 (n=1n = 1n=1): 111 \quad 111
  • Row 2 (n=2n = 2n=2): 121  ⟹  (a+b)2=a2+2ab+b21 \quad 2 \quad 1 \implies (a+b)^2 = a^2 + 2ab + b^2121⟹(a+b)2=a2+2ab+b2
  • Row 3 (n=3n = 3n=3): 1331  ⟹  (a+b)3=a3+3a2b+3ab2+b31 \quad 3 \quad 3 \quad 1 \implies (a+b)^3 = a^3 + 3a^2b + 3ab^2 + b^31331⟹(a+b)3=a3+3a2b+3ab2+b3
  • Row 4 (n=4n = 4n=4): 14641  ⟹  (a+b)4=a4+4a3b+6a2b2+4ab3+b41 \quad 4 \quad 6 \quad 4 \quad 1 \implies (a+b)^4 = a^4 + 4a^3b + 6a^2b^2 + 4ab^3 + b^414641⟹(a+b)4=a4+4a3b+6a2b2+4ab3+b4

Handling Subtraction & Negative Terms

When expanding a difference (a−b)n(a - b)^n(a−b)n, treat it as (a+(−b))n(a + (-b))^n(a+(−b))n. The signs alternate between positive and negative across successive terms:

(a−b)2=a2−2ab+b2(a - b)^2 = a^2 - 2ab + b^2(a−b)2=a2−2ab+b2
(a−b)3=a3−3a2b+3ab2−b3(a - b)^3 = a^3 - 3a^2b + 3ab^2 - b^3(a−b)3=a3−3a2b+3ab2−b3

When to Use It / Method Comparison

1. Small Powers (n=2,3n = 2, 3n=2,3)

  • Method: Direct mental application of Pascal's patterns ((x+h)2=x2+2xh+h2(x+h)^2 = x^2 + 2xh + h^2(x+h)2=x2+2xh+h2 and (x+h)3=x3+3x2h+3xh2+h3(x+h)^3 = x^3 + 3x^2h + 3xh^2 + h^3(x+h)3=x3+3x2h+3xh2+h3).
  • Comparison: Bypasses manual FOIL steps, preventing the classic "Freshman's Dream" algebraic error where students incorrectly write (x+h)2=x2+h2(x+h)^2 = x^2 + h^2(x+h)2=x2+h2.

2. Higher Powers (n≥4n \ge 4n≥4)

  • Method: Explicit combinatorial formula (nk)=n!k!(n−k)!\binom{n}{k} = \frac{n!}{k!(n-k)!}(kn​)=k!(n−k)!n!​.
  • Comparison: Significantly faster and cleaner than multiplying out nested polynomial brackets.

Why We Use It in Calculus (Calculus I: Limits & Derivatives)

In Calculus I, binomial expansion is a core prerequisite for evaluating instantaneous rates of change from first principles.

When computing the derivative f′(x)f'(x)f′(x) of a polynomial function using the limit definition of the difference quotient:

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}f′(x)=h→0lim​hf(x+h)−f(x)​
evaluating f(x+h)f(x+h)f(x+h) requires expanding expressions like (x+h)2(x+h)^2(x+h)2, (x+h)3(x+h)^3(x+h)3, or (x+h)n(x+h)^n(x+h)n.

Using binomial expansion:

  1. Every term in the expansion of f(x+h)f(x+h)f(x+h) that does not contain an hhh perfectly cancels with −f(x)-f(x)−f(x).
  2. Every surviving term in the numerator contains at least one power of hhh (h,h2,h3,…h, h^2, h^3, \dotsh,h2,h3,…).
  3. Factoring out hhh allows direct cancellation with the denominator hhh, safely resolving the 00\frac{0}{0}00​ indeterminate form.

Example Problems

Example Problem 1: Expanding and Simplifying a Quadratic Difference Quotient

Given f(x)=3x2−5xf(x) = 3x^2 - 5xf(x)=3x2−5x, expand and simplify the difference quotient expression:

f(x+h)−f(x)h\frac{f(x+h) - f(x)}{h}hf(x+h)−f(x)​

Solution

Step 1: Set up the difference quotient Substitute (x+h)(x+h)(x+h) into f(x)f(x)f(x):

[3(x+h)2−5(x+h)]−[3x2−5x]h\frac{[3(x+h)^2 - 5(x+h)] - [3x^2 - 5x]}{h}h[3(x+h)2−5(x+h)]−[3x2−5x]​

Step 2: Apply binomial expansion to (x+h)2(x+h)^2(x+h)2 Using (x+h)2=x2+2xh+h2(x+h)^2 = x^2 + 2xh + h^2(x+h)2=x2+2xh+h2:

3(x2+2xh+h2)−5(x+h)−(3x2−5x)h\frac{3(x^2 + 2xh + h^2) - 5(x+h) - (3x^2 - 5x)}{h}h3(x2+2xh+h2)−5(x+h)−(3x2−5x)​

Step 3: Distribute coefficients

3x2+6xh+3h2−5x−5h−3x2+5xh\frac{3x^2 + 6xh + 3h^2 - 5x - 5h - 3x^2 + 5x}{h}h3x2+6xh+3h2−5x−5h−3x2+5x​

Step 4: Cancel opposing non-hhh terms The terms 3x2−3x2=03x^2 - 3x^2 = 03x2−3x2=0 and −5x+5x=0-5x + 5x = 0−5x+5x=0 cancel:

6xh+3h2−5hh\frac{6xh + 3h^2 - 5h}{h}h6xh+3h2−5h​

Step 5: Factor out hhh and simplify

h(6x+3h−5)h=6x+3h−5\frac{h(6x + 3h - 5)}{h} = 6x + 3h - 5hh(6x+3h−5)​=6x+3h−5


Example Problem 2: Cubic Binomial Expansion in a Derivative Limit

Use the limit definition of the derivative to evaluate g′(x)g'(x)g′(x) for g(x)=2x3+1g(x) = 2x^3 + 1g(x)=2x3+1:

g′(x)=lim⁡h→0g(x+h)−g(x)hg'(x) = \lim_{h \to 0} \frac{g(x+h) - g(x)}{h}g′(x)=h→0lim​hg(x+h)−g(x)​

Solution

Step 1: Set up the limit expression

g′(x)=lim⁡h→0[2(x+h)3+1]−[2x3+1]hg'(x) = \lim_{h \to 0} \frac{[2(x+h)^3 + 1] - [2x^3 + 1]}{h}g′(x)=h→0lim​h[2(x+h)3+1]−[2x3+1]​

Step 2: Apply the cubic binomial expansion Recall that (x+h)3=x3+3x2h+3xh2+h3(x+h)^3 = x^3 + 3x^2h + 3xh^2 + h^3(x+h)3=x3+3x2h+3xh2+h3:

g′(x)=lim⁡h→02(x3+3x2h+3xh2+h3)+1−2x3−1hg'(x) = \lim_{h \to 0} \frac{2(x^3 + 3x^2h + 3xh^2 + h^3) + 1 - 2x^3 - 1}{h}g′(x)=h→0lim​h2(x3+3x2h+3xh2+h3)+1−2x3−1​

Step 3: Distribute the scalar 222

g′(x)=lim⁡h→02x3+6x2h+6xh2+2h3+1−2x3−1hg'(x) = \lim_{h \to 0} \frac{2x^3 + 6x^2h + 6xh^2 + 2h^3 + 1 - 2x^3 - 1}{h}g′(x)=h→0lim​h2x3+6x2h+6xh2+2h3+1−2x3−1​

Step 4: Cancel non-hhh terms Notice 2x3−2x3=02x^3 - 2x^3 = 02x3−2x3=0 and 1−1=01 - 1 = 01−1=0:

g′(x)=lim⁡h→06x2h+6xh2+2h3hg'(x) = \lim_{h \to 0} \frac{6x^2h + 6xh^2 + 2h^3}{h}g′(x)=h→0lim​h6x2h+6xh2+2h3​

Step 5: Factor hhh from the numerator and divide out

g′(x)=lim⁡h→0h(6x2+6xh+2h2)h=lim⁡h→0(6x2+6xh+2h2)g'(x) = \lim_{h \to 0} \frac{h(6x^2 + 6xh + 2h^2)}{h} = \lim_{h \to 0} (6x^2 + 6xh + 2h^2)g′(x)=h→0lim​hh(6x2+6xh+2h2)​=h→0lim​(6x2+6xh+2h2)

Step 6: Evaluate by direct substitution (h=0h = 0h=0)

g′(x)=6x2+6x(0)+2(0)2=6x2g'(x) = 6x^2 + 6x(0) + 2(0)^2 = 6x^2g′(x)=6x2+6x(0)+2(0)2=6x2


Connections & References

  • Parent Concepts: Calculus Foundations, Difference Quotient
  • Related Algebraic Tools: Factoring Second Order Polynomials, Polynomial Long Division
  • Course Links: Calc-1 Discussion 03, Calc-1 Session 06