coefficient of $x^{2012}$ in $\frac{1+x}{(1+x^2)(1-x)}$

507 Views Asked by At

I am facing trouble in the following question

coefficient of $x^{2012}$ in $$\frac{1+x}{(1+x^2)(1-x)}$$

i broke it down as $$(1+x){(1+x^2)}^{-1}{(1-x)}^{-1}$$ and then the coefficient of $x^{2012}$ in this expression is equal to

coefficient of $x^{2012}$ in ${(1+x^2)}^{-1}$+coefficient of $x^{2012}$ in ${(1-x)}^{-1}$+1 $\cdot$ coefficient of $x^{2011}$ in ${(1+x^2)}^{-1}$+1 $\cdot$ coefficient of $x^{2011}$ in ${(1-x)}^{-1}$.

I couldnot proceed after this.please help me in this regard.thanks.

2

There are 2 best solutions below

0
On BEST ANSWER

$$\frac{1+x}{(1+x^2)(1-x)}=\frac{x}{1+x^2}+\frac{1}{1-x}$$ use $${\frac {1}{1-x}}=\sum _{n=0}^{\infty }x^{n}$$ and let $x\rightarrow -x^2$ $${\frac {1}{1+x^2}}=\sum _{n=0}^{\infty }(-1)^nx^{2n}$$ multiply by $x$ $${\frac {x}{1+x^2}}=\sum _{n=0}^{\infty }(-1)^nx^{2n+1}$$

the second series does not contain power $2012$ because $$2n+1=2012$$ so the coefficient of $x^{2012}$ is 1

1
On

I would rewrite this as $\frac{(1 + x)(1 + x)}{(1 + x^2)(1 - x^2)} = \frac{1 + 2x + x^2}{1 - x^4}$. Then the series for this is simply $(1 + 2x + x^2)\sum\limits_{n=0}^{\infty} x^{4n}$. Then the coefficient of $x^{2012}$ is clearly 1.