8
$\begingroup$

This question already has an answer here:

Calculating the sum of $\sum\frac{n^2-2}{n!}$

I want to calculate the sum of $\sum_{n=0}^{+\infty}\frac{n^2-2}{n!}$.

This is what I have done so far:

$$ \sum_{n=0}^{+\infty}\frac{n^2-2}{n!}=\sum_{n=0}^{+\infty}\frac{n^2}{n!}-2\sum_{n=0}^{+\infty}\frac{1}{n!}=\sum_{n=0}^{+\infty}\frac{n}{(n-1)!}-2e$$

And here I don't know how to deal with the $\frac{n}{(n-1)!} $. Any tips?

EDIT: One of the answers recommends to write down the sum as follows:

$$\sum_{n=0}^{+\infty}\frac{n^2-2}{n!}=\sum_{n=0}^{+\infty}\frac{n(n-1)}{n!} + \sum_{n=0}^{+\infty}\frac{n}{n!}-2\sum_{n=0}^{+\infty}\frac{1}{n!}$$

Which equals to:

$$\sum_{n=0}^{+\infty}\frac{n(n-1)}{n!} + \sum_{n=0}^{+\infty}\frac{n}{n!}-2\sum_{n=0}^{+\infty}\frac{1}{n!}=\sum_{n=0}^{+\infty}\frac{(n-1)}{(n-1)!}+\sum_{n=0}^{+\infty}\frac{1}{(n-1)!} -2e$$

But here I have negative factorials. What should I do next? Or can I just say that $\sum_{n=0}^{+\infty}\frac{1}{(n-1)!}=e$?

$\endgroup$

marked as duplicate by Jack, Henrik, user91500, Did real-analysis Dec 28 '16 at 7:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    $\begingroup$ To avoid problems like $(-1)!$, it seems better to begin the sum at $n=1$:$$\sum_{n=0}^\infty\frac {n^2}{n!}=\sum_{n=1}^\infty\frac{n^2}{n!}$$ $\endgroup$ – ajotatxe Dec 27 '16 at 13:49
  • 3
    $\begingroup$ Once you know what is $\sum\frac{1}{n!}$, this is essentially a duplicate of this question. $\endgroup$ – Jack Dec 27 '16 at 14:55
  • $\begingroup$ And also this, this. $\endgroup$ – Jack Dec 27 '16 at 14:58
2
$\begingroup$

I thought it might be instructive to present a way forward that can be applied to a wide class of problems.


The Taylor series representation of he exponential function is given by

$$\bbox[5px,border:2px solid #C0A000]{e^x=\sum_{n=0}^\infty \frac{x^n}{n!}} \tag 1$$

Differentiating $(1)$ term-by-term, we see that

$$\frac{d\,e^x}{dx}=e^x=\sum_{n=0}^\infty \frac{n x^{n-1}}{n!} \tag2$$

whereby multiplying $(2)$ by $x$ reveals

$$xe^x =\sum_{n=0}^\infty \frac{nx^n}{n!} \tag 3$$


Differentiating $(3)$, multiplying by $x$, and subtracting $2e^x$, we obtain

$$(x^2+x-2)e^x=\sum_{n=0}^\infty \frac{(n^2-2)\,x^{n}}{n!} \tag 4$$

Finally, setting $x=1$ in $(4)$ yields

$$\bbox[5px,border:2px solid #C0A000]{\sum_{n=0}\frac{n^2-2}{n!}=0}$$

and we are done!

$\endgroup$
5
$\begingroup$

Hint: Write $$ \frac{n^2-2}{n!}=\frac{n(n-1)}{n!}+\frac{n}{n!}-\frac2{n!} $$


Note that by throwing out terms which are zero, $$ \sum_{n=0}^\infty\frac{n(n-1)}{n!}=\sum_{n=2}^\infty\frac{n(n-1)}{n!} $$ and $$ \sum_{n=0}^\infty\frac{n}{n!}=\sum_{n=1}^\infty\frac{n}{n!} $$

$\endgroup$
  • $\begingroup$ You guys are something else, how am I supposed to compete with this!? XD Good answer, +1 $\endgroup$ – Simply Beautiful Art Dec 27 '16 at 13:48
  • $\begingroup$ @robjohn I edited the answer, could you take a look? $\endgroup$ – user401855 Dec 27 '16 at 14:05
  • 1
    $\begingroup$ @user401855: I have added a couple of "notes". $\endgroup$ – robjohn Dec 27 '16 at 14:16
  • $\begingroup$ So basically the sum is $0$? $\endgroup$ – user401855 Dec 27 '16 at 14:57
  • 1
    $\begingroup$ Yes, that's correct. $\endgroup$ – robjohn Dec 27 '16 at 16:48
1
$\begingroup$

As per this post, we have

$$\sum_{n=0}^\infty\frac{n^p}{n!}=B_pe$$

where $B_n$ is the $n$th Bell number.

$\endgroup$
0
$\begingroup$

Adjust indices so that you have $\frac {n+1}{n!}$ and separate that out into $\frac n{n!}+\frac1{n!}$.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.