Question
Question: If \({{\left( 3x-1 \right)}^{7}}={{a}_{7}}{{x}^{7}}+{{a}_{6}}{{x}^{6}}+\cdots +{{a}_{1}}x+{{a}_{0}}\...
If (3x−1)7=a7x7+a6x6+⋯+a1x+a0, then a7+a6+a5+a4+...+a1+a0= is equal to
[a] 0
[b] 1
[c] 128
[d] 64
Solution
Hint: Use the binomial theorem to expand (3x−1)7 and hence calculate the value of the coefficients and hence calculate the sum of the coefficients.
Complete step-by-step answer:
Observe that we are asked to find the sum of the coefficients in the expansion of (3x−1)7
We know that (x+y)n=nC0xn+nC1xn−1y+…+nCn−1xyn−1+nCnyn
Replace x by 3x and y by -1 and put n =7, we get
(3x−1)7=7C0(3x)7+7C1(3x)6(−1)+⋯+7C6(3x)(−1)6+7C7(−1)7
Now, we have
7C0=1
We know that nCr−1nCr=rn−r+1
Put n=7 and r = 1, we get
7C07C1=17−1+1=7⇒7C1=7×1=7
Put n = 7 and r = 2, we get
7C17C2=27−2+1⇒7C2=26×7=21
Put n = 7 and r = 3, we get
7C27C3=37−3+1⇒7C3=35×21=35
Put n = 7 and r = 4, we get
7C37C4=47−4+1⇒7C4=44×35=35
Put n = 7 and r = 5, we get
7C47C5=57−5+1⇒7C5=53×35=21
Put n = 7 and r = 6, we get
7C57C6=67−6+1⇒7C6=62×21=7
Put n = 7 and r = 7, we get
7C67C7=77−7+1⇒7C7=71×7=1
Hence, we have
(3x−1)7=(3x)7−7(3x)6+21(3x)5−35(3x)4+35(3x)3−21(3x)2+7(3x)−1
Hence, we have
(3x−1)7=2187x7−5103x6+5103x5−2835x4+945x3−189x2+21x−1
Hence, we have
r=0∑7ar=2187−5103+5103−2835+945−189+21−1=128
Hence the sum of the coefficients is equal to 128
Hence option [c] is correct.
Note: Alternative solution: Best method:
We have (3x−1)7=a7x7+a6x6+⋯+a1x+a0
Put x = 1, we get
(3×1−1)7=a7(1)7+a6(1)6+⋯+a1(1)+a0
Hence, we have
a7+a6+⋯+a1+a0=(2)7=128
Hence the sum of the coefficients is equal to 128.
Hence option [c] is correct.