Skip to content

Binomial Theorem

By the end of this section, you will be able to: use Pascal’s Triangle to expand a binomial, evaluate a binomial coefficient, and use the Binomial Theorem to expand a binomial.

Use Pascal’s Triangle to expand a binomial

In our previous work, we have squared binomials either by using FOIL or by using the Binomial Squares Pattern. We can also say that we expanded (a+b)2(a+b)^2.

(a+b)2=a2+2ab+b2(a+b)^2=a^2+2ab+b^2

To expand (a+b)3(a+b)^3, we recognize that this is (a+b)2(a+b)(a+b)^2(a+b) and multiply.

(a+b)3=(a+b)2(a+b)=(a2+2ab+b2)(a+b)=a3+2a2b+ab2+a2b+2ab2+b3=a3+3a2b+3ab2+b3 \begin{aligned} (a+b)^3 &=(a+b)^2(a+b)\\ &=(a^2+2ab+b^2)(a+b)\\ &=a^3+2a^2b+ab^2+a^2b+2ab^2+b^3\\ &=a^3+3a^2b+3ab^2+b^3 \end{aligned}

To find a method that is less tedious that will work for higher expansions like (a+b)7(a+b)^7, we again look for patterns in some expansions.

ExpansionNumber of termsFirst termLast term
(a+b)1=a+b(a+b)^1=a+b2a1a^1b1b^1
(a+b)2=a2+2ab+b2(a+b)^2=a^2+2ab+b^23a2a^2b2b^2
(a+b)3=a3+3a2b+3ab2+b3(a+b)^3=a^3+3a^2b+3ab^2+b^34a3a^3b3b^3
(a+b)4=a4+4a3b+6a2b2+4ab3+b4(a+b)^4=a^4+4a^3b+6a^2b^2+4ab^3+b^45a4a^4b4b^4
(a+b)5=a5+5a4b+10a3b2+10a2b3+5ab4+b5(a+b)^5=a^5+5a^4b+10a^3b^2+10a^2b^3+5ab^4+b^56a5a^5b5b^5
(a+b)n(a+b)^nn+1n+1ana^nbnb^n

Notice the first and last terms show only one variable. Recall that a0=1a^0=1, so we could rewrite the first and last terms to include both variables. For example, we could expand (a+b)3(a+b)^3 to show each term with both variables.

(a+b)3=a3b0+3a2b1+3a1b2+a0b3(a+b)^3=a^3b^0+3a^2b^1+3a^1b^2+a^0b^3

Generally, we don’t show the zero exponents, just as we usually write xx rather than 1x1x.

Patterns in the expansion of (a+b)n(a+b)^n

  • The number of terms is n+1n+1.
  • The first term is ana^n and the last term is bnb^n.
  • The exponents on aa decrease by one on each term going left to right.
  • The exponents on bb increase by one on each term going left to right.
  • The sum of the exponents on any term is nn.

Let’s look at an example to highlight the last three patterns.

(a+b)5=a5+5a4b1+10a3b2+10a2b3+5a1b4+b5 (a+b)^5 =a^5+5a^4b^1+10a^3b^2+10a^2b^3+5a^1b^4+b^5

The exponents of aa go from 543215\to4\to3\to2\to1. The exponents of bb go from 123451\to2\to3\to4\to5. In each term, the sum of the exponents is 5.

From the patterns we identified, we see the variables in the expansion of (a+b)n(a+b)^n would be

(a+b)n=an+00an1b1+00an2b2++00a1bn1+bn.(a+b)^n=a^n+\underline{\phantom{00}}a^{n-1}b^1+ \underline{\phantom{00}}a^{n-2}b^2+\cdots+ \underline{\phantom{00}}a^1b^{n-1}+b^n.

To find the coefficients of the terms, we write our expansions again, focusing on the coefficients. We rewrite the coefficients to the right, forming an array of coefficients.

(a+b)0=1(a+b)1=1a+1b(a+b)2=1a2+2ab+1b2(a+b)3=1a3+3a2b+3ab2+1b3(a+b)4=1a4+4a3b+6a2b2+4ab3+1b4(a+b)5=1a5+5a4b+10a3b2+10a2b3+5ab4+1b5 \begin{array}{rcl} (a+b)^0&=&1\\[4pt] (a+b)^1&=&1a+1b\\[4pt] (a+b)^2&=&1a^2+2ab+1b^2\\[4pt] (a+b)^3&=&1a^3+3a^2b+3ab^2+1b^3\\[4pt] (a+b)^4&=&1a^4+4a^3b+6a^2b^2+4ab^3+1b^4\\[4pt] (a+b)^5&=&1a^5+5a^4b+10a^3b^2+10a^2b^3+5ab^4+1b^5 \end{array}

The array to the right is called Pascal’s Triangle. Notice each number in the array is the sum of the two closest numbers in the row above. We can find the next row by starting and ending with one and then adding two adjacent numbers.

111121133114641151010511615201561 \begin{array}{rrrrrrrrrrrrr} &&&&&&1\\ &&&&&1&&1\\ &&&&1&&2&&1\\ &&&1&&3&&3&&1\\ &&1&&4&&6&&4&&1\\ &1&&5&&10&&10&&5&&1\\ 1&&6&&15&&20&&15&&6&&1 \end{array}

This triangle gives the coefficients of the terms when we expand binomials.

Pascal’s Triangle

111121133114641151010511615201561 \begin{array}{rrrrrrrrrrrrr} &&&&&&1\\ &&&&&1&&1\\ &&&&1&&2&&1\\ &&&1&&3&&3&&1\\ &&1&&4&&6&&4&&1\\ &1&&5&&10&&10&&5&&1\\ 1&&6&&15&&20&&15&&6&&1 \end{array}

In the next example, we will use this triangle and the patterns we recognized to expand the binomial.

Example 12.31. Use Pascal’s Triangle to expand (x+y)6(x+y)^6.

Solution. We know the variables for this expansion will follow the pattern we identified. The nonzero exponents of xx will start at six and decrease to one. The nonzero exponents of yy will start at one and increase to six. The sum of the exponents in each term will be six. In our pattern, a=xa=x and b=yb=y.

(a+b)n=an+00an1b1+00an2b2++00a1bn1+bn(x+y)6=x6+00x5y1+00x4y2+00x3y3+00x2y4+00x1y5+y6 \begin{aligned} (a+b)^n &=a^n+\underline{\phantom{00}}a^{n-1}b^1+ \underline{\phantom{00}}a^{n-2}b^2+\cdots+ \underline{\phantom{00}}a^1b^{n-1}+b^n\\ (x+y)^6 &=x^6+\underline{\phantom{00}}x^5y^1+ \underline{\phantom{00}}x^4y^2+ \underline{\phantom{00}}x^3y^3+ \underline{\phantom{00}}x^2y^4+ \underline{\phantom{00}}x^1y^5+y^6 \end{aligned}

To find the coefficients, we go to Pascal’s Triangle and read off the coefficients from the row whose second entry is nn, in this case, 6.

(x+y)6=1x6+6x5y1+15x4y2+20x3y3+15x2y4+6x1y5+1y6=x6+6x5y+15x4y2+20x3y3+15x2y4+6xy5+y6 \begin{aligned} (x+y)^6 &=1x^6+6x^5y^1+15x^4y^2+20x^3y^3+15x^2y^4+6x^1y^5+1y^6\\ &=x^6+6x^5y+15x^4y^2+20x^3y^3+15x^2y^4+6xy^5+y^6 \end{aligned}

Use Pascal's Triangle to expand (x+y)5(x+y)^5.

Use Pascal's Triangle to expand (p+q)7(p+q)^7.

In the next example we want to expand a binomial with one variable and one constant. We need to identify the aa and bb to carefully apply the pattern.

Example 12.32. Use Pascal’s Triangle to expand (x+3)5(x+3)^5.

Solution. We identify the aa and bb of the pattern.

(a+b)n(x+3)5 \begin{array}{c} (a+b)^n\\ (x+3)^5 \end{array}

In our pattern, a=xa=x and b=3b=3. We know the variables for this expansion will follow the pattern we identified. The sum of the exponents in each term will be five.

(a+b)n=an+00an1b1+00an2b2++00a1bn1+bn(x+3)5=x5+00x431+00x332+00x233+00x134+35 \begin{aligned} (a+b)^n &=a^n+\underline{\phantom{00}}a^{n-1}b^1+ \underline{\phantom{00}}a^{n-2}b^2+\cdots+ \underline{\phantom{00}}a^1b^{n-1}+b^n\\ (x+3)^5 &=x^5+\underline{\phantom{00}}x^4\cdot3^1+ \underline{\phantom{00}}x^3\cdot3^2+ \underline{\phantom{00}}x^2\cdot3^3+ \underline{\phantom{00}}x^1\cdot3^4+3^5 \end{aligned}

To find the coefficients, we go to Pascal’s Triangle and read off the coefficients from the row whose second entry is nn, in this case, 5.

(x+3)5=1x5+53x4+109x3+1027x2+581x+1243=x5+15x4+90x3+270x2+405x+243 \begin{aligned} (x+3)^5 &=1x^5+5\cdot3x^4+10\cdot9x^3+10\cdot27x^2+5\cdot81x+1\cdot243\\ &=x^5+15x^4+90x^3+270x^2+405x+243 \end{aligned}

Use Pascal's Triangle to expand (x+2)4(x+2)^4.

Use Pascal's Triangle to expand (x+1)6(x+1)^6.

In the next example, the binomial is a difference and the first term has a constant times the variable. Once we identify the aa and bb of the pattern, we must once again carefully apply the pattern.

Example 12.33. Use Pascal’s Triangle to expand (3x2)4(3x-2)^4.

Solution. We identify the aa and bb of the pattern.

(a+b)n(3x2)4 \begin{array}{c} (a+b)^n\\ (3x-2)^4 \end{array}

In our pattern, a=3xa=3x and b=2b=-2. To find the coefficients, we go to Pascal’s Triangle and read off the coefficients from the row whose second entry is nn, in this case, 4.

(a+b)n=an+00an1b1+00an2b2++00a1bn1+bn(3x2)4=1(3x)4+4(3x)3(2)1+6(3x)2(2)2+4(3x)1(2)3+1(2)4=81x4+4(27x3)(2)+6(9x2)(4)+4(3x)(8)+116=81x4216x3+216x296x+16 \begin{aligned} (a+b)^n &=a^n+\underline{\phantom{00}}a^{n-1}b^1+ \underline{\phantom{00}}a^{n-2}b^2+\cdots+ \underline{\phantom{00}}a^1b^{n-1}+b^n\\ (3x-2)^4 &=1(3x)^4+4(3x)^3(-2)^1+6(3x)^2(-2)^2+ 4(3x)^1(-2)^3+1(-2)^4\\ &=81x^4+4(27x^3)(-2)+6(9x^2)(4)+4(3x)(-8)+1\cdot16\\ &=81x^4-216x^3+216x^2-96x+16 \end{aligned}

Use Pascal's Triangle to expand (2x3)4(2x-3)^4.

Use Pascal's Triangle to expand (2x1)6(2x-1)^6.

Evaluate a binomial coefficient

While Pascal’s Triangle is one method to expand a binomial, we will also look at another method. Before we get to that, we need to introduce some more factorial notation. This notation is not only used to expand binomials, but also in the study and use of probability.

To find the coefficients of the terms of expanded binomials, we will need to be able to evaluate the notation (nr)\binom{n}{r}, which is called a binomial coefficient. We read (nr)\binom{n}{r} as “nn choose rr” or “nn taken rr at a time.”

Binomial coefficient

A binomial coefficient (nr)\binom{n}{r}, where rr and nn are integers with 0rn0\le r\le n, is defined as

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

We read (nr)\binom{n}{r} as “nn choose rr” or “nn taken rr at a time.”

Example 12.34. Evaluate: (a) (51)\binom{5}{1}, (b) (77)\binom{7}{7}, (c) (40)\binom{4}{0}, (d) (85)\binom{8}{5}.

Solution.

(a) We will use the definition of a binomial coefficient, (nr)=n!r!(nr)!\binom{n}{r}=\tfrac{n!}{r!(n-r)!}.

(51)=5!1!(51)!=5!1!(4)!=54!14!=5 \begin{aligned} \binom{5}{1} &=\frac{5!}{1!(5-1)!}\\ &=\frac{5!}{1!(4)!}\\ &=\frac{5\cdot4!}{1\cdot4!}\\ &=5 \end{aligned}

Thus, (51)=5\binom{5}{1}=5.

(b)

(77)=7!7!(77)!=7!7!(0)!=1 \begin{aligned} \binom{7}{7} &=\frac{7!}{7!(7-7)!}\\ &=\frac{7!}{7!(0)!}\\ &=1 \end{aligned}

Remember, 0!=10!=1. Thus, (77)=1\binom{7}{7}=1.

(c)

(40)=4!0!(40)!=4!0!(4)!=1 \begin{aligned} \binom{4}{0} &=\frac{4!}{0!(4-0)!}\\ &=\frac{4!}{0!(4)!}\\ &=1 \end{aligned}

Thus, (40)=1\binom{4}{0}=1.

(d)

(85)=8!5!(85)!=8!5!(3)!=8765!5!321=56 \begin{aligned} \binom{8}{5} &=\frac{8!}{5!(8-5)!}\\ &=\frac{8!}{5!(3)!}\\ &=\frac{8\cdot7\cdot6\cdot5!}{5!\cdot3\cdot2\cdot1}\\ &=56 \end{aligned}

Thus, (85)=56\binom{8}{5}=56.

Evaluate (61)\binom{6}{1}.

Evaluate (88)\binom{8}{8}.

Evaluate (50)\binom{5}{0}.

In the previous example, parts (a), (b), and (c) demonstrate some special properties of binomial coefficients.

Properties of binomial coefficients

(n1)=n,(nn)=1,(n0)=1.\binom{n}{1}=n,\qquad \binom{n}{n}=1,\qquad \binom{n}{0}=1.

Use the Binomial Theorem to expand a binomial

We are now ready to use the alternate method of expanding binomials. The Binomial Theorem uses the same pattern for the variables, but uses the binomial coefficient for the coefficient of each term.

Binomial Theorem

For any real numbers aa and bb, and positive integer nn,

(a+b)n=(n0)an+(n1)an1b1+(n2)an2b2++(nr)anrbr++(nn)bn. (a+b)^n= \binom{n}{0}a^n+ \binom{n}{1}a^{n-1}b^1+ \binom{n}{2}a^{n-2}b^2+\cdots+ \binom{n}{r}a^{n-r}b^r+\cdots+ \binom{n}{n}b^n.

Example 12.35. Use the Binomial Theorem to expand (p+q)4(p+q)^4.

Solution. We identify the aa and bb of the pattern.

(a+b)n(p+q)4 \begin{array}{c} (a+b)^n\\ (p+q)^4 \end{array}

In our pattern, a=pa=p and b=qb=q. We use the Binomial Theorem.

(a+b)n=(n0)an+(n1)an1b1+(n2)an2b2++(nr)anrbr++(nn)bn (a+b)^n= \binom{n}{0}a^n+ \binom{n}{1}a^{n-1}b^1+ \binom{n}{2}a^{n-2}b^2+\cdots+ \binom{n}{r}a^{n-r}b^r+\cdots+ \binom{n}{n}b^n

Substitute in the values a=pa=p, b=qb=q, and n=4n=4.

(p+q)4=(40)p4+(41)p41q1+(42)p42q2+(43)p43q3+(44)q4 (p+q)^4= \binom{4}{0}p^4+ \binom{4}{1}p^{4-1}q^1+ \binom{4}{2}p^{4-2}q^2+ \binom{4}{3}p^{4-3}q^3+ \binom{4}{4}q^4

Simplify the exponents.

(p+q)4=(40)p4+(41)p3q+(42)p2q2+(43)pq3+(44)q4 (p+q)^4= \binom{4}{0}p^4+ \binom{4}{1}p^3q+ \binom{4}{2}p^2q^2+ \binom{4}{3}pq^3+ \binom{4}{4}q^4

Evaluate the coefficients. Remember, (n1)=n\binom{n}{1}=n, (nn)=1\binom{n}{n}=1, and (n0)=1\binom{n}{0}=1.

(p+q)4=1p4+4p3q+4!2!(2)!p2q2+4!3!(43)!pq3+1q4=p4+4p3q+6p2q2+4pq3+q4 \begin{aligned} (p+q)^4 &=1p^4+4p^3q+\frac{4!}{2!(2)!}p^2q^2+ \frac{4!}{3!(4-3)!}pq^3+1q^4\\ &=p^4+4p^3q+6p^2q^2+4pq^3+q^4 \end{aligned}

Use the Binomial Theorem to expand (x+y)5(x+y)^5.

Use the Binomial Theorem to expand (m+n)6(m+n)^6.

Notice that when we expanded (p+q)4(p+q)^4 in the last example, using the Binomial Theorem, we got the same coefficients we would get from using Pascal’s Triangle.

(p+q)4=(40)p4+(41)p3q+(42)p2q2+(43)pq3+(44)q4=p4+4p3q+6p2q2+4pq3+q4 \begin{aligned} (p+q)^4 &=\binom{4}{0}p^4+\binom{4}{1}p^3q+ \binom{4}{2}p^2q^2+\binom{4}{3}pq^3+\binom{4}{4}q^4\\ &=p^4+4p^3q+6p^2q^2+4pq^3+q^4 \end{aligned}

The next example, the binomial is a difference. When the binomial is a difference, we must be careful in identifying the values we will use in the pattern.

Example 12.36. Use the Binomial Theorem to expand (x2)5(x-2)^5.

Solution. We identify the aa and bb of the pattern.

(a+b)n(x2)5 \begin{array}{c} (a+b)^n\\ (x-2)^5 \end{array}

In our pattern, a=xa=x and b=2b=-2. We use the Binomial Theorem.

(a+b)n=(n0)an+(n1)an1b1+(n2)an2b2++(nr)anrbr++(nn)bn (a+b)^n= \binom{n}{0}a^n+ \binom{n}{1}a^{n-1}b^1+ \binom{n}{2}a^{n-2}b^2+\cdots+ \binom{n}{r}a^{n-r}b^r+\cdots+ \binom{n}{n}b^n

Substitute in the values a=xa=x, b=2b=-2, and n=5n=5.

(x2)5=(50)x5+(51)x51(2)1+(52)x52(2)2+(53)x53(2)3+(54)x54(2)4+(55)(2)5 (x-2)^5= \binom{5}{0}x^5+ \binom{5}{1}x^{5-1}(-2)^1+ \binom{5}{2}x^{5-2}(-2)^2+ \binom{5}{3}x^{5-3}(-2)^3+ \binom{5}{4}x^{5-4}(-2)^4+ \binom{5}{5}(-2)^5

Simplify the exponents and evaluate the coefficients. Remember, (n1)=n\binom{n}{1}=n, (nn)=1\binom{n}{n}=1, and (n0)=1\binom{n}{0}=1.

(x2)5=(50)x5+(51)x4(2)+(52)x3(2)2+(53)x2(2)3+(54)x(2)4+(55)(2)5=1x5+5(2)x4+5!2!3!(2)2x3+5!3!2!(2)3x2+5!4!1!(2)4x+1(2)5=x5+5(2)x4+104x3+10(8)x2+516x+1(32)=x510x4+40x380x2+80x32 \begin{aligned} (x-2)^5 &=\binom{5}{0}x^5+\binom{5}{1}x^4(-2)+ \binom{5}{2}x^3(-2)^2+\binom{5}{3}x^2(-2)^3+ \binom{5}{4}x(-2)^4+\binom{5}{5}(-2)^5\\ &=1x^5+5(-2)x^4+\frac{5!}{2!3!}(-2)^2x^3+ \frac{5!}{3!2!}(-2)^3x^2+ \frac{5!}{4!1!}(-2)^4x+1(-2)^5\\ &=x^5+5(-2)x^4+10\cdot4x^3+10(-8)x^2+5\cdot16x+1(-32)\\ &=x^5-10x^4+40x^3-80x^2+80x-32 \end{aligned}

Use the Binomial Theorem to expand (x3)5(x-3)^5.

Use the Binomial Theorem to expand (y1)6(y-1)^6.

Things can get messy when both terms have a coefficient and a variable.

Example 12.37. Use the Binomial Theorem to expand (2x3y)4(2x-3y)^4.

Solution. We identify the aa and bb of the pattern.

(a+b)n(2x3y)4 \begin{array}{c} (a+b)^n\\ (2x-3y)^4 \end{array}

In our pattern, a=2xa=2x and b=3yb=-3y. We use the Binomial Theorem.

(a+b)n=(n0)an+(n1)an1b1+(n2)an2b2++(nr)anrbr++(nn)bn (a+b)^n= \binom{n}{0}a^n+ \binom{n}{1}a^{n-1}b^1+ \binom{n}{2}a^{n-2}b^2+\cdots+ \binom{n}{r}a^{n-r}b^r+\cdots+ \binom{n}{n}b^n

Substitute in the values a=2xa=2x, b=3yb=-3y, and n=4n=4.

(2x3y)4=(40)(2x)4+(41)(2x)41(3y)1+(42)(2x)42(3y)2+(43)(2x)43(3y)3+(44)(3y)4 (2x-3y)^4= \binom{4}{0}(2x)^4+ \binom{4}{1}(2x)^{4-1}(-3y)^1+ \binom{4}{2}(2x)^{4-2}(-3y)^2+ \binom{4}{3}(2x)^{4-3}(-3y)^3+ \binom{4}{4}(-3y)^4

Simplify the exponents.

(2x3y)4=(40)(2x)4+(41)(2x)3(3y)1+(42)(2x)2(3y)2+(43)(2x)1(3y)3+(44)(3y)4 (2x-3y)^4= \binom{4}{0}(2x)^4+ \binom{4}{1}(2x)^3(-3y)^1+ \binom{4}{2}(2x)^2(-3y)^2+ \binom{4}{3}(2x)^1(-3y)^3+ \binom{4}{4}(-3y)^4

Evaluate the coefficients. Remember, (n1)=n\binom{n}{1}=n, (nn)=1\binom{n}{n}=1, and (n0)=1\binom{n}{0}=1.

(2x3y)4=1(2x)4+4(2x)3(3y)1+4!2!(2)!(2x)2(3y)2+4!3!(43)!(2x)1(3y)3+1(3y)4=16x4+48x3(3y)+6(4x2)(9y2)+4(2x)(27y3)+81y4=16x496x3y+216x2y2216xy3+81y4 \begin{aligned} (2x-3y)^4 &=1(2x)^4+4(2x)^3(-3y)^1+ \frac{4!}{2!(2)!}(2x)^2(-3y)^2+ \frac{4!}{3!(4-3)!}(2x)^1(-3y)^3+1(-3y)^4\\ &=16x^4+4\cdot8x^3(-3y)+6(4x^2)(9y^2)+ 4(2x)(-27y^3)+81y^4\\ &=16x^4-96x^3y+216x^2y^2-216xy^3+81y^4 \end{aligned}

Use the Binomial Theorem to expand (3x2y)5(3x-2y)^5.

Use the Binomial Theorem to expand (4x3y)4(4x-3y)^4.

The real beauty of the Binomial Theorem is that it gives a formula for any particular term of the expansion without having to compute the whole sum. Let’s look for a pattern in the Binomial Theorem.

(a+b)n=(n0)anb01st term+(n1)an1b12nd term+(n2)an2b23rd term++(nr)anrbr(r+1)st term++(nn)bn (a+b)^n= \underbrace{\binom{n}{0}a^nb^0}_{\text{1st term}}+ \underbrace{\binom{n}{1}a^{n-1}b^1}_{\text{2nd term}}+ \underbrace{\binom{n}{2}a^{n-2}b^2}_{\text{3rd term}}+\cdots+ \underbrace{\binom{n}{r}a^{n-r}b^r}_{(r+1)\text{st term}}+\cdots+ \binom{n}{n}b^n

Notice that, in each case, the exponent on the bb is one less than the number of the term. The (r+1)(r+1)st term is the term where the exponent of bb is rr. So we can use the formula of the (r+1)(r+1)st term to find the value of a specific term.

Find a specific term in a binomial expansion

The (r+1)(r+1)st term in the expansion of (a+b)n(a+b)^n is

(nr)anrbr.\binom{n}{r}a^{n-r}b^r.

Example 12.38. Find the fourth term of (x+y)7(x+y)^7.

Solution. In our pattern, n=7n=7, a=xa=x, and b=yb=y. We are looking for the fourth term. Since r+1=4r+1=4, then r=3r=3.

Write the formula and substitute in the values n=7n=7, r=3r=3, a=xa=x, and b=yb=y.

(nr)anrbr=(73)x73y3=7!3!4!x73y3=7654!4!321x4y3=35x4y3 \begin{aligned} \binom{n}{r}a^{n-r}b^r &=\binom{7}{3}x^{7-3}y^3\\ &=\frac{7!}{3!4!}x^{7-3}y^3\\ &=\frac{7\cdot6\cdot5\cdot4!}{4!\cdot3\cdot2\cdot1}x^4y^3\\ &=35x^4y^3 \end{aligned}

Find the third term of (x+y)6(x+y)^6.

Find the fifth term of (a+b)8(a+b)^8.

Example 12.39. Find the coefficient of the x6x^6 term of (x+3)9(x+3)^9.

Solution. In our pattern, n=9n=9, a=xa=x, and b=3b=3. We are looking for the coefficient of the x6x^6 term. Since a=xa=x, and x9r=x6x^{9-r}=x^6, we know r=3r=3.

Write the formula and substitute in the values n=9n=9, r=3r=3, a=xa=x, and b=3b=3.

(nr)anrbr=(93)x9333=9!3!6!x9333=9876!3!6!x627=8427x6=2268x6 \begin{aligned} \binom{n}{r}a^{n-r}b^r &=\binom{9}{3}x^{9-3}\cdot3^3\\ &=\frac{9!}{3!6!}x^{9-3}\cdot3^3\\ &=\frac{9\cdot8\cdot7\cdot6!}{3!\cdot6!}x^6\cdot27\\ &=84\cdot27\cdot x^6\\ &=2268x^6 \end{aligned}

The coefficient of the x6x^6 term is 2268.

Find the coefficient of the x5x^5 term of (x+4)8(x+4)^8.

Find the coefficient of the x4x^4 term of (x+2)7(x+2)^7.

Key terms. A binomial coefficient (nr)\binom{n}{r} is n!r!(nr)!\tfrac{n!}{r!(n-r)!}. The Binomial Theorem gives the expansion of (a+b)n(a+b)^n using binomial coefficients. Pascal’s Triangle is the triangular array in which each interior number is the sum of the two numbers above it; its rows give the coefficients in binomial expansions.


This section is adapted from Intermediate Algebra 2e, Section 12.4 by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at OpenStax. Changes: converted the source Try It exercises into interactive questions and omitted the readiness quiz, section exercise set, self-check, and media links in accordance with the authoring playbook.