2
$\begingroup$

When I compare the output of the following commands I get contradictory results:

Sum[BesselJ[k, 1], {k, 0, Infinity}]
NSum[BesselJ[k, 1], {k, 0, Infinity}]

The former warns me that the sum does not converge and spits back the sum, while the latter outputs a number. I expect the sum to converge given the rapid decay of Bessel functions with order (see, for example, equation 10.19.1 of https://dlmf.nist.gov/10.19), so I think the former is giving me the wrong message. Why is it doing this and does this mean I have no hope of evaluating such infinite sums analytically in Mathematica?

Thanks in advance for any help.

$\endgroup$
1
  • 2
    $\begingroup$ In version 13.1 on Windows 10 Sum[BesselJ[k, 1], {k, 0, Infinity}] returns the input without any error/warning. I don't think there is a closed-form expression for that sum of the series. $\endgroup$
    – user64494
    Commented Nov 16, 2022 at 9:59

1 Answer 1

3
$\begingroup$

Looks like Mathematica dosen't know how compute this series.

Workaround:

F = Sum[LaplaceTransform[BesselJ[k, x], x, s], {k, 0, Infinity}] // FullSimplify (*Where: x=1*)
(*(1 + s + Sqrt[1 + s^2])/(2 s Sqrt[1 + s^2])*)

InverseLaplaceTransform[F, s, x] /. x -> 1 // FullSimplify // Expand
(*1/2 + 1/2 BesselJ[0, 1] + 1/4 \[Pi] BesselJ[0, 1] StruveH[-1, 1] + 
1/4 \[Pi] BesselJ[1, 1] StruveH[0, 1]*)

% // N
(*1.34246*)

NSum[BesselJ[k, 1], {k, 0, Infinity}]
(*1.34246*)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.