Learning goals
Expand ( a + b ) n (a+b)^n ( a + b ) n using Pascal's triangle and binomial coefficients.
Write the general term T k + 1 T_{k+1} T k + 1 and find a given coefficient or the constant term.
Find the sum of coefficients with a substitution.
Use the first terms of the expansion to approximate powers such as 1.01 5 1.01^5 1.0 1 5 .
You know ( a + b ) 2 = a 2 + 2 a b + b 2 (a+b)^2=a^2+2ab+b^2 ( a + b ) 2 = a 2 + 2 ab + b 2 . What about ( a + b ) 5 (a+b)^5 ( a + b ) 5 ? Multiplying five brackets by hand is slow and error-prone, but there is a pattern, and it comes from counting: each term arises by choosing a a a or b b b from each bracket. That is exactly what the binomial coefficients ( n k ) \binom nk ( k n ) count.
Small powers and Pascal's triangle
( a + b ) 2 = a 2 + 2 a b + b 2 ( a + b ) 3 = a 3 + 3 a 2 b + 3 a b 2 + b 3 ( a + b ) 4 = a 4 + 4 a 3 b + 6 a 2 b 2 + 4 a b 3 + b 4 \begin{aligned}(a+b)^2&=a^2+2ab+b^2\\(a+b)^3&=a^3+3a^2b+3ab^2+b^3\\(a+b)^4&=a^4+4a^3b+6a^2b^2+4ab^3+b^4\end{aligned} ( a + b ) 2 ( a + b ) 3 ( a + b ) 4 = a 2 + 2 ab + b 2 = a 3 + 3 a 2 b + 3 a b 2 + b 3 = a 4 + 4 a 3 b + 6 a 2 b 2 + 4 a b 3 + b 4
The coefficients 1 , 2 , 1 1, 2, 1 1 , 2 , 1 then 1 , 3 , 3 , 1 1, 3, 3, 1 1 , 3 , 3 , 1 then 1 , 4 , 6 , 4 , 1 1, 4, 6, 4, 1 1 , 4 , 6 , 4 , 1 form Pascal's triangle : each number is the sum of the two above it, because ( n k ) + ( n k + 1 ) = ( n + 1 k + 1 ) \binom nk+\binom n{k+1}=\binom{n+1}{k+1} ( k n ) + ( k + 1 n ) = ( k + 1 n + 1 ) .
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 \begin{array}{ccccccccccccc}
& & & & & & 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} 1 1 1 6 1 5 1 4 15 1 3 10 1 2 6 20 1 3 10 1 4 15 1 5 1 6 1 1
Row n n n of the triangle lists ( n 0 ) , ( n 1 ) , … , ( n n ) \binom n0, \binom n1, \dots, \binom nn ( 0 n ) , ( 1 n ) , … , ( n n ) .
The binomial theorem
Theorem Binomial theorem
For every positive integer n n n ,
( a + b ) n = ∑ k = 0 n ( n k ) a n − k b k = a n + ( n 1 ) a n − 1 b + ⋯ + ( n n − 1 ) a b n − 1 + b n . (a+b)^n=\sum_{k=0}^{n}\binom nk a^{n-k}b^k=a^n+\binom n1a^{n-1}b+\cdots+\binom n{n-1}ab^{n-1}+b^n. ( a + b ) n = k = 0 ∑ n ( k n ) a n − k b k = a n + ( 1 n ) a n − 1 b + ⋯ + ( n − 1 n ) a b n − 1 + b n .
The ( k + 1 ) (k+1) ( k + 1 ) -th term is T k + 1 = ( n k ) a n − k b k T_{k+1}=\binom nk a^{n-k}b^k T k + 1 = ( k n ) a n − k b k . The expansion has n + 1 n+1 n + 1 terms.
Example Expand
( x + 2 ) 4 (x+2)^4 ( x + 2 ) 4 Solution. Row 4 4 4 is 1 , 4 , 6 , 4 , 1 1, 4, 6, 4, 1 1 , 4 , 6 , 4 , 1 . Then
( x + 2 ) 4 = x 4 + 4 x 3 ⋅ 2 + 6 x 2 ⋅ 4 + 4 x ⋅ 8 + 16 = x 4 + 8 x 3 + 24 x 2 + 32 x + 16. (x+2)^4=x^4+4x^3\cdot2+6x^2\cdot4+4x\cdot8+16=x^4+8x^3+24x^2+32x+16. ( x + 2 ) 4 = x 4 + 4 x 3 ⋅ 2 + 6 x 2 ⋅ 4 + 4 x ⋅ 8 + 16 = x 4 + 8 x 3 + 24 x 2 + 32 x + 16.
Example A negative term
Expand ( 2 x − 3 ) 3 (2x-3)^3 ( 2 x − 3 ) 3 .
Solution. Row 3 3 3 is 1 , 3 , 3 , 1 1, 3, 3, 1 1 , 3 , 3 , 1 with a = 2 x a=2x a = 2 x and b = − 3 b=-3 b = − 3 :
( 2 x ) 3 + 3 ( 2 x ) 2 ( − 3 ) + 3 ( 2 x ) ( − 3 ) 2 + ( − 3 ) 3 = 8 x 3 − 36 x 2 + 54 x − 27. (2x)^3+3(2x)^2(-3)+3(2x)(-3)^2+(-3)^3=8x^3-36x^2+54x-27. ( 2 x ) 3 + 3 ( 2 x ) 2 ( − 3 ) + 3 ( 2 x ) ( − 3 ) 2 + ( − 3 ) 3 = 8 x 3 − 36 x 2 + 54 x − 27.
One coefficient only
You rarely need the whole expansion. Write the general term and pick the right k k k .
Example Coefficient of
x 3 x^3 x 3 Find the coefficient of x 3 x^3 x 3 in ( 1 + 2 x ) 6 (1+2x)^6 ( 1 + 2 x ) 6 .
Solution. T k + 1 = ( 6 k ) ⋅ 1 6 − k ( 2 x ) k = ( 6 k ) 2 k x k T_{k+1}=\binom6k\cdot1^{6-k}(2x)^k=\binom6k2^kx^k T k + 1 = ( k 6 ) ⋅ 1 6 − k ( 2 x ) k = ( k 6 ) 2 k x k . We need k = 3 k=3 k = 3 : ( 6 3 ) ⋅ 2 3 = 20 ⋅ 8 = 160 \binom63\cdot2^3=20\cdot8=160 ( 3 6 ) ⋅ 2 3 = 20 ⋅ 8 = 160 .
Example The constant term
Find the constant term of ( x + 2 x ) 6 \left(x+\dfrac2x\right)^6 ( x + x 2 ) 6 .
Solution. T k + 1 = ( 6 k ) x 6 − k ( 2 x ) k = ( 6 k ) 2 k x 6 − 2 k T_{k+1}=\binom6kx^{6-k}\left(\frac2x\right)^k=\binom6k2^kx^{6-2k} T k + 1 = ( k 6 ) x 6 − k ( x 2 ) k = ( k 6 ) 2 k x 6 − 2 k . The power of x x x is 0 0 0 when k = 3 k=3 k = 3 : ( 6 3 ) ⋅ 2 3 = 20 ⋅ 8 = 160 \binom63\cdot2^3=20\cdot8=160 ( 3 6 ) ⋅ 2 3 = 20 ⋅ 8 = 160 .
Sum of coefficients and approximations
Putting x = 1 x=1 x = 1 in a polynomial gives the sum of its coefficients . Putting a = b = 1 a=b=1 a = b = 1 in the theorem gives ∑ k ( n k ) = 2 n \sum_{k}\binom nk=2^n ∑ k ( k n ) = 2 n .
Example Sum of coefficients
Find the sum of the coefficients of ( 3 x + 1 ) 5 (3x+1)^5 ( 3 x + 1 ) 5 .
Solution. Put x = 1 x=1 x = 1 : ( 3 + 1 ) 5 = 4 5 = 1024 (3+1)^5=4^5=1024 ( 3 + 1 ) 5 = 4 5 = 1024 .
Example An approximation
Estimate 1.01 5 1.01^5 1.0 1 5 .
Solution. 1.01 5 = ( 1 + 0.01 ) 5 = 1 + 5 ( 0.01 ) + 10 ( 0.01 ) 2 + 10 ( 0.01 ) 3 + ⋯ = 1 + 0.05 + 0.001 + 0.00001 + ⋯ ≈ 1.0510 1.01^5=(1+0.01)^5=1+5(0.01)+10(0.01)^2+10(0.01)^3+\cdots=1+0.05+0.001+0.00001+\cdots\approx1.0510 1.0 1 5 = ( 1 + 0.01 ) 5 = 1 + 5 ( 0.01 ) + 10 ( 0.01 ) 2 + 10 ( 0.01 ) 3 + ⋯ = 1 + 0.05 + 0.001 + 0.00001 + ⋯ ≈ 1.0510 . (Exact value: 1.0510100501 1.0510100501 1.0510100501 .)
Key terms
Key terms
English Tiếng Việt binomial theorem công thức nhị thức Newton binomial coefficient hệ số nhị thức Pascal's triangle tam giác Pascal general term số hạng tổng quát expansion khai triển constant term số hạng không chứa x x x sum of coefficients tổng các hệ số approximation giá trị gần đúng
Summary
( a + b ) n = ∑ k = 0 n ( n k ) a n − k b k (a+b)^n=\sum_{k=0}^n\binom nka^{n-k}b^k ( a + b ) n = ∑ k = 0 n ( k n ) a n − k b k , with n + 1 n+1 n + 1 terms.
The coefficients are row n n n of Pascal's triangle.
T k + 1 = ( n k ) a n − k b k T_{k+1}=\binom nka^{n-k}b^k T k + 1 = ( k n ) a n − k b k ; set the power of x x x to find k k k .
Sum of coefficients: put x = 1 x=1 x = 1 . Approximation: use the first few terms.
Practice
Practice
Expand ( x + 1 ) 5 (x+1)^5 ( x + 1 ) 5 .
Expand ( x − 2 ) 4 (x-2)^4 ( x − 2 ) 4 .
Find the coefficient of x 2 x^2 x 2 in ( 3 + x ) 5 (3+x)^5 ( 3 + x ) 5 .
Find the 5 5 5 th term of ( a + b ) 7 (a+b)^7 ( a + b ) 7 .
Find the coefficient of x 4 x^4 x 4 in ( 1 − x ) 8 (1-x)^8 ( 1 − x ) 8 .
Find the sum of the coefficients of ( 2 x − 3 ) 4 (2x-3)^4 ( 2 x − 3 ) 4 .
Find the value of ( 6 0 ) + ( 6 1 ) + ⋯ + ( 6 6 ) \binom60+\binom61+\cdots+\binom66 ( 0 6 ) + ( 1 6 ) + ⋯ + ( 6 6 ) .
Find the constant term of ( x 2 + 1 x ) 6 \left(x^2+\dfrac1x\right)^6 ( x 2 + x 1 ) 6 .
Challenge. Estimate 1.02 6 1.02^6 1.0 2 6 with the first three terms of the expansion.
Challenge. Find the coefficient of x 3 x^3 x 3 in ( 1 + x ) 5 + ( 1 + x ) 6 (1+x)^5+(1+x)^6 ( 1 + x ) 5 + ( 1 + x ) 6 .
Show solutions
Row 5 5 5 : 1 , 5 , 10 , 10 , 5 , 1 1, 5, 10, 10, 5, 1 1 , 5 , 10 , 10 , 5 , 1 . ( x + 1 ) 5 = x 5 + 5 x 4 + 10 x 3 + 10 x 2 + 5 x + 1 (x+1)^5=x^5+5x^4+10x^3+10x^2+5x+1 ( x + 1 ) 5 = x 5 + 5 x 4 + 10 x 3 + 10 x 2 + 5 x + 1 .
Row 4 4 4 with b = − 2 b=-2 b = − 2 : x 4 − 8 x 3 + 24 x 2 − 32 x + 16 x^4-8x^3+24x^2-32x+16 x 4 − 8 x 3 + 24 x 2 − 32 x + 16 .
T k + 1 = ( 5 k ) 3 5 − k x k T_{k+1}=\binom5k3^{5-k}x^k T k + 1 = ( k 5 ) 3 5 − k x k . For k = 2 k=2 k = 2 : ( 5 2 ) ⋅ 3 3 = 10 ⋅ 27 = 270 \binom52\cdot3^3=10\cdot27=270 ( 2 5 ) ⋅ 3 3 = 10 ⋅ 27 = 270 .
T 5 = T 4 + 1 = ( 7 4 ) a 3 b 4 = 35 a 3 b 4 T_5=T_{4+1}=\binom74a^3b^4=35\,a^3b^4 T 5 = T 4 + 1 = ( 4 7 ) a 3 b 4 = 35 a 3 b 4 .
T k + 1 = ( 8 k ) ( − x ) k T_{k+1}=\binom8k(-x)^k T k + 1 = ( k 8 ) ( − x ) k . For k = 4 k=4 k = 4 : ( 8 4 ) = 70 \binom84=70 ( 4 8 ) = 70 (the sign is + + + since ( − 1 ) 4 = 1 (-1)^4=1 ( − 1 ) 4 = 1 ).
Put x = 1 x=1 x = 1 : ( 2 − 3 ) 4 = 1 (2-3)^4=1 ( 2 − 3 ) 4 = 1 .
This is ( 1 + 1 ) 6 = 2 6 = 64 (1+1)^6=2^6=64 ( 1 + 1 ) 6 = 2 6 = 64 .
T k + 1 = ( 6 k ) ( x 2 ) 6 − k x − k = ( 6 k ) x 12 − 3 k T_{k+1}=\binom6k(x^2)^{6-k}x^{-k}=\binom6kx^{12-3k} T k + 1 = ( k 6 ) ( x 2 ) 6 − k x − k = ( k 6 ) x 12 − 3 k . The power is 0 0 0 when k = 4 k=4 k = 4 : ( 6 4 ) = 15 \binom64=15 ( 4 6 ) = 15 .
1.02 6 ≈ 1 + 6 ( 0.02 ) + 15 ( 0.02 ) 2 = 1 + 0.12 + 0.006 = 1.126 1.02^6\approx1+6(0.02)+15(0.02)^2=1+0.12+0.006=1.126 1.0 2 6 ≈ 1 + 6 ( 0.02 ) + 15 ( 0.02 ) 2 = 1 + 0.12 + 0.006 = 1.126 . (Exact value 1.1262 1.1262 1.1262 to four decimals.)
The coefficient of x 3 x^3 x 3 is ( 5 3 ) + ( 6 3 ) = 10 + 20 = 30 \binom53+\binom63=10+20=30 ( 3 5 ) + ( 3 6 ) = 10 + 20 = 30 .