Mathwords logoMathwords

Airy Functions — Definition, Formula & Example

Airy functions are the two standard solutions, written Ai⁡(x)\operatorname{Ai}(x) and Bi⁡(x)\operatorname{Bi}(x), of the differential equation y′′=xyy'' = xy. They oscillate like waves when x<0x < 0. When x>0x > 0, Ai⁡\operatorname{Ai} dies away and Bi⁡\operatorname{Bi} blows up.

The Airy functions Ai⁡\operatorname{Ai} and Bi⁡\operatorname{Bi} are linearly independent solutions of the Airy equation y′′−xy=0y'' - xy = 0. For real xx they have the integral representations Ai⁡(x)=1π∫0∞cos⁡ ⁣(t33+xt)dt\operatorname{Ai}(x) = \frac{1}{\pi}\int_0^\infty \cos\!\left(\tfrac{t^3}{3} + xt\right)dt and Bi⁡(x)=1π∫0∞[exp⁡ ⁣(−t33+xt)+sin⁡ ⁣(t33+xt)]dt\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. Ai⁡\operatorname{Ai} is the solution that tends to 00 as x→+∞x \to +\infty, decaying roughly like e−23x3/2e^{-\frac{2}{3}x^{3/2}}. Bi⁡\operatorname{Bi} grows without bound there. Both extend to entire functions of a complex variable.

Key Formula

d2ydx2−x y=0\frac{d^2y}{dx^2} - x\,y = 0
Where:
  • yy = The unknown function of x; its solutions are combinations of Ai(x) and Bi(x)
  • xx = The independent variable; the sign of x decides whether solutions oscillate (x < 0) or grow and decay (x > 0)

Worked Example

Problem: Find the power series solution of y′′=xyy'' = xy with y(0)=1y(0) = 1 and y′(0)=0y'(0) = 0. Use its first three nonzero terms to estimate y(1)y(1).
Step 1: Substitute y=∑anxny = \sum a_n x^n. Multiplying by xx shifts powers up by one, so matching coefficients links terms three apart. The x0x^0 terms give 2a2=02a_2 = 0. The xnx^n terms for n≥1n \ge 1 give the recurrence below.
an+2=an−1(n+2)(n+1)a_{n+2} = \frac{a_{n-1}}{(n+2)(n+1)}
Step 2: The initial conditions give a0=1a_0 = 1 and a1=0a_1 = 0. Since a1=a2=0a_1 = a_2 = 0, every coefficient is zero except a0,a3,a6,a9,…a_0, a_3, a_6, a_9, \dots
a3=13⋅2=16,a6=1/66⋅5=1180,a9=1/1809⋅8=112960a_3 = \frac{1}{3\cdot 2} = \frac{1}{6},\quad a_6 = \frac{1/6}{6\cdot 5} = \frac{1}{180},\quad a_9 = \frac{1/180}{9\cdot 8} = \frac{1}{12960}
Step 3: Set x=1x = 1 and add the first three nonzero terms. The next term is 112960≈0.000077\frac{1}{12960} \approx 0.000077, and the later terms shrink even faster. So the whole remainder is less than 0.00010.0001.
y(1)≈1+16+1180=180+30+1180=211180≈1.1722y(1) \approx 1 + \frac{1}{6} + \frac{1}{180} = \frac{180 + 30 + 1}{180} = \frac{211}{180} \approx 1.1722
Answer: y(x)=1+x36+x6180+⋯y(x) = 1 + \frac{x^3}{6} + \frac{x^6}{180} + \cdots, so y(1)≈211180≈1.1722y(1) \approx \frac{211}{180} \approx 1.1722. The estimate is low by less than 0.00010.0001. This solution and a companion solution with y(0)=0y(0) = 0, y′(0)=1y'(0) = 1 form a basis. Ai⁡\operatorname{Ai} and Bi⁡\operatorname{Bi} are fixed linear combinations of the two.

Why It Matters

In quantum mechanics, Ai⁡\operatorname{Ai} gives the exact wavefunction for a particle in a uniform force field, such as a neutron bouncing in gravity. It also supplies the connection formulas in the WKB approximation near classical turning points. George Airy introduced the function in 1838 to explain the bright and dark bands near a rainbow, and it still describes light intensity near caustics in optics.

Common Mistakes

Mistake: Assuming Ai⁡(−x)\operatorname{Ai}(-x) also solves y′′=xyy'' = xy, or mixing up the sign in the equation.
Correction: The chain rule gives two factors of −1-1 in the second derivative, so d2dx2Ai⁡(−x)=−x Ai⁡(−x)\frac{d^2}{dx^2}\operatorname{Ai}(-x) = -x\,\operatorname{Ai}(-x). Thus Ai⁡(−x)\operatorname{Ai}(-x) solves y′′+xy=0y'' + xy = 0, not y′′−xy=0y'' - xy = 0. Always check which version of the equation a textbook uses before you match solutions.

Related Terms