PrecalculusSequences, Series and Probability3 of 5
Sequences, Series and Probability · 3

The Binomial Theorem

We need a way to expand high powers like (a+b)7(\first{a} + \second{b})^7 directly, without multiplying brackets out one by one.

1

How Brackets Multiply

To expand a power of a binomial like (a+b)3(\first{a} + \second{b})^3, we want to find all the terms that come out when we multiply the three brackets (a+b)(a+b)(a+b)(\first{a} + \second{b})(\first{a} + \second{b})(\first{a} + \second{b}) together.

Multiplying Brackets by Picking Letters
Bracket 1\text{Bracket 1}
Bracket 2\text{Bracket 2}
Bracket 3\text{Bracket 3}
(a+b)3(\first{a} + \second{b})^3
==
(a+b)(\first{a} + \second{b})
(a+b)(\first{a} + \second{b})
(a+b)(\first{a} + \second{b})
==
  ?\;?
Bracket 1\text{Bracket 1}
Bracket 2\text{Bracket 2}
Bracket 3\text{Bracket 3}
(a+b)3(\first{a} + \second{b})^3
==
(a+b)(\first{a} + \second{b})
(a+b)(\first{a} + \second{b})
(a+b)(\first{a} + \second{b})
a a a\first{a}\,\first{a}\,\first{a}
a a b\first{a}\,\first{a}\,\second{b}
a b a\first{a}\,\second{b}\,\first{a}
b a a\second{b}\,\first{a}\,\first{a}
a b b\first{a}\,\second{b}\,\second{b}
b a b\second{b}\,\first{a}\,\second{b}
b b a\second{b}\,\second{b}\,\first{a}
b b b\second{b}\,\second{b}\,\second{b}
(1 way)\text{(}\ways{1}\text{ way)}
(3 ways)\text{(}\ways{3}\text{ ways)}
(3 ways)\text{(}\ways{3}\text{ ways)}
(1 way)\text{(}\ways{1}\text{ way)}
(a+b)3(\first{a} + \second{b})^3
==
1a3\ways{1}\first{a^3}
++
3a2b\ways{3}\first{a^2}\second{b}
++
3ab2\ways{3}\first{a}\second{b^2}
++
1b3\ways{1}\second{b^3}

Listing every letter combination by hand gets slow as the power grows. Instead, we can find any expansion like (a+b)4(\first{a} + \second{b})^4 by looking separately at where the exponents come from and where the front numbers (the coefficients) come from.

Where the Powers and Coefficients Come From
11
22
33
44
(a+b)(\first{a} + \second{b})
(a+b)(\first{a} + \second{b})
(a+b)(\first{a} + \second{b})
(a+b)(\first{a} + \second{b})
(a+b)4(\first{a} + \second{b})^4
==
a4+a3b1+a2b2\htmlStyle{display:inline-block;width:0.62em;height:0.8em;border:1.3px dashed var(--lc-mute);border-radius:3px;box-sizing:border-box;vertical-align:-0.08em;margin-right:0.1em}{}\first{a^4} + \htmlStyle{display:inline-block;width:0.62em;height:0.8em;border:1.3px dashed var(--lc-mute);border-radius:3px;box-sizing:border-box;vertical-align:-0.08em;margin-right:0.1em}{}\first{a^3}\second{b^1} + \htmlStyle{display:inline-block;width:0.62em;height:0.8em;border:1.3px dashed var(--lc-mute);border-radius:3px;box-sizing:border-box;vertical-align:-0.08em;margin-right:0.1em}{}\first{a^2}\second{b^2}
+a1b3+b4{} + \htmlStyle{display:inline-block;width:0.62em;height:0.8em;border:1.3px dashed var(--lc-mute);border-radius:3px;box-sizing:border-box;vertical-align:-0.08em;margin-right:0.1em}{}\first{a^1}\second{b^3} + \htmlStyle{display:inline-block;width:0.62em;height:0.8em;border:1.3px dashed var(--lc-mute);border-radius:3px;box-sizing:border-box;vertical-align:-0.08em;margin-right:0.1em}{}\second{b^4}

Every term in (a+b)4(\first{a} + \second{b})^4 picks one letter from each of the 4 brackets:

(a+b)4⏟4 brackets oftwo terms (a binomial)=1a4+4a3b1+6⏟ways tochoose 2bracketsfor ba2b2⏟exponentsadd2+2=4+4a1b3+1b4\displaystyle \begin{aligned} & \underbrace{(\first{a} + \second{b})^4}_{\substack{4 \text{ brackets of} \\ \text{two terms (a binomial)}}} \\ &\quad = \ways{1}\first{a^4} + \ways{4}\first{a^3}\second{b^1} + \underbrace{\ways{6}}_{\substack{\text{ways to} \\ \text{choose } \second{2} \\ \text{brackets} \\ \text{for } \second{b}}} \underbrace{\first{a^2}\second{b^2}}_{\substack{\text{exponents} \\ \text{add} \\ \first{2} + \second{2} = 4}} \\ &\qquad + \ways{4}\first{a^1}\second{b^3} + \ways{1}\second{b^4} \end{aligned}

Because every pick takes one letter from each of the 4 brackets, the exponents on a\first{a} and b\second{b} always add up to 44, and each coefficient counts the ways to choose which brackets give b\second{b}.

Picking one letter from each of the four brackets always gives powers that add up to 4, and each coefficient counts the ways to choose which brackets give b.
2

Finding Coefficients with Pascal's Triangle

When we want to write out a full expansion for a small power without counting letter arrangements like aabb\first{aa}\second{bb} and abab\first{a}\second{b}\first{a}\second{b} by hand, we can stack the coefficients from each power into rows.

Pascal's Triangle
(a+b)0(\first{a} + \second{b})^0
==
1\ways{1}
(a+b)1(\first{a} + \second{b})^1
==
1a+1b\ways{1}\first{a} + \ways{1}\second{b}
(a+b)2(\first{a} + \second{b})^2
==
1a2+2ab+1b2\ways{1}\first{a^2} + \ways{2}\first{a}\second{b} + \ways{1}\second{b^2}
(a+b)3(\first{a} + \second{b})^3
==
1a3+3a2b+3ab2+1b3\ways{1}\first{a^3} + \ways{3}\first{a^2}\second{b} + \ways{3}\first{a}\second{b^2} + \ways{1}\second{b^3}
(a+b)4(\first{a} + \second{b})^4
==
1a4+4a3b+6a2b2+4ab3+1b4\ways{1}\first{a^4} + \ways{4}\first{a^3}\second{b} + \ways{6}\first{a^2}\second{b^2} + \ways{4}\first{a}\second{b^3} + \ways{1}\second{b^4}
(a+b)0(\first{a} + \second{b})^{0}
1\ways{1}
(a+b)1(\first{a} + \second{b})^{1}
1\ways{1}
1\ways{1}
(a+b)2(\first{a} + \second{b})^{2}
1\ways{1}
2\ways{2}
1\ways{1}
(a+b)3(\first{a} + \second{b})^{3}
1\ways{1}
3\ways{3}
3\ways{3}
1\ways{1}
(a+b)4(\first{a} + \second{b})^{\htmlStyle{display:inline-block;line-height:1;border:1.3px solid var(--ink);border-radius:999px;padding:0.17em 0.3em 0.06em;margin-left:0.2em}{4}}
1\ways{1}
4\htmlStyle{display:inline-block;line-height:1;border:1.3px solid var(--ink);border-radius:999px;padding:0.17em 0.3em 0.06em;margin-left:0em}{\ways{4}}
6\ways{6}
4\ways{4}
1\ways{1}
(a+b)5(\first{a} + \second{b})^{\htmlStyle{display:inline-block;line-height:1;border:1.3px solid var(--ink);border-radius:999px;padding:0.17em 0.3em 0.06em;margin-left:0.2em}{5}}
1\ways{1}
5\htmlStyle{display:inline-block;line-height:1;border:1.3px solid var(--ink);border-radius:999px;padding:0.17em 0.3em 0.06em;margin-left:0em}{\ways{5}}
10\ways{10}
10\ways{10}
5\ways{5}
1\ways{1}

Every middle number in Pascal's Triangle is the sum of the two numbers directly above it, because the bracket combinations for that term split into the ones where the last bracket gives a\first{a} and the ones where the last bracket gives b\second{b}.

Every middle number in Pascal's Triangle is the sum of the two numbers above it because the last bracket gives either a\first{a} or b\second{b}.
3

Expanding a Binomial in Three Passes

Now let's expand a binomial when the pieces inside the bracket have their own numbers and a minus sign:

Expand (2x−3)4.\displaystyle \text{Expand } (\first{2x} \second{- 3})^4.
Expanding a Binomial in Three Passes
(a+b)4\displaystyle (\first{a} + \second{b})^4
(2x−3)4\displaystyle (\first{2x} \second{- 3})^4 =  ?\displaystyle = \;?
Text solution
Write the Row 4 coefficientsBecause the power is 44, start with the five numbers from Row 4 of Pascal's Triangle (where the second number is 4\ways{4}):
1+4+6+4+1\displaystyle \ways{1} + \ways{4} + \ways{6} + \ways{4} + \ways{1}
Step the powers down on (2x)\first{(2x)} and up on (−3)\second{(-3)}Keep both pieces in parentheses, with the minus sign attached to −3\second{-3}, as the power on (2x)\first{(2x)} counts down from 4\first{4} to 0\first{0} and the power on (−3)\second{(-3)} counts up from 0\second{0} to 4\second{4}. A zero exponent means we picked none of that piece, so we take that factor to be 11, even when the piece is zero:
(2x−3)4=1(2x)4(−3)0+4(2x)3(−3)1+6(2x)2(−3)2+4(2x)1(−3)3+1(2x)0(−3)4\displaystyle \begin{aligned} & (\first{2x} \second{- 3})^4 \\ &\quad = \ways{1}\first{(2x)^4}\second{(-3)^0} + \ways{4}\first{(2x)^3}\second{(-3)^1} \\ &\qquad + \ways{6}\first{(2x)^2}\second{(-3)^2} + \ways{4}\first{(2x)^1}\second{(-3)^3} \\ &\qquad + \ways{1}\first{(2x)^0}\second{(-3)^4} \end{aligned}
Evaluate the powers and multiply each termReplace the zero powers with 11, apply each exponent to the number as well as the xx inside the parentheses, and multiply the three parts of each term:
(2x−3)4=1(16x4)(1)+4(8x3)(−3)+6(4x2)(9)+4(2x)(−27)+1(1)(81)=16x4−96x3+216x2−216x+81\displaystyle \begin{aligned} & (\first{2x} \second{- 3})^4 \\ &\quad = \ways{1}\first{(16x^4)}\second{(1)} + \ways{4}\first{(8x^3)}\second{(-3)} \\ &\qquad + \ways{6}\first{(4x^2)}\second{(9)} + \ways{4}\first{(2x)}\second{(-27)} \\ &\qquad + \ways{1}\first{(1)}\second{(81)} \\ &\quad = 16x^4 - 96x^3 + 216x^2 \\ &\qquad - 216x + 81 \end{aligned}

So the expansion is 16x4−96x3+216x2−216x+8116x^4 - 96x^3 + 216x^2 - 216x + 81, with the signs alternating automatically because odd powers of −3\second{-3} stay negative and even powers turn positive.

4

Finding One Coefficient with Choose Notation

Pascal's Triangle is fast when the power is small and we need every term, but when the power is large and a question only asks for one term, we want to calculate that single coefficient directly without writing out all the rows above it:

Find the x7y3 termin the expansion of (x+y)10.\displaystyle \begin{aligned} & \text{Find the } \first{x^7}\second{y^3} \text{ term} \\ & \text{in the expansion of } (\first{x} + \second{y})^{10}. \end{aligned}
Finding One Coefficient with Choose Notation
11
22
33
44
55
(x+y)(\first{x} + \second{y})
(x+y)(\first{x} + \second{y})
(x+y)(\first{x} + \second{y})
(x+y)(\first{x} + \second{y})
(x+y)(\first{x} + \second{y})
66
77
88
99
1010
(x+y)(\first{x} + \second{y})
(x+y)(\first{x} + \second{y})
(x+y)(\first{x} + \second{y})
(x+y)(\first{x} + \second{y})
(x+y)(\first{x} + \second{y})
 x7y3\htmlStyle{display:inline-block;width:0.62em;height:0.8em;border:1.3px dashed var(--lc-mute);border-radius:3px;box-sizing:border-box;vertical-align:-0.08em;margin-right:0.1em}{}\,\first{x^7}\second{y^3}
Text solution
Count how many brackets give the second pieceTo get x7y3\first{x^7}\second{y^3} out of 1010 brackets of (x+y)(\first{x} + \second{y}), we choose 3\second{3} brackets to give y\second{y} and the remaining 7\first{7} brackets give x\first{x}:
(103)⏟"10 choose 3"x7y3\displaystyle \underbrace{\ways{\binom{10}{\second{3}}}}_{\text{"10 choose 3"}} \first{x^7}\second{y^3}
Calculate the choose number by counting downStart at 1010 and count down 33 numbers on top, divide by 3×2×13 \times 2 \times 1 on the bottom so we don't count the same group of brackets in different orders, and simplify before multiplying:
(103)x7y3=10×9×83×2×1x7y3=(10×3×4)x7y3=120x7y3\displaystyle \begin{aligned} \ways{\binom{10}{\second{3}}} \first{x^7}\second{y^3} &= \frac{10 \times 9 \times 8}{3 \times 2 \times 1} \first{x^7}\second{y^3} \\ &= (10 \times 3 \times 4) \first{x^7}\second{y^3} \\ &= 120x^7y^3 \end{aligned}

So the x7y3\first{x^7}\second{y^3} term in the expansion is 120x7y3120x^7y^3.

5

Finding the Term with a Given Power of xx

Now let's find a single term when the first piece inside the bracket already has a power on xx:

Find the term containing x8in (x2−2)12.\displaystyle \begin{aligned} & \text{Find the term containing } \first{x^8} \\ & \text{in } (\first{x^2} \second{- 2})^{12}. \end{aligned}
Finding the Term with a Given Power of x
(12?)(x2)?(−2)?\displaystyle\ways{\binom{12}{\second{?}}}\first{(x^2)^{?}}\second{(-2)^{?}}
Text solution
Match the target power of xx to split the 12 bracketsBecause (x2)4=x8\first{(x^2)^4} = \first{x^8}, 4\first{4} of the 1212 brackets must give (x2)\first{(x^2)}, leaving the other 8\second{8} brackets to give (−2)\second{(-2)}:
(128)(x2)4(−2)8\displaystyle \ways{\binom{12}{\second{8}}}\first{(x^2)^4}\second{(-2)^8}
Compute the three pieces using the smaller choose numberChoosing 8\second{8} brackets to give (−2)\second{(-2)} is the same count as choosing 4\first{4} brackets to give (x2)\first{(x^2)}, so we can use (124)\ways{\binom{12}{\first{4}}} in place of (128)\ways{\binom{12}{\second{8}}}:
(124)(x2)4(−2)8=12×11×10×94×3×2×1⋅x8⋅256=495⋅x8⋅256=126,720x8\displaystyle \begin{aligned} & \ways{\binom{12}{\first{4}}}\first{(x^2)^4}\second{(-2)^8} \\ &\quad = \frac{12 \times 11 \times 10 \times 9}{4 \times 3 \times 2 \times 1} \cdot \first{x^8} \cdot \second{256} \\ &\quad = \ways{495} \cdot \first{x^8} \cdot \second{256} \\ &\quad = 126{,}720x^8 \end{aligned}

So the term containing x8\first{x^8} is 126,720x8126{,}720x^8.

6

Finding a Specific Term by Position

Instead of naming the power of xx, a problem can ask for a term by its position from left to right:

Find the 5th term in theexpansion of (2x−y)9.\displaystyle \begin{aligned} & \text{Find the 5th term in the} \\ & \text{expansion of } (\first{2x} \second{- y})^9. \end{aligned}
Finding a Specific Term by Position
5th term\displaystyle \text{5th term} =(9?)(2x)?(−y)?\displaystyle = \ways{\binom{9}{\second{?}}}\first{(2x)^{?}}\second{(-y)^{?}}
Text solution
Find the exponents from the term's positionBecause the 1st term starts at power 0\second{0} on the second piece, (−y)0\second{(-y)^0}, the 5th term has power 4\second{4} on the second piece, (−y)4\second{(-y)^4}, which leaves 5\first{5} of the 99 brackets for (2x)\first{(2x)}:
(94)(2x)5(−y)4\displaystyle \ways{\binom{9}{\second{4}}}\first{(2x)^5}\second{(-y)^4}
Evaluate each part and multiplyCalculate (94)\ways{\binom{9}{\second{4}}}, apply the power 5\first{5} to both 2\first{2} and x\first{x}, and simplify (−y)4\second{(-y)^4}:
(94)(2x)5(−y)4=9×8×7×64×3×2×1⋅(32x5)⋅(y4)=126⋅32x5⋅y4=4032x5y4\displaystyle \begin{aligned} & \ways{\binom{9}{\second{4}}}\first{(2x)^5}\second{(-y)^4} \\ &\quad = \frac{9 \times 8 \times 7 \times 6}{4 \times 3 \times 2 \times 1} \cdot \first{(32x^5)} \cdot \second{(y^4)} \\ &\quad = \ways{126} \cdot \first{32x^5} \cdot \second{y^4} \\ &\quad = 4032x^5y^4 \end{aligned}

So the 5th term in the expansion is 4032x5y44032x^5y^4.

7

Finding the Constant Term

When xx appears on top in one piece and on the bottom in the other, their powers of xx can cancel out completely to produce a constant term (a plain number with x0x^0, so no xx's remain):

Find the constant term in theexpansion of (2x2−1x)9.\displaystyle \begin{aligned} & \text{Find the constant term in the} \\ & \text{expansion of } \left(\first{2x^2} \second{- \frac{1}{x}}\right)^9. \end{aligned}
Finding the Constant Term
(2x2−1x)9\displaystyle\left(\first{2x^2} \second{- \frac{1}{x}}\right)^9
constant term=  ?\text{constant term} = \;?
Text solution
Find the bracket split where the powers of xx cancel to 00If k\second{k} brackets give (−1x)\second{(-\tfrac{1}{x})} and 9−k\first{9 - k} brackets give (2x2)\first{(2x^2)}, each (2x2)\first{(2x^2)} raises the power of xx by 2\first{2} and each (−1x)\second{(-\tfrac{1}{x})} lowers it by 1\second{1}, so we set the combined exponent of xx equal to 00:
2(9−k)−k=018−3k=0k=6\displaystyle \begin{aligned} \first{2(9 - k)} \second{- k} &= 0 \\ 18 - 3k &= 0 \\ \second{k} &= \second{6} \end{aligned}
Set up the term with 3 of (2x2)\first{(2x^2)} and 6 of (−1x)\second{(-\tfrac{1}{x})}Put power 6\second{6} on (−1x)\second{(-\tfrac{1}{x})}, power 9−6=3\first{9 - 6 = 3} on (2x2)\first{(2x^2)}, and replace (96)\ways{\binom{9}{\second{6}}} with the smaller (93)\ways{\binom{9}{\first{3}}}:
(93)(2x2)3(−1x)6\displaystyle \ways{\binom{9}{\first{3}}}\first{(2x^2)^3}\second{\left(-\frac{1}{x}\right)^6}
Simplify each part and cancel x6x^6Compute the three pieces. Since x≠0x \ne 0 in the original expression, we can cancel x6\first{x^6} on top with x6\second{x^6} on the bottom:
(93)(2x2)3(−1x)6=9×8×73×2×1⋅(8x6)⋅(1x6)=84⋅8=672\displaystyle \begin{aligned} & \ways{\binom{9}{\first{3}}}\first{(2x^2)^3}\second{\left(-\frac{1}{x}\right)^6} \\ &\quad = \frac{9 \times 8 \times 7}{3 \times 2 \times 1} \cdot \first{(8x^6)} \cdot \second{\left(\frac{1}{x^6}\right)} \\ &\quad = \ways{84} \cdot \first{8} \\ &\quad = 672 \end{aligned}

All the xx's cancel out, leaving a constant term of 672672.

Each bracket you switch from the first part to the second drops the power of x by 3, and all the x's cancel out only when 3 brackets give the first part and 6 give the second.
8

The Binomial Theorem Formula

Finally, for a nonnegative integer nn, we can write the general formula for the expansion of (a+b)n(\first{a} + \second{b})^n, which records our bracket-picking method in sigma notation. As above, a zero exponent gives a factor of 11, even when the base is zero.

The Binomial Theorem Formula
(a+b)n\displaystyle (\first{a} + \second{b})^n =∑k=0n(nk)an−kbk\displaystyle = \sum_{k=0}^{n} \ways{\binom{n}{\second{k}}}\first{a^{n-k}}\second{b^k}

Each part of the formula writes down one piece of the bracket-picking method:

(a+b)n=∑k=0n⏟add theterms fromk=0 to k=n(nk)⏟ways tochoose kbracketsout of nan−k⏟leftovern−kbracketsgive abk⏟kbracketsgive b\displaystyle \begin{aligned} & (\first{a} + \second{b})^n \\ &\quad = \underbrace{\sum_{k=0}^{n}}_{\substack{\text{add the} \\ \text{terms from} \\ k = 0 \text{ to } k = n}} \underbrace{\ways{\binom{n}{\second{k}}}}_{\substack{\text{ways to} \\ \text{choose } \second{k} \\ \text{brackets} \\ \text{out of } n}} \underbrace{\first{a^{n-k}}}_{\substack{\text{leftover} \\ \first{n - k} \\ \text{brackets} \\ \text{give } \first{a}}} \underbrace{\second{b^k}}_{\substack{\second{k} \\ \text{brackets} \\ \text{give } \second{b}}} \end{aligned}

Key concepts

Every term in the expansion of (a+b)n(\first{a} + \second{b})^n comes from picking one piece from each of the nn brackets: k\second{k} brackets give the second piece b\second{b}, the remaining n−k\first{n - k} brackets give the first piece a\first{a}, and (nk)\ways{\binom{n}{\second{k}}} counts how many ways to choose those brackets:

(nk)an−kbk\displaystyle \ways{\binom{n}{\second{k}}} \first{a^{n-k}} \second{b^k}
When to expand all the way out vs. build a single term

  • For a square like (2x−3)2(\first{2x} \second{- 3})^2, don't use Pascal's Triangle or choose notation at all. Just multiply the two brackets directly.
  • For a full expansion with a small power (n=3,4,5n = 3, 4, 5), build the answer in three passes using Row nn of Pascal's Triangle, stepping (a)\first{(a)} down from n\first{n} to 0\first{0} and (b)\second{(b)} up from 0\second{0} to n\second{n} with numbers and minus signs kept inside parentheses:
  • When the power is large or you only need one term, don't write out the full expansion. Build just that one term and compute (nk)\ways{\binom{n}{\second{k}}} by counting down kk numbers from nn on top and from kk to 11 on the bottom (using (nn−k)\ways{\binom{n}{\first{n-k}}} whenever n−k\first{n - k} is smaller):
How to find the bracket split for a single term

  • Target power of xx: Match the power of xx first. For the x8\first{x^8} term in (x2−2)12(\first{x^2} \second{- 2})^{12}, since (x2)4=x8\first{(x^2)^4} = \first{x^8}, 4\first{4} brackets give (x2)\first{(x^2)} and the remaining 8\second{8} give (−2)\second{(-2)}, giving (124)(x2)4(−2)8\ways{\binom{12}{\first{4}}}\first{(x^2)^4}\second{(-2)^8}.
  • Term position: Subtract 11 from the position to get the power on the second piece, because the 1st term has b0\second{b^0}. The 5th term of (2x−y)9(\first{2x} \second{- y})^9 has (−y)4\second{(-y)^4} and (2x)5\first{(2x)^5}, giving (94)(2x)5(−y)4\ways{\binom{9}{\second{4}}}\first{(2x)^5}\second{(-y)^4}.
  • Constant term (x0x^0): Split the brackets so the powers of xx on top and bottom cancel to 00. In (2x2−1x)9(\first{2x^2} \second{- \tfrac{1}{x}})^9, setting 2(9−k)−k=0\first{2(9 - k)} \second{- k} = 0 gives k=6\second{k} = \second{6}, so 3\first{3} brackets of (2x2)\first{(2x^2)} and 6\second{6} brackets of (−1x)\second{(-\tfrac{1}{x})} cancel x6\first{x^6} with 1x6\second{\tfrac{1}{x^6}}.
9

Practice

1

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

Use Row 4 of Pascal's Triangle with first piece (3x)\first{(3x)} and second piece (−2)\second{(-2)}: how do their exponents step across the 5 terms?

Set up the expansion in three passes using Row 4 of Pascal's Triangle (1,4,6,4,1\ways{1}, \ways{4}, \ways{6}, \ways{4}, \ways{1}):
(3x−2)4=1(3x)4(−2)0+4(3x)3(−2)1+6(3x)2(−2)2+4(3x)1(−2)3+1(3x)0(−2)4\displaystyle \begin{aligned} & (\first{3x} \second{- 2})^4 \\ &\quad = \ways{1}\first{(3x)^4}\second{(-2)^0} + \ways{4}\first{(3x)^3}\second{(-2)^1} \\ &\qquad + \ways{6}\first{(3x)^2}\second{(-2)^2} + \ways{4}\first{(3x)^1}\second{(-2)^3} \\ &\qquad + \ways{1}\first{(3x)^0}\second{(-2)^4} \end{aligned}
Be careful to apply each exponent to the 3\first{3} inside (3x)\first{(3x)} as well as to x\first{x}. Forgetting to raise 3\first{3} to the power turns 81x4,27x3,9x2\first{81x^4}, \first{27x^3}, \first{9x^2} into 3x4,3x3,3x23x^4, 3x^3, 3x^2 and gives the wrong expansion 3x4−24x3+72x2−96x+163x^4 - 24x^3 + 72x^2 - 96x + 16:
(3x−2)4=1(81x4)(1)+4(27x3)(−2)+6(9x2)(4)+4(3x)(−8)+1(1)(16)=81x4−216x3+216x2−96x+16\displaystyle \begin{aligned} & (\first{3x} \second{- 2})^4 \\ &\quad = \ways{1}\first{(81x^4)}\second{(1)} + \ways{4}\first{(27x^3)}\second{(-2)} \\ &\qquad + \ways{6}\first{(9x^2)}\second{(4)} + \ways{4}\first{(3x)}\second{(-8)} \\ &\qquad + \ways{1}\first{(1)}\second{(16)} \\ &\quad = 81x^4 - 216x^3 + 216x^2 \\ &\qquad - 96x + 16 \end{aligned}
2

Find the x8y3x^8y^3 term in the expansion of (x+y)11(x + y)^{11}.

Out of 1111 brackets, how many brackets must give y\second{y} to produce y3\second{y^3}?

Choosing 3\second{3} of the 1111 brackets to give y\second{y} (and 8\first{8} to give x\first{x}) sets up the term:
(113)x8y3\displaystyle \ways{\binom{11}{\second{3}}}\first{x^8}\second{y^3}
When calculating (113)\ways{\binom{11}{\second{3}}}, remember to divide by 3×2×13 \times 2 \times 1 on the bottom so you don't count the same group of brackets in different orders. Multiplying only the top numbers 11×10×911 \times 10 \times 9 gives 990x8y3990x^8y^3:
(113)x8y3=11×10×93×2×1x8y3=(11×5×3)x8y3=165x8y3\displaystyle \begin{aligned} \ways{\binom{11}{\second{3}}}\first{x^8}\second{y^3} &= \frac{11 \times 10 \times 9}{3 \times 2 \times 1} \first{x^8}\second{y^3} \\ &= (11 \times 5 \times 3)\first{x^8}\second{y^3} \\ &= 165x^8y^3 \end{aligned}
3

Find the 4th term in the expansion of (2x−y)7(2x - y)^7.

Since the 1st term has (−y)0\second{(-y)^0}, what power does (−y)\second{(-y)} have in the 4th term?

Because the 1st term starts at (−y)0\second{(-y)^0}, the 4th term has power 3\second{3} on (−y)\second{(-y)} and power 7−3=4\first{7 - 3 = 4} on (2x)\first{(2x)}. Watch out for putting power 44 on (−y)\second{(-y)} just because the question says "4th term". That sets up (74)(2x)3(−y)4\binom{7}{4}(2x)^3(-y)^4 and gives the 5th term, 280x3y4280x^3y^4:
(73)(2x)4(−y)3\displaystyle \ways{\binom{7}{\second{3}}}\first{(2x)^4}\second{(-y)^3}
Evaluate each part, keeping the negative sign from the odd power (−y)3=−y3\second{(-y)^3} = \second{-y^3}:
(73)(2x)4(−y)3=7×6×53×2×1⋅(16x4)⋅(−y3)=35⋅16x4⋅(−y3)=−560x4y3\displaystyle \begin{aligned} \ways{\binom{7}{\second{3}}}\first{(2x)^4}\second{(-y)^3} &= \frac{7 \times 6 \times 5}{3 \times 2 \times 1} \cdot \first{(16x^4)} \cdot \second{(-y^3)} \\ &= \ways{35} \cdot \first{16x^4} \cdot \second{(-y^3)} \\ &= -560x^4y^3 \end{aligned}
4

Find the term containing x6x^6 in the expansion of (x2−2)9(x^2 - 2)^9.

How many brackets must give (x2)\first{(x^2)} so their product is x6\first{x^6}, and how many of the 99 brackets are left for (−2)\second{(-2)}?

Since (x2)3=x6\first{(x^2)^3} = \first{x^6}, 3\first{3} brackets must give (x2)\first{(x^2)}, leaving 9−3=6\second{9 - 3 = 6} brackets to give (−2)\second{(-2)}. Don't put power 33 on (−2)\second{(-2)} while keeping (x2)3\first{(x^2)^3}: using (−2)3=−8(-2)^3 = -8 instead of (−2)6=64\second{(-2)^6} = \second{64} gives −672x6-672x^6:
(96)(x2)3(−2)6\displaystyle \ways{\binom{9}{\second{6}}}\first{(x^2)^3}\second{(-2)^6}
Use (96)=(93)\ways{\binom{9}{\second{6}}} = \ways{\binom{9}{\first{3}}} and multiply the three pieces:
(93)(x2)3(−2)6=9×8×73×2×1⋅x6⋅64=84⋅x6⋅64=5376x6\displaystyle \begin{aligned} \ways{\binom{9}{\first{3}}}\first{(x^2)^3}\second{(-2)^6} &= \frac{9 \times 8 \times 7}{3 \times 2 \times 1} \cdot \first{x^6} \cdot \second{64} \\ &= \ways{84} \cdot \first{x^6} \cdot \second{64} \\ &= 5376x^6 \end{aligned}
5

Find the constant term in the expansion of (x3−2x)8\left(x^3 - \frac{2}{x}\right)^8.

Each (x3)\first{(x^3)} raises the power of xx by 3\first{3} and each (−2x)\second{(-\tfrac{2}{x})} lowers it by 1\second{1}: how do you split 88 brackets so the combined power of xx is 00?

If k\second{k} brackets give (−2x)\second{(-\tfrac{2}{x})} and 8−k\first{8 - k} brackets give (x3)\first{(x^3)}, set the overall exponent of xx equal to 00:
3(8−k)−k=024−4k=0k=6\displaystyle \begin{aligned} \first{3(8 - k)} \second{- k} &= 0 \\ 24 - 4k &= 0 \\ \second{k} &= \second{6} \end{aligned}
So 2\first{2} brackets give (x3)\first{(x^3)} and 6\second{6} brackets give (−2x)\second{(-\tfrac{2}{x})}, and we can use (86)=(82)\ways{\binom{8}{\second{6}}} = \ways{\binom{8}{\first{2}}}:
(82)(x3)2(−2x)6\displaystyle \ways{\binom{8}{\first{2}}}\first{(x^3)^2}\second{\left(-\frac{2}{x}\right)^6}
When simplifying (−2x)6\second{(-\tfrac{2}{x})^6}, don't forget to raise the −2\second{-2} on top to the 6th power. Treating (−2x)6\second{(-\tfrac{2}{x})^6} as 1x6\tfrac{1}{x^6} leaves out the 64\second{64} and gives 2828:
(82)(x3)2(−2x)6=8×72×1⋅x6⋅64x6=28⋅64=1792\displaystyle \begin{aligned} \ways{\binom{8}{\first{2}}}\first{(x^3)^2}\second{\left(-\frac{2}{x}\right)^6} &= \frac{8 \times 7}{2 \times 1} \cdot \first{x^6} \cdot \second{\frac{64}{x^6}} \\ &= \ways{28} \cdot \second{64} \\ &= 1792 \end{aligned}