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
SUMMARY

The forum discussion centers on proving the equation $\sum_{k=0}^{n} \frac{k}{2^{k}} = 2 - \frac{n+2}{2^{n}}$ for all natural numbers $n$. The proof involves mathematical induction, starting with the base case of $n=0$ and assuming the statement holds for $n=p$. The discussion highlights a critical sign error in the induction step, specifically in the transition from $\sum_{k=0}^{p} \frac{k}{2^{k}}$ to $\sum_{k=0}^{p+1} \frac{k}{2^{k}}$, which leads to confusion in the final simplification. The participants collaboratively identify and clarify the source of the error, ultimately leading to a correct understanding of the proof.

PREREQUISITES
  • Understanding of mathematical induction
  • Familiarity with summation notation
  • Basic knowledge of series convergence
  • Proficiency in algebraic manipulation
NEXT STEPS
  • Study mathematical induction techniques in detail
  • Explore the properties of geometric series
  • Learn about convergence tests for infinite series
  • Practice algebraic simplification strategies in proofs
USEFUL FOR

Mathematics students, educators, and anyone interested in mastering proof techniques in series and sequences.

Moridin
Messages
692
Reaction score
3

Homework Statement



Show that

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


The Attempt at a Solution



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

\frac{0}{2^{0}} = 2 - \frac{2}{2^{0}} = 0

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

Assume that

\sum_{k=0}^{p} \frac{k}{2^{k}} = 2 - \frac{p+2}{2^{p}}

Now,

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

\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}}

If it can be shown that

2 - \frac{p+2}{2^{p}} + \frac{p+1}{2^{p+1}} = 2 - \frac{p+3}{2^{p+1}}

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

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}}

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:
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}}
It's like this instead:

2 - \frac{2(p+1)}{2^{p+1}} + \frac{p+1}{2^{p+1}} = 2 + \frac{p+1-2p-4}{2^{p+1}}

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

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

\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}}

?
 
Defennder said:
It's like this instead:

2 - \frac{2(p+1)}{2^{p+1}} + \frac{p+1}{2^{p+1}} = 2 + \frac{p+1-2p-4}{2^{p+1}}

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
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
12
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K