Skip to content

At the upper soft edge of the Gaussian unitary ensemble, what is the limiting probability that the largest eigenvalue lies at or below the edge center? In Airy units the answer is F2(0)=0.969372828355F_2(0)=0.969372828355 to the digits tested below. A small matrix determinant already gives this value if its entries include the integration measure and the diagonal limit. An independent nonlinear differential equation lets us test those choices.

Required background. A reader should be able to diagonalize a positive matrix and distinguish a quadrature error from a domain cutoff. Here ss is the edge coordinate after the ensemble limit. For example, the GUE joint eigenvalue density in this convention is proportional to

exp⁡ ⁣(−N2∑iλi2)∏i<j(λi−λj)2.\exp\!\left(-\frac N2\sum_i\lambda_i^2\right) \prod_{i\lt j}(\lambda_i-\lambda_j)^2.

With this normalization the scaled maximum is N2/3(λmax⁡−2)N^{2/3}(\lambda_{\max}-2). Using finite unscaled eigenvalues as ss gives a different probability.

Turn an operator into a matrix with the right measure

Section titled “Turn an operator into a matrix with the right measure”

In a determinantal point process the probability of finding no points in an interval JJ is det⁡(I−KJ)\det(I-K_J), with the kernel restricted to L2(J,dx)L^2(J,dx) under the trace-class assumption used below. Inclusion–exclusion gives the signs. The mm-point correlation function is the determinant of the kernel sampled at mm points. Its integral over JmJ^m, divided by m!m!, enters with sign (−1)m(-1)^m. For the Airy process take J=(s,∞)J=(s,\infty). The gap event then means that the largest point is at most ss. Tracy and Widom, §I, PDF

First restrict to a finite interval [s,B][s,B]. With nodes xjx_j and positive weights wjw_j, the quadrature replaces integration in the second argument by a weighted sum. The resulting matrix has entries K(xi,xj)wjK(x_i,x_j)w_j. Conjugating by the diagonal matrix of square roots of the weights gives a symmetric matrix for a real symmetric kernel,

Mij=wiK(xi,xj)wj,DN=det⁡(IN−M).M_{ij}=\sqrt{w_i}K(x_i,x_j)\sqrt{w_j}, \qquad D_N=\det(I_N-M).

Expand DND_N in principal minors. Each subset of mm distinct nodes contributes the kernel minor times the product of its mm weights. This is precisely the product quadrature of the mm-fold Fredholm integral: the determinant vanishes for repeated nodes and the m!m! orderings cancel the factorial. It explains why deleting the weights cannot be fixed by increasing NN. On a fixed interval, Bornemann’s Theorem 6.2 bounds this quadrature error under smoothness or analyticity assumptions on the kernel; §7.2 specializes the construction to the Airy law. Bornemann, §§6–7, PDF

Set s=0s=0, K(x,y)=e−x−yK(x,y)=e^{-x-y} on [0,B][0,B]. This kernel acts by projection onto the direction e−xe^{-x} followed by multiplication by its squared norm. The only nonzero eigenvalue is ∫0Be−2xdx=(1−e−2B)/2\int_0^B e^{-2x}dx=(1-e^{-2B})/2. Hence

det⁡(I−K)=1+e−2B2.\det(I-K)=\frac{1+e^{-2B}}{2}.

The discrete matrix is vvTvv^\mathsf T with vi=wi e−xiv_i=\sqrt{w_i}\,e^{-x_i}. Its determinant is exactly 1−∑iwie−2xi1-\sum_i w_i e^{-2x_i} in exact arithmetic. This fixture isolates three separate operations: scaling the reference nodes to [0,B][0,B], applying the weights, and using the minus sign. At B=6B=6 it gives 0.5000030721060.500003072106 with 48 Gauss nodes. Taking 1/21/2 as the exact finite-interval target would falsely attribute a known tail to quadrature.

Evaluate the diagonal before forming the determinant

Section titled “Evaluate the diagonal before forming the determinant”

Write a(x)=Ai⁡(x)a(x)=\operatorname{Ai}(x). The Airy kernel off the diagonal and its continuous diagonal are

K(x,y)=a(x)a′(y)−a′(x)a(y)x−y,K(x,x)=a′(x)2−xa(x)2.K(x,y)=\frac{a(x)a'(y)-a'(x)a(y)}{x-y}, \qquad K(x,x)=a'(x)^2-xa(x)^2.

The diagonal follows by differentiating the numerator and denominator in yy, using a′′(x)=xa(x)a''(x)=xa(x). Assign it explicitly, including at x=0x=0 where it is positive. The identity K(x,y)=∫0∞a(x+t)a(y+t) dtK(x,y)=\int_0^\infty a(x+t)a(y+t)\,dt follows by integrating the Wronskian derivative. It gives a positive factorization. For finite ss the Airy decay at positive infinity makes the underlying factor Hilbert–Schmidt and the gap operator trace class. If close off-diagonal nodes cause cancellation, the same integral gives an alternative evaluation. Tracy and Widom, journal p. 165, Eq. (4.5), PDF

Here is the binary64 calculation at s=0s=0. Along a row only the quadrature changes. Down a column, moving the cutoff also spreads the nodes over a different interval.

BB12 nodes24 nodes48 nodes
60.9693728283600.9693728283590.969372828359
80.9693728286560.9693728283550.969372828355
100.9693728236590.9693728283550.969372828355

The larger box gives a worse result at order 12. For the exact gap probabilities at different cutoffs the nesting of events gives a separate tail bound: the difference is at most the probability of at least one point above BB, bounded by the expected number there, ∫B∞K(x,x) dx\int_B^\infty K(x,x)\,dx. This controls the neglected interval by a one-dimensional positive integral. For far-left thresholds, small gap probabilities demand relative precision and a log-determinant calculation with the actual eigenvalue gaps checked.

Two distinct nodes can still suffer cancellation

Section titled “Two distinct nodes can still suffer cancellation”

Consider an individual entry at x=1x=1 and y=1+hy=1+h. The quotient subtracts two products with almost equal values, then divides by hh. A test for exact equality of the nodes protects only the diagonal. For a local comparison differentiate K(x,x)=a′(x)2−xa(x)2K(x,x)=a'(x)^2-xa(x)^2 to get −a(x)2-a(x)^2. Symmetry gives half this derivative when only the second argument moves. Thus

K(x,x+h)=K(x,x)−12h a(x)2+O(h2).K(x,x+h)=K(x,x)-\tfrac12 h\,a(x)^2+O(h^2).

In binary64 on the tested implementation, at h=2−36h=2^{-36} the quotient gives 0.007025000.00702500, while the positive-tail integral gives 0.007023870.00702387. At h=2−44h=2^{-44} the quotient gives 0.007263180.00726318 and the integral still gives 0.007023870.00702387. The linear expansion agrees with the integral through the displayed digits at both separations. The exact last digits of the cancelled quotient depend on the Airy implementation. A two-node calculation (Python) reproduces the test before any determinant is formed. Use the integral when a close pair needs more accuracy than a local Taylor approximation supplies.

Recompute the same law by a nonlinear initial-value problem

Section titled “Recompute the same law by a nonlinear initial-value problem”

The independent representation at s=0s=0 is

q′′=xq+2q3,q(x)∼Ai⁡(x)(x→+∞),F2(0)=exp⁡ ⁣(−∫0∞xq(x)2 dx).q''=xq+2q^3,\qquad q(x)\sim\operatorname{Ai}(x)\quad(x\to+\infty), \qquad F_2(0)=\exp\!\left(-\int_0^\infty xq(x)^2\,dx\right).

The unit Airy amplitude selects the Hastings–McLeod solution. The determinant identity for this normalization is Tracy and Widom’s Eqs. (1.11)–(1.15) at λ=1\lambda=1. Set q(B)=a(B)q(B)=a(B), q′(B)=a′(B)q'(B)=a'(B), h(B)=0h(B)=0, integrate backwards with h′=xq2h'=xq^2, then take exp⁡h(0)\exp h(0). Moving BB changes both the approximate terminal data and the omitted integral. Tightening the ODE tolerance tests a different error source. Tracy and Widom, §I.C, PDF

At B=8B=8, relative tolerances 10−7,10−10,2×10−1310^{-7},10^{-10},2\times10^{-13} give 0.9693728285230.969372828523, 0.9693728283550.969372828355, 0.9693728283550.969372828355 with DOP853. Absolute tolerances for q,q′,hq,q',h are the relative tolerance times ∣a(B)∣/100|a(B)|/100, ∣a′(B)∣/100|a'(B)|/100 and a(B)2/100a(B)^2/100 respectively. At the tightest settings, moving BB from 6 to 8 changes 0.9693728284730.969372828473 to 0.9693728283550.969372828355. Moving it to 10 preserves the twelve displayed digits. At large positive BB the Airy data are extremely small, so increasing BB with loose absolute tolerance can make backward evolution less accurate. The program prints both refinement sequences, the rank-one controls and comparisons of the small right-tail probabilities. Download the reproducible calculation (Python)

  • F. Bornemann, “On the Numerical Evaluation of Fredholm Determinants,” Mathematics of Computation 79 (2010), 871–915. DOI
  • C. A. Tracy and H. Widom, “Level-Spacing Distributions and the Airy Kernel,” Communications in Mathematical Physics 159 (1994), 151–174. DOI