Omni Calculator logo

Are you struggling to calculate or validate Bessel function values? Do you wish you could plot the Bessel function to get that extra information? If your answer is yes, you've come to the right place because our Bessel function calculator does everything for you!

Bessel functions are fairly advanced mathematical topics that can be perplexing to anyone. This article covers the basics, such as the Bessel differential equation, how to calculate Bessel functions of the first and second kinds, and the recurrence relations for Bessel functions, so you're well equipped to solve your problem using Bessel functions.

Bessel functions and its differential equation

Bessel differential equation is a second-order differential equation given by:

x2d2ydx2+xdydx+(x2ν2)y=0\small x^2\frac{d^2y}{dx^2}+ x\frac{dy}{dx} + \left(x^2-\nu^2 \right)y = 0

Here ν\nu is an arbitrary complex number.

Since this is a second-order differential equation, there have to be two linearly independent solutions. We call these solutions Bessel functions of the first and second kind. All Bessel functions are also commonly referred to as cylinder functions.

The order of the Bessel function is given by ν\nu, and although it can be an arbitrary complex number, the most critical cases are when ν\nu is an integer or half-integer. In this calculator, we shall exclusively use real-valued ν\nu, but xx can be complex.

You can refresh your knowledge of complex number operations using our complex number calculator.

How do you calculate the Bessel function of the first kind?

We use the following power-series to evaluate the Bessel function of the first kind:

Jν(x)=k=0(1)kΓ(k+1)Γ(k+ν+1)(x2)2k+ν\scriptsize \! J_\nu(x) \!= \!\sum_{k=0}^\infty \frac{(-1)^k}{\Gamma(k\!+\!1)\Gamma(k\!+\!\nu\!+\!1)}\! \left( \frac{x}{2}\right)^{2k+\nu}

where:

  • Jν(x)J_\nu(x)Bessel function of the first kind;
  • ν\nuOrder of the Bessel function;
  • xx – Arbitrary real or complex number; and
  • Γ(z)\Gamma(z)Gamma function.

Gamma function is an extension of the factorial calculation to non-integer values. You can learn more about this Γ(z)\Gamma(z) using our gamma function calculator.

Bessel function J(x) for different orders.
Bessel function Jν(x)J_\nu(x) for the first three orders. Notice how they resemble a decaying sine or cosine wave.

For non-integer ν\nu, the functions Jν(x)J_\nu(x) and Jν(x)J_{-\nu}(x) are linearly independent. However, for integer ν\nu, they're related as follows:

Jn(x)=(1)nJn(x)\small J_{-n}(x) = (-1)^n J_{n}(x)

💡 For computation, it is impractical to expand this series to \infin. We should get sufficiently precise values after a finite number of iterations.

How do you calculate the Bessel function of the second kind?

Computing the Bessel function of the second kind is tricker than Jν(x)J_\nu(x) because it has different formulae for different ν\nu.

To evaluate the Bessel function of the second kind for non-integer ν\nu, we use the formula:

Yν(x)=Jν(x)cos(νπ)Jν(x)sin(νπ)\small Y_\nu(x) = \frac{J_\nu(x)\cos(\nu\pi) - J_{-\nu}(x)}{\sin(\nu\pi)}

where Yν(x)Y_\nu(x) is the Bessel function of the second kind of order ν\nu.

If the order ν\nu is an integer nn, we should take the limit of Yν(x)Y_\nu(x) as the order ν\nu approaches the integer nn:

Yn(x)=limνnYν(x)\small Y_n(x) = \lim_{\nu \to n} Y_\nu(x)

For non-negative integer nn, this limit reduces to:

Yn(x)=(x2)nπk=0n1(nk1)!k!(x24)k+2πln(x2)Jn(x)(x2)nπk=0(ψ(k+1)+ψ(n+k+1))(x24)kk!(n+k)!\scriptsize\begin{align*} Y_n(x) = & -\frac{\left(\frac{x}{2}\right)^{-n}}{\pi}\sum_{k=0}^{n-1}\frac{(n-k-1)!}{k!}\!\left(\frac{x^2}{4}\right)^k\\[1.5em] & +\frac{2}{\pi} \ln\left(\frac{x}{2}\right)J_n(x)\\[1.5em] &-\frac{\left(\frac{x}{2}\right)^{n}}{\pi}\sum_{k=0}^{\infin}(\psi(k+1)\\ &\qquad\quad+\psi(n+k+1))\frac{\left(\frac{x^2}{4}\right)^k}{k!(n+k)!} \end{align*}

where ψ(z)\psi(z) is the digamma function, the logarithmic derivative of the gamma function Γ(z)\Gamma(z):

ψ(z)=Γ(z)Γ(z)\small \psi(z) = \frac{\Gamma'(z)}{\Gamma(z)}

If you're groaning at this complexity, we have some good news! Since we're using ψ(n)\psi(n) exclusively for non-negative nn, we can use a simpler formulation for the digamma function, given by:

ψ(n)=Hn1γ \small \psi(n) = H_{n-1} - \gamma

where:

  • Hn1H_{n-1}(n1)th(n-1)^{th} harmonic number; and
  • γ\gammaEuler–Mascheroni constant.
Bessel function Y(x) for different orders
Bessel function Yν(x)Y_\nu(x) for the first three orders.

But what about negative integer nn? Again, we have some good news! Similar to Jν(x)J_\nu(x), Yν(x)Y_\nu(x) also follows the relation:

Yn(x)=(1)nYn(x)\small Y_{-n}(x) = (-1)^n Y_{n}(x)

which we can utilize to calculate Yn(x)Y_{-n}(x) from YnY_{n}.

How do you calculate Hankel functions?

The Bessel functions of the third kind, also known as the Hankel functions, are two linearly independent solutions to the Bessel differential equation. We express them as linear combinations of the first two kinds of Bessel functions:

Hν(1)(x)=Jν(x)+iYν(x)Hν(2)(x)=Jν(x)iYν(x)\small \begin{align*} H_\nu^{(1)}(x) = J_\nu(x) + i Y_\nu(x)\\[1em] H_\nu^{(2)}(x) = J_\nu(x) - i Y_\nu(x) \end{align*}

where:

  • Hν(1)(x),Hν(2)(x)H_\nu^{(1)}(x) , H_\nu^{(2)}(x) – The Hankel functions; and
  • ii – The imaginary unit.

Recurrence relation of Bessel functions

The Bessel functions we discussed so far exhibit the following recurrence relations:

Cν(z)=z2ν[Cν1(z)+Cν+1(z)]Cν(z)=12[Cν1(z)Cν+1(z)]\small\begin{align*} C_\nu(z) &= \frac{z}{2\nu}[C_{\nu-1}(z) + C_{\nu+1}(z)] \\\\ C'_\nu(z) &= \frac{1}{2} [C_{\nu-1}(z) - C_{\nu+1}(z)] \end{align*}

where:

  • Cν(z)C_\nu(z) – Any cylinder function, i.e., Jν(z)J_\nu(z) or Yν(z)Y_\nu(z);
  • Cν(z)C\rq_\nu(z)Derivative of any cylinder function; and
  • zz – Any arbitrary real or complex number.

In particular:

J0(z)=J1(z)\small J\rq_0(z) = -J_1(z)
Y0(z)=Y1(z)\small Y\rq_0(z) = -Y_1(z)

You can use these recurrence relations for Bessel functions to calculate the derivatives of the desired Bessel function quickly.

How to find Bessel function values using this Bessel function calculator

This Bessel function calculator will solve for Bessel functions of the first, second, and third kind simultaneously. All you need to input are the order ν\nu and xx, the point at which you desire to evaluate. Keep in mind that:

  • The order ν\nu must be a real number;
  • The number xx can be real or complex; and
  • This Bessel function calculator will plot the Bessel function of the first two kinds, as long as the number xx is a real number.

Note that the order ν\nu must be within the range [99,99][-99, 99] to keep the computational time to a minimum. Any higher order will cause noticeable lag in most computers.

Also, the (x)\Re(x) must be within the range [20,20][-20, 20] to maintain computational accuracy since there is a different method for calculating Bessel functions for large xx.

If you wish to perform calculations beyond these limits, please get in touch with us!

FAQ

How do I calculate bandwidth with Bessel function table?

To estimate bandwidth using a Bessel function table, you must know the modulating index β and modulating frequency fm:

  1. Find the minimum value of Jᵥ(β) above 0.01 (or any value deemed the minimum significant value) by referring to a Bessel function table.
  2. Determine the number of sideband pairs N in the signal, equal to the order v of the Bessel function Jᵥ(β).
  3. Substitute N and fm in the formula B = 2fmN to get the bandwidth B.
  4. Be proud of yourself for solving a not-so-simple problem in a not-so-complex manner!

What is the maximum value of the Bessel function of the first kind?

J₀(0) = 1 is the maximum value of the Bessel function of the first kind. It occurs when the order ν = 0 and x = 0. To calculate this, follow these steps:

  1. Substitute ν = 0 and x = 0 into the integrand cos(ντ - x sin(τ)) to get cos(0) = 1.
  2. Evaluate the integral ∫1 ∙ dτ to get [τ].
  3. Apply the lower limit 0 and the upper limit π to [τ] to get [π-0] = π.
  4. Divide by π to get π/π = 1.
  5. Verify this result using Omni's Bessel function calculator!

Where do the singularities lie for the Bessel functions?

For negative non-integer orders, the Bessel function of the first kind has a singularity at x = 0. For all orders, the Bessel function of the second kind has a singularity at x = 0.

Are Bessel functions periodic?

The Bessel functions are not periodic, although they look like decaying sine or cosine waves on a graph.

Krishna Nelaturu
x is a...
real number
Bessel function parameters
Order v
x
Check out 40 similar algebra calculators 🔡
Absolute value equationAbsolute value inequalitiesAdding and subtracting polynomials… 37 more
People also viewed…

Discount

The discount calculator uses a product's original price and discount percentage to find the final price and the amount you save.

Is it a right triangle

Use this Is it a Right Triangle Calculator to quickly check if a triangle is, you know, a right triangle.

Pizza size

Make the best pizza choice with our Pizza Size Calculator – compare sizes and prices for the perfect order!

Power of 10

The Power of 10 Calculator helps you find the result of 10 raised to a positive or negative exponent.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service