Solveeit Logo

Question

Question: The coefficient of \({{x}^{18}}\) in the product \(\left( 1+x \right){{\left( 1-x \right)}^{10}}{{\l...

The coefficient of x18{{x}^{18}} in the product (1+x)(1x)10(1+x+x2)9\left( 1+x \right){{\left( 1-x \right)}^{10}}{{\left( 1+x+{{x}^{2}} \right)}^{9}} is?
A. -84
B. 84
C. 126
D. -126

Explanation

Solution

We will first rewrite the given product expression as, (1+x)(1x)(1x)9(1+x+x2)9\left( 1+x \right)\left( 1-x \right){{\left( 1-x \right)}^{9}}{{\left( 1+x+{{x}^{2}} \right)}^{9}} and then simplify it and write it as, (1x2)(1x3)9\left( 1-{{x}^{2}} \right){{\left( 1-{{x}^{3}} \right)}^{9}}. We will then use the formula for the rth{{r}^{th}} term for an expansion (a+b)n{{\left( a+b \right)}^{n}} which is nCranrbr{}^{n}{{C}_{r}}{{a}^{n-r}}{{b}^{r}}and then use this to proceed.

Complete step-by-step solution:
In the question, we are given a product of expressions which is, (1+x)(1x)10(1+x+x2)9\left( 1+x \right){{\left( 1-x \right)}^{10}}{{\left( 1+x+{{x}^{2}} \right)}^{9}} and we have been asked to find the coefficient of x18{{x}^{18}} in the product. So, we will first consider the given product of expression, (1+x)(1x)10(1+x+x2)9\left( 1+x \right){{\left( 1-x \right)}^{10}}{{\left( 1+x+{{x}^{2}} \right)}^{9}} and rearrange it and write it as, (1+x)(1x)(1x)9(1+x+x2)9\left( 1+x \right)\left( 1-x \right){{\left( 1-x \right)}^{9}}{{\left( 1+x+{{x}^{2}} \right)}^{9}}, which can be further written as, \left( 1-{{x}^{2}} \right){{\left\\{ \left( 1-x \right)\left( 1+x+{{x}^{2}} \right) \right\\}}^{9}}. Now, we know that the product of (1x)\left( 1-x \right) and (1+x+x2)\left( 1+x+{{x}^{2}} \right) is (1x3)\left( 1-{{x}^{3}} \right), so we can rewrite the given expression as follows,
(1x2)(1x3)9\left( 1-{{x}^{2}} \right){{\left( 1-{{x}^{3}} \right)}^{9}}
Now, we will first find the general term of the binomial expansion, (1x3)9{{\left( 1-{{x}^{3}} \right)}^{9}}by using the formula for the rth{{r}^{th}} term for an expansion (a+b)n{{\left( a+b \right)}^{n}}, which is given as,
Tr+1=nCranrbr{{T}_{r+1}}={}^{n}{{C}_{r}}{{a}^{n-r}}{{b}^{r}}
Now, as the expansion is (1x3)9{{\left( 1-{{x}^{3}} \right)}^{9}}, thus its rth{{r}^{th}} term will be,
Tr+1=9Cr(1)9r(x3)r{{T}_{r+1}}={}^{9}{{C}_{r}}{{\left( 1 \right)}^{9-r}}{{\left( -{{x}^{3}} \right)}^{r}}
Which, on simplification can be written as,
Tr+1=9Cr(1)rx3r{{T}_{r+1}}={}^{9}{{C}_{r}}{{\left( -1 \right)}^{r}}{{x}^{3r}}
So, we can now write the expression as,
\begin{aligned} & \left( 1-{{x}^{2}} \right)\left\\{ {}^{9}{{C}_{r}}{{\left( -1 \right)}^{r}}{{x}^{3r}} \right\\} \\\ & \Rightarrow {{\left( -1 \right)}^{r}}{}^{9}{{C}_{r}}{{x}^{3r}}-{{\left( -1 \right)}^{r}}{}^{9}{{C}_{r}}{{x}^{3r+2}} \\\ \end{aligned}
In both terms, the power of x is 3 r and 3 r +2. We have to find the coefficient of x18{{x}^{18}}, so there are two possible causes, the first is when 3r=183r=18 and the other is 3r+2=183r+2=18. The second case is not possible as “r” should be an integer. So, since 3r=18r=63r=18\Rightarrow r=6.
The coefficient of x3r{{x}^{3r}} was (1)r9Cr{{\left( -1 \right)}^{r}}{}^{9}{{C}_{r}} and we have obtained the value of r=6r=6, so the coefficient will be, (1)69C69C6{{\left( -1 \right)}^{6}}{}^{9}{{C}_{6}}\Rightarrow {}^{9}{{C}_{6}}. To find the value of 9C6{}^{9}{{C}_{6}}, we have to use the formula of nCr=n!(nr)!r! 9C6=9!(96)!6! 9C6=9!3!6! 9C6=9×8×73×2×1 9C6=3×4×7 9C6=84 \begin{aligned} & {}^{n}{{C}_{r}}=\dfrac{n!}{\left( n-r \right)!r!} \\\ & \Rightarrow {}^{9}{{C}_{6}}=\dfrac{9!}{\left( 9-6 \right)!6!} \\\ & \Rightarrow {}^{9}{{C}_{6}}=\dfrac{9!}{3!6!} \\\ & \Rightarrow {}^{9}{{C}_{6}}=\dfrac{9\times 8\times 7}{3\times 2\times 1} \\\ & \Rightarrow {}^{9}{{C}_{6}}=3\times 4\times 7 \\\ & \Rightarrow {}^{9}{{C}_{6}}=84 \\\ \end{aligned}
Therefore, the correct answer is option B.

Note: We can also solve the same question by another method. We can find the products of the given expression and separate out the coefficient of x18{{x}^{18}} to get the answer, but this method would be very long and tedious, so it is not preferred to be used.