How do I compute the integral of x/(e^x) with limits 0 and infinity?

  • Level: Undergrad 
  • Thread starter Thread starter steelphoenix
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 2K views
steelphoenix
Messages
2
Reaction score
0
Im doing a chapter on Improper integrals, and one of my problems is i need to compute an integral if it converges. I really don't know where to start with this one. Anyone point me in the right direction?

integral of x/(e^x) where the lower limit is 0 and the upper is infinite

really any help would be appreciated, I got a bit of a cold and seem to be forgetting every bit of math
 
Physics news on Phys.org
ook wait, i think i figured it out

i stat off by calculating the integral, which turns out to be

-( (x+1)/e^x )

then you end up getting 1 after you plug in the limits, because when its infinity it becomes zero and when 0 it becomes -1, so when you subtract negetive 1 it becomes 1, and 1 is the answer
 
You have x/(e^x) = [tex]xe^{-x}[/tex]

So [tex]\int_{0}^{\infty}xe^{-x}dx[/tex]

Integration by parts gives [tex]{\lim }\limits_{x \to \infty } -e^{-x}(x+1) + 1[/tex]

[tex]{\lim }\limits_{x \to \infty } \frac{-(x+1) }{e^x} + 1[/tex]

Applying l'Hôpital's rule gives [tex]{\lim }\limits_{x \to \infty } \frac{-1 }{e^x} + 1[/tex] = 0 + 1
= 1
 
As an aside, in case anyone cares:

[tex]\int_0^\infty x^n e^{-x}\,dx = n![/tex]

For integer n. However, the integral form is also well-defined for real, and even complex n, except at the negative integers where it diverges. Look up "gamma function" for more details.
 
I somehow recognized it before I read the rest of your post. Math is fascinating