Can this Recursive Solution to an Infinite Sum be Simplified?

In summary: The link given in this message is wrong)In summary, the conversation discusses the infinite sum \sum_{n=1}^\infty \frac{n^2}{2^n} and its generalization \sigma_\alpha(k) = \sum_{n=1}^\infty n^k \alpha ^ n. The recursive formula for \sigma_\alpha(k) is derived and it is shown that it can be written in a non-recursive form using a formula with coefficients A_\ell(k). The idea of using differentiation to find a solution is also mentioned. The Lerch function is brought up as a way to express the sum in closed form, but it is noted that it is essentially just renaming the sum. The
  • #1
aodesky
6
0
Consider the infinite sum:

[itex]\sum_{n=1}^\infty \frac{n^2}{2^n}[/itex]

For the impatient of you, the answer is here.

Anyways, I'm trying to generalize this result, so let me state a definition:

[itex]\sigma_\alpha(k) = \sum_{n=1}^\infty n^k \alpha ^ n[/itex]

This sum converges so long as the magnitude of [itex]\alpha[/itex] is less than 1. I won't prove that; moreover (and I won't bother with the derivation because it involves typing too much LaTeX on my part) I found a way to get solutions to this:

[itex]\sigma_\alpha(k) = \left(\frac{\alpha}{1-\alpha}\right)\left[1 + \sum_{l=0}^{k-1} \binom {k}{l} \sigma_\alpha(l)\right][/itex]

Let's take the cleanest case, where [itex]\alpha={1/2}[/itex].

[itex]\sigma_{1/2}(k) = 1 + \sum_{l=0}^{k-1} \binom {k}{l} \sigma_{1/2}(l)[/itex]

Then [itex]\sigma_{1/2}(2)[/itex] should give us the answer above, and it does.

So my question: is there a way to go from my recursive expression for [itex]\sigma_{1/2}(k)[/itex] to a non-recursive formula, just in terms of k?

It would be much easier if there wasn't the "1 + "...

Cheers,
Andrew.
 
Mathematics news on Phys.org
  • #2
Hm, how did you arrive at your recursive relation? I'm not sure if the alternate approach I'm about to give is easier or harder, but maybe it will be useful for you. Manipulating your original sum:

$$\sigma_z(k) = \sum_{n=1}^\infty n^k z^n = \sum_{n=1}^\infty \left(z\frac{d}{dz}\right)^k z^n = \left(z\frac{d}{dz}\right)^k\left[\sum_{n=1}^\infty z^n\right] = \left(z\frac{d}{dz}\right)^k\left[\frac{1}{1-z} - 1\right].$$

I assumed, of course, that the order of the sum and the derivative could be swapped, and I wrote z instead of \alpha because I don't want to keep writing \alpha.

Doing the first few derivatives suggests a pattern, which we can use to write (for k > 0)

$$\sigma_z(k) = \sum_{\ell = 1}^k A_\ell(k) \frac{z^\ell}{(1-z)^{\ell+1}};$$
the ##A_\ell(k)## coefficients do not appear to be trivial to sort out. It looks like ##A_1(k) = 1##, ##A_2(k) = 2^{k-1}## and ##A_k(k) = k!##, but inbetween they get tricky. If you can spot a pattern for the ##A_\ell(k)##'s and write down a formula for them, then you could formally prove this sum using induction.

I suspect the recursive form could be turned into this one and vice versa, so maybe you can use that to figure out the ##A_\ell(k)##. The sum may not be doable in closed form, but it won't be recursive. Of course, perhaps you've tried this already before arriving at your recursive form and it won't be of much help.
 
  • #3
Why don't you simply differentiate the geometric series k times? Consider the argument of the function as alpha instead of k, and differentiate k times with respect to alpha. It should give you a solution, since we know the general form of the geometric series.
 
  • #4

Attachments

  • Lerch.JPG
    Lerch.JPG
    3.7 KB · Views: 384
  • #5
Thanks for the replies, everyone.

To Mute:

This should explain where I got the recursive formula.

$$\sigma_z(k) = \sum_{n=1}^\infty n^k z^n = z + 2^k z^2 + 3^k z^3 + ... \\
= (z + z^2 + z^3 + ...) + ((2^k - 1)z^2 + (3^k -1)z^3 + ... ) \\
= \sum_{n=1}^\infty z^n + z\left[ \sum_{n=1}^\infty (n+1)^k z^n - \sum_{n=1}^\infty n z^n \right]\\
= \left[\sum_{n=1}^\infty z^n\right](1-z) + z \sum_{n=1}^\infty (n+1)^k z^n \\
= \left[\sum_{n=1}^\infty z^n\right](1-z) + z \sum_{n=1}^\infty \left[\binom{n}{0}n^0 z^n + \binom{n}{1}n^1 z^n \binom{n}{2}n^2 z^n + ...\right] \\
= z + z \sum_{l=1}^{k-1} \binom{k}{l} \sigma_z(l) + z \sigma_z(k) $$

One step further leads to the relation I originally gave:

[itex]\sigma_\alpha(k) = \left(\frac{\alpha}{1-\alpha}\right)\left[1 + \sum_{l=0}^{k-1} \binom {k}{l} \sigma_\alpha(l)\right][/itex]To Millennial:

What Mute suggested was essentially what you were getting at. It was an idea that I didn't even consider in either case. It's interesting just to see the conclusion though, for the case k = 2. Using Mute's formula:

$$
\sigma_z(k) = \sum_{\ell = 1}^k A_\ell(k) \frac{z^\ell}{(1-z)^{\ell+1}}\\
= A_1(2) \frac{z}{(1-z)^2} + A_2(2) \frac{z^2}{(1-z)^3}\\
= \frac{z}{1-z}\left[A_1(2) \frac{1}{1-z} + A_2(2) \frac{z}{(1-z)^2}\right]\\
= \frac{z}{1-z}\left[1 + A_1(2) \left(\frac{1}{1-z} - 1\right) + A_2(2) \frac{z}{(1-z)^2}\right]$$ (where above I used the fact ##A_1(2)=1##)$$\\
= \frac{z}{1-z}\left[1 + \sigma_z(0) + 2 \sigma_z(1)\right]
$$

And finally to JJacquelin:

I see how the Lerch function reduces to this sum in the particular case, I didn't know that it was "famous" haha. It seems to me all they did though is rename the sum? I didn't see an actual solution to the general sum and so it doesn't seem to be in closed form the way I understand it, but definitely interesting to know.
 
  • #6
aodesky said:
I see how the Lerch function reduces to this sum in the particular case, I didn't know that it was "famous" haha. It seems to me all they did though is rename the sum? I didn't see an actual solution to the general sum and so it doesn't seem to be in closed form the way I understand it, but definitely interesting to know.
Hello aodesky !
What you say could be said for any special function and more. For example :
[itex]\sum_{n=0}^{∞}x^n/n! = exp(x)[/itex] "all it does though is rename the sum ? "
However, the exp function is very usefull because there is a wide background behind it.
That is why the special functions are so usefull : there is a lot of knowledge gathered about each one. It is also why the Lerch function is usefull: it can be used by people knowing its properties as well as the exp function is used by people knowing its properties.
To French readers : The matter is discussed in the paper "Safari au pays des fonctions spéciales" : http://www.scribd.com/JJacquelin/documents
 

FAQ: Can this Recursive Solution to an Infinite Sum be Simplified?

What is a recursive solution?

A recursive solution is a programming technique in which a function calls itself repeatedly until a certain condition is met. This can be used to solve problems that can be broken down into smaller subproblems.

What is an infinite sum?

An infinite sum is a sum that has an infinite number of terms. This means that the sum cannot be calculated exactly and must be approximated using a recursive solution or other mathematical techniques.

How does a recursive solution simplify an infinite sum?

A recursive solution can simplify an infinite sum by breaking it down into smaller subproblems and then solving each subproblem individually. This can help to reduce the complexity of the problem and make it easier to solve.

Can all infinite sums be simplified using a recursive solution?

No, not all infinite sums can be simplified using a recursive solution. Some infinite sums have no closed form solution and cannot be simplified using any known mathematical techniques.

Are there any drawbacks to using a recursive solution for simplifying an infinite sum?

Yes, there are some potential drawbacks to using a recursive solution for simplifying an infinite sum. The main drawback is that it can be computationally expensive and may require a lot of computing power to calculate the sum accurately. Additionally, if the recursive solution is not well-designed, it may result in an infinite loop or stack overflow errors.

Similar threads

Replies
1
Views
959
Replies
5
Views
2K
Replies
3
Views
2K
Replies
2
Views
1K
Replies
2
Views
2K
Replies
1
Views
908
Back
Top