Proof of $\sum_{k=0}^{n} \frac{k}{2^{k}}$ Equation

  • Thread starter Thread starter Moridin
  • Start date Start date
  • Tags Tags
    Proof
Click For Summary

Homework Help Overview

The discussion revolves around proving the equation for the sum of the series \(\sum_{k=0}^{n} \frac{k}{2^{k}}\) and its equivalence to the expression \(2 - \frac{n+2}{2^{n}}\) for natural numbers \(n\). Participants are exploring the validity of the proof by induction and examining specific cases.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss proving the statement for base case \(n=0\) and the inductive step from \(n=p\) to \(n=p+1\). There is an examination of the algebraic manipulations involved in the proof and the identification of potential sign errors in the expressions.

Discussion Status

The discussion is ongoing, with participants providing insights into the algebraic steps and questioning the correctness of specific terms in the proof. Some participants suggest that a sign error may be present, while others attempt to clarify the expressions involved. There is no explicit consensus yet, but the dialogue is productive.

Contextual Notes

Participants are working within the constraints of proving a mathematical statement without providing complete solutions, focusing instead on the reasoning and potential errors in the proof process.

Moridin
Messages
694
Reaction score
3

Homework Statement



Show that

[tex]\sum_{k=0}^{n} \frac{k}{2^{k}} = 2 - \frac{n+2}{2^{n}}~; ~~~ \forall n \in \mathbb{N} \cup \{0\}[/tex]


The Attempt at a Solution



(1) Show that it is true for n = 0

[tex]\frac{0}{2^{0}} = 2 - \frac{2}{2^{0}} = 0[/tex]

(2) Show that if it is true for n = p, it is true for n = p + 1

Assume that

[tex]\sum_{k=0}^{p} \frac{k}{2^{k}} = 2 - \frac{p+2}{2^{p}}[/tex]

Now,

[tex]\sum_{k=0}^{p} \frac{k}{2^{k}} = \frac{1}{2} + \frac{2}{4} +\frac{3}{8} + \frac{4}{16} + ... + \frac{p}{2^{p}}[/tex]

[tex]\sum_{k=0}^{p+1} \frac{k}{2^{k}} = \frac{1}{2} + \frac{2}{4} +\frac{3}{8} + \frac{4}{16} + ... + \frac{p}{2^{p}} + \frac{p+1}{2^{p+1}} = \sum_{k=0}^{p} \frac{k}{2^{k}} + \frac{p+1}{2^{p+1}} = 2 - \frac{p+2}{2^{p}} + \frac{p+1}{2^{p+1}}[/tex]

If it can be shown that

[tex]2 - \frac{p+2}{2^{p}} + \frac{p+1}{2^{p+1}} = 2 - \frac{p+3}{2^{p+1}}[/tex]

then (2) is done. However, here is it where it all goes wrong.

[tex]2 - \frac{p+2}{2^{p}} + \frac{p+1}{2^{p+1}} = 2 - \frac{2(p+2)}{2^{p+1}} + \frac{p+1}{2^{p+1}} = 2 - \frac{2p + 4 + p + 1}{2^{p+1}}[/tex]

Which is not the same as that which is looked for. However, there seem to be a sign error somewhere, since if the last two additions are subtractions, it works. Thank you for your time.
 
Physics news on Phys.org
Moridin said:
[tex]2 - \frac{p+2}{2^{p}} + \frac{p+1}{2^{p+1}} = 2 - \frac{2(p+2)}{2^{p+1}} + \frac{p+1}{2^{p+1}} = 2 - \frac{2p + 4 + p + 1}{2^{p+1}}[/tex]
It's like this instead:

[tex]2 - \frac{2(p+1)}{2^{p+1}} + \frac{p+1}{2^{p+1}} = 2 + \frac{p+1-2p-4}{2^{p+1}}[/tex]

Simplify from here and you're done.
 
Moridin said:
[tex]2 - \frac{2(p+2)}{2^{p+1}} + \frac{p+1}{2^{p+1}} = 2 - \frac{2p + 4 + p + 1}{2^{p+1}}[/tex]

Which is not the same as that which is looked for. However, there seem to be a sign error somewhere, since if the last two additions are subtractions, it works. Thank you for your time.

Hi Moridin! :smile:

Yes, the sign error is in your p + 1 at the end, isn't it? :smile:
 
tiny-tim said:
Hi Moridin! :smile:

Yes, the sign error is in your p + 1 at the end, isn't it? :smile:

I cannot find the exact place where I made the sign error, but it seems to stem from this line

[tex]\sum_{k=0}^{p+1} \frac{k}{2^{k}} = \frac{1}{2} + \frac{2}{4} +\frac{3}{8} + \frac{4}{16} + ... + \frac{p}{2^{p}} + \frac{p+1}{2^{p+1}} = \sum_{k=0}^{p} \frac{k}{2^{k}} + \frac{p+1}{2^{p+1}} = 2 - \frac{p+2}{2^{p}} + \frac{p+1}{2^{p+1}}[/tex]

?
 
Defennder said:
It's like this instead:

[tex]2 - \frac{2(p+1)}{2^{p+1}} + \frac{p+1}{2^{p+1}} = 2 + \frac{p+1-2p-4}{2^{p+1}}[/tex]

Simplify from here and you're done.

Isn't the p+ 1 in the first fraction suppose to be p + 2? How did that happen?
 
typo I suspect
 
Yeah it's a typo. Apart from that it should be fine.
 
Thanks, I finally understood this now.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
12
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K