Show that $$\dfrac{(1+x)^3}{(1-x)^3} =1 + \displaystyle\sum_{n=1}^{\infty} (4n^2+2)x^n$$
I tried with the partial frationaising the expression that gives me
$\dfrac{-6}{(x-1)} - \dfrac{12}{(x-1)^2} - \dfrac{8}{(x-1)^3} -1$ how to proceed further on this having doubt with square and third power term in denominator.
Note the identity:
$$\frac{1}{(1-x)^{r}} = \sum_{i=0}^{\infty} \binom{i + r - 1}{i} x^{i}$$
So you have $r = 3$, giving us:
$$\sum_{i=0}^{\infty} \binom{i + 2}{i} x^{i} = 1 + \sum_{i=1}^{\infty} \binom{i + 2}{i} x^{i}$$
Then we multiply by $(1 + x)^{3}$, the numerator:
$$(1 + x)^{3} \cdot (1 + \sum_{i=1}^{\infty} \binom{i + 2}{i} x^{i})$$
I leave the algebraic expansion to you.