MATLAB Answers

Symbolic differentiation of Bessel functions is incorrect

4 views (last 30 days)
The output of the below code gives an incorrect equation for the derivative of the modified Bessel function of the second kind.
syms x n
y = besselk(n,x);
It says the derivative of is
but as I understand, the formula for the derivative of the K bessel functions is given by
What's going on?!?

Accepted Answer

David Goodmanson
David Goodmanson on 11 Mar 2021
Edited: David Goodmanson on 11 Mar 2021
Hi Sam,
There is really nothing going on. Both of those identities are correct, as you can check numerically. There are several recurrence relations available for Bessel functions. Another one is
K'(n,x) = -nK(n,x)/x - K(n-1,x)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!