Question as stated:
Is there a closed form solution to the series $\sum\limits_{k = 0}^n \dfrac{k}{2^k}$?
I am guessing that this series is expected to converge, since $2^k$ dominates $k$, but I am not certain.
Question as stated:
Is there a closed form solution to the series $\sum\limits_{k = 0}^n \dfrac{k}{2^k}$?
I am guessing that this series is expected to converge, since $2^k$ dominates $k$, but I am not certain.
We can write, $$S_n=\color{blue}{\frac{1}{2}}+\color{red}{\frac{2}{2^2}}+\frac{3}{2^3}+\cdots+\frac{n-1}{2^{n-1}}\frac{n}{2^n}$$ $$\frac{S_n}{2}=\color{red}{\frac{1}{2^2}}+\frac{2}{2^3}+\frac{3}{2^4}+\cdots+\frac{n-1}{2^{n}}+\frac{n}{2^{n+1}}$$ $$S_n-\frac{S_n}{2}=\color{blue}{\frac{1}{2}}+\color{red}{\frac{1}{2^2}}+\cdots+\frac{1}{2^n}-\frac{n}{2^{n+1}}$$ $$S_n=2\Biggr(\frac{1}{2}\frac{\Big(\frac{1}{2}\Big)^n-1}{\frac{1}{2}-1}-\frac{n}{2^n}\Biggr)$$ $$S_n=2\Biggr(-\Big(\frac{1}{2}\Big)^n+1-\frac{n}{2^n}\Biggr)$$ $$S_n=2+\frac{n-2}{2^{n}}$$
Let $S(x) = \sum\limits_{I=1}^n x^k$ , convergent for $|x| \lt 1$, geometric series.
Differentiate : $S'(x) = \sum\limits_{I=1}^n k x^{k-1}$.
$xS'(x) = \sum\limits_{I=1}^n kx^k$.
hint: relate the sum in question with the sum: $\displaystyle \sum_{k = 0}^n kx^k$ and $x = 1/2$ in your example. This near "geometric sum" is very popular and can be calculated in various ways.