So the question in my textbook is:
Show by induction that $\sum\limits_{k=1}^n \frac{k}{2^k} = 2 - \frac{n+2}{2^n}$ for all $n$ $\in Z_+$.
My attempt at a solution:
First of all $Z_+ = 1, 2, 3, 4, 5, 6, 7, 8 ...$
So I start to make sure that the base case is right... For that I choose $k = 1$
This gives us:
$$\sum\limits_{k=1}^1 \frac{1}{2^1} = 2 - \frac{1+2}{2^1} \rightarrow \frac{1}{2} = 2 - \frac{3}{2}$$
The base case does work.
The next step is to take make the inductive assumption that it is true for $n = k$. This gives us:
$$\frac{1}{2^1} + \frac{2}{2^2} + ... + \frac{k}{2^k} = 2 - \frac{k+2}{2^k}$$
The next step is to show that $n = k + 1$ holds:
$$\frac{1}{2^1} + \frac{2}{2^2} + ... + \frac{k}{2^k} + \frac{k+1}{2^{k+1}} = 2 - \frac{k+1+2}{2^{k+1}}$$
By using the induction hypothesis we have:
$$\frac{1}{2^1} + \frac{2}{2^2} + ... + \frac{k}{2^k} + \frac{k+1}{2^{k+1}} = 2 - \frac{k+2}{2^k} + \frac{k+1}{2^{k+1}}$$
The $RHS$ can be written as: $$2 - \frac{k+2}{2^{k}} + \frac{k+1}{2^{k+1}}$$
How do I move on from here and show that:
$$2 - \frac{k+2}{2^{k}} + \frac{k+1}{2^{k+1}} = 2 - \frac{k+1+2}{2^{k+1}}$$
Thank you!