Integration of two exponential functions
Show older comments
Hello my friends, I have a problem with solving the following integral. It is a combination of two exponentials with different ratio in the attached picture.
I will be very grateful if you can help me with this. The derivation steps, if provided, will be much better to me as I have to apply this kind of integration in other problems I have.
If there is no closed form, can you please help me on how to integrate it using MATLAB with constants a, b, \lambda, and y to appear in the last answer.
Thanks in advance.. :)

5 Comments
Star Strider
on 3 Apr 2017
No attached picture.
Jan
on 3 Apr 2017
I cannot read the formula. Is this "a/b" and all we know is a+b=1?
Michael Henry
on 3 Apr 2017
David Goodmanson
on 3 Apr 2017
Hi sharief, This doesn't look like a very tractable integral, but at least it's not oscillatory. If you make the substitution x -> x/b, dx -> dx /b then you end up with
C = (1/b) Integral{0,inf} exp((ay/b)/(1+x)) exp(-(lambda/b)x) dx
so this is really just a two-parameter integral, a function of ay/b and lambda/b. That's not so bad, so one approach would be to make a 2-d table by numerical integration and interpolate off of it, not forgetting to multiply by 1/b afterwards.
Michael Henry
on 3 Apr 2017
Accepted Answer
More Answers (1)
Michael Henry
on 4 Apr 2017
0 votes
3 Comments
Star Strider
on 4 Apr 2017
I am using R2017a.
Michael Henry
on 4 Apr 2017
Star Strider
on 4 Apr 2017
My pleasure.
I am happy that it works for you.
Categories
Find more on Get Started with MuPAD in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!