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 directly, without multiplying brackets out one by one.
1
How Brackets Multiply
To expand a power of a binomial like (a+b)3, we want to find all the terms that come out when we multiply the three brackets (a+b)(a+b)(a+b) together.
Multiplying Brackets by Picking Letters
Listing every letter combination by hand gets slow as the power grows. Instead, we can find any expansion like (a+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
Every term in (a+b)4 picks one letter from each of the 4 brackets:
4 brackets oftwo terms (a binomial)(a+b)4=1a4+4a3b1+ways tochoose 2bracketsfor b6exponentsadd2+2=4a2b2+4a1b3+1b4
Because every pick takes one letter from each of the 4 brackets, the exponents on a and b always add up to 4, and each coefficient counts the ways to choose which brackets give 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 and abab by hand, we can stack the coefficients from each power into rows.
Pascal's Triangle
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 and the ones where the last bracket gives b.
Every middle number in Pascal's Triangle is the sum of the two numbers above it because the last bracket gives either a or 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.
Expanding a Binomial in Three Passes
(a+b)4
(2x−3)4=?
Text solution
Write the Row 4 coefficientsBecause the power is 4, start with the five numbers from Row 4 of Pascal's Triangle (where the second number is 4):
1+4+6+4+1
Step the powers down on (2x) and up on (−3)Keep both pieces in parentheses, with the minus sign attached to −3, as the power on (2x) counts down from 4 to 0 and the power on (−3) counts up from 0 to 4. A zero exponent means we picked none of that piece, so we take that factor to be 1, even when the piece is zero:
Evaluate the powers and multiply each termReplace the zero powers with 1, apply each exponent to the number as well as the x inside the parentheses, and multiply the three parts of each term:
So the expansion is 16x4−96x3+216x2−216x+81, with the signs alternating automatically because odd powers of −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.
Finding One Coefficient with Choose Notation
Text solution
Count how many brackets give the second pieceTo get x7y3 out of 10 brackets of (x+y), we choose 3 brackets to give y and the remaining 7 brackets give x:
"10 choose 3"(310)x7y3
Calculate the choose number by counting downStart at 10 and count down 3 numbers on top, divide by 3×2×1 on the bottom so we don't count the same group of brackets in different orders, and simplify before multiplying:
Now let's find a single term when the first piece inside the bracket already has a power on x:
Find the term containing x8in (x2−2)12.
Finding the Term with a Given Power of x
Text solution
Match the target power of x to split the 12 bracketsBecause (x2)4=x8,4 of the 12 brackets must give (x2), leaving the other 8 brackets to give (−2):
(812)(x2)4(−2)8
Compute the three pieces using the smaller choose numberChoosing 8 brackets to give (−2) is the same count as choosing 4 brackets to give (x2), so we can use (412) in place of (812):
Instead of naming the power of x, a problem can ask for a term by its position from left to right:
Find the 5th term in theexpansion of (2x−y)9.
Finding a Specific Term by Position
5th term=(?9)(2x)?(−y)?
Text solution
Find the exponents from the term's positionBecause the 1st term starts at power 0 on the second piece, (−y)0, the 5th term has power 4 on the second piece, (−y)4, which leaves 5 of the 9 brackets for (2x):
(49)(2x)5(−y)4
Evaluate each part and multiplyCalculate (49), apply the power 5 to both 2 and x, and simplify (−y)4:
When x appears on top in one piece and on the bottom in the other, their powers of x can cancel out completely to produce a constant term (a plain number with x0, so no x's remain):
Find the constant term in theexpansion of (2x2−x1)9.
Finding the Constant Term
Text solution
Find the bracket split where the powers of x cancel to 0If k brackets give (−x1) and 9−k brackets give (2x2), each (2x2) raises the power of x by 2 and each (−x1) lowers it by 1, so we set the combined exponent of x equal to 0:
2(9−k)−k18−3kk=0=0=6
Set up the term with 3 of (2x2) and 6 of (−x1)Put power 6 on (−x1), power 9−6=3 on (2x2), and replace (69) with the smaller (39):
(39)(2x2)3(−x1)6
Simplify each part and cancel x6Compute the three pieces. Since x=0 in the original expression, we can cancel x6 on top with x6 on the bottom:
All the x's cancel out, leaving a constant term of 672.
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 n, we can write the general formula for the expansion of (a+b)n, which records our bracket-picking method in sigma notation. As above, a zero exponent gives a factor of 1, even when the base is zero.
The Binomial Theorem Formula
(a+b)n=k=0∑n(kn)an−kbk
Each part of the formula writes down one piece of the bracket-picking method:
(a+b)n=add theterms fromk=0 to k=nk=0∑nways tochoose kbracketsout of n(kn)leftovern−kbracketsgive aan−kkbracketsgive bbk
Key concepts
Every term in the expansion of (a+b)n comes from picking one piece from each of the n brackets: k brackets give the second piece b, the remaining n−k brackets give the first piece a, and (kn) counts how many ways to choose those brackets:
(kn)an−kbk
When to expand all the way out vs. build a single term
For a square like (2x−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,5), build the answer in three passes using Row n of Pascal's Triangle, stepping (a) down from n to 0 and (b) up from 0 to 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 (kn) by counting down k numbers from n on top and from k to 1 on the bottom (using (n−kn) whenever n−k is smaller):
How to find the bracket split for a single term
Target power of x: Match the power of x first. For the x8 term in (x2−2)12, since (x2)4=x8,4 brackets give (x2) and the remaining 8 give (−2), giving (412)(x2)4(−2)8.
Term position: Subtract 1 from the position to get the power on the second piece, because the 1st term has b0. The 5th term of (2x−y)9 has (−y)4 and (2x)5, giving (49)(2x)5(−y)4.
Constant term (x0): Split the brackets so the powers of x on top and bottom cancel to 0. In (2x2−x1)9, setting 2(9−k)−k=0 gives k=6, so 3 brackets of (2x2) and 6 brackets of (−x1) cancel x6 with x61.
9
Practice
1
Expand (3x−2)4.
Be careful to apply each exponent to the 3 inside (3x) as well as to x. Forgetting to raise 3 to the power turns 81x4,27x3,9x2 into 3x4,3x3,3x2 and gives the wrong expansion 3x4−24x3+72x2−96x+16.
Use Row 4 of Pascal's Triangle with first piece (3x) and second piece (−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):
Be careful to apply each exponent to the 3 inside (3x) as well as to x. Forgetting to raise 3 to the power turns 81x4,27x3,9x2 into 3x4,3x3,3x2 and gives the wrong expansion 3x4−24x3+72x2−96x+16:
Out of 11 brackets, how many brackets must give y to produce y3?
Choosing 3 of the 11 brackets to give y (and 8 to give x) sets up the term:
(311)x8y3
When calculating (311), remember to divide by 3×2×1 on the bottom so you don't count the same group of brackets in different orders. Multiplying only the top numbers 11×10×9 gives 990x8y3:
Since the 1st term has (−y)0, what power does (−y) have in the 4th term?
Because the 1st term starts at (−y)0, the 4th term has power 3 on (−y) and power 7−3=4 on (2x). Watch out for putting power 4 on (−y) just because the question says "4th term". That sets up (47)(2x)3(−y)4 and gives the 5th term, 280x3y4:
(37)(2x)4(−y)3
Evaluate each part, keeping the negative sign from the odd power (−y)3=−y3:
Find the term containing x6 in the expansion of (x2−2)9.
How many brackets must give (x2) so their product is x6, and how many of the 9 brackets are left for (−2)?
Since (x2)3=x6,3 brackets must give (x2), leaving 9−3=6 brackets to give (−2). Don't put power 3 on (−2) while keeping (x2)3: using (−2)3=−8 instead of (−2)6=64 gives −672x6: