Evaluate $\int_{-\infty}^0xe^{-4x}dx$.
I first did integration by parts. My result is the following: $\frac{-1}{4}xe^{-4x}-\frac1{16}e^{-4x}$, which I will evaluate from $-\infty$ to $0$ using the fundamental theorem of calculas. The part that gets evaluated at zero is just $\frac{-1}{16}$. I keep having problems figuring out $\lim\limits_{b \to -\infty} \frac{xe^{-4x}}{4}+\frac{e^{-4x}}{16}$. For the first summand, I use L'Hopital's rule and keep ending up with $-\infty$. For the second summand, I get $\infty$. This is a problem because I $-\infty+\infty$ is still indeterminant, and I can't figure out if I'm messing up a sign somewhere.
I know that I can evaluate this by factoring out $e^{-4x}$ from both summands. The final result is $-\infty$. But I want to figure out how to do it without factoring as well.
The integral $\int_{-\infty}^0 xe^{-4x}\,dx$ does not converge.
Begin by writing
$$\int_{\infty}^0xe^{-4x\,}dx=-\int_0^{\infty}xe^{-4x}\,dx$$
Then, integrating by parts with $u=x$ and $v=-\frac14e^{-4x}$ yields
$$\begin{align} -\int_0^{\infty}xe^{-4x}\,dx&=-\left.\left(-\frac14 xe^{-4x}\right)\right|_{0}^{\infty}-\frac14\int_0^\infty e^{-4x}\,dx\\\\ &=-\frac14 \int_0^\infty e^{-4x}\,dx\\\\ &-\frac{1}{16} \end{align}$$
since using L'Hospital's Rule we have
$$\begin{align} \lim_{x\to \infty}xe^{-4x}&=\lim_{x\to \infty}\frac{x}{e^{4x}}\\\\ &=\lim_{x\to \infty}\frac{1}{4e^{4x}}\\\\ &=0 \end{align}$$
EDIT:
If the lower limit is $-\infty$, then enforcing the substitution $x\to -x$ reveals
$$\int_{-|L|}^0 xe^{-4x}\,dx=-\int_0^{|L|}xe^{4x}\,dx\le -\int_0^{|L|}x\,dx=-\frac12 |L|^2$$
Hence, $\lim_{|L|\to \infty}\int_{-|L|}^0 xe^{-4x}\,dx=-\infty$. And we are done!