Discrete MathematicsBinomial Coefficients and Pascal's Triangle2 of 4
Binomial Coefficients and Pascal's Triangle · 2

The Binomial Theorem

We want to expand a high power like (x+y)10(\first{x} + \second{y})^{10}, or find the coefficient of a single term like x7y3\first{x^7}\second{y^3}, without multiplying out brackets one by one.

1

Expanding Brackets by Counting

To see where the terms of an expansion come from, we start by writing (x+y)3(\first{x} + \second{y})^3 as three separate brackets multiplied together and tracking how each term is built.

Expanding Brackets by Counting
(x+y)2=(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})^2 =
x2+2xy+y2\htmlClass{lc-blue}{x^2}+2\htmlClass{lc-blue}{x}\htmlClass{lc-pink}{y}+\htmlClass{lc-pink}{y^2}
(x+y)3=(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})^3 =
x3+3x2y+3xy2+y3\htmlClass{lc-blue}{x^3}+3\htmlClass{lc-blue}{x^2}\htmlClass{lc-pink}{y}+3\htmlClass{lc-blue}{x}\htmlClass{lc-pink}{y^2}+\htmlClass{lc-pink}{y^3}
(x+y)10=(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})^{10} =
⋯+\cdots + {}
??
x7y3+⋯\htmlClass{lc-blue}{x^7}\htmlClass{lc-pink}{y^3} + \cdots
(x+y)(x+y)(x+y)(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
x\htmlClass{lc-blue}{x}
,,
((
x\htmlClass{lc-blue}{x}
,,
y\htmlClass{lc-pink}{y}
))
x\htmlClass{lc-blue}{x}
,,
((
y\htmlClass{lc-pink}{y}
,,
x\htmlClass{lc-blue}{x}
))
y\htmlClass{lc-pink}{y}
,,
((
x\htmlClass{lc-blue}{x}
,,
x\htmlClass{lc-blue}{x}
))
3x2y\htmlClass{lc-green}{3}\htmlClass{lc-blue}{x^2}\htmlClass{lc-pink}{y}

Because every term comes from picking one letter from each bracket, we can find the coefficient of any term in (x+y)n(\first{x} + \second{y})^n just by counting how many ways we can choose which brackets give us y\second{y}.

2

Building the Binomial Theorem with Combinations

Instead of listing every possible pick by hand, we can use combinations, written (nk)\binom{n}{\second{k}} or C(n,k)C(n,\second{k}), to count how many ways to choose k\second{k} brackets for y\second{y} out of nn brackets total.

Building the Binomial Theorem with Combinations
(x+y)5(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})^5
==
(x+y)(x+y)(x+y)(x+y)(x+y)(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})(\htmlClass{lc-blue}{x}+\htmlClass{lc-pink}{y})
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
??
x3y2\htmlClass{lc-blue}{x^3}\htmlClass{lc-pink}{y^2}
Text solution
List the possible powers of x\first{x} and y\second{y}Picking one letter from each of the 55 brackets in (x+y)5(\first{x} + \second{y})^5 means the exponents on x\first{x} and y\second{y} always add up to 55.
x5,x4y,x3y2,x2y3,xy4,y5\displaystyle \begin{aligned} &\first{x^5},\quad \first{x^4}\second{y},\quad \first{x^3}\second{y^2}, \\ &\first{x^2}\second{y^3},\quad \first{x}\second{y^4},\quad \second{y^5} \end{aligned}
Count the bracket choices for a single termTo get x3y2\first{x^3}\second{y^2}, choosing 2\second{2} of the 55 brackets to give y\second{y} automatically forces the other 3\first{3} brackets to give x\first{x}.
(52)x3y2\displaystyle \binom{5}{\second{2}}\first{x^3}\second{y^2} =5×42×1x3y2\displaystyle = \frac{5 \times 4}{2 \times 1}\first{x^3}\second{y^2} =10x3y2\displaystyle = \counted{10}\first{x^3}\second{y^2}
Add the terms for all choices of k\second{k} from 00 to 55Counting the ways to choose 0,1,2,3,4,\second{0}, \second{1}, \second{2}, \second{3}, \second{4}, or 5\second{5} brackets for y\second{y} gives the complete expansion.
(x+y)5=(50)x5+(51)x4y+(52)x3y2+(53)x2y3+(54)xy4+(55)y5=x5+5x4y+10x3y2+10x2y3+5xy4+y5\displaystyle \begin{aligned} (\first{x} + \second{y})^5 &= \binom{5}{\second{0}}\first{x^5} + \binom{5}{\second{1}}\first{x^4}\second{y} \\ &\quad + \binom{5}{\second{2}}\first{x^3}\second{y^2} + \binom{5}{\second{3}}\first{x^2}\second{y^3} \\ &\quad + \binom{5}{\second{4}}\first{x}\second{y^4} + \binom{5}{\second{5}}\second{y^5} \\ &= \first{x^5} + \counted{5}\first{x^4}\second{y} + \counted{10}\first{x^3}\second{y^2} \\ &\quad + \counted{10}\first{x^2}\second{y^3} + \counted{5}\first{x}\second{y^4} + \second{y^5} \end{aligned}

In the same way, to find the coefficient of x7y3\first{x^7}\second{y^3} in (x+y)10(\first{x} + \second{y})^{10}, we count the ways to choose 3\second{3} of the 1010 brackets for y\second{y}:

(103)\displaystyle \binom{10}{\second{3}} =10×9×83×2×1\displaystyle = \frac{10 \times 9 \times 8}{3 \times 2 \times 1} =120\displaystyle = \counted{120}

So the x7y3\first{x^7}\second{y^3} term is 120x7y3\counted{120}\first{x^7}\second{y^3}, and its coefficient is 120\counted{120}.

Putting this pattern together for any whole number nn gives the Binomial Theorem:

(x+y)n\displaystyle (\first{x} + \second{y})^n =∑k=0n(nk)⏟ways to choosek brackets for yxn−k⏟remaining n−kbrackets give xyk⏟k bracketsgive y\displaystyle = \sum_{k=0}^{n} \underbrace{\binom{n}{\second{k}}}_{\substack{\text{ways to choose} \\ \second{k}\text{ brackets for }\second{y}}} \underbrace{\first{x^{n-k}}}_{\substack{\text{remaining }\first{n-k} \\ \text{brackets give }\first{x}}} \underbrace{\second{y^k}}_{\substack{\second{k}\text{ brackets} \\ \text{give }\second{y}}}

In (x+y)5(\first{x} + \second{y})^5, every bracket not chosen for y\second{y} is forced to give x\first{x}, so the two exponents always add up to 55 and the coefficient of x5−kyk\first{x^{5-k}}\second{y^k} counts all (5k)\binom{5}{\second{k}} ways to pick k\second{k} brackets out of 55.

Each coefficient counts the ways to choose which of the five brackets give y, while every remaining bracket gives x.
3

Terms with Coefficients and Minus Signs

When the pieces inside the brackets have numbers or minus signs attached, we want to find the coefficient of a specific power of xx, such as x3\first{x^3} in (2x−3)5(\first{2x} \second{- 3})^5, without losing track of the signs or extra powers.

Terms with Coefficients and Minus Signs
(2x−3)5\displaystyle (\first{2x} \second{- 3})^5
coefficient of x3\displaystyle \text{coefficient of } \first{x^3} =  ?\displaystyle = \;?
Text solution
Wrap each piece in parenthesesKeep the coefficient and the minus sign attached to their terms as (2x)\first{(2x)} and (−3)\second{(-3)}.
(5 ? )(2x) ?  (−3) ?  \displaystyle \binom{5}{\,?\,}\first{(2x)}^{\,?\;}\second{(-3)}^{\,?\;}
Match the exponents to the target power of x\first{x}Because only (2x)\first{(2x)} contains x\first{x}, we must pick (2x)\first{(2x)} from 3\first{3} brackets to get x3\first{x^3}, which leaves 5−3=25 - \first{3} = \second{2} brackets for (−3)\second{(-3)}.
(52)(2x)3(−3)2\displaystyle \binom{5}{\second{2}}\first{(2x)^3}\second{(-3)^2}
Apply the exponents to the numbers and signsRaise the entire piece inside each parenthesis to its outer power, then multiply the numbers together.
(52)(2x)3(−3)2=10⋅(23x3)⋅9=10⋅8x3⋅9=720x3\displaystyle \begin{aligned} \binom{5}{\second{2}}\first{(2x)^3}\second{(-3)^2} &= \counted{10} \cdot \first{\left(2^3 x^3\right)} \cdot \second{9} \\ &= \counted{10} \cdot \first{8x^3} \cdot \second{9} \\ &= 720x^3 \end{aligned}

So the x3\first{x^3} term is 720x3720x^3, and its coefficient is 720720.

4

Solving for the Right Power of xx

When xx is on top in one piece of the bracket and on the bottom in the other, the powers of xx from the two pieces partially cancel each other out. We want to find the constant term (the term with no xx) in (x2+1x)6\left(\first{x^2} + \second{\frac{1}{x}}\right)^6, and then find the coefficient of x9x^9 in (2x2−1x)12\left(\first{2x^2} \second{- \frac{1}{x}}\right)^{12}.

Solving for the Right Power of x
(x2+1x)6\displaystyle \left(\first{x^2} + \second{\frac{1}{x}}\right)^6
constant term\displaystyle \text{constant term} =  ?\displaystyle = \;?
Text solution
For a small number of brackets like (x2+1x)6\left(\first{x^2} + \second{\frac{1}{x}}\right)^6, we can spot the split where the powers of xx cancel:
Balance the powers of xx on top and bottomPicking x2\first{x^2} from 2\first{2} brackets and 1x\second{\frac{1}{x}} from 4\second{4} brackets gives x4\first{x^4} on top and x4\second{x^4} on the bottom.
(64)(x2)2(1x)4\displaystyle \binom{6}{\second{4}}\first{\left(x^2\right)^2}\second{\left(\frac{1}{x}\right)^4} =15⋅x4⋅1x4\displaystyle = \counted{15} \cdot \first{x^4} \cdot \second{\frac{1}{x^4}} =15\displaystyle = 15
So the constant term is 1515.
When the exponent is larger, as in finding the coefficient of x9x^9 in (2x2−1x)12\left(\first{2x^2} \second{- \frac{1}{x}}\right)^{12}, we rewrite 1x\second{\frac{1}{x}} as x−1\second{x^{-1}} and use algebra to solve for the number of brackets k\second{k}:
Write the general term for k\second{k} picks of the second piecePicking −x−1\second{-x^{-1}} from k\second{k} brackets leaves 12−k\first{12 - k} brackets for 2x2\first{2x^2}.
(12k)(2x2)12−k(−x−1)k\displaystyle \binom{12}{\second{k}}\first{\left(2x^2\right)^{12-k}}\second{\left(-x^{-1}\right)^k}
Combine the powers of xx into one exponentMultiply the exponents on each piece and add them together to find the resulting power of xx.
(x2)12−k(x−1)k\displaystyle \first{\left(x^2\right)^{12-k}}\second{\left(x^{-1}\right)^k} =x24−2k⋅x−k\displaystyle = \first{x^{24-2k}} \cdot \second{x^{-k}} =x24−3k\displaystyle = x^{24-3\second{k}}
Set the exponent equal to the target power and solve for k\second{k}We want x9x^9, so we set the combined exponent equal to 99.
24−3k=915=3kk=5\displaystyle \begin{aligned} 24 - 3\second{k} &= 9 \\ 15 &= 3\second{k} \\ \second{k} &= \second{5} \end{aligned}
Plug k=5\second{k = 5} back into the general termSubstitute k=5\second{k = 5} and pull the numerical factors out in front of x9x^9.
(125)(2x2)7(−1x)5=−(125)⋅27x9=−792⋅128x9=−101,376x9\displaystyle \begin{aligned} &\binom{12}{\second{5}}\first{\left(2x^2\right)^7}\second{\left(-\frac{1}{x}\right)^5} \\ &\quad = -\binom{12}{\second{5}} \cdot \first{2^7} x^9 \\ &\quad = -\counted{792} \cdot \first{128} x^9 \\ &\quad = -101{,}376 x^9 \end{aligned}

So the coefficient of x9x^9 is −101,376-101{,}376 (on most exams, you can leave a large answer in combination form as −(125)⋅27-\binom{12}{\second{5}} \cdot \first{2^7}).

If the problem asks for the coefficient of x10x^{10} in the same expansion, setting the exponent equal to 1010 gives a fraction:

24−3k=103k=14k=143\displaystyle \begin{aligned} 24 - 3\second{k} &= 10 \\ 3\second{k} &= 14 \\ \second{k} &= \fails{\frac{14}{3}} \end{aligned}

Because k\second{k} counts brackets, k\second{k} must be a whole number from 00 to 1212. Since 143\fails{\frac{14}{3}} is not a whole number, no x10x^{10} term exists in the expansion, and its coefficient is 0\fails{0}.

In (2x2−1x)12\left(\first{2x^2} \second{- \frac{1}{x}}\right)^{12}, trading one 2x2\first{2x^2} bracket for a −1x\second{-\frac{1}{x}} bracket drops the final exponent 24−3k24 - 3\second{k} by 33 at a time, jumping straight from x12x^{12} at k=4\second{k = 4} to x9x^9 at k=5\second{k = 5} and skipping x10x^{10} completely.

Each bracket you switch trades two factors on top for one on the bottom, dropping the power by three and skipping the two powers in between.
5

Evaluating Sums of Combinations

Instead of expanding brackets into a sum, we sometimes start with a long sum of combinations, like (n0)+3(n1)+9(n2)+⋯+3n(nn)\binom{n}{\second{0}} + \second{3}\binom{n}{\second{1}} + \second{9}\binom{n}{\second{2}} + \dots + \second{3^n}\binom{n}{\second{n}}, and want to find what the entire sum equals at once.

Evaluating Sums of Combinations
(n0)+(n1)+(n2)+⋯+(nn)=  ? \displaystyle \begin{aligned} &\binom{n}{\second{0}} + \binom{n}{\second{1}} + \binom{n}{\second{2}} \\[10pt] &\qquad + \dots + \binom{n}{\second{n}} = \;? \end{aligned}\,

Plugging x=1\first{x = 1} and y=1\second{y = 1} into the Binomial Theorem turns every power of x\first{x} and y\second{y} into 11, showing that all the combinations in row nn add up to 2n\counted{2^n}:

(n0)+(n1)+(n2)+⋯+(nn)\displaystyle \binom{n}{\second{0}} + \binom{n}{\second{1}} + \binom{n}{\second{2}} + \dots + \binom{n}{\second{n}} =(1+1)n\displaystyle = (\first{1} + \second{1})^n =2n\displaystyle = \counted{2^n}

Plugging in x=1\first{x = 1} and y=−1\second{y = -1} alternates the signs, so for n≥1n \ge 1 the even and odd combinations cancel to 00:

(n0)−(n1)+(n2)−(n3)+⋯+(−1)n(nn)\displaystyle \binom{n}{\second{0}} - \binom{n}{\second{1}} + \binom{n}{\second{2}} - \binom{n}{\second{3}} + \dots + \second{(-1)^n}\binom{n}{\second{n}} =(1−1)n\displaystyle = (\first{1} \second{- 1})^n =0\displaystyle = 0

We can also run the expansion in reverse to evaluate a sum with powers attached.

Text solution
Match the visible power to the Binomial Theorem patternCompare ∑k=0n(nk)3k\sum_{k=0}^{n} \binom{n}{\second{k}} \second{3^k} with ∑k=0n(nk)xn−kyk\sum_{k=0}^{n} \binom{n}{\second{k}} \first{x^{n-k}} \second{y^k} to see that 3k\second{3^k} sits in the yk\second{y^k} spot, so y=3\second{y = 3}.
∑k=0n(nk)3k\displaystyle \sum_{k=0}^{n} \binom{n}{\second{k}} \second{3^k}
Restore the hidden power of 1\first{1}Because 1n−k=1\first{1^{n-k}} = 1, the missing xn−k\first{x^{n-k}} factor is 1n−k\first{1^{n-k}}, which gives x=1\first{x = 1}.
∑k=0n(nk)1n−k3k\displaystyle \sum_{k=0}^{n} \binom{n}{\second{k}} \first{1^{n-k}} \second{3^k}
Pack the sum back into (x+y)n(\first{x} + \second{y})^nReplace the entire sum with (1+3)n(\first{1} + \second{3})^n.
∑k=0n(nk)1n−k3k\displaystyle \sum_{k=0}^{n} \binom{n}{\second{k}} \first{1^{n-k}} \second{3^k} =(1+3)n\displaystyle = (\first{1} + \second{3})^n =4n\displaystyle = 4^n

When both powers are already visible in the sum, we read x\first{x} and y\second{y} directly from the bases of the (n−k)\first{(n - k)} and k\second{k} powers:

∑k=010(10k)210−k5k\displaystyle \sum_{k=0}^{10} \binom{10}{\second{k}} \first{2^{10-k}} \second{5^k} =(2+5)10\displaystyle = (\first{2} + \second{5})^{10} =710\displaystyle = 7^{10}

In the expanded sum for (x+y)5(\first{x} + \second{y})^5, setting x=1\first{x = 1} hides the x5−k\first{x^{5-k}} factor so the sum of (5k)yk\binom{5}{\second{k}}\second{y^k} packs into (1+y)5(\first{1} + \second{y})^5, while setting x=1\first{x = 1} and y=−1\second{y = -1} flips the odd powers negative so the whole sum cancels to 00.

Every sum of combinations with matching powers is just the Binomial Theorem with two numbers plugged in.

Key concepts

Every term in (x+y)n(\first{x} + \second{y})^n comes from picking the first piece from n−k\first{n - k} brackets and the second piece from the remaining k\second{k} brackets:

(x+y)n\displaystyle (\first{x} + \second{y})^n =∑k=0n(nk)xn−kyk\displaystyle = \sum_{k=0}^{n} \binom{n}{\second{k}} \first{x^{n-k}} \second{y^k}
When xx is in only one piece of the bracket

you do not need to set up an equation for kk. The target power of xx immediately tells you how many brackets must give the xx piece, and the rest of the nn brackets must give the other piece. For the x3\first{x^3} term in (2x−3)5(\first{2x} \second{- 3})^5, wrap each piece in parentheses and pick (2x)\first{(2x)} three times: (52)(2x)3(−3)2=720x3\binom{5}{\second{2}}\first{(2x)^3}\second{(-3)^2} = 720x^3.

When xx is in both pieces of the bracket

write the general term (nk)(first)n−k(second)k\binom{n}{\second{k}}\first{(\text{first})^{n-k}}\second{(\text{second})^k}, rewrite fractions like 1x\second{\frac{1}{x}} with negative exponents, and combine the powers of xx into a single exponent in terms of k\second{k}. In (2x2−1x)12\left(\first{2x^2} \second{- \frac{1}{x}}\right)^{12}, the xx exponent is 24−3k24 - 3\second{k}; setting 24−3k=924 - 3\second{k} = 9 gives k=5\second{k = 5}. If solving for k\second{k} gives a fraction, a negative number or a number bigger than nn (like 24−3k=1024 - 3\second{k} = 10   ⟹  \implies k=143\second{k} = \fails{\frac{14}{3}}), stop right there: the term does not exist and its coefficient is 0\fails{0}.

When you are given a sum of (nk)\binom{n}{\second{k}} with powers

do not calculate the individual combinations. Read the bases of the (n−k)\first{(n - k)} and k\second{k} powers as x\first{x} and y\second{y} and pack the sum back into (x+y)n(\first{x} + \second{y})^n: ∑k=010(10k)210−k5k\sum_{k=0}^{10} \binom{10}{\second{k}} \first{2^{10-k}} \second{5^k} == (2+5)10(\first{2} + \second{5})^{10} == 7107^{10}, and if only one power is visible, restore 1n−k\first{1^{n-k}} first so ∑k=0n(nk)3k=(1+3)n=4n\sum_{k=0}^n \binom{n}{\second{k}} \second{3^k} = (\first{1} + \second{3})^n = 4^n.

6

Practice

1

Find the coefficient of x6y3x^6y^3 in the expansion of (x+y)9(x + y)^9.

Out of 99 brackets, how many brackets need to give yy to produce x6y3x^6y^3?

We choose 3\second{3} of the 99 brackets to give y\second{y} (and the remaining 6\first{6} brackets to give x\first{x}):
(93)\displaystyle \binom{9}{\second{3}} =9×8×73×2×1\displaystyle = \frac{9 \times 8 \times 7}{3 \times 2 \times 1}
(Watch out: don't forget to divide 9×8×7=5049 \times 8 \times 7 = 504 by 3!=63! = 6.)
=84\displaystyle = 84
2

Find the coefficient of x2x^2 in the expansion of (3x−2)5(3x - 2)^5.

Wrap the two pieces as (3x)(3x) and (−2)(-2): if (3x)(3x) is picked 22 times to get x2x^2, how many of the 55 brackets are left for (−2)(-2)?

Picking (3x)\first{(3x)} from 2\first{2} brackets leaves 3\second{3} brackets for (−2)\second{(-2)}:
(53)(3x)2(−2)3\displaystyle \binom{5}{\second{3}}\first{(3x)^2}\second{(-2)^3} =10⋅32x2⋅(−8)\displaystyle = \counted{10} \cdot \first{3^2 x^2} \cdot \second{(-8)}
(Watch out: apply the exponent 2\first{2} to the 3\first{3} inside (3x)2\first{(3x)^2} so it becomes 9\first{9} rather than 33, which would give −240-240; and keep the negative sign on the odd power (−2)3=−8\second{(-2)^3 = -8}, or you will get +720+720.)
=−720\displaystyle = -720
3

Find the constant term (the term with no xx) in the expansion of (x2−2x)6\left(x^2 - \frac{2}{x}\right)^6.

A constant term means x0x^0. How can you split 66 brackets between x2x^2 and −2x-\frac{2}{x} so the powers of xx on top and bottom match?

Picking x2\first{x^2} from 2\first{2} brackets and −2x\second{-\frac{2}{x}} from 4\second{4} brackets gives x4\first{x^4} on top and x4\second{x^4} on the bottom (or from 2(6−k)−k=12−3k=02(\first{6 - k}) - \second{k} = 12 - 3\second{k} = 0, so k=4\second{k = 4}):
(64)(x2)2(−2x)4\displaystyle \binom{6}{\second{4}}\first{\left(x^2\right)^2}\second{\left(-\frac{2}{x}\right)^4} =(64)⋅(−2)4\displaystyle = \binom{6}{\second{4}} \cdot \second{(-2)^4}
(Watch out: remember to raise −2\second{-2} to the 4\second{4}th power. Leaving off (−2)4\second{(-2)^4} gives 1515, and forgetting that an even power makes (−2)4=+16\second{(-2)^4 = +16} gives −240-240.)
=240\displaystyle = 240
4

Find the coefficient of x9x^9 in the expansion of (2x3−1x2)8\left(2x^3 - \frac{1}{x^2}\right)^8.

Write −1x2-\frac{1}{x^2} as −x−2-x^{-2}, and combine the exponents from (x3)8−k\left(x^3\right)^{8-k} and (x−2)k\left(x^{-2}\right)^k into a single expression in kk.

In the general term (8k)(2x3)8−k(−x−2)k\binom{8}{\second{k}}\first{\left(2x^3\right)^{8-k}}\second{\left(-x^{-2}\right)^k}, the power of xx is 3(8−k)−2k=24−5k3(\first{8 - k}) - 2\second{k} = 24 - 5\second{k}. Setting 24−5k=924 - 5\second{k} = 9 gives 5k=155\second{k} = 15, so k=3\second{k = 3}:
(83)(2x3)5(−x−2)3\displaystyle \binom{8}{\second{3}}\first{\left(2x^3\right)^5}\second{\left(-x^{-2}\right)^3} =−(83)⋅25x9\displaystyle = -\binom{8}{\second{3}} \cdot \first{2^5} x^9
(Watch out: the power on 2\first{2} is 8−k=5\first{8 - k = 5}, not k=3\second{k = 3} which gives −448-448; and (−1)3\second{(-1)^3} makes the coefficient negative rather than +1,792+1{,}792.)
=−1,792\displaystyle = -1{,}792
5

Find the coefficient of x8x^8 in the expansion of (x3+1x)10\left(x^3 + \frac{1}{x}\right)^{10}.

Combine the xx exponents from (x3)10−k\left(x^3\right)^{10-k} and (x−1)k\left(x^{-1}\right)^k, set the result equal to 88, and check what kind of number kk is.

In the general term (10k)(x3)10−k(x−1)k\binom{10}{\second{k}}\first{\left(x^3\right)^{10-k}}\second{\left(x^{-1}\right)^k}, the power of xx is 3(10−k)−k=30−4k3(\first{10 - k}) - \second{k} = 30 - 4\second{k}. Setting 30−4k=830 - 4\second{k} = 8 gives 4k=224\second{k} = 22, so k=112\second{k} = \fails{\frac{11}{2}}: (Watch out: do not round k=5.5\second{k} = \fails{5.5} to 55 or 66 to get (105)=252\binom{10}{5} = 252 or (106)=210\binom{10}{6} = 210. Since k\second{k} is not a whole number, the x8x^8 term does not exist.)
=0\displaystyle = 0
6

Evaluate the sum (80)+4(81)+42(82)+⋯+48(88)\binom{8}{0} + 4\binom{8}{1} + 4^2\binom{8}{2} + \dots + 4^8\binom{8}{8}.

The 4k4^k factor sits in the yky^k spot. What hidden number is sitting in the missing x8−kx^{8-k} spot?

Writing in the hidden 18−k\first{1^{8-k}} factor matches ∑k=08(8k)18−k4k\sum_{k=0}^8 \binom{8}{\second{k}} \first{1^{8-k}} \second{4^k}:
(1+4)8\displaystyle (\first{1} + \second{4})^8 =58\displaystyle = 5^8
(Watch out: don't forget to add the hidden x=1\first{x = 1}, or you will compute 48=65,5364^8 = 65{,}536 instead of 585^8.)
=390,625\displaystyle = 390{,}625
7

Evaluate ∑k=010(10k)310−k(−2)k\sum_{k=0}^{10} \binom{10}{k} 3^{10-k} (-2)^k.

Match 310−k3^{10-k} and (−2)k(-2)^k directly to x10−kx^{10-k} and yky^k in (x+y)10(x + y)^{10}.

Packing x=3\first{x = 3} and y=−2\second{y = -2} back into (x+y)10(\first{x} + \second{y})^{10} gives:
(3−2)10\displaystyle (\first{3} \second{- 2})^{10} =110\displaystyle = 1^{10}
(Watch out: keep the minus sign on y=−2\second{y = -2} rather than adding 3+23 + 2 to get 510=9,765,6255^{10} = 9{,}765{,}625.)
=1\displaystyle = 1