Integrate e^-a|x|: Troubleshooting & Solution

  • Thread starter Thread starter dotman
  • Start date Start date
  • Tags Tags
    Integrate
dotman
Messages
127
Reaction score
0

Homework Statement



I'm a little confused with this integral:

\int^\infty_{-\infty}e^{-a|x|}\,dx

Homework Equations


The Attempt at a Solution



Now, I believe the typical way to evaluate this is to say, hey, because of the |x|, this thing is symmetric about the x axis, and so we can instead evaluate:

\int^\infty_{-\infty}e^{-a|x|}\,dx = 2\int^\infty_0e^{-ax}\,dx
= 2[-\dfrac{1}{a}e^{-ax}|^\infty_0] \, \, = \, 2[\dfrac{1}{a}] \, \, = \, \dfrac{2}{a}

which I believe is correct. However, and this is my question, can it be evaluated without using this trick? I ran into trouble, and I'm not sure where I made my mistake, although I suspect it has to do with not really doing anything about the absolute value of x:

\int^\infty_{-\infty}e^{-a|x|}\,dx

= \, \, [-\dfrac{1}{a}e^{-a|x|}|^\infty_{-\infty}]

= \, \, -\dfrac{1}{a}[e^{-a|\infty|} - e^{-a|-\infty|}]

= \, \, -\dfrac{1}{a}[e^{-a\infty} - e^{-a\infty}]

= \, \, -\dfrac{1}{a}[0 - 0] \, = \, 0

And I've gotten nowhere, but I can't tell why, or what mistake I committed (if any).

Thoughts? What am I missing here? Thanks!
 
Physics news on Phys.org
the first way is correct it comes form the fact
e^{-a|x|} = e^{-ax},x\geq 0
e^{-a|x|} = e^{ax},x < 0

so the integral becomes
\int^\infty_{-\infty}e^{-a|x|}dx = \int^{0}_{-\infty}e^{ax}dx + \int^{\infty}_{0}e^{-ax}dx

which simplifies to what you gave (use substitution u = -x in first part)

your 2nd interegral is not valid due to the different behaivour of e^{-a|x|} either side of zero
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top