1

$$\sum_{i=0}^n \frac{i}{2^i} = 2 - \frac{n+2}{2^n} $$

Let's skip the check, since when n = 1, I have $\frac{1}{2} = \frac{1}{2}$

What i will next do ? What for expression i may receive ?

$$\sum_{i=0}^{n+1}\frac{i}{2^i} = 2 - \frac{n+2}{2^n} $$

My trying :

$$ \biggl(\sum_{i=0}^{n+1}\frac{i}{2^i} = 2 - \frac{n+2}{2^n}\biggl) = \frac{n+1}{2^{n+1}} $$

or

$$ \biggl(\sum_{i=0}^{n+1}\frac{i}{2^i} = 2 - \frac{n+2}{2^n}\biggl) = \frac{2^{n+2}-(n+1)+2}{2^{n+1}} $$

Which answer should I use? And how will I decide next?

Cornman
  • 11,065
  • 4
  • 30
  • 57
Boujozo
  • 125

3 Answers3

1

For the inductive step you have to show, that $\sum_{i=0}^{n+1} \frac{i}{2^i}=2-\frac{(n+1)+2}{2^{n+1}}$.

We have to use the inductive claim and go like this:

$\begin{align}\sum_{i=0}^{n+1} \frac{i}{2^i}\\&=\color{red}{\sum_{i=0}^{n} \frac{i}{2^i}}+\frac{n+1}{2^{n+1}}\\&=\color{red}{2-\frac{n+2}{2^n}}+\frac{n+1}{2^{n+1}}\\&=2+\frac{-2(n+2)+n+1}{2^{n+1}}\\&=2+\frac{-2n-4+n+1}{2^{n+1}}\\&=2+\frac{-n-3}{2^{n+1}}\\&=2-\frac{n+3}{2^{n+1}}\end{align}$

Cornman
  • 11,065
  • 4
  • 30
  • 57
  • 1
    Thank you for your structured response. But I will try again to solve it myself. And thank you for correcting me. – Boujozo Apr 09 '19 at 17:20
  • 1
    No problem. Feel free to ask, if you still struggle. Also it is good to write also down, what the inductive claim here is. – Cornman Apr 09 '19 at 17:26
  • Sorry, but I have a question on exponents. Hike I do not know them at all. How did this turn into this? $$-\frac{n + 2}{2^n} + \frac{n + 1}{2^{n + 1}} = \frac{-2{(n+2)} + n+1}{2^{n+1}}$$ – Boujozo Apr 10 '19 at 07:23
  • Thanks again very much =) I figured out the technical nuances. – Boujozo Apr 10 '19 at 08:10
  • @SaintHentai I know you already got it, but just to make sure: We write $-\frac{n+2}{2^n}=-\frac{2(n+2)}{2\cdot 2^n}$ so we can add the fractions. – Cornman Apr 10 '19 at 10:43
0

I'm not sure what you're trying to do with brackets, but you shouldn't equate a number to a bracketed equation, which is a statement. The correct write-up is $$\sum_{i=0}^{n+1}\frac{i}{2^i}=2-\frac{n+2}{2^n}+\frac{n+1}{2^{n+1}}=2-\frac{n+3}{2^{n+1}}.$$(For what it's worth, these sums could start at $i=1$ instead, since $\frac{0}{2^0}=0$.)

J.G.
  • 115,835
0

You should prove that$$\sum_{i=0}^n\frac i{2^i}=2-\frac{n+2}{2^n}\implies\sum_{i=0}^{n+1}\frac i{2^i}=2-\frac{n+3}{2^{n+1}}.$$In order to do that, you do:\begin{align}\sum_{i=0}^{n+1}\frac i{2^i}&=\left(\sum_{i=0}^n\frac i{2^i}\right)+\frac{n+1}{2^{n+1}}\\&=2-\frac{n+2}{2^n}+\frac{n+1}{2^{n+1}}\\&=2-\frac{2n+4}{2^{n+1}}+\frac{n+1}{2^{n+1}}\\&=2-\frac{n+3}{2^{n+1}}.\end{align}

  • 1
    You give a generalized answer and thanks to him I was able to understand a more complex answer. Thanks a lot. – Boujozo Apr 09 '19 at 17:18