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

  • Thread starter Moridin
  • Start date
  • Tags
    Proof
In summary, the conversation discusses proving a mathematical equation and a possible sign error in the process. The error is eventually resolved and the equation is proven to be true.
  • #1
Moridin
692
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
  • #2
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.
 
  • #3
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:
 
  • #4
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]

?
 
  • #5
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?
 
  • #6
typo I suspect
 
  • #7
Yeah it's a typo. Apart from that it should be fine.
 
  • #8
Thanks, I finally understood this now.
 

1. What is the proof for the equation k=0n k/2k?

The proof for this equation involves using the concept of geometric series and mathematical induction. It can be shown that the sum of the series is equal to 2n-2 for all positive integers n.

2. How do you solve the equation k=0n k/2k?

To solve this equation, you can use the formula for the sum of a geometric series, which is k=0n ark = a(1-rn+1)/1-r, where a is the first term and r is the common ratio. In this case, a = 0 and r = 1/2. Plugging in these values, you can find the sum of the series.

3. What is the significance of the proof for k=0n k/2k?

The proof for this equation has several applications in mathematics, including in the study of sequences and series, and in the analysis of algorithms. It also demonstrates the power of mathematical induction as a proof technique.

4. Can the proof for k=0n k/2k be generalized to other series?

Yes, the proof for this equation can be generalized to other series with a similar form, where the summand is a polynomial divided by a geometric series. However, the specific values of a and r may vary for different series.

5. How can the proof for k=0n k/2k be applied in real-world situations?

The proof for this equation can be applied in various real-world situations, such as in finance and economics, where geometric series are commonly used to model growth and interest rates. It can also be applied in computer science and engineering, where algorithms and data structures rely on the analysis of series and their sums.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
708
  • Precalculus Mathematics Homework Help
Replies
5
Views
556
  • Precalculus Mathematics Homework Help
Replies
5
Views
2K
  • Precalculus Mathematics Homework Help
Replies
12
Views
2K
  • Precalculus Mathematics Homework Help
Replies
9
Views
2K
  • Precalculus Mathematics Homework Help
Replies
17
Views
2K
  • Precalculus Mathematics Homework Help
Replies
4
Views
722
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
940
Back
Top