# Can't figure out this improper integral

## Homework Statement

integral of x*e^x from 0 to infinity

N/a

## The Attempt at a Solution

i first integrated the integrand and got (xe^x - e^x) then i use limit as R approaches infinity and used 0 and R as my limits. when calculating i keep getting 1 instead of infinity. is there something i did wrong? thanks forhelping

What do you mean "when calculating I keep getting 1"?
You should get:

Lim (R-->inf) {(e^R)*(R-1)+1} = inf.
How can you ever get 1?

i plugged in infinity wihtout factoring out e^R so it was (infinity * e^(infinity) - e^(infinity) plus one. so i thought the infinity would subtract to zero plus 1 for the other limit. why do you have to factor out e^R though. that's the part i don't get

:)
First of all, you don't substruct infinity from infinity :).
Secondly, the final expression should be:
lim (R-->inf) {R*e^R -e^R - 0 + 1} = lim (R-->inf) {(e^R)(R-1) + 1}
Notice that we both got the same answer, only I took out e^R. This way it can be easily seen that this limit gives you kind of "inf * inf + 1", which is of course inf.
Even if you don't do it this way, and you look at the first limit - the left-most element, R*e^R is definitely much larger than e^R as R-->inf, so that you're assumption that they cancel each other is far from the truth.

thansk there is also another question where it asks for integral from negative infinity to 1 for (x^2)(e^3x) the final answer that i got was (5/27)e^3 -(infinity -infinity-infinity). when plugging in infinity to the integral, all i get are infinities. what would i do with those

Defennder
Homework Helper
Well you don't actually get all infinities. If you look at all those expressions you'll see that all of those whose terms have infinity in them converge to 0. That's because the limit of $$\frac{x^2}{e^{3x}}$$ as x approaches infinity is 0 because the e^3x diverges faster than the x^n term.

so are you saying that the denominator will have a slightly bigger infinity then the numerator so it equals to 0?

Defennder
Homework Helper
Yes, something like that.

HallsofIvy
$$\int_0^\infty f(t)dt= \lim_{a\rightarrow \infty} \int_0^a f(t)dt$$
That says nothing about "evaluating at t= $\infty$" because such a thing is not defined.