Skip to main content
Speclore

Binomial Theorem

Expansion of (x + y)^n for non-negative integer n: the finite binomial sum, coefficients C(n,k) = n!/[k!(n-k)!], Pascal-triangle values and worked n = 0, 1, 2, 3 examples.

By Merrick S

binomialtheoremData Table

Overview

The binomial theorem is the rule for expanding a power of a sum. For every non-negative integer nn, the expression (x+y)n(x+y)^n becomes a finite polynomial whose terms are built from the binomial coefficients C(n,k)C(n,k).

The source page states the expansion for positive integers. The coefficient notation C(n,k)C(n,k), the convention 0!=10! = 1 and the n+1n+1 term count below are added here so that the sum can be evaluated and checked term by term.

Statement of the Theorem

For a non-negative integer nn, the expansion of (x+y)n(x+y)^n is the finite sum

(x+y)n=∑k=0nC(n,k) xn−k yk(x+y)^n = \sum_{k=0}^{n} C(n,k)\,x^{n-k}\,y^{k}

where the binomial coefficient is defined by

C(n,k)=n!k! (n−k)!,0!=1C(n,k) = \frac{n!}{k!\,(n-k)!}, \qquad 0! = 1

The factorial is n!=n⋅(n−1)⋯2⋅1n! = n\cdot(n-1)\cdots 2\cdot 1 for n≥1n \ge 1, and 0!=10! = 1 by definition, so the two edge coefficients of every row are defined.

The index takes the values k=0,1,…,nk = 0, 1, \ldots, n. That is n+1n+1 values, so the expansion contains exactly n+1n+1 terms, from xnx^{n} down to yny^{n}. Coefficients are symmetric, C(n,k)=C(n,n−k)C(n,k) = C(n,n-k), and the coefficients in each row add up to 2n2^{n}.

Binomial Coefficients

The coefficients form Pascal's triangle: row nn lists C(n,0)C(n,0) through C(n,n)C(n,n). Each entry is the sum of the two entries above it,

C(n,k)=C(n−1,k−1)+C(n−1,k)C(n,k) = C(n-1,k-1) + C(n-1,k)

so the table can be built by addition instead of factorials. The values for n=0n = 0 to n=6n = 6 are:

7 rows
n = 0 to 6: Pascal's triangle, row sums 2ⁿ.
01——————1
111—————2
2121————4
31331———8
414641——16
515101051—32
6161520156164

Source: Derived from C(n,k) = n!/(k!(n-k)!) and the Pascal recursion

Source Expansion

The source writes the same expansion term by term for positive integers:

(x+y)n=xn+n xn−1y+n(n−1)2! xn−2y2+n(n−1)(n−2)3! xn−3y3+⋯+n x yn−1+yn(x+y)^n = x^n + n\,x^{n-1}y + \frac{n(n-1)}{2!}\,x^{n-2}y^2 + \frac{n(n-1)(n-2)}{3!}\,x^{n-3}y^3 + \cdots + n\,x\,y^{n-1} + y^n

Reading the two forms together, the running coefficients n, n(n−1)/2!, n(n−1)(n−2)/3!, …n,\ n(n-1)/2!,\ n(n-1)(n-2)/3!,\ \ldots are C(n,1), C(n,2), C(n,3), …C(n,1),\ C(n,2),\ C(n,3),\ \ldots, and the exponents of xx and yy in every term add up to nn.

Worked Expansions

For n=0n = 0 the sum has one term:

(x+y)0=C(0,0) x0y0=1(x+y)^0 = C(0,0)\,x^{0}y^{0} = 1

For n=1n = 1 it has two terms:

(x+y)1=C(1,0) x1y0+C(1,1) x0y1=x+y(x+y)^1 = C(1,0)\,x^{1}y^{0} + C(1,1)\,x^{0}y^{1} = x + y

For n=2n = 2 it has three terms:

(x+y)2=C(2,0) x2+C(2,1) xy+C(2,2) y2=x2+2xy+y2(x+y)^2 = C(2,0)\,x^{2} + C(2,1)\,xy + C(2,2)\,y^{2} = x^2 + 2xy + y^2

For n=3n = 3 it has four terms with coefficients 1,3,3,11, 3, 3, 1:

(x+y)3=C(3,0) x3+C(3,1) x2y+C(3,2) xy2+C(3,3) y3=x3+3x2y+3xy2+y3(x+y)^3 = C(3,0)\,x^{3} + C(3,1)\,x^{2}y + C(3,2)\,xy^{2} + C(3,3)\,y^{3} = x^3 + 3x^2y + 3xy^2 + y^3

Check of the n=3n = 3 line: the coefficients are C(3,0)=1C(3,0) = 1, C(3,1)=3C(3,1) = 3, C(3,2)=3C(3,2) = 3 and C(3,3)=1C(3,3) = 1; the exponent pairs are (3,0), (2,1), (1,2) and (0,3), each summing to 3; and the term count is 4. Substituting x=2x = 2 and y=1y = 1 gives

(2+1)3=1⋅23+3⋅22⋅1+3⋅2⋅12+1⋅13=8+12+6+1=27(2+1)^3 = 1\cdot 2^{3} + 3\cdot 2^{2}\cdot 1 + 3\cdot 2\cdot 1^{2} + 1\cdot 1^{3} = 8 + 12 + 6 + 1 = 27

which matches 33=273^{3} = 27.

4 rows
Expansions for n = 0 to 3, term counts and the numerical check at x = 2, y = 1.
Expansion
0111
1x + y23
2x² + 2xy + y²39
3x³ + 3x²y + 3xy² + y³427

Source: Binomial theorem with 0! = 1

Applicability: Integer Exponents Only

The finite polynomial above is valid only for non-negative integer exponents. The source states positive integers; the case n=0n = 0 follows from 0!=10! = 1 and leaves the single term 1.

Do not apply this finite form to a non-integer or negative exponent. For such exponents the expansion does not terminate. Writing x+y=x(1+z)x + y = x(1 + z) with z=y/xz = y/x, it becomes the infinite binomial series

(1+z)α=1+αz+α(α−1)2!z2+⋯=∑k=0∞α(α−1)⋯(α−k+1)k! zk(1+z)^\alpha = 1 + \alpha z + \frac{\alpha(\alpha-1)}{2!}z^2 + \cdots = \sum_{k=0}^{\infty} \frac{\alpha(\alpha-1)\cdots(\alpha-k+1)}{k!}\,z^{k}

which converges for ∣z∣<1|z| \lt 1. For example, n=1/2n = 1/2 cannot be put into C(n,k)=n!k! (n−k)!C(n,k) = \frac{n!}{k!\,(n-k)!}, because that factorial is defined only for non-negative integers. For a small correction with y≪xy \ll x, engineering work often uses the first-order approximation

(x+y)1/2≈x1/2+12x−1/2y(x+y)^{1/2} \approx x^{1/2} + \frac{1}{2}x^{-1/2}y

which is a truncated series, not the finite binomial theorem.

Typical Uses

  • Small corrections. For ∣ε∣≪1|\varepsilon| \ll 1 the first-order expansion (1+ε)n≈1+nε(1+\varepsilon)^n \approx 1 + n\varepsilon turns a power into a linear correction, which is why small tolerances and instrument errors are often added linearly.
  • Probability. The binomial distribution is the term C(n,k) pk(1−p)n−kC(n,k)\,p^{k}(1-p)^{n-k} of the theorem with x=px = p and y=1−py = 1-p; the coefficient counts, for nn trials, the number of ways to choose kk successes.
  • Expansion checks. Because the coefficients and exponents are fixed, a computed expansion can be verified by substituting two simple values, as in the x=2x = 2, y=1y = 1 check above.

References