Skip to content

The binomial expansion for positive integer powers

The binomial theorem expands a power of a two-term expression without repeated multiplication. For every non-negative integer nn,

(a+b)n=r=0n(nr)anrbr.(a+b)^n=\sum_{r=0}^{n}\binom nr a^{n-r}b^r.

It gives the complete expansion, but its greater strength is that it can find one chosen term or coefficient directly.

You should be able to:

  • use the laws of indices
  • expand and simplify algebraic expressions
  • distinguish a term from its coefficient
  • evaluate factorials
  • substitute negative values with care

Review indices and polynomials if needed. The summation symbol is explained in sigma notation.

Consider

(a+b)3=(a+b)(a+b)(a+b).(a+b)^3=(a+b)(a+b)(a+b).

To produce a2ba^2b, choose bb from exactly one of the three brackets and aa from the other two. There are three possible choices, so its coefficient is 33. To produce ab2ab^2, choose the two brackets supplying bb. Again there are three choices. Hence

(a+b)3=a3+3a2b+3ab2+b3.(a+b)^3=a^3+3a^2b+3ab^2+b^3.

In general, the term containing brb^r arises by choosing bb from rr of the nn brackets. The number of ways to do this is

(nr)=nCr=n!r!(nr)!.\binom nr={}^{n}C_r=\frac{n!}{r!(n-r)!}.

Here 0!=10!=1, so (n0)=(nn)=1\binom n0=\binom nn=1. Also,

(nr)=(nnr),\binom nr=\binom n{n-r},

because choosing the rr brackets that supply bb is equivalent to choosing the other nrn-r brackets that supply aa.

For small powers, the coefficients can be read from Pascal’s triangle:

n\multicolumn7ccoefficients0111121213133141464151510105161615201561\begin{array}{c|ccccccc} n&\multicolumn{7}{c}{\text{coefficients}}\\ \hline 0&1\\ 1&1&1\\ 2&1&2&1\\ 3&1&3&3&1\\ 4&1&4&6&4&1\\ 5&1&5&10&10&5&1\\ 6&1&6&15&20&15&6&1 \end{array}

Each interior entry is the sum of the two entries above it. Row nn contains n+1n+1 coefficients, beginning and ending with 11.

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

Row 55 has coefficients 1,5,10,10,5,11,5,10,10,5,1. The power of xx decreases from 55 to 00, while the power of 22 increases from 00 to 55:

(x+2)5=x5+5x4(2)+10x3(22)+10x2(23)+5x(24)+25=x5+10x4+40x3+80x2+80x+32.\begin{aligned} (x+2)^5 &=x^5+5x^4(2)+10x^3(2^2)+10x^2(2^3)+5x(2^4)+2^5\\ &=x^5+10x^4+40x^3+80x^2+80x+32. \end{aligned}

Quick check. Substituting x=0x=0 gives 25=322^5=32, matching the constant term. Substituting x=1x=1 makes the coefficients sum to 35=2433^5=243, and indeed 1+10+40+80+80+32=2431+10+40+80+80+32=243.

Number the terms from 11, but number rr from 00. The (r+1)(r+1)th term of (a+b)n(a+b)^n is

Tr+1=(nr)anrbr,r=0,1,,n.\boxed{T_{r+1}=\binom nr a^{n-r}b^r},\qquad r=0,1,\ldots,n.

This indexing matters. The first term uses r=0r=0, the second uses r=1r=1, and the kkth term uses r=k1r=k-1.

Across consecutive terms:

  • the power of aa falls by 11
  • the power of bb rises by 11
  • the sum of those powers remains nn

Example 2: expand a binomial with coefficients

Section titled “Example 2: expand a binomial with coefficients”

Expand (2x3)4(2x-3)^4.

Treat the expression as (2x+(3))4(2x+(-3))^4. Keeping 3-3 inside brackets preserves the alternating signs:

(2x3)4=(40)(2x)4+(41)(2x)3(3)+(42)(2x)2(3)2+(43)(2x)(3)3+(44)(3)4=16x496x3+216x2216x+81.\begin{aligned} (2x-3)^4 &=\binom40(2x)^4+\binom41(2x)^3(-3) +\binom42(2x)^2(-3)^2\\ &\quad+\binom43(2x)(-3)^3+\binom44(-3)^4\\ &=16x^4-96x^3+216x^2-216x+81. \end{aligned}

The sign alternates because (3)r(-3)^r is positive for even rr and negative for odd rr.

Find the fifth term in the expansion of (3x2)7(3x-2)^7.

The fifth term corresponds to r=4r=4, not r=5r=5:

T5=(74)(3x)74(2)4=35(27x3)(16)=15120x3.\begin{aligned} T_5 &=\binom74(3x)^{7-4}(-2)^4\\ &=35(27x^3)(16)\\ &=15120x^3. \end{aligned}

Only the requested term was calculated.

Write the general term first, then solve an index equation for the required power. This is safer than expanding everything.

Find the coefficient of x5x^5 in (23x)8(2-3x)^8.

The general term is

Tr+1=(8r)28r(3x)r=(8r)28r(3)rxr.T_{r+1}=\binom8r2^{8-r}(-3x)^r =\binom8r2^{8-r}(-3)^r x^r.

For an x5x^5 term, r=5r=5. Therefore its coefficient is

(85)23(3)5=568(243)=108864.\binom85 2^3(-3)^5 =56\cdot8\cdot(-243) =-108864.

The term is 108864x5-108864x^5, while the coefficient is 108864-108864.

Find the coefficient of x4x^4 in

(x2+2x)5.\left(x^2+\frac{2}{x}\right)^5.

The general term is

Tr+1=(5r)(x2)5r(2x)r=(5r)2rx102rr=(5r)2rx103r.\begin{aligned} T_{r+1} &=\binom5r(x^2)^{5-r}\left(\frac2x\right)^r\\ &=\binom5r2^r x^{10-2r-r}\\ &=\binom5r2^r x^{10-3r}. \end{aligned}

Set the exponent equal to 44:

103r=4r=2.10-3r=4\quad\Longrightarrow\quad r=2.

Thus the coefficient is

(52)22=104=40.\binom522^2=10\cdot4=40.

The common mistake here is to assume that the power of xx is simply rr. Both parts of the binomial contribute powers of xx.

Does the expansion of

(x3+1x)6\left(x^3+\frac1x\right)^6

contain a constant term?

Its general term contains

(x3)6r(x1)r=x184r.(x^3)^{6-r}(x^{-1})^r=x^{18-4r}.

A constant term would require

184r=0r=92.18-4r=0\quad\Longrightarrow\quad r=\frac92.

But rr must be an integer from 00 to 66. Therefore there is no constant term. Do not round rr to a nearby integer.

When another factor multiplies the expansion, identify every product that can make the requested power.

Find the coefficient of x3x^3 in

(1+2x)(1x)6.(1+2x)(1-x)^6.

An x3x^3 term can arise in two ways:

1×[the x3 term],2x×[the x2 term].1\times[\text{the }x^3\text{ term}], \qquad 2x\times[\text{the }x^2\text{ term}].

In (1x)6(1-x)^6, the coefficient of xrx^r is (6r)(1)r\binom6r(-1)^r. Hence the required coefficient is

(63)(1)3+2(62)(1)2=20+30=10.\binom63(-1)^3+2\binom62(-1)^2 =-20+30 =10.

Taking only one contribution would miss part of the coefficient.

A finite binomial expansion can produce a useful numerical approximation. Write the number as a+ba+b, where ana^n is easy to calculate and bb is small. Early correction terms may then give the required accuracy.

Use a binomial expansion to approximate 1.0151.01^5.

Here 1.01=1+0.011.01=1+0.01, so

1.015=(1+0.01)5=1+5(0.01)+10(0.01)2+10(0.01)3+5(0.01)4+(0.01)5=1.0510100501.\begin{aligned} 1.01^5 &=(1+0.01)^5\\ &=1+5(0.01)+10(0.01)^2+10(0.01)^3 +5(0.01)^4+(0.01)^5\\ &=1.0510100501. \end{aligned}

Using only terms up to (0.01)2(0.01)^2 gives 1.0511.051. The omitted terms total 0.00001005010.0000100501, so this shortened value is correct to three decimal places.

This use of the theorem still has an exact finite expansion. Infinite expansions for non-integer powers require an additional convergence condition and are covered in the binomial expansion for rational powers.

”The powers in each term are the same”

Section titled “”The powers in each term are the same””

In (nr)anrbr\binom nr a^{n-r}b^r, one power decreases while the other increases. Their sum is always nn.

The first term uses r=0r=0, so the fourth term uses r=3r=3. Translate TkT_k into r=k1r=k-1 before substituting.

”A negative sign can be added afterwards”

Section titled “”A negative sign can be added afterwards””

Use (3)r(-3)^r, not 3r-3^r. Brackets determine whether the sign alternates correctly.

The exponent equation may give a non-integer rr or an integer outside 0rn0\leq r\leq n. In either case, that term does not exist.

”The coefficient includes the variable”

Section titled “”The coefficient includes the variable””

In 12x4-12x^4, the term is 12x4-12x^4 and the coefficient of x4x^4 is 12-12.

  1. Expand (x3)4(x-3)^4.
  2. Find the fourth term of (2+5x)6(2+5x)^6.
  3. Find the coefficient of x6x^6 in (12x2)7(1-2x^2)^7.
  4. Find the constant term in (x2+3x)6\left(x^2+\frac3x\right)^6.
  5. Find the coefficient of x4x^4 in (1+x)(12x)5(1+x)(1-2x)^5.
  6. Explain why (a+b)n(a+b)^n has n+1n+1 terms before like terms are combined.
  1. Using coefficients 1,4,6,4,11,4,6,4,1,

    (x3)4=x412x3+54x2108x+81.(x-3)^4=x^4-12x^3+54x^2-108x+81.
  2. The fourth term uses r=3r=3:

    T4=(63)23(5x)3=20000x3.T_4=\binom63 2^3(5x)^3=20000x^3.
  3. Since (x2)r=x2r(x^2)^r=x^{2r}, set 2r=62r=6, giving r=3r=3. The coefficient is

    (73)(2)3=35(8)=280.\binom73(-2)^3=35(-8)=-280.
  4. The power of xx in the general term is

    2(6r)r=123r.2(6-r)-r=12-3r.

    Setting this to zero gives r=4r=4, so the constant term is

    (64)34=1581=1215.\binom64 3^4=15\cdot81=1215.
  5. Combine the x4x^4 term from (12x)5(1-2x)^5 with xx times its x3x^3 term:

    (54)(2)4+(53)(2)3=8080=0.\binom54(-2)^4+\binom53(-2)^3=80-80=0.

    The two contributions cancel, so there is no x4x^4 term after simplification.

  6. The index rr takes the n+1n+1 values 0,1,,n0,1,\ldots,n, producing one term for each possible number of choices of bb.

For a positive integer nn,

(a+b)n=r=0n(nr)anrbr,(nr)=n!r!(nr)!.(a+b)^n=\sum_{r=0}^{n}\binom nr a^{n-r}b^r, \qquad \binom nr=\frac{n!}{r!(n-r)!}.

To find a particular term or coefficient:

  1. write Tr+1=(nr)anrbrT_{r+1}=\binom nr a^{n-r}b^r
  2. simplify the variable power
  3. solve for the integer rr
  4. substitute rr and evaluate the numerical coefficient
  5. check signs, term numbering and the range 0rn0\leq r\leq n

Next, study the binomial expansion for rational powers, where the expansion may be infinite and valid only for a stated range of values.