Evaluate Series Convergence Analytically

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 3K views
Max.Planck
Messages
128
Reaction score
0
Hi, while reading some artificial intelligence book, i came upon the following sum. How can I evaluate it analytically, so not guess it by computing many terms? It's easy to see by ratio test that it converges (intuitively too, since its a linear vs exponential function).

[itex]\sum_{i=1}^\infty \frac{i}{2^i}[/itex]
 
Physics news on Phys.org
micromass said:
Do you know the sum of

[tex]\sum_{n=1}^{+\infty} x^n[/tex]

for |x|<1 ??

Now take derivatives.

I know the sum, it evaluates to:
[tex]\frac{1}{1-x}-1[/tex]

But, how will the derivatives help? The i-th derivative with respect to x gives me:

[tex]\sum_{n=1}^{\infty} \frac{n!}{(n-i)!}x^{n-i}[/tex]
 
Last edited:
Max.Planck said:
I know the sum, it evaluates to:
[tex]\frac{1}{1-x}-1[/tex]

But, how will the derivatives help? The i-th derivative with respect to x gives me:

[tex]\sum_{n=1}^{\infty} \frac{n!}{(n-i)!}x^{n-i}[/tex]



Why would you take the i-th derivative if you were said "the derivative? I find that i as index pretty confussing and annoying, so I'll change it:
[tex]\frac{1}{1-x}-1=\sum_{n=1}^\infty x^n\Longrightarrow \frac{1}{(1-x)^2}=\sum_{n=1}^\infty nx^{n-1}[/tex]

and now just choose a convenient x within the convergence radius...

DonAntonio
 
I offer another way (not very rigorous, but still intuitive.)
The nth term of the sum can be written as
[tex]\left(\frac{1}{2^n}+\frac{1}{2^n}...+\frac{1}{2^n}\right)[/tex]
where we have the fraction repeated n times. Now look at this structure:

1/2
1/4+1/4
1/8+1/8+1/8
....

Now sum columns instead of the rows!
 
DonAntonio said:
Why would you take the i-th derivative if you were said "the derivative? I find that i as index pretty confussing and annoying, so I'll change it:
[tex]\frac{1}{1-x}-1=\sum_{n=1}^\infty x^n\Longrightarrow \frac{1}{(1-x)^2}=\sum_{n=1}^\infty nx^{n-1}[/tex]

and now just choose a convenient x within the convergence radius...

DonAntonio

But how do you choose that x? Shouldn't

[tex]x^{n-1}=(1/2)^{n}[/tex]

But then x will be a term dependent on n...
 
Max.Planck said:
But how do you choose that x? Shouldn't

[tex]x^{n-1}=(1/2)^{n}[/tex]

But then x will be a term dependent on n...


...and thus [itex]\,\displaystyle{ x^{n-1}=\frac{1}{2}\left(\frac{1}{2}\right)^{n-1}}[/itex]...! And of course, taking off a factor of 0.5, x is a constant.

DonAntonio
 
DonAntonio said:
...and thus [itex]\,\displaystyle{ x^{n-1}=\frac{1}{2}\left(\frac{1}{2}\right)^{n-1}}[/itex]...! And of course, taking off a factor of 0.5, x is a constant.

DonAntonio

Ah right lol, thank you very much.