When working a proof, I reached an expression similar to this:
∫∞−∞e−a2x21+x2dx
I've tried the following:
1. I tried squaring and combining and converting to polar coordinates, like one would solve a standard Gaussian. However, this yielded something which seems no more amenable to a solution:
∫θ=2πθ=0∫∞0re−a2r2(1+r2sin2(θ))(1+r2cos2(θ))drdθ
2. I tried doing a trig substitution, t = tan u, and I have no idea what to do from there.
∫π2−π2e−a2tan2(u)du
3. I looked into doing u2=1+x2 but this gives us a ugly dx that I don't know how to handle, and moreover, I think I'm breaking my limits of integration (because Mathematica no longer solves it.):
u2=1+x2
2udu=2xdx
dx=u√u2−1
ea2∫∞−∞e−a2u2u√u2−1du
4. I looked into some form of differentiation under the integral, but that didn't seem to yield anything that looked promising. (I checked parameterizing x^2 to x^b in both places, and in either place, and nothing canceled cleanly.)
I have a solution from Mathematica, it's:
πea2erfc(a)
But I'd like to know how to arrive at this. I'm sure it's something simple I'm missing.
Answer
Let F be the function
F(a)=∫∞−∞e−a2x21+x2dx
We take the derivative w.r.t a
F′(a)=dda(∫∞−∞e−a2x21+x2dx)=∫∞−∞dda(e−a2x21+x2)dx=∫∞−∞−2ax2e−a2x21+x2dx
=∫∞−∞−2a((x2+1)−1)e−a2x21+x2dx=−2a∫∞−∞e−a2x2dx+2aF(a)=−2a√πa2+2aF(a)
Then
F′(a)=2a(F(a)−√π1|a|)=2aF(a)−2√πsign(a).
Then you have a differential equation:
F′(a)−2aF(a)=−2√πsign(a)
with initial condition F(0)=π.
This fisrt order ode has integrant factor:
μ(a)=e∫−2ada=e−a2
Then
(e−a2F(a))′=−2√πsign(a)e−a2
this implies
e−a2F(a)=−2√π∫sign(a)e−a2da+C
Finaly
F(a)=ea2(C−2√πsign(a)∫e−a2da)
No comments:
Post a Comment