Calculate the sum of the infinite series $\sum_{n=0}^{\infty} \frac{n}{4^n}$
A previous problem had us solving $\sum_{n=0}^{\infty} \frac{1}{4^n}$ which I calculated to be $\frac{4}{3}$ using a bit of mathematical manipulation.
Wonderful. Thank you for all the prompt responses. Could anyone suggest an alternate technique that does not involve differentiation?
Solution 1:
Your sum is equal to
$$\frac{1}{4} +\frac{2}{4^2}+\frac{3}{4^3}+\frac{4}{4^4}+ \cdots +\frac{n}{4^n}+\cdots.$$
Call this sum $S$. Now subtract from $S$ the sum $$\frac{1}{4}+\frac{1}{4^2}+\frac{1}{4^3}+\cdots.$$ If we do it in the obvious way, term by term, we obtain $$\frac{1}{4^2}+\frac{2}{4^3}+\frac{3}{4^4}+ \cdots.$$
Note that this last sum is $(1/4)S$.
Putting things together, and using your computation for $1+1/4+1/4^2+\cdots$ (not quite, we start at $1/4$) we get $$S-\frac{1}{3}=\frac{S}{4}.$$ Solve for $S$. We find that $S=4/9$.
Comment: The calculation is a little sloppy, it assumes that infinite sums can be manipulated much like finite sums. There are theorems about power series that one could use to justify the manipulations.
But (in this case) we do not need such theorems. Let $S_n$ be the sum of the terms up to the term $n/4^n$. More or less the same sort of calculation as the one I did can be used to find an explicit formula for $S_n$. Then we can calculate $\lim_{n\to\infty}S_n$, and get a fully rigorous derivation.
We could use the results of the calculation of $\sum n/4^n$ to tackle $\sum n^2/4^n$, and so on. But the derivatives approach is certainly slicker!
Solution 2:
As you have computed $\sum_{n>=0} x^n$ to be $1/(1-x)$, differentiate the series term-wise and multiply by x, which you can do for $x=1/4$ as the series converges. This gives $\sum_{n>=0} n x^{n} = x/(1-x)^{2}$. Substitute $x=1/4$ and observe that $\sum_{n>=0} n/4^n = 4/9$