Find the expression for the sum of this power series

Click For Summary
The discussion focuses on finding an expression for the sum of a power series using Maclaurin series techniques, particularly the series for e^x. Participants suggest rewriting terms and splitting the series into two separate sums to simplify the process. The importance of handling specific terms, such as the n = 1 term, is emphasized to avoid incorrect cancellations that could lead to undefined expressions. An alternative approach using derivatives is also presented, which ultimately leads to the same result of x(1+x)e^x. The conversation highlights the necessity of careful manipulation of series and the potential pitfalls in handling factorial terms.
  • #31
Thank you, but what cancellation? Re-writing (n-1)/(n-1)! to 1/(n-2)! ? Not sure if I understand exactly what happens and why.
 
Physics news on Phys.org
  • #32
Kqwert said:
Thank you, but what cancellation? Re-writing (n-1)/(n-1)! to 1/(n-2)! ? Not sure if I understand exactly what happens and why.
Yes, that cancellation. Because, as I said in #24, for ##n = 1##, that term reads ##0/0!## and the terms you would cancel are 0 and 0, which you cannot do. You have to look at that term separately and realize that it is actually zero so that it gives no contribution.
 
  • #33
Orodruin said:
Yes, that cancellation. Because, as I said in #24, for ##n = 1##, that term reads ##0/0!## and the terms you would cancel are 0 and 0, which you cannot do. You have to look at that term separately and realize that it is actually zero so that it gives no contribution.
I understand that, but I don't understand the order of things. When we start from
gif.gif


Should we first say that

gif.gif


and then do the change of variables? I am becoming a bit confused re. the best way of solving this.
 

Attachments

  • image.png
    image.png
    853 bytes · Views: 327
  • gif.gif
    gif.gif
    867 bytes · Views: 354
  • gif.gif
    gif.gif
    1.7 KB · Views: 352
  • #34
What you had from the beginning was
$$
\sum_{n=1}^\infty \frac{(n-1)x^n}{(n-1)!},
$$
not the sum from ##n = 0##. It does not matter if you change variables first or if you do the cancellation first. The only thing you must do is to remove the term ##n = 1## (or equivalently ##q = -1##) before you do the cancellation because that step is not valid for that term.
 
  • #35
And by removing the n = 1 term we end up starting at n = 2, right?
 
  • #36
Yes, which means ##q = 0##.
 
  • #37
Excellent, thanks a lot for the help!
 
  • #38
So now that you have worked through it, let me just mention an alternative approach, which is how I initially did it but it involves some extra trickery using derivatives. The aim is to reduce the remaining series to that of the exponential function by extracting powers of ##x## and using a derivative relation.

The point is to note that ##n x^{n-1}## is the derivative of ##x^n##. We have
$$
\sum_{n=1}^\infty \frac{nx^n}{(n-1)!} = x \sum_{n=1}^\infty \frac{n x^{n-1}}{(n-1)!} = x \frac{d}{dx} \sum_{n=1}^\infty \frac{x^{n}}{(n-1)!}
$$
where in the first step we have just factorised out an ##x## and in the second we applied the derivative relation. Now we can extract another factor ##x## from the sum and end up with
$$
\sum_{n=1}^\infty \frac{nx^n}{(n-1)!} = x\frac{d}{dx}\left(x \sum_{n=1}^\infty \frac{x^{n-1}}{(n-1)!}\right)
= x\frac{d}{dx}\left(x \sum_{m=0}^\infty \frac{x^{m}}{m!}\right) = x \frac{d}{dx}(x e^x) = x (x e^x + e^x) = x(1+x) e^x,
$$
where in the middle we did the substitution ##m = n-1## then used the power series for ##e^x## and regular differentiation. Luckily, this is the same result as you got.
 
  • Like
Likes QuantumQuest and PeroK
  • #39
Kqwert said:
Excellent, thanks a lot for the help!
I notice that you were getting all mixed up with summations (what terms should be removed, how should the sums be re-indexed, etc?). When I solve such problems I try to avoid all that by writing out a few terms explicitly:
$$S = \sum_{n=1}^\infty \frac{n x^n}{(n-1)!} = x + \frac{2 x^2}{1!}+\frac{3 x^3}{2!} + \frac{4 x^4}{3!} + \cdots + \frac{n x^n}{(n-1)!} + \cdots $$ This can be written as
$$S = x + \frac{(1+1) x^2}{1!} + \frac{(2+1) x^3}{2!} + \frac{(3+1)x^4}{3!} + \cdots + \frac{((n-1)+1) x^n}{(n-1)!)} + \cdots, $$ so ##S = S_1 + S_2,## where
$$S_1 = x^2 + \frac{2 x^3}{2!} + \frac{3 x^4}{3!} +\cdots + \frac{(n-1) x^{n-1}}{(n-1)!} +\cdots\\ = x^2 \left(1 + x + \frac{x^2}{2!} + \cdots + \frac{x^{(n-2)}}{(n-2)!} + \cdots \right), $$ and
$$S_2 = x + x^2 + \frac{x^3}{2!} + \frac{x^4}{3!} + \cdots + \frac{x^n}{(n-1)!} + \cdots \\= x \left (1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots+ \frac{x^{n-1}}{(n-1)!} + \cdots \right).$$ The rest is easy now.

When I say that I, personally, write out a few terms (as above) I really mean it; I have found over the years that doing that eliminates a lot of confusion and is a good way of avoiding a headache.
 
Last edited:
  • Like
Likes StoneTemplePython and stevendaryl

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
11
Views
2K