Counting · Definition

Binomial theorem

discrete mathematicscounting

Before you start you need to know

It avoids multiplying a binomial by itself again and again: it states at once the coefficient of every term.

Definition

The binomial theorem expresses the power \((x+y)^n\), with \(n\) a nonnegative integer, as a sum of terms whose coefficients are the binomial coefficients \(\binom{n}{k}\).

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

The idea comes from counting. When multiplying \(n\) factors \((x+y)\), each term arises by choosing \(x\) or \(y\) in every factor. Terms with \(y^k\) come from choosing \(y\) in exactly \(k\) of the \(n\) factors, which can be done in \(\binom{n}{k}\) ways; hence the coefficient of \(x^{n-k}y^k\) is \(\binom{n}{k}\). An alternative proof uses induction on \(n\) together with Pascal's rule.

For example, \((x+2)^4=x^4+8x^3+24x^2+32x+16\): the term with \(x^2\) is \(\binom{4}{2}x^2\cdot 2^2=6\cdot 4\,x^2\). The expansion has \(n+1\) terms and its coefficients form row \(n\) of Pascal's triangle. For \((x-y)^n\) it suffices to replace \(y\) by \(-y\), so the signs alternate.

Plugging in particular values yields useful identities. With \(x=y=1\) one gets \(\sum_k\binom{n}{k}=2^n\), and with \(x=1,\ y=-1\) one gets \(\sum_k(-1)^k\binom{n}{k}=0\) for \(n\ge 1\). Typical mistake: forgetting that \(x\) and \(y\) may carry coefficients, as in \((2x-1)^4\), where the 2 is also raised to the power.

Think about it

What is the coefficient of \(x^7\) in \((x+1)^{10}\)?

\(\binom{10}{7}=\binom{10}{3}=120\), by the symmetry of binomial coefficients.

Why is \(\sum_k\binom{n}{k}2^k=3^n\)?

It is the theorem with \(x=1,\ y=2\): \((1+2)^n=3^n\).

Exercises 10

References

  • Kenneth H. Rosen, Discrete Mathematics and Its Applications, 8th edition, McGraw-Hill, 2019. §6.4
  • Susanna S. Epp, Discrete Mathematics with Applications, 5th edition, Cengage, 2019. §9.7
  • Ralph P. Grimaldi, Discrete and Combinatorial Mathematics: An Applied Introduction, 5th edition, Pearson, 2003. §1.3