Message Boards Message Boards

0
|
6706 Views
|
11 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Solve this stubborn integration?

Posted 7 years ago

Dear All,

I'm trying to find a solution for this equation:

Mathematica:

Integrate[Sqrt[x] Exp[-x/a] Exp[-(y - x)^2/b], {x, a, b}]

enter image description here

I tired with Mathematica but it took so long time (appx. 5 hours) without any result. Any suggestions? Thank you very much,

Wissam

POSTED BY: Wissam Jassim
11 Replies

Rubi is also unable to provide an antiderivative.

Int[Sqrt[x] Exp[-x/a] Exp[-(y - x)^2/b], x]

is returned unevaluated.

POSTED BY: Hiren Patel

The error function probably came from integration by parts.

POSTED BY: Frank Kampas
Posted 7 years ago
POSTED BY: Wissam Jassim

I could not find symbolic integral with erf function.

a = 1;
b = 2;
y = 3;
NIntegrate[Sqrt[x] Exp[-x/a] Exp[-(y - x)^2/b], {x, a, b}]
(*0.0867826*)

enter image description here

where: enter image description here

 1/2 b E^((b - 4 a y)/(4 a^2)) Sqrt[\[Pi]] Erf[(b + 2 a b - 2 a y)/(2 a Sqrt[b])] - 
 1/2 Sqrt[a b] E^((b - 4 a y)/(4 a^2)) Sqrt[\[Pi]]Erf[(2 a^2 + b - 2 a y)/(2 a Sqrt[b])] - 
 1/2 Sqrt[b] E^((b - 4 a y)/(4 a^2)) Sqrt[\[Pi]]*NIntegrate[Erf[(b/a + 2 t^2 - 2 y)/(2 Sqrt[b])], {t, Sqrt[a], Sqrt[b]}]
  (*0.0867826*)

Update:

Substituting x = t+y, t = a s-b/(2 a), s = m sqrt(b)/a and Integrating by parts: enter image description here

but the last integral MMA and Maple can't find.

If we simplify last integral to:

Integrate[Erf[m]/Sqrt[m + 1], m]
(* Integrate[Erf[m]/Sqrt[m + 1], m]*)

it is impossible to find antiderivative

POSTED BY: Mariusz Iwaniuk
Posted 7 years ago

Thank you Mariusz for the reply. I have found that the integration is achievable if we get rid of sqrt(x). So I was thinking to use t=sqrt(x). Does it sound correct?

POSTED BY: Wissam Jassim

I tried, but nothing have got. :(

POSTED BY: Mariusz Iwaniuk
Posted 7 years ago

Thank you for your efforts..

POSTED BY: Wissam Jassim

Might be better to set t = x - y to keep the terms in exponents negative.

POSTED BY: Frank Kampas
Posted 7 years ago

Thank you for the valuable suggestion. I will do it.

POSTED BY: Wissam Jassim

One thing to try is do a change in variable to get rid of y.

POSTED BY: Frank Kampas
Posted 7 years ago

Thank you Frank for your reply. I will try with t=y-x to see how it goes. Does it sound good? Best regards.

POSTED BY: Wissam Jassim
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract