ELSEIF
Your brief EB
454 stories from 137 feeds 665 clusters Refreshed 11 minutes ago next pull 18:09

TECH Signal 502

Recurrence relations for Bessel functions show directional numerical instability

Bessel function recurrence relations exhibit stability or instability depending on function type and computation direction, risking rounding errors in decaying solutions.

WHY IT MATTERS

Numerical stability in recurrence relations directly impacts the accuracy of computational results for special functions. Engineers relying on these relations for simulations or modeling must account for directional stability to avoid compounding errors. Failure to do so can lead to incorrect outputs, particularly in high-precision applications.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Recurrence relations for Bessel functions of the first kind (Jn) are stable in reverse but unstable in forward computation.

02

Bessel functions of the second kind (Yn) behave oppositely, stable forward but unstable in reverse.

03

Rounding errors can introduce growing solution components into decaying solutions, corrupting results for large n.

THE READ

What the cluster adds up to.

ORIGINAL ANALYSIS

Recurrence relations for Bessel functions are a common tool in computational mathematics, but their stability depends on both the function type and the direction of computation. For Bessel functions of the first kind (Jn), computing higher-order values from lower-order ones (forward direction) amplifies rounding errors, while the reverse direction remains stable. The opposite holds for Bessel functions of the second kind (Yn), where forward computation is stable but reverse is not. This asymmetry arises because one solution decays while the other grows with increasing order, and rounding errors can inadvertently introduce the growing component into the decaying solution.

The instability stems from the behavior of the two independent solutions to second-order linear difference equations. When one solution decays and the other grows, numerical errors can dominate the decaying solution over time. For example, Jn(x) decays to zero as n increases, while Yn(x) diverges to negative infinity. If a small component of the growing solution is introduced due to rounding, it can overwhelm the desired decaying solution, leading to incorrect results. This issue is not unique to Bessel functions but applies to any recurrence where the ratio of solutions tends to zero or infinity.

Engineers must carefully select computation direction or employ stabilization techniques to mitigate these errors. Miller’s algorithm is one such method, designed to compute minimal (decaying) solutions accurately by working backward from a high-order estimate. Without such measures, applications relying on these recurrences, such as signal processing, physics simulations, or numerical analysis, risk accumulating errors that render results unusable. The choice of method depends on the specific function and the range of n being computed, requiring awareness of the underlying stability characteristics.

Written by elseif from the cluster below · checked for specifics the sources never contained

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
johndcook.com via Hacker News Numerical (In)Stability of Recurrence Relations Open ↗