This problem comes from UChicago's Math Subject GRE Practice Problems. Specifically week 1, problem 6:
Evaluate the sum $\sum_{n=1}^\infty\frac{n^2}{3^n}$.
The answer says "Use the standard trick." Any idea what they mean? I know the sum of a geometric series, but I'm not sure what to do here given the $n^2$.
Here, we use concept of convergence of power series. for $|x|<1$,
$\sum{x^n}= \frac{x}{1-x}$ Since ,Rad of convergence of power series is 1 ,we can differentiate term by term in its interval of convergence
$\sum{nx^{n-1}}$ = $\frac{1}{(1-x)^2}$
$\sum{nx^n}=\frac{x}{(1-x)^2}$
Again differentiating, $\sum{n^2x^{n-1}}=\frac{1+x}{(1-x)^3}$
$\sum{n^2x^n}=\frac{x^2+x}{(1-x)^3}$
Since, $x=1/3$ lies in interval of convergence We get, $\sum\frac{n^2}{3^n}=\frac{\frac{1}{9}+\frac{1}{3}}{\frac{2^3}{3^3}}$ $=\frac{3}{2}$