We have to calculate the coefficient of x18 in the product
(1+x)(1−x)10(1+x+x2)9.
First, recall the useful identity
1+x+x2=1−x1−x3.
Raising both sides to the 9-th power gives
(1+x+x2)9=(1−x1−x3)9=(1−x3)9(1−x)−9.
Substituting this into the original product, we get
(1+x)(1−x)10(1+x+x2)9=(1+x)(1−x)10(1−x3)9(1−x)−9.
Because the exponents on (1−x) add algebraically, we have
(1−x)10(1−x)−9=(1−x)10−9=(1−x)1=(1−x).
So the whole product simplifies to
(1+x)(1−x)(1−x3)9.
Now multiply the first two linear factors:
(1+x)(1−x)=1−x2.
Therefore the expression whose coefficient we need is
(1−x2)(1−x3)9.
Next we expand (1−x3)9 with the binomial theorem. The binomial theorem states
(1+y)n=∑r=0n(rn)yr.
With y=−x3 and n=9, this gives
(1−x3)9=∑r=09(r9)(−1)rx3r.
Multiplying by 1−x2, we write
(1−x2)(1−x3)9=(1)[(1−x3)9]−x2(1−x3)9.
Substituting the series for (1−x3)9 in each part, we obtain
(1−x2)(1−x3)9=r=0∑9(r9)(−1)rx3r−r=0∑9(r9)(−1)rx3r+2.
The two sums now clearly show every power of x that can occur.
To get the coefficient of x18, we examine each sum separately.
• In the first sum, the exponent is 3r.
Setting 3r=18 gives r=6, which is indeed an integer between 0 and 9, so there is a contribution.
• In the second sum, the exponent is 3r+2.
Setting 3r+2=18 gives 3r=16, or r=316, which is not an integer.
Therefore no term in the second sum can produce x18.
Thus the only contribution to the x18 coefficient comes from the first sum with r=6. The corresponding term is
(69)(−1)6x18.
Since (−1)6=+1, the coefficient is simply
(69)=(39)=3×2×19×8×7=84.
Hence, the correct answer is Option A.