4

$m, r$ are parameters in the following integral:

Integrate[z Exp[I z r]/Sqrt[z^2 + m^2], {z, -∞, ∞}]

How to do this integration directly? The result should be 2 I m BesselK[1, mr]. This post may be helpful, but I haven't found anything to solve this question.

As suggested by b.gatessucks, this integration can be converted to the following one which can be computed by Mathematica:

Integrate[Exp[I z r]/Sqrt[z^2 + m^2], {z, -∞, ∞}]

and its result is 2 BesselK[0, m r]. But this method may be not general, because we do not know which form can be recognized by Mathematica for other similar problems.

Eden Harder
  • 1,145
  • 6
  • 22

1 Answers1

5

I suspect you want the principal value, since the integral is divergent.

Integrate[
 z Exp[I z r]/Sqrt[z^2 + m^2], {z, -∞, ∞}, 
 PrincipalValue -> True, Assumptions -> m > 0 && r ∈ Reals]
(*
  2 I m BesselK[1, m Abs[r]] Sign[r]
*)

If r > 0, then it agrees with your expected answer.


Another derivation, although it seems more difficult to justify (multiply by Exp[-Abs[a] z] and take the limit as a -> 0):

intplus  = Integrate[(E^(-a z) z Exp[I z r]) / Sqrt[m^2 + z^2], {z, 0, ∞}, 
   Assumptions -> m > 0 && a > 0 && r ∈ Reals];
intminus = Integrate[(E^(a z)  z Exp[I z r]) / Sqrt[m^2 + z^2], {z, -∞, 0}, 
   Assumptions -> m > 0 && a > 0 && r ∈ Reals];
FullSimplify[intminus + intplus /. a -> 0, m > 0 && r > 0]
(*
   2 I m BesselK[1, m r]
*)

where the parts are

{intminus, intplus}
(*
   {  1/2  m π (BesselY[1, m (a + I r)] + StruveH[-1, m (a + I r)]),
    -(1/2) m π (BesselY[1, m (a - I r)] + StruveH[-1, m (a - I r)])}
*)
Michael E2
  • 235,386
  • 17
  • 334
  • 747