0

My attempt so far:

$$\sum_{n \geq 0} n^2 x^n = x \sum_{n \geq 0} n^2 x^{n-1} = x \sum_{n \geq 0} n (x^n)'$$

And now I've got stuck. How can I continue from now?

dash
  • 293

2 Answers2

2

Hint

Using the fact that $n^2=n(n-1)+n$, then $$\sum n^2x^n=\sum n(n-1)x^n+\sum nx^n=x^2\sum n(n-1)x^{n-2}+x\sum nx^{n-1}$$ where you recognize the second and first derivatives of $\sum x^n=\frac{1}{1-x}$.

I am sure that you can take it from here.

0

Hints:

$$\sum_{n \geq 0} n^2 x^n = \sum_{n \geq 0} n(n + 1) x^{n-1} - \sum_{n \geq 0} (n + 1) x^n + \sum_{n \geq 0} x^n$$

runaround
  • 2,210