An ACTUAL post: Integrating exp() over certain range

  • Context: Graduate 
  • Thread starter Thread starter Baggio
  • Start date Start date
  • Tags Tags
    Integrating Range
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
16 replies · 3K views
Baggio
Messages
211
Reaction score
1
An ACTUAL urgent post: Integrating exp() over certain range

Hi,

Simplified problem:

Suppose I have two exponentials

[tex] \[<br /> e^{ - (x + a - b)} \forall x + a -b> 0<br /> \]<br /> \[<br /> e^{ - (x + b)} \forall x + b> 0<br /> \][/tex]

Then suppose I wanted to integrate:

[tex] \[<br /> \int\limits_{ - \infty }^\infty {e^{ - (x + b)} e^{ - (x + a - b)} dx} <br /> \][/tex]

How would I do this? I'm guessing I need to break the integral up and integrate over a certain range but what are the limits?

Thanks
 
Last edited:
Physics news on Phys.org
Those 2 first inequalities can not be true over the whole interval of integration..

Regardless, do you know how to simplify e^a * e^b? Use that identity, use a substitution and it should be evident from there.
 
Yes I know they can't be BOTH true, which is why I need to find the condition where they are both satisfied. a and b are real variables I don't understand your 2nd point
 
Neither of them can be true for all x in the interval of integration...And My second point helps with the actual integration.
 
...Why is that? Maybe I should have mentioned that each exp() is 0 otherwise.. integration isn't a problem it's the limits of integration that I need to find.
 
Essentially what this is isa simplified integral I'm trying to solve which describes two photons overlapping, each with an exponential wavefunction in the time domain. a an b describe offsets in time between the two. Regardless

If you plot out those two functions you can see that there should obviously be some range where they both coincide, the upper limit would be infinity and the lower limit is what I'm trying to find.
 
So you want to find out the interval where the both are not equal to zero. The condition for the first is x> b-a, the seconds is x > -b. Just find the intersection of these intervals.
 
I know, but this lower limit I'm trying to find would vary depending on whether -b>b-a if this is true -b would be the lower limit, otherwise b-a would be.
 
What conditions do you have on a and b? Since they are constants, you should be able to break this into cases.

For example, if a and b are both positive, b> a, then x+ a- b> 0 implies x> b- a> 0 while x+ b> 0 implies x> -b< 0. Those are both satisified if x> b-a.

If a and b are both positie and a> b, then x+ a-b> 0 implies x> b-a< 0 but b-a> -b. Again both are satisfied if x> b-a.
 
Hrm... allow me to speculate upon what you really meant.

The thing you are integrating isn't an exponential at all -- instead, it's the product of two piecewise-defined functions, where each function is exponential on one part and zero on the other part.

i.e. if we set

[tex] f(x) = \begin{cases} e^x & x > 0 \\ 0 & x < 0 \end{cases}[/tex]

then you are trying to simplify the definite integral

[tex] \int_{-\infty}^{+\infty} f(x + a - b) f(x + b) \, dx.[/tex]



Is my speculation correct?
 
Hurkyl yes that's correct, as for a and b they can take any real value and are not dependent on each other. The function that I posted at the beginning is part of a larger function that I want to eventually plot as a function of a and b. x in this case is like a dummy variable over which I need to integrate. I've only included the real part of the functions I'm trying to integrate as this is the only part that determines the limits of integration. In the end I want to integrate:

[tex] \int_{ - \infty }^{ + \infty } {\left| {f(x + a - b)f(x + b)} \right|^2 \,dx} <br /> \][/tex]
 
Last edited:
I understand that but how do I obtain a general expression for the limits when a and b are independent of each other?
 
Because I know what the final answer should be and it is just a single expression so it should be possible to have a single expression for the simplified form in post #1
 
Last edited:
yes i think i need to do that , i'll try that and get back to you