$$1 + 2/2 + 3/4 + \cdots + n/2^{n-1}$$
How would find the closed-form expression and also the sum up to 20? I'm not really getting why or the logic behind using derivatives to arrive at an answer.
$$1 + 2/2 + 3/4 + \cdots + n/2^{n-1}$$
How would find the closed-form expression and also the sum up to 20? I'm not really getting why or the logic behind using derivatives to arrive at an answer.
The standard geometric series is $$ \sum_{k=0}^{n}x^k=\frac{1-x^{n+1}}{1-x}\tag{1} $$ Taking the derivative yields $$ \begin{align} \sum_{k=0}^{n}kx^{k-1} &=\frac{-(n+1)x^{n}(1-x)-(1-x^{n+1})(-1)}{(1-x)^2}\\ &=\frac{1-(n+1)x^{n}+nx^{n+1}}{(1-x)^2}\tag{2} \end{align} $$ Use $x=\frac12$ in $(2)$.
This is a arithmetico-geometric sequence and the computation of its sum is very standard : http://en.wikipedia.org/wiki/Arithmetico-geometric_sequence