November 13th, 2009, 6:22 pm
It only exists as a Cauchy Principal Value. (p.v.)In Mathematica, to get a number, I write(*) f[a_, b_, xmax_] := NIntegrate[(1/x) E^(-(x - a)^2/(2 b^2)), {x, -xmax, -1, 0, 1, xmax}, Method-> "PrincipalValue", "SingularPointIntegrationRadius" -> 1/4}]/Sqrt[2 Pi b^2]which should converge to the p.v. as xmax -> infinity.For example, taking a = b = 1 and xmax larger and larger, I see convergence to f ~ 0.724778There may be a nice simple analytic expression for this p.v. integral -- left as an open question. ========================================================================= p.s. Played around a little more and resolved the open question. This can indeed be reduced to an analytic expression involving theImaginary Error Function erfi In terms of that special function, I find the likely analytic expression for the p.v. is(**) For those who have my Stoch. Vol. book, to get this result, I just used the same trick as on pg. 64.Note that, despite the name, for a real argument z, you can see from the defns thaterfi(z) is a real number with the same sign as z.To take another example without round numbers,f(a = 0.7,b = 1.3) = 0.376398 ... both by (*) and (**) f(a = -0.7,b = 1.3) = -0.376398 ... both by (*) and (**)
Last edited by
Alan on November 12th, 2009, 11:00 pm, edited 1 time in total.