Solve Improper Integral: \int_{0}^{\infty} (x-1)e^{-x}dx

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
RyanSchw
Messages
36
Reaction score
0
Improper Integral [Solved]

Homework Statement



[tex] \int_{0}^{\infty} (x-1)e^{-x}dx[/tex]

Homework Equations



Integration by Parts
Improper Integrals


The Attempt at a Solution



[tex] \lim_{R\rightarrow \infty} \int_0^R~xe^{-x}-e^{-x}dx[/tex]

Let u = x
du = dx

Let dv = e^-x
v = -e^-x

[tex] -xe^{-x} - \int -e^{-x}dx[/tex]

[tex] -xe^{-x}-e^{-x} - \int e^{-x}dx[/tex]

[tex] = -xe^{-x}[/tex]

[tex] \lim_{R\rightarrow \infty}-xe^{-x} \mid_{0}^{R}=0[/tex]

Now there is clearly area when I look at the graph, but the graph intersects the x-axis at x=1 not x=0 I’m wondering if this is some sort of trick with the bounds of integration that I don’t see or if I made a mistake with my integration.

Thanks
 
Last edited:
Physics news on Phys.org
Thanks.

I guess since the area wasn’t symmetrical I just assumed it could not be zero, and that I had made a mistake.
 
RyanSchw said:
Thanks.

I guess since the area wasn’t symmetrical I just assumed it could not be zero, and that I had made a mistake.

When you graph [tex]xe^{-x}-e^{-x}[/tex] , it does seem remarkable that that little sliver above the x-axis from x = 1 out to infinity is actually going to cancel out that curved wedge between x = 0 and x = 1. But you can satisfy yourself that you've made no mistake in your integration by evaluating the areas from x = 0 to x=1 and from x = 1 to x -> infinity separately. The areas are -1/e and +1/e , so you're OK...