MathorynMathematical Formula Database

Algebra

Binomial Theorem

The binomial theorem expands any power of a sum (a+b)n(a+b)^n for a non-negative integer nn into a sum of terms whose coefficients are binomial coefficients (the numbers in Pascal's triangle). It is used in algebra, probability (the binomial distribution) and approximations such as (1+x)n≈1+nx(1+x)^n\approx 1+nx for small xx.

(a+b)n=∑k=0n(nk)an−kbk(a+b)^n=\sum_{k=0}^{n}\binom{n}{k}a^{n-k}b^{k}
LaTeX(a+b)^n=\sum_{k=0}^{n}\binom{n}{k}a^{n-k}b^{k}

Variables

a, ba,\ b
the two terms of the binomial
nn
a non-negative integer exponent
kk
summation index, from 0 to n
(nk)\binom{n}{k}
binomial coefficient n!k!(n−k)!\frac{n!}{k!(n-k)!}

Example

Expand (x+2)3(x+2)^3.

  1. Coefficients for n=3n=3: (30),(31),(32),(33)=1,3,3,1\binom30,\binom31,\binom32,\binom33 = 1,3,3,1.
  2. (x+2)3=x3+3x2⋅2+3x⋅22+23(x+2)^3=x^3+3x^2\cdot 2+3x\cdot 2^2+2^3.
  3. Simplify the terms.

Answer: (x+2)3=x3+6x2+12x+8(x+2)^3=x^3+6x^2+12x+8.

Related formulas