Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having a hard time summing the seemingly simple finite series:

$$1 - nx + n(n-1)x^2 - n(n-1)(n-2) x^3+\cdots+ (-1)^n n! x^n$$

Thanks for your help in advance!

share|cite|improve this question
It isn't quite clear what you're attempting to do, here. It's fine as it stands, so far as I can tell. Are you trying to factor it, or something? – Cameron Buie Jun 27 '12 at 18:21
The closed form for $$\sum_{k=0}^n k!\binom{n}{k}(-x)^k$$ involves the incomplete gamma function, which is nonelementary. Are you fine with that? – J. M. Jun 27 '12 at 18:21
@J.M.: Isn't serie converges when $x=0$? – Babak S. Jun 27 '12 at 18:24
@Babak: I presume you missed the word finite in the question, then... – J. M. Jun 27 '12 at 18:24
@J.M.: Yes, I am looking for the closed form if one exists. What is it in terms of the incomplete Gamma function? Thanks! – Thad Jun 27 '12 at 19:11

Hint $\ $ If you divide by $\rm\:x^n,\:$ differentiate, multiply by $\rm\:x^{n+2},\:$ you'll find that it satisfies the ODE

$$\rm\ x^2 y' - (1+nx) y\, =\, -1$$

which yields the "closed form"

$$\rm\: y = -x^n {\it e}^{-1/x} \int {\it e}^{1/x}x^{-n-2}$$

which is expressible in closed form in terms of the incomplete gamma function - see below.

Or one may use operator methods, or a computer algebra system, e.g. Mma below, with $c_1 = 0$ enter image description here

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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