Binomial expansion
In a nutshell
The binomial expansion formula allows you to expand (x+y)n quickly. The coefficients of the terms in this expansion are given by entries of Pascal's triangle, and these can be quickly computed using nCr=(rn)=r!(n−r)!n!.
The binomial expansion
The binomial expansion is given by:
(x+y)n=(0n)xn+(1n)xn−1y+(2n)xn−2y2+⋯+(rn)xn−ryr+⋯+(n−1n)xyn−1+(nn)yn
Recall that (rn)= nCr:
| | A non-negative whole number; the number of objects being chosen from.
| | A non-negative whole number less than or equal to n; the number of objects being chosen.
| | Stands for "choose": nCr equals the number of ways of choosing r objects from n. |
|
In order to compute the coefficient of the xn−ryr term, you need to count the number of ways of choosing r copies of y from the set of n brackets, and there are (rn) ways to do so. Equivalently, you need to count the number of ways of choosing n−r copies of x from the n brackets, and there are (n−rn) ways to do so. This proves that (rn)=(n−rn).
Example 1
What is the expansion of (x+y)7?
Substitute n=7 into the above formula:
(x+y)7=(07)x7+(17)x6y+(27)x5y2+(37)x4y3+(47)x3y4+(57)x2y5+(67)xy6+(77)y7
Compute the coefficients 7Cr (either using factorial notation, or by using the nCr button on your calculator, or by using Pascal's triangle):
(07)(17)(27)(37)(47)(57)(67)(77)=0!×7!7!=1!×6!7!=2!×5!7!=3!×4!7!=4!×3!7!=5!×2!7!=6!×1!7!=7!×0!7!=1=7=21=35=35=21=7=1
Therefore, (x+y)7=x7+7x6y+21x5y2+35x4y4+35x3y4+21x2y5+7xy6+y7.
Ascending powers
Typically when expanding a binomial of the form (a+bx)n, where a and b are constants and x is a variable, you should write the terms so that the degree of x is increasing from left to right. This is referred to as writing the expansion in ascending powers of x.
Example 2
What is the expansion of (4−3t)5?
The binomial expansion tells you that:
(x+y)5=x5+5x4y+10x3y2+10x2y3+5xy4+y5
Substitute x=4,y=−3t to get:
(4−3t)5=45+5×44×(−3t)+10×43×(−3t)2+10×42×(−3t)3+5×4×(−3t)4+(−3t)5=1024−3840t+5760t2−4320t3+1620t4−243t5
Therefore, (4−3t)5=1024−3840t+5760t2−4320t3+1620t4−243t5.