Algebra

Eigenvalues that keep their distance

Fill a large symmetric matrix with independent random numbers and its eigenvalues do something no list of independent numbers does: they refuse to crowd together. The reason is a count of conditions in a two-by-two matrix, and its consequences — a semicircle, gaps that vanish at nought, a spectrum almost as rigid as a lattice — reach from heavy nuclei to the zeros of the zeta function.

Worth reading first: Symmetry forces a right angle · The highest point on the sphere is an eigenvalue.

A symmetric matrix always has real eigenvalues and perpendicular directions to stretch along. Nothing in that theorem says where the eigenvalues go, and for a particular matrix they go wherever its entries put them. Fill the matrix with random numbers instead, independently and with no structure at all, and ask the same question of the result. The answer is not “anywhere”. The eigenvalues of a large random symmetric matrix keep their distance from one another, far more evenly than any set of independent points could, and the evenness is a theorem rather than an accident.

The figure below sets sixty-one consecutive eigenvalues from the middle of one random 400 × 400 matrix beside sixty-one points dropped independently on a line of the same length. Every entry of the matrix was an independent Gaussian number. Nothing was arranged.

Eigenvalues that will not crowd together. Unfolded spacings, eigenvalues: 0.36 1.52 1.15 0.88 1.23 1.13 0.34 0.75 2.05 0.65 1.66 0.64 1.07 1.01 0.86 1.23 0.69 1.30 0.77 0.94 0.99 0.71 0.92 2.49 0.32 1.07 0.62 1.34 0.07 0.51 0.98 2.25 0.64 0.78 0.35 0.95 1.36 1.89 0.21 0.79 0.46 0.84 1.12 1.52 0.96 0.65 1.09 0.29 1.30 1.06 1.83 1.50 0.28 0.43 1.19 1.01 0.52 1.54 1.51 1.56. Independent points: 0.34 0.01 0.31 3.72 0.25 2.29 0.98 2.14 1.99 0.54 0.15 0.58 0.96 0.22 0.26 1.11 0.04 0.38 0.55 0.74 0.89 0.11 1.47 0.52 0.06 2.11 1.29 3.04 0.44 0.28 2.49 3.97 0.87 1.04 0.83 0.77 0.79 0.69 1.76 1.82 0.14 0.07 1.03 0.88 1.05 0.37 0.06 0.82 0.70 1.72 0.90 1.24 0.32 0.25 1.07 0.55 1.59 3.23 0.36 0.40. Gaps under a quarter of the mean: 2 against 9.
Fig. 1 Above, sixty-one consecutive eigenvalues from the middle of the spectrum of one random symmetric 400 × 400 matrix, rescaled so that their average spacing is one. Below, sixty-one points placed independently and uniformly on the same stretch. Red marks show gaps less than a quarter of the average: two among the eigenvalues, nine among the independent points.

Independent points clump. That is not a defect of the sample; it is what independence means, since the position of one point says nothing about where the next will land, and a gap of any small size is as likely as the arithmetic of a uniform draw allows. The eigenvalues are spread more like the teeth of a comb. Their gaps vary about half as much as the independent points’ do, and near-collisions are rare. Something in passing from entries to eigenvalues has made the levels avoid one another, and the rest of this essay is what that something is and what it does at every scale of the spectrum.

A semicircle out of nothing but independence

The first question is the coarse one: over the whole spectrum, how are the eigenvalues spread? The matrices here have Gaussian entries, with variance one off the diagonal and two on it — the Gaussian orthogonal ensemble, named for the fact that its distribution is unchanged by any rotation of the coordinates. An n×nn \times n matrix of this kind has eigenvalues of size about n\sqrt n, and dividing by n\sqrt n puts every size on one scale.

Wigner's semicircle appearing. n=10: 0.002 0.010 0.026 0.056 0.094 0.142 0.162 0.232 0.176 0.242 0.250 0.254 0.254 0.304 0.314 0.294 0.284 0.278 0.330 0.298 0.316 0.324 0.298 0.302 0.322 0.264 0.306 0.290 0.262 0.228 0.204 0.210 0.212 0.162 0.084 0.100 0.056 0.030 0.008 0.006; n=50: 0.000 0.000 0.000 0.010 0.086 0.122 0.166 0.204 0.222 0.232 0.244 0.266 0.282 0.294 0.306 0.302 0.322 0.308 0.340 0.294 0.334 0.296 0.316 0.300 0.310 0.294 0.306 0.262 0.270 0.266 0.240 0.216 0.192 0.162 0.134 0.070 0.030 0.002 0.000 0.000; n=1000: 0.000 0.000 0.000 0.004 0.076 0.126 0.176 0.200 0.224 0.232 0.258 0.268 0.286 0.288 0.296 0.306 0.316 0.312 0.316 0.322 0.318 0.314 0.312 0.310 0.310 0.298 0.296 0.278 0.266 0.256 0.236 0.216 0.206 0.162 0.142 0.072 0.002 0.000 0.000 0.000; largest departure at n=1000 0.0088.
Fig. 2 The eigenvalues of random symmetric n × n matrices with independent Gaussian entries, divided by n\sqrt n, pooled over several matrices of each size, against Wigner’s semicircle 4−x2/2π\sqrt{4 - x^2}/2\pi. Ten-by-ten matrices already show the shape, with tails past ±2; at a thousand the histogram is within a hundredth of the curve in every bin.

The result is Eugene Wigner’s semicircle, 4−x2/2π\sqrt{4 - x^2}/2\pi on the interval from −2 to 2. Wigner found it in 1955 while looking for a model of the energy levels of heavy atomic nuclei, whose Hamiltonians were far too complicated to write down; his bet was that a matrix with random entries, respecting only the symmetry the physics demands, would reproduce the statistics of the levels if not the levels themselves. The bet paid off, and the semicircle was the first of its returns.

The proof runs through moments, and it is a counting argument. The average of x2kx^{2k} over the eigenvalues is tr⁡(A2k)/n\operatorname{tr}(A^{2k})/n divided by the right power of nn, and the trace of a power is a sum over closed walks of length 2k2k through the indices of the matrix. Because the entries are independent with mean nought, only walks that use every step at least twice survive the average, and among those, the ones that dominate as nn grows trace out a tree and come back. Trees of that kind are counted by the Catalan numbers, and the Catalan numbers are exactly the even moments of the semicircle. Nothing in the argument used the Gaussian shape of the entries — only their independence, mean and variance — so any such matrix gives the same semicircle. That insensitivity has a name, universality, and it is the reason random matrices are useful at all. It is the matrix version of what the bell curve does for sums of coin flips: the details of each ingredient are washed out, and only their mean and spread survive into the answer.

The same counting, applied to a rectangular matrix of random numbers, gives the spread of its singular values — the axes of the ellipse it makes of a circle — and the answer, found by Vladimir Marchenko and Leonid Pastur in 1967, is a different curve with the same origin. It is the reason a covariance matrix estimated from fewer samples than variables has eigenvalues spread far wider than the true ones, even when every true variance is one.

The same curve has turned up elsewhere for different reasons. The first coordinate of a random rotation’s quaternion is spread by exactly this semicircle, because a slice of the three-sphere grows like a square root. Here there is no sphere; the curve comes from trees.

Discs drawn too large by the square root of the size

There is an older way to say where eigenvalues lie, and the random matrices show exactly how blunt it is. Gershgorin’s discs put every eigenvalue within a disc around a diagonal entry, with radius the sum of the sizes of the other entries in its row. For a random n×nn \times n matrix of this kind, each row’s off-diagonal entries have average size 2/π\sqrt{2/\pi}, so every disc has radius about 0.8 n0.8\,n. The eigenvalues actually lie within 2n2\sqrt n. For a thousand-square matrix the discs allow eigenvalues as large as eight hundred, and the largest is about sixty-three.

The discs are not wrong, only pessimistic, and the reason is signs. Gershgorin’s bound adds the sizes of the entries, as though every one of them pushed the same way; the eigenvalue sees the entries with their signs, and a thousand random signs mostly cancel, leaving a sum of order n\sqrt n rather than nn. The directions a map leaves alone are made from the entries jointly, and for a random matrix the joint effect is the square-root cancellation of a random walk, not the worst-case sum. The semicircle’s edge at 2n2\sqrt n is that cancellation measured exactly.

Why two eigenvalues avoid each other

The semicircle says how dense the eigenvalues are and nothing about how they sit next to one another. The repulsion visible in the first figure is a different fact, and it can be seen completely in a two-by-two matrix.

A symmetric matrix (abbc)\begin{pmatrix} a & b \\ b & c \end{pmatrix} has eigenvalues 12(a+c±(a−c)2+4b2)\tfrac12\left(a + c \pm \sqrt{(a - c)^2 + 4b^2}\right), so the gap between them is (a−c)2+4b2\sqrt{(a - c)^2 + 4b^2}. That is a distance in a plane, the plane with coordinates a−ca - c and 2b2b, and the two eigenvalues coincide only at a single point of that plane — where a=ca = c and b=0b = 0. One coincidence is not enough. Two independent numbers have to vanish together.

A tie between two eigenvalues needs two coincidences. Mean gap 2.5106 against 2√(π/2) = 2.5066. Gap densities by bin, symmetric: 0.030 0.092 0.150 0.194 0.243 0.271 0.289 0.302 0.301 0.289 0.277 0.259 0.235 0.202 0.168 0.148 0.126 0.102 0.084 0.065; diagonal: 0.402 0.387 0.380 0.363 0.340 0.315 0.291 0.255 0.221 0.193 0.173 0.143 0.118 0.100 0.074 0.064 0.046 0.038 0.027 0.020.
Fig. 3 Left: nine hundred random symmetric 2 × 2 matrices, plotted at (a − c, 2b). The gap between the two eigenvalues is the distance from the centre, and the eigenvalues are equal only at the centre itself. Right: the gap’s density over forty thousand matrices, against a diagonal matrix with the same diagonal entries, whose gap is |a − c|.

With Gaussian entries the point (a−c,2b)(a - c, 2b) is a symmetric Gaussian cloud in the plane, and the chance that it lands within ss of the centre is proportional to the area of a disc of radius ss — proportional to s2s^2 for small ss. The gap’s density is therefore a Rayleigh law, (s/4)e−s2/8(s/4)e^{-s^2/8} for these variances, which is nought at a gap of nought and rises linearly from there. Its mean is 2π/2≈2.5072\sqrt{\pi/2} \approx 2.507; the forty thousand matrices in the figure give 2.511.

A diagonal matrix has no bb, and then the gap is ∣a−c∣|a - c|, the distance from the centre along a line. A line has no area to speak of, the chance of a gap under ss is proportional to ss itself, and the density is largest at nought. The whole difference between the two curves in the figure, the one vanishing at nought and the other peaking there, is the difference between one condition and two.

For larger symmetric matrices the count grows. A repeated eigenvalue of a real symmetric matrix costs two conditions; of a complex Hermitian matrix, three, because the off-diagonal entry has two real parts; of a quaternion matrix, five. Freeman Dyson’s threefold way of 1962 sorted random matrices by exactly this count, and it reappears as the exponent of the repulsion: the gap density near nought grows like ss, s2s^2 or s4s^4.

Curves that veer instead of crossing

The same count says something about matrices that change smoothly rather than randomly. Let a symmetric matrix depend on one parameter tt. Its eigenvalues trace curves as tt moves, and the question is whether two curves can cross.

Eigenvalues that veer instead of crossing. Crossings in the diagonal family: 8; smallest gap 0.00013 without coupling, 0.0121 with coupling 0.12.
Fig. 4 The seven eigenvalues of a symmetric 7 × 7 matrix that changes with a parameter t. Left: a diagonal matrix whose entries move linearly, so the eigenvalues are the entries themselves, and eight pairs of curves cross. Right: the same matrix with a small fixed random symmetric matrix added; every crossing has opened into a near miss.

For a diagonal matrix the eigenvalues are the diagonal entries, and two straight lines with different slopes cross. Add any small symmetric coupling between the entries and the crossings vanish. Each near miss is a small two-by-two problem embedded in the large one: as the two curves approach, the matrix restricted to their two directions has a gap (a−c)2+4b2\sqrt{(a - c)^2 + 4b^2} in which a−ca - c passes through nought as tt moves but the coupling bb generally does not. One parameter can arrange one coincidence and almost never two.

John von Neumann and Wigner stated this in 1929 as the non-crossing rule for quantum energy levels: as a molecule’s geometry changes along one coordinate, levels of the same symmetry repel and avoid each other, and only levels that a symmetry keeps from interacting — forcing b=0b = 0 exactly — may cross. The diagonal family on the left is the case of perfect symmetry, where every coupling is forbidden. The picture also explains the eigenvalue landscapes of the min–max description, in which every eigenvalue is a saddle height: two saddles merging needs two things to happen at once.

A random matrix is, in effect, a matrix that has been pushed around in every direction at once, and its levels have had every opportunity to veer apart. That is the intuition behind the comb in the first figure, and the next figure measures it in a large spectrum.

The gaps in a large spectrum

To compare gaps in different parts of the semicircle, where the eigenvalues are packed at different densities, each gap is divided by the local average gap, a step called unfolding. After it every part of the spectrum has average spacing one, and the shape of the spacing distribution can be read directly.

Gaps that vanish at nought. Spacing densities by bin, eigenvalues: 0.085 0.268 0.377 0.548 0.610 0.637 0.765 0.742 0.752 0.730 0.672 0.573 0.562 0.443 0.463 0.367 0.287 0.280 0.182 0.153 0.110 0.095 0.070 0.080 0.047 0.023 0.022 0.022 0.005 0.013; independent: 0.888 0.907 0.895 0.697 0.630 0.555 0.472 0.458 0.440 0.367 0.352 0.340 0.280 0.243 0.228 0.218 0.175 0.193 0.145 0.133 0.135 0.108 0.090 0.083 0.095 0.080 0.083 0.067 0.073 0.048. Mean 1.0023, variance 0.2979, share under 0.1: 0.0085 against 0.0888.
Fig. 5 The gaps between neighbouring eigenvalues in the middle half of the spectrum of sixty random symmetric 200 × 200 matrices, six thousand gaps in all, each rescaled so that the average gap is one, against the same rescaled gaps of independent samples. Dashed: Wigner’s surmise and the exponential law.

Independent points have exponentially distributed gaps, with density e−se^{-s}: largest at nought, so that nearly nine per cent of gaps are under a tenth of the average. The eigenvalues’ gaps rise from nought like a straight line, exactly as the two-by-two matrix said, and fewer than one in a hundred are under a tenth of the average.

In 1956, with no exact theory for large matrices, Wigner guessed that the large-matrix spacing law would look like the two-by-two one rescaled to mean one, (πs/2)e−πs2/4(\pi s/2)e^{-\pi s^2/4}, and the guess is still called Wigner’s surmise. It is not exactly right. The exact law for large matrices was found by Michel Gaudin and Madan Lal Mehta in the early 1960s as a determinant of an integral operator, and it differs from the surmise by at most a few per cent of its height — small enough that the histogram here cannot tell them apart in shape, though the variance of the gaps, 0.298 against the surmise’s 4/π−1=0.2734/\pi - 1 = 0.273, shows the difference.

The surmise’s success says that the repulsion is essentially local. Two neighbouring eigenvalues feel each other as though they were alone in a two-by-two matrix, and the remaining hundreds act mainly to set the scale.

Counting eigenvalues in a window

Local repulsion has a global consequence. If every eigenvalue keeps its neighbours at a distance, the whole sequence cannot bunch or thin out much over long stretches either, and the number of eigenvalues in a long window should hardly vary.

A spectrum almost as rigid as a lattice. L=1: eigenvalues 0.445, independent 1.04, prediction 0.442; L=2: eigenvalues 0.565, independent 2.02, prediction 0.583; L=4: eigenvalues 0.753, independent 3.79, prediction 0.723; L=8: eigenvalues 0.844, independent 7.66, prediction 0.863; L=16: eigenvalues 1.026, independent 14.04, prediction 1.004; L=32: eigenvalues 1.162, independent 27.78, prediction 1.144.
Fig. 6 The variance of the number of points in a window of length L, measured in average gaps, for the unfolded eigenvalues of forty random symmetric 400 × 400 matrices and for independent uniform points. Both axes are logarithmic. Dashed: Dyson and Mehta’s prediction for large matrices, and the line where the variance equals L.

For independent points the count in a window is Poisson, and its variance equals its mean: a window holding thirty-two points on average typically holds between twenty-six and thirty-eight. For the eigenvalues the variance grows only like the logarithm of the window, (2/π2)log⁡L(2/\pi^2)\log L plus a constant, and a window of thirty-two holds thirty-two give or take one. Dyson and Mehta worked out this number variance in 1963, and the measurements sit on their curve at every window from one gap to thirty-two.

A crystal lattice, with points exactly one unit apart, would have a count that never varies by more than one. The spectrum is nearly that rigid. The physical picture Dyson gave is a gas of charged particles on a line, every pair repelling with an energy equal to minus the logarithm of their distance, all held in by a parabolic wall: the joint density of the eigenvalues of these matrices is exactly the Boltzmann weight of such a gas, ∏i<j∣λi−λj∣ e−∑λi2/4\prod_{i<j}|\lambda_i - \lambda_j|\, e^{-\sum \lambda_i^2/4}, and the product of distances is the repulsion written as a formula. The factor ∣λi−λj∣|\lambda_i - \lambda_j| to the first power is the same one-power that made the two-by-two gap density vanish linearly.

Where the spectrum ends

The semicircle says the eigenvalues fill [−2n,2n][-2\sqrt n, 2\sqrt n], but a finite matrix has a largest eigenvalue that need not sit at the edge exactly. How far it strays, and how quickly it settles, is a question about the extreme rather than the bulk, and it has an answer of its own.

The largest eigenvalue finds the edge. n=10: mean 1.7237, sd 0.2746 over 200; n=30: mean 1.8577, sd 0.1376 over 200; n=100: mean 1.9324, sd 0.0609 over 200; n=300: mean 1.9707, sd 0.0280 over 200; n=1000: mean 1.9872, sd 0.0125 over 200; n=3000: mean 1.9935, sd 0.0062 over 200; n=10000: mean 1.9975, sd 0.0028 over 200; full against tridiagonal at n=60: 14.776 and 14.935.
Fig. 7 The largest eigenvalue of random symmetric n×nn \times n matrices, divided by n\sqrt n, for nn from 10 to 10,000, two hundred matrices of each size. The bar marks each column’s mean, and the number below it is the standard deviation. The larger sizes use Dumitriu and Edelman’s tridiagonal matrices, whose eigenvalues have the same law as the full matrices’.

Two numerical facts make the larger sizes possible. Ioana Dumitriu and Alan Edelman showed in 2002 that a symmetric matrix with only three non-zero diagonals — Gaussian numbers down the middle and the square roots of chi-squared variables beside them — has eigenvalues with exactly the same joint law as the full random matrix. And the largest eigenvalue of such a matrix can be found by bisection, counting how many eigenvalues lie below a trial value from a single pass down the diagonal, without computing the others. Together they turn a ten-thousand-square matrix into a calculation of a few milliseconds, and the figure checks the tridiagonal model against a hundred and fifty full matrices before trusting it.

The largest eigenvalue approaches the edge from below and its spread shrinks like n−2/3n^{-2/3} in these units — a factor of about two for every eightfold increase in size, far faster than the n−1/2n^{-1/2} an average of independent quantities would give. Craig Tracy and Harold Widom found the limiting shape of the fluctuations in 1994 and 1996, and their law has mean −1.2065 and standard deviation 1.2680 after scaling. At n=10,000n = 10{,}000 that predicts 1.9974 ± 0.0027, and the two hundred matrices give 1.9975 ± 0.0028. The Tracy–Widom law has since turned up far from matrices — in the longest increasing run in a random shuffle, in the height of a growing crystal surface — wherever a maximum is taken over strongly correlated quantities. The same edge governs graphs. For the adjacency matrix of a random graph in which every point has dd neighbours, the eigenvalues fill a curve of their own, the Kesten–McKay law, and Joel Friedman proved in 2008 that all but the trivial top eigenvalue lie within a hair of ±2d−1\pm 2\sqrt{d - 1}. That gap below the top is what sets how fast a random walk forgets its start, and it is why random regular graphs mix about as fast as any graph of their degree can.

What a sample of matrices cannot settle

Every number on this page is measured on finitely many finite matrices, and two different kinds of claim sit behind them. The semicircle, the Rayleigh law for two-by-two gaps, the non-crossing rule and the Tracy–Widom limit are theorems; the figures show them emerging and check them, and could not have established them. The agreement of six thousand gaps with the surmise to a few per cent says nothing about whether the surmise is exact — it is not, and the histogram is too coarse to show why.

Universality is the subtler limitation. All the matrices here have Gaussian entries, and the statement that the local statistics are the same for other entries — independent coin flips, say — was conjectured by Wigner, Dyson and Mehta and proved only around 2010, by László Erdős, Benjamin Schlein and Horng-Tzer Yau and independently by Terence Tao and Van Vu. The figures cannot show it, because they never left the Gaussian case.

And the unfolding step that makes gaps comparable used the semicircle as the local density. For a finite matrix that is an approximation, and its error is part of every measured gap; it is why only the middle half of each spectrum is used, where the semicircle is flattest and the approximation best.

Still open: why chaos sounds like a random matrix

The surprising part of the story is where these statistics turn up. In 1972 Hugh Montgomery, studying the zeros of the Riemann zeta function, found a formula for how pairs of zeros are spaced; over tea at Princeton, Dyson recognised it as the pair correlation of the eigenvalues of random Hermitian matrices. Andrew Odlyzko’s computations of millions of zeros at enormous heights later matched the zeros that count the primes to random-matrix spacing statistics with startling precision. Why the zeros of a function defined by the primes should behave like the eigenvalues of a random matrix is not known; Montgomery’s conjecture itself remains unproved.

The other surprise is in physics. In 1984 Oriol Bohigas, Marie-Joya Giannoni and Charles Schmit conjectured that the energy levels of any quantum system whose classical motion is chaotic — a particle bouncing in a stadium-shaped room, say — follow random-matrix statistics, while systems with orderly classical motion follow independent-point statistics instead. Overwhelming numerical evidence supports it. No proof exists, for any particular chaotic system, that its spacing distribution is the random-matrix one, and the conjecture is one of the central open problems connecting classical chaos to quantum mechanics.

Distance kept by counting conditions

A tie between two eigenvalues of a symmetric matrix costs two conditions, not one. For a random matrix that makes a small gap rare in proportion to its square; for a matrix moving with one parameter, it turns every crossing into a near miss; for the whole spectrum, it produces the comb, the rigid count and the sharp edge. The semicircle is a separate fact, about trees in a sum over walks, and the two together describe a large random symmetric matrix completely enough that its eigenvalues have become a model for anything whose levels repel — nuclei, chaotic billiards and, for reasons nobody understands, the zeros of the zeta function.