Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

h_v^(1)(x) at order v = 0, x = 1
0.841471 -0.540302 i
magnitude = 1 · 10 points
-0.540302
# x Real part Imaginary part Magnitude
0 1 0.841471 -0.540302 1
1 2 0.454649 0.208073 0.5
2 3 0.04704 0.329997 0.333333
3 4 -0.189201 0.163411 0.25
4 5 -0.191785 -0.056732 0.2
5 6 -0.046569 -0.160028 0.166667
6 7 0.093855 -0.1077 0.142857
7 8 0.12367 0.018188 0.125
8 9 0.045791 0.101237 0.111111
9 10 -0.054402 0.083907 0.1

What is the Spherical Hankel Function Table Calculator?

This universal mathematics tool tabulates the spherical Hankel functions of the first kind \(h_v^{(1)}(x)\) and second kind \(h_v^{(2)}(x)\), as well as their first derivatives, over a sequence of real arguments \(x\) for a chosen integer order \(v\). Because these functions are complex-valued, each entry is reported as a real part and an imaginary part, plus the magnitude.

How to use it

Pick which function to tabulate (first kind, second kind, or either derivative). Set the integer order \(v\), the initial value of \(x\), the step (increment) between successive \(x\) values, and the number of points to generate. The calculator builds a row for each \(k\) from 0 to \(N-1\) with \(x = \text{initialX} + k \cdot \text{stepX}\) and evaluates the selected function at every \(x\).

The formula explained

Spherical Bessel functions use closed forms: \(j_0(x) = \sin(x)/x\), \(j_1(x) = \sin(x)/x^2 - \cos(x)/x\), \(y_0(x) = -\cos(x)/x\), \(y_1(x) = -\cos(x)/x^2 - \sin(x)/x\). Higher orders follow the three-term recurrence $$f_{v+1} = \frac{2v+1}{x}\,f_v - f_{v-1}.$$ Then $$h_v^{(1)} = j_v + i\,y_v \quad\text{and}\quad h_v^{(2)} = j_v - i\,y_v$$ (the complex conjugate). Derivatives use $$f_v'(x) = f_{v-1}(x) - \frac{v+1}{x}\,f_v(x),$$ with \(f_0' = -f_1\).

Advertisement
Complex spherical Hankel function as a vector in the complex plane built from spherical Bessel components
The spherical Hankel function combines \(j_v(x)\) (real axis) and \(y_v(x)\) (imaginary axis) into a single complex value.

Worked example

For \(h_v^{(1)}(x)\) with \(v = 0\), \(\text{initialX} = 2\): \(j_0(2) = \sin(2)/2 = 0.4546487\), \(y_0(2) = -\cos(2)/2 = 0.2080734\), so $$h_0^{(1)}(2) = 0.4546487 + 0.2080734\,i$$ with magnitude \(1/x = 0.5\). For the second kind \(h_0^{(2)}(2)\) the imaginary part flips sign to \(-0.2080734\).

Oscillating decaying curves of the real and imaginary parts of a spherical Hankel function versus x
Real and imaginary parts of \(h_v(x)\) oscillate and decay as \(x\) increases.

FAQ

Why is \(x = 0\) not allowed? Every formula divides by \(x\), and \(y_v\) diverges as \(x\) approaches 0, so those rows are flagged as singular.

Why does \(|h_0^{(1)}(x)|\) equal \(1/x\)? Because \(j_0^2 + y_0^2 = (\sin^2 x + \cos^2 x)/x^2 = 1/x^2\).

Does it support non-integer orders? This build uses exact integer-order closed forms and recurrences; non-integer orders are not supported.

Last updated: