I am stuck on a question regarding induction. I know that we are supposed to solve it using 3 steps: the base step, the n= p step and n = p+1.
The question is prove that $$\displaystyle\sum_{i=1}^n\dfrac{i}{2^i}= 2- \dfrac{n+2}{2^n}$$
For $n = 1$ both sides will be $\dfrac{1}{2}$.
It is on the step $n+1$ that I am stuck.
I have calculated LHS to:
$$2-\dfrac{n+2}{2^n} + \dfrac{n+1}{2^{n+1}}$$
On the RHS for $n+1$ I have:
$$2-\dfrac{(n+1)+2}{2^{n+1}}$$
I would be thankful for any ideas on how to continue. My guess has to do with finding common factors which could be: $2$, $n+1$ or $2^{n+1}$.
Let me know if anything needs to be clarified.
you must show that $$2-\frac{n+2}{2^n}+\frac{n+1}{2^{n+1}}=2-\frac{n+3}{2^{n+1}}$$