How this calculation works
Evaluate Ai,Bi and their first derivatives on a bounded real interval. The two solutions have different growth behavior even though they satisfy the same second-order equation.
y″−xy=0; Ai(0)=1/(3^(2/3)Γ(2/3)); W(Ai,Bi)=1/π.A worked example
At x=0,Ai≈0.3550280539,Ai′≈−0.2588194038,Bi≈0.6149266274 and Bi′≈0.4482883574. Their Wronskian is1/π.
Good to know
Real x−10–4. Fourth-order Runge–Kutta integration from standard values at zero with step-halving comparison. Wronskian and refinement diagnostics are numerical,not a rigorous global bound. Positive range limited to avoid loss of the small Ai solution through growing-mode contamination.
Reference: Mathematical method reference (opens in a new tab) ↗
Airy functions solve a turning-point equation
The equation y″=xy changes character across zero. On the negative side its standard real solutions oscillate;on the positive side Ai decreases while Bi increases. A named solution includes its normalization,not merely the differential equation.
These functions are unrelated to the optical Airy-disc radius calculator despite the shared surname. This page returns mathematical function values and derivatives rather than a diffraction spot size,aperture estimate or optical resolving power.
Compare this with the Airy disc and Rayleigh angular resolution calculator. Airy-disc optics is unrelated to Airy differential-equation functions.
One argument gives four related quantities
Enter a real x in the supported interval. Ai and Bi are the solution values there,while their derivatives measure change with respect to that same dimensionless argument. A negative derivative need not imply a negative solution value.
The page keeps all four outputs together because applications commonly match both a value and a slope. It does not solve for arbitrary linear-combination coefficients or impose endpoint conditions from an unstated physical model.
Standard initial values fix the solutions
At zero,the gamma-function normalizations fix Ai,Ai′,Bi and Bi′. Starting from these four constants removes the arbitrary two-parameter freedom that would otherwise remain in a generic solution of a second-order linear equation.
The implementation integrates two solution-and-derivative pairs with a fourth-order method. It repeats the calculation with half the step and compares outputs;this exposes discretization sensitivity without pretending that one fixed mesh is exact everywhere.
The zero-argument example is a direct normalization check
For x=0,no evolution away from the standard initial state is necessary. The reported values therefore test the normalization constants directly rather than an accumulated numerical trajectory over a long interval.
Multiply Ai by Bi′ and subtract Ai′ times Bi. The result should be about0.3183098862,which is1/π. Using a plus sign would fail this check even if the four individual magnitudes were copied correctly.
A growing companion can contaminate a small solution
At positive x,Bi grows rapidly and Ai becomes small. Forward integration of a small solution can pick up a tiny growing-mode error that eventually dominates,even when an ordinary absolute step comparison appears reassuring.
That is why the accepted positive interval stops at4. The limit is an implementation accuracy choice,not a singularity of Ai or Bi. Requests outside it receive a domain error instead of values carrying unsupported precision.
Wronskian and refinement diagnose different errors
The Wronskian remains constant because the equation contains no first-derivative term. Its deviation tests consistency of the solution pair,while the coarse/fine difference measures sensitivity to the chosen integration step within this calculation.
Neither quantity alone is a certified error bound on each function. Near a function zero,relative error can become large even if absolute error is small. Independent reference comparisons cover the interval and remain part of the validation evidence.
Use both the normalization and the domain convention
Before substituting these values into a boundary calculation,check whether the equation has been rescaled into the standard Airy form. A change in the independent variable also changes how derivatives translate back to the original problem.
The outputs contain no automatic unit conversion,complex continuation or asymptotic matching. Retaining the displayed argument and derivative convention with a copied result prevents a correct standard value from being used with an incompatible scale.
A few questions, answered
Is this the Airy-disc optical formula?
No. These are solutions of the Airy differential equation.
Why limit positive x?
Forward integration can lose the small Ai solution through growing-mode contamination.
What does the refinement number mean?
It compares two step sizes and is a numerical diagnostic rather than a certified bound.
Are derivatives with respect to x?
Yes. They use the entered standard Airy argument.