Skip to content

Use the Gaussian unitary ensemble with NN eigenvalues and joint density

p(x1,…,xN)∝∏i<j(xi−xj)2exp⁡ ⁣[−N2∑ixi2]p(x_1,\dots,x_N)\propto \prod_{i\lt j}(x_i-x_j)^2\exp\!\left[-\frac N2\sum_i x_i^2\right]

relative to ∏idxi\prod_i dx_i. Set s=N2/3(xmax⁡−2)s=N^{2/3}(x_{\max}-2). The limiting cumulative probability is F2(s)F_2(s). For large positive ss, a small absolute error in the CDF can erase the right-tail probability 1−F2(s)1-F_2(s). A different Gaussian variance changes the centering and scale of the finite eigenvalues. Tracy and Widom, §I.A, Gaussian scaling to the Airy kernel, PDF

The Airy kernel acts on L2((s,∞),dx)L^2((s,\infty),dx). On a truncated interval [s,B][s,B], use quadrature nodes xix_i, weights wiw_i for Lebesgue measure, and the Airy kernel matrix KK at these nodes. Multiply it on both sides by the diagonal matrix with entries wi\sqrt{w_i}. If the eigenvalues of the weighted kernel are λj\lambda_j, approximate log⁡F2\log F_2 by summing log⁡(1−λj)\log(1-\lambda_j) with a small-argument logarithm. Recover the tail as −expm1⁡(log⁡F2)-\operatorname{expm1}(\log F_2). Independently solve q′′=xq+2q3q''=xq+2q^3 with q(x)∼Ai⁡(x)q(x)\sim\operatorname{Ai}(x) at positive infinity. The exact relation is log⁡F2(s)=−∫s∞(x−s)q(x)2 dx\log F_2(s)=-\int_s^\infty(x-s)q(x)^2\,dx. The unit Airy amplitude selects the required solution. Tracy and Widom, Eqs. (1.11), (1.12), (1.15), PDF · Bornemann, §§6–7, quadrature and kernel examples

For the leading asymptotic tail,

1−F2(s)∼e−4s3/2/316πs3/2(s→+∞).1-F_2(s)\sim\frac{e^{-4s^{3/2}/3}}{16\pi s^{3/2}}\quad(s\to+\infty).

One way to recover its coefficient is to use Ai⁡(x)2∼e−4x3/2/3/(4πx)\operatorname{Ai}(x)^2\sim e^{-4x^{3/2}/3}/(4\pi\sqrt x) in the small log-gap integral with factor x−sx-s. The effective endpoint width is 1/(2s)1/(2\sqrt{s}). The integral of the linear prefactor gives another factor 1/(4s)1/(4s).

ssTail from quadratureTail from nonlinear ODELeading formula’s relative excess
44.95791215×10−84.95791215\times10^{-8}4.95791215×10−84.95791215\times10^{-8}16.9%
63.81723266×10−123.81723266\times10^{-12}3.81723266×10−123.81723266\times10^{-12}9.49%
86.53356321×10−176.53356321\times10^{-17}6.53356321×10−176.53356321\times10^{-17}6.25%

These values use 48 Gauss nodes and upper endpoint 14, with a separate check at 32 nodes and endpoint 12. Both representations use the same continuum edge coordinates. At s=8s=8 rounding the CDF first and subtracting it from one cannot retain the quoted accuracy. For a finite random matrix the edge scaling error is a further effect. Run the determinant, ODE and cutoff comparisons (Python) · Quadrature formulas and tolerances

A trace bound when the tail is smaller than machine precision

Section titled “A trace bound when the tail is smaller than machine precision”

Let μ\mu be the trace of the Airy kernel on the full half-line. Its eigenvalues lie between zero and one and have finite sum μ\mu. Regard the gap product as the probability of no successes in independent Bernoulli trials with these probabilities. The union bound and the first two inclusion–exclusion terms give

0≤μ−[1−F2(s)]≤∑i<jλiλj≤12μ2.0\le\mu-[1-F_2(s)]\le\sum_{i<j}\lambda_i\lambda_j \le\tfrac12\mu^2 .

The bounds pass from any finite truncation to the trace-class limit. The Airy kernel integral representation also gives μ\mu from a single positive integral,

μ=∫s∞(x−s)Ai⁡(x)2 dx.\mu=\int_s^\infty (x-s)\operatorname{Ai}(x)^2\,dx .

It follows by integrating the shifted squared Airy function on the kernel diagonal and exchanging the two integrals. At s=8s=8, quadrature gives μ≃6.53356321×10−17\mu\simeq6.53356321\times10^{-17}. Replacing the exact tail by its exact trace costs at most about 2.14×10−332.14\times10^{-33} here. This bound isolates the multiple-occupancy error. Errors in computing the trace and the difference between the finite-NN and limiting ensembles require separate estimates. Airy kernel integral representation, Tracy and Widom, §IV.B, Eq. (4.6), PDF

  • Folkmar Bornemann (2010). On the Numerical Evaluation of Fredholm Determinants. Mathematics of Computation 79 (2010), 871–915. Source
  • Craig A. Tracy and Harold Widom (1994). Level-Spacing Distributions and the Airy Kernel. Communications in Mathematical Physics 159 (1994), 151–174. Source