What if n is in the summation?

  • Thread starter Thread starter mohabitar
  • Start date Start date
  • Tags Tags
    Summation
Click For Summary
The discussion revolves around finding a closed form for a summation where 'n' is included in the summation itself. Participants express confusion over whether 'n' should remain in the final expression and how to correctly factor it out. There are concerns about discrepancies between manual calculations and the derived closed form, particularly when testing with specific values. The importance of carefully reading the problem statement is emphasized, especially regarding the starting point of the summation. Ultimately, the conversation highlights the need for clarity in handling summations involving variables like 'n' and the application of geometric series principles.
mohabitar
Messages
140
Reaction score
0
I'm trying to get a closed form of a summation, however n is in the summation itself. Here's an example:

yjgAS.png


Ive never encountered such a thing. What happens to the n? Does it stay in there as n in the closed form? So then we have n/2^k which the closed form turns out to be:

n/ [2^(n+1)-1 / (2-1)]

However, when I tested my solution using a test value, the two versions didnt check out, so obviously I'm doing something wrong. And the instructions say to read the question carefully, which is kinda scary as wel.
 
Physics news on Phys.org
I don't think 'n' depends on 'k', so you can effectively treat it as a constant and factor it out of the summation.
 
So then were left with 1/2^k. However, if we use this formula for .5^k, we get [.5^(n+1)-1 / (.5-1)] multiplied by the N we factored out, and when we use a test value of say n=3, the manual summation and the closed form total do not equal, meaning there had to be some mistake.
 
mohabitar said:
So then were left with 1/2^k. However, if we use this formula for .5^k, we get [.5^(n+1)-1 / (.5-1)] multiplied by the N we factored out, and when we use a test value of say n=3, the manual summation and the closed form total do not equal, meaning there had to be some mistake.

Are you sure what you posted is the correct solution?

Also, in your formula are you accounting for the fact that your sum starts at k=2 and not k=1 or 0 ?
 
Last edited:
You need to think about this question rock.freak asked:
rock.freak667 said:
Also, in your formula are you accounting for the fact that your sum starts at k=2 and not k=1 or 0 ?
 
The purpose of this exercise was to make sure you read such expressions properly, not taking it for something else that looks vaguely the same. For comment of yours this looks to have been necessary and useful. As this is the main point, for the actual series they gave you something easy. :biggrin: However you are making a bit heavy weather of it, though I expect you have seen geometrical series before now.


You take out the factor n. Now I will talk about the rest but don't forget to but the n back at the end.

One way to do it is to write,

\sum_{k=2}^n 2^{-k} = 2^{-2} + 2^{-3} + ... + 2^{-n}

= \sum_{k=2}^\infty 2^{-k} - \sum_{k=n+1}^{\infty} 2^-^k

Now can you see the second infinite sum here is the same as the first multiplied by a factor? (If you can't yet see this, then write this series out explicitly like I have in the top line).I would take out this factor, then you will see you can write the thing as product of a finite expression multiplying the well-known infinite series (which is actually a bit easier to sum than a finite one! and anyway you seem to know it). If you do these steps of make progress on the problem the way you were doing but get it right via the hints I will show you something nice about the infinite series.

Actually now I have looked at your calc. again you could use the same idea of a factor in the calculation you have done (you are applying a formula from a book or somewhere without looking carefully what exactly it is a formula for.)

Could you now take away your big image since it makes the page awkward to use.
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
2K