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

  • Thread starter dotman
  • Start date
  • Tags
    Integrate
In summary, the integral \int^\infty_{-\infty}e^{-a|x|}\,dx can be evaluated by using the trick of symmetry and simplifying it to 2\int^\infty_0e^{-ax}\,dx. However, attempting to evaluate it without using this trick leads to an incorrect result of 0 due to the different behavior of e^{-a|x|} on either side of zero.
  • #1
dotman
127
0

Homework Statement



I'm a little confused with this integral:

[tex]\int^\infty_{-\infty}e^{-a|x|}\,dx[/tex]

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:

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

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:

[tex]\int^\infty_{-\infty}e^{-a|x|}\,dx[/tex]

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

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

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

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

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
  • #2
the first way is correct it comes form the fact
[tex]e^{-a|x|} = e^{-ax},x\geq 0[/tex]
[tex]e^{-a|x|} = e^{ax},x < 0[/tex]

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

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 [itex]e^{-a|x|} [/itex] either side of zero
 

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

How do I solve the integral of e^-a|x|?

To solve the integral of e^-a|x|, you can use the substitution method or the integration by parts method.

What is the value of the constant "a" in the equation e^-a|x|?

The value of the constant "a" can vary depending on the given problem. It is usually provided in the problem or can be solved for using initial conditions.

Can I use a calculator to solve the integral of e^-a|x|?

Yes, you can use a calculator to solve the integral of e^-a|x|, but it is recommended to understand the process of solving it by hand first.

What is the domain and range of the function e^-a|x|?

The domain of e^-a|x| is all real numbers, and the range is (0,1].

How can I check if my solution to the integral of e^-a|x| is correct?

You can check your solution by taking the derivative of your answer and seeing if it matches the original function e^-a|x|. You can also use online integral calculators to double-check your solution.

Similar threads

Replies
6
Views
467
Replies
8
Views
1K
Replies
6
Views
1K
Replies
4
Views
1K
Replies
14
Views
1K
Replies
7
Views
1K
Replies
5
Views
1K
Back
Top