# Airy function

In the physical sciences, the Airy function (or Airy function of the first kind) Ai(x) is a special function named after the British astronomer George Biddell Airy (1801–1892). The function Ai(x) and the related function Bi(x), are linearly independent solutions to the differential equation

${\frac {d^{2}y}{dx^{2}}}-xy=0,$ known as the Airy equation or the Stokes equation. This is the simplest second-order linear differential equation with a turning point (a point where the character of the solutions changes from oscillatory to exponential).[citation needed]

## Definitions

For real values of x, the Airy function of the first kind can be defined by the improper Riemann integral:

$\operatorname {Ai} (x)={\dfrac {1}{\pi }}\int _{0}^{\infty }\cos \left({\dfrac {t^{3}}{3}}+xt\right)\,dt\equiv {\dfrac {1}{\pi }}\lim _{b\to \infty }\int _{0}^{b}\cos \left({\dfrac {t^{3}}{3}}+xt\right)\,dt,$ which converges by Dirichlet's test. For any real number $x$ there is positive real number $M$ such that function ${\textstyle {\dfrac {t^{3}}{3}}+xt}$ is increasing, unbounded and convex with continuous and unbounded derivative on interval $[M,\infty )$ . The convergence of the integral on this interval can be proven by Dirichlet's test after substitution ${\textstyle u={\dfrac {t^{3}}{3}}+xt}$ .

y = Ai(x) satisfies the Airy equation

$y''-xy=0.$ This equation has two linearly independent solutions. Up to scalar multiplication, Ai(x) is the solution subject to the condition y → 0 as x → ∞. The standard choice for the other solution is the Airy function of the second kind, denoted Bi(x). It is defined as the solution with the same amplitude of oscillation as Ai(x) as x → −∞ which differs in phase by π/2:

$\operatorname {Bi} (x)={\frac {1}{\pi }}\int _{0}^{\infty }\left[\exp \left(-{\tfrac {t^{3}}{3}}+xt\right)+\sin \left({\tfrac {t^{3}}{3}}+xt\right)\,\right]dt.$ ## Properties

The values of Ai(x) and Bi(x) and their derivatives at x = 0 are given by

{\begin{aligned}\operatorname {Ai} (0)&{}={\frac {1}{3^{\frac {2}{3}}\Gamma ({\tfrac {2}{3}})}},&\quad \operatorname {Ai} '(0)&{}=-{\frac {1}{3^{\frac {1}{3}}\Gamma ({\tfrac {1}{3}})}},\\\operatorname {Bi} (0)&{}={\frac {1}{3^{\frac {1}{6}}\Gamma ({\tfrac {2}{3}})}},&\quad \operatorname {Bi} '(0)&{}={\frac {3^{\frac {1}{6}}}{\Gamma ({\tfrac {1}{3}})}}.\end{aligned}} Here, Γ denotes the Gamma function. It follows that the Wronskian of Ai(x) and Bi(x) is 1/π.

When x is positive, Ai(x) is positive, convex, and decreasing exponentially to zero, while Bi(x) is positive, convex, and increasing exponentially. When x is negative, Ai(x) and Bi(x) oscillate around zero with ever-increasing frequency and ever-decreasing amplitude. This is supported by the asymptotic formulae below for the Airy functions.

The Airy functions are orthogonal in the sense that

$\int _{-\infty }^{\infty }\operatorname {Ai} (t+x)\operatorname {Ai} (t+y)dt=\delta (x-y)$ again using an improper Riemann integral.

## Asymptotic formulae

As explained below, the Airy functions can be extended to the complex plane, giving entire functions. The asymptotic behaviour of the Airy functions as |z| goes to infinity at a constant value of arg(z) depends on arg(z): this is called the Stokes phenomenon. For |arg(z)| < π we have the following asymptotic formula for Ai(z):

$\operatorname {Ai} (z)\sim {\dfrac {e^{-{\frac {2}{3}}z^{\frac {3}{2}}}}{2{\sqrt {\pi }}\,z^{\frac {1}{4}}}}\left[\sum _{n=0}^{\infty }{\dfrac {(-1)^{n}\Gamma (n+{\frac {5}{6}})\Gamma (n+{\frac {1}{6}})\left({\frac {3}{4}}\right)^{n}}{2\pi n!z^{3n/2}}}\right].$ and a similar one for Bi(z), but only applicable when |arg(z)| < π/3:

$\operatorname {Bi} (z)\sim {\frac {e^{{\frac {2}{3}}z^{\frac {3}{2}}}}{{\sqrt {\pi }}\,z^{\frac {1}{4}}}}\left[\sum _{n=0}^{\infty }{\dfrac {\Gamma (n+{\frac {5}{6}})\Gamma (n+{\frac {1}{6}})\left({\frac {3}{4}}\right)^{n}}{2\pi n!z^{3n/2}}}\right].$ A more accurate formula for Ai(z) and a formula for Bi(z) when π/3 < |arg(z)| < π or, equivalently, for Ai(−z) and Bi(−z) when |arg(z)| < 2π/3 but not zero, are:

{\begin{aligned}\operatorname {Ai} (-z)\sim &{}{\frac {\sin \left({\frac {2}{3}}z^{\frac {3}{2}}+{\frac {\pi }{4}}\right)}{{\sqrt {\pi }}\,z^{\frac {1}{4}}}}\left[\sum _{n=0}^{\infty }{\dfrac {(-1)^{n}\Gamma (2n+{\frac {5}{6}})\Gamma (2n+{\frac {1}{6}})\left({\frac {3}{4}}\right)^{2n}}{2\pi (2n)!z^{3n}}}\right]\\[6pt]&{}-{\frac {\cos \left({\frac {2}{3}}z^{\frac {3}{2}}+{\frac {\pi }{4}}\right)}{{\sqrt {\pi }}\,z^{\frac {1}{4}}}}\left[\sum _{n=0}^{\infty }{\dfrac {(-1)^{n}\Gamma (2n+{\frac {11}{6}})\Gamma (2n+{\frac {7}{6}})\left({\frac {3}{4}}\right)^{2n+1}}{2\pi (2n+1)!z^{3n+3/2}}}\right]\\[6pt]\operatorname {Bi} (-z)\sim &{}{\frac {\cos \left({\frac {2}{3}}z^{\frac {3}{2}}+{\frac {\pi }{4}}\right)}{{\sqrt {\pi }}\,z^{\frac {1}{4}}}}\left[\sum _{n=0}^{\infty }{\dfrac {(-1)^{n}\Gamma (2n+{\frac {5}{6}})\Gamma (2n+{\frac {1}{6}})\left({\frac {3}{4}}\right)^{2n}}{2\pi (2n)!z^{3n}}}\right]\\[6pt]&{}+{\frac {\sin \left({\frac {2}{3}}z^{\frac {3}{2}}+{\frac {\pi }{4}}\right)}{{\sqrt {\pi }}\,z^{\frac {1}{4}}}}\left[\sum _{n=0}^{\infty }{\dfrac {(-1)^{n}\Gamma (2n+{\frac {11}{6}})\Gamma (2n+{\frac {7}{6}})\left({\frac {3}{4}}\right)^{2n+1}}{2\pi (2n+1)!z^{3n+3/2}}}\right].\end{aligned}} When |arg(z)| = 0 these are good approximations but are not asymptotic because the ratio between Ai(−z) or Bi(−z) and the above approximation goes to infinity whenever the sine or cosine goes to zero. Asymptotic expansions for these limits are also available. These are listed in (Abramowitz and Stegun, 1983) and (Olver, 1974).

One is also able to obtain asymptotic expressions for the derivatives Ai'(z) and Bi'(z). Similarly to before, when |arg(z)| < π:

$\operatorname {Ai} '(z)\sim -{\dfrac {z^{\frac {1}{4}}e^{-{\frac {2}{3}}z^{\frac {3}{2}}}}{2{\sqrt {\pi }}\,}}\left[\sum _{n=0}^{\infty }{\frac {1+6n}{1-6n}}{\dfrac {(-1)^{n}\Gamma (n+{\frac {5}{6}})\Gamma (n+{\frac {1}{6}})\left({\frac {3}{4}}\right)^{n}}{2\pi n!z^{3n/2}}}\right].$ When |arg(z)| < π/3 we have:

$\operatorname {Bi} '(z)\sim {\frac {z^{\frac {1}{4}}e^{{\frac {2}{3}}z^{\frac {3}{2}}}}{{\sqrt {\pi }}\,}}\left[\sum _{n=0}^{\infty }{\frac {1+6n}{1-6n}}{\dfrac {\Gamma (n+{\frac {5}{6}})\Gamma (n+{\frac {1}{6}})\left({\frac {3}{4}}\right)^{n}}{2\pi n!z^{3n/2}}}\right].$ Similarly, an expression for Ai'(−z) and Bi'(−z) when |arg(z)| < 2π/3 but not zero, are

{\begin{aligned}\operatorname {Ai} '(-z)\sim &{}-{\frac {z^{\frac {1}{4}}\cos \left({\frac {2}{3}}z^{\frac {3}{2}}+{\frac {\pi }{4}}\right)}{{\sqrt {\pi }}\,}}\left[\sum _{n=0}^{\infty }{\frac {1+12n}{1-12n}}{\dfrac {(-1)^{n}\Gamma (2n+{\frac {5}{6}})\Gamma (2n+{\frac {1}{6}})\left({\frac {3}{4}}\right)^{2n}}{2\pi (2n)!z^{3n}}}\right]\\[6pt]&{}-{\frac {z^{\frac {1}{4}}\sin \left({\frac {2}{3}}z^{\frac {3}{2}}+{\frac {\pi }{4}}\right)}{{\sqrt {\pi }}\,}}\left[\sum _{n=0}^{\infty }{\frac {7+12n}{-5-12n}}{\dfrac {(-1)^{n}\Gamma (2n+{\frac {11}{6}})\Gamma (2n+{\frac {7}{6}})\left({\frac {3}{4}}\right)^{2n+1}}{2\pi (2n+1)!z^{3n+3/2}}}\right]\\[6pt]\operatorname {Bi} '(-z)\sim &{}{\frac {z^{\frac {1}{4}}\sin \left({\frac {2}{3}}z^{\frac {3}{2}}+{\frac {\pi }{4}}\right)}{{\sqrt {\pi }}\,}}\left[\sum _{n=0}^{\infty }{\frac {1+12n}{1-12n}}{\dfrac {(-1)^{n}\Gamma (2n+{\frac {5}{6}})\Gamma (2n+{\frac {1}{6}})\left({\frac {3}{4}}\right)^{2n}}{2\pi (2n)!z^{3n}}}\right]\\[6pt]&{}-{\frac {z^{\frac {1}{4}}\cos \left({\frac {2}{3}}z^{\frac {3}{2}}+{\frac {\pi }{4}}\right)}{{\sqrt {\pi }}\,}}\left[\sum _{n=0}^{\infty }{\frac {7+12n}{-5-12n}}{\dfrac {(-1)^{n}\Gamma (2n+{\frac {11}{6}})\Gamma (2n+{\frac {7}{6}})\left({\frac {3}{4}}\right)^{2n+1}}{2\pi (2n+1)!z^{3n+3/2}}}\right]\\\end{aligned}} ## Complex arguments

We can extend the definition of the Airy function to the complex plane by

$\operatorname {Ai} (z)={\frac {1}{2\pi i}}\int _{C}\exp \left({\tfrac {t^{3}}{3}}-zt\right)\,dt,$ where the integral is over a path C starting at the point at infinity with argument π/3 and ending at the point at infinity with argument π/3. Alternatively, we can use the differential equation y′′ − xy = 0 to extend Ai(x) and Bi(x) to entire functions on the complex plane.

The asymptotic formula for Ai(x) is still valid in the complex plane if the principal value of x2/3 is taken and x is bounded away from the negative real axis. The formula for Bi(x) is valid provided x is in the sector {xC : |arg(x)| < (π/3) − δ} for some positive δ. Finally, the formulae for Ai(−x) and Bi(−x) are valid if x is in the sector {xC : |arg(x)| < (2π/3) − δ}.

It follows from the asymptotic behaviour of the Airy functions that both Ai(x) and Bi(x) have an infinity of zeros on the negative real axis. The function Ai(x) has no other zeros in the complex plane, while the function Bi(x) also has infinitely many zeros in the sector {zC : π/3 < |arg(z)| < π/2}.

### Plots

$\Re \left[\operatorname {Ai} (x+iy)\right]$ $\Im \left[\operatorname {Ai} (x+iy)\right]$ $|\operatorname {Ai} (x+iy)|\,$ $\operatorname {arg} \left[\operatorname {Ai} (x+iy)\right]\,$         $\Re \left[\operatorname {Bi} (x+iy)\right]$ $\Im \left[\operatorname {Bi} (x+iy)\right]$ $|\operatorname {Bi} (x+iy)|\,$ $\operatorname {arg} \left[\operatorname {Bi} (x+iy)\right]\,$         ## Relation to other special functions

For positive arguments, the Airy functions are related to the modified Bessel functions:

{\begin{aligned}\operatorname {Ai} (x)&{}={\frac {1}{\pi }}{\sqrt {\frac {x}{3}}}\,K_{\frac {1}{3}}\left({\tfrac {2}{3}}x^{\frac {3}{2}}\right),\\\operatorname {Bi} (x)&{}={\sqrt {\frac {x}{3}}}\left(I_{\frac {1}{3}}\left({\tfrac {2}{3}}x^{\frac {3}{2}}\right)+I_{-{\frac {1}{3}}}\left({\tfrac {2}{3}}x^{\frac {3}{2}}\right)\right).\end{aligned}} Here, I±1/3 and K1/3 are solutions of
$x^{2}y''+xy'-\left(x^{2}+{\tfrac {1}{9}}\right)y=0.$ The first derivative of the Airy function is

$\operatorname {Ai'} (x)=-{\frac {x}{\pi {\sqrt {3}}}}\,K_{\frac {2}{3}}\left({\tfrac {2}{3}}x^{\frac {3}{2}}\right).$ Functions K1/3 and K2/3 can be represented in terms of rapidly convergent integrals (see also modified Bessel functions )

For negative arguments, the Airy function are related to the Bessel functions:

{\begin{aligned}\operatorname {Ai} (-x)&{}={\sqrt {\frac {x}{9}}}\left(J_{\frac {1}{3}}\left({\tfrac {2}{3}}x^{\frac {3}{2}}\right)+J_{-{\frac {1}{3}}}\left({\tfrac {2}{3}}x^{\frac {3}{2}}\right)\right),\\\operatorname {Bi} (-x)&{}={\sqrt {\frac {x}{3}}}\left(J_{-{\frac {1}{3}}}\left({\tfrac {2}{3}}x^{\frac {3}{2}}\right)-J_{\frac {1}{3}}\left({\tfrac {2}{3}}x^{\frac {3}{2}}\right)\right).\end{aligned}} Here, J±1/3 are solutions of
$x^{2}y''+xy'+\left(x^{2}-{\tfrac {1}{9}}\right)y=0.$ The Scorer's functions Hi(x) and -Gi(x) solve the equation y′′ − xy = 1/π. They can also be expressed in terms of the Airy functions:

{\begin{aligned}\operatorname {Gi} (x)&{}=\operatorname {Bi} (x)\int _{x}^{\infty }\operatorname {Ai} (t)\,dt+\operatorname {Ai} (x)\int _{0}^{x}\operatorname {Bi} (t)\,dt,\\\operatorname {Hi} (x)&{}=\operatorname {Bi} (x)\int _{-\infty }^{x}\operatorname {Ai} (t)\,dt-\operatorname {Ai} (x)\int _{-\infty }^{x}\operatorname {Bi} (t)\,dt.\end{aligned}} ## Fourier transform

Using the definition of the Airy function Ai(x), it is straightforward to show its Fourier transform is given by

${\mathcal {F}}(\operatorname {Ai} )(k):=\int _{-\infty }^{\infty }\operatorname {Ai} (x)\ e^{-2\pi ikx}\,dx=e^{{\frac {i}{3}}(2\pi k)^{3}}.$ ## Applications

### Quantum mechanics

The Airy function is the solution to the time-independent Schrödinger equation for a particle confined within a triangular potential well and for a particle in a one-dimensional constant force field. For the same reason, it also serves to provide uniform semiclassical approximations near a turning point in the WKB approximation, when the potential may be locally approximated by a linear function of position. The triangular potential well solution is directly relevant for the understanding of electrons trapped in semiconductor heterojunctions.

### Optics

A transversally asymmetric optical beam, where the electric field profile is given by Airy function, has the interesting property that of its maximum intensity accelerates towards one side instead of propagating over straight line as is the case in symmetric beams. This is at expense of the low-intensity tail being spread in the opposite direction, so the overall momentum of the beam is of course conserved.

#### Caustics

The Airy function underlies the form of the intensity near an optical directional caustic, such as that of the rainbow. Historically, this was the mathematical problem that led Airy to develop this special function.

## History

The Airy function is named after the British astronomer and physicist George Biddell Airy (1801–1892), who encountered it in his early study of optics in physics (Airy 1838). The notation Ai(x) was introduced by Harold Jeffreys. Airy had become the British Astronomer Royal in 1835, and he held that post until his retirement in 1881.