Wednesday, 10 July 2013

integration - Does anyone know how to calculate the following integral?




Consider the function (coming from a joint probability density):
f(x,y)=1yeyxy.



I want to evaluate the definite integral (marginal):
F(x)=0f(x,y)dy.




It is very hard to find a primitive in y, so what I did was the following workaround:
f(x,y)dx=eyxy.



So if we let g(x,y):=eyxy, we can write:
f(x,y)=gx(x,y).




Therefore:
F(x)=0gx(x,y)dy.



Now the trick was: can we move the derivation out of the integral? Under what assumptions? If that were the case, we could write:
F(x)=ddx0g(x,y)dy,




which can be calculated in terms of Bessel functions:



F(x)=ddx0eyxydy=ddx(2xK1(2x)).



Deriving:
F(x)=K0(2x)1xK1(2x)+K2(2x).




(The last two passages according to Wolfram Alpha, for x0.)
The Kn should be the "modified Bessel functions of the 2nd kind".



I would like to ask:




  • Is it "legal" to carry the derivative out of the integral sign?

  • Are the last two (Wolfram Alpha) passages correct?

  • Is there any other way of obtaining F(x)? What is the result?




Thanks.


Answer



Following the analysis here:



F(x)=0dyyeyxy



Sub u=y+xy, then




y=12(u±u24x)


dy=12(1±uu24x)du



Then



F(x)=14x2xdu(1uu24x)(u+u24x)eu+14x2xdu(1+uu24x)(uu24x)eu=22xdueuu24x=20dve2xcoshv=2K0(2x)



By using recurrence relations for the Kn, we see that the above simple expression is equivalent to the one derived using differentiation under the integral sign.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...