Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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 evaluated

Integrate[(1 + x/n)^n*Exp[-x], {x, 0, Infinity}] . 

thinking the answer should be approximately $\sqrt{\pi n/2}$. Mathematica gave me

ConditionalExpression[E^n n ExpIntegralE[-n, n], Re[n] > 0 || n ∉ Reals]

which I am not sure how to interpret. How can I get Mathematica to give me something closer to what I was expecting?

share|improve this question
Try Integrate[(1 + x/n)^n*Exp[-x], {x, 0, Infinity} , Assumptions -> {n \[Element] Integers, n > 0}], i.e. use the assumptions. – b.gatessucks Mar 11 '13 at 14:56
up vote 4 down vote accepted


Assuming[Element[n, Integers] && n > 0,
 FunctionExpand@Integrate[(1 + x/n)^n Exp[-x], {x, 0, Infinity}]]

(* E^n n^-n Gamma[1 + n, n] *)
share|improve this answer
Thanks very much. To get what I was hoping for I would need Mathematica to be able to give detailed asymptotics for Gamma[1 + n, n] which is too much for it I think – Majid Mar 11 '13 at 17:20

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.