Question

The coefficient of x12x^{12} in (x3+x4+x5+x6+⋯ )3(x^3 + x^4 + x^5 + x^6 + \cdots)^3 is _____.

Official answer and solution
Official answer
10
From
Official GATE 2016 answer key

Solution

Factor out x9x^9 and apply the negative binomial series expansion.

We seek the coefficient of x12x^{12} in:

P(x)=(x3+x4+x5+x6+⋯ )3P(x) = (x^3 + x^4 + x^5 + x^6 + \cdots)^3

Factor out x3x^3 from the infinite sum:

x3+x4+x5+⋯=x3(1+x+x2+⋯ )=x31−xx^3 + x^4 + x^5 + \cdots = x^3(1 + x + x^2 + \cdots) = \frac{x^3}{1 - x}

Cubing this expression gives:

P(x)=(x31−x)3=x9(1−x)−3P(x) = \left(\frac{x^3}{1 - x}\right)^3 = x^9 (1 - x)^{-3}

Finding the coefficient of x12x^{12} in x9(1−x)−3x^9 (1 - x)^{-3} is equivalent to finding the coefficient of x12−9=x3x^{12 - 9} = x^3 in (1−x)−3(1 - x)^{-3}.

Recall the negative binomial series expansion:

(1−x)−n=∑r=0∞(n+r−1r)xr(1 - x)^{-n} = \sum_{r=0}^\infty \binom{n + r - 1}{r} x^r

For n=3n = 3 and r=3r = 3:

Coefficient=(3+3−13)=(53)=5×42×1=10\text{Coefficient} = \binom{3 + 3 - 1}{3} = \binom{5}{3} = \frac{5 \times 4}{2 \times 1} = 10
Final answer

10

Common trap

Expanding (1−x)−3(1 - x)^{-3} directly for r=12r = 12 without factoring out x9x^9.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2016 Computer Science and Information Technology (CS) Session 1
Question
36 of 65, printed as CS Q.26
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.