arXiv:2610.08701math.NAOct 2026

Manuscript Offprint

arXiv:2610.08701

Large Growth Happens: Gaussian Elimination with Partial Pivoting on Random Matrices

Daniel A. Spielman, Xifan Yu

Abstract

We prove that the probability that Gaussian elimination with partial pivoting on n×nn \times n random matrices has growth ρ\rho is at least inverse quasi-polynomial: Ω(exp⁡(−clog⁡2(ρ)log⁡(n)))\Omega(\exp(-c\log^2(\rho)\log(n))) for some constant c>0c > 0. This lower bound breaks standard conjectures in the smoothed and average-case analysis of Gaussian elimination. To the best of our knowledge, it is the first non-trivial lower bound on the probability of large growth for Gaussian random matrices.

1 Introduction

Despite the fact that it performs poorly in the worst case, Gaussian 1^{1} elimination with partial pivoting (GEPP) is the most commonly used algorithm to solve systems of linear equations in general dense matrices. Urschel [Urs25] writes

This procedure is known to be horribly unstable in the worst-case. Still, Gaussian elimination with partial pivoting remains the most popular method for solving an unstructured linear system numerically: the backslash “\” command in Matlab and Julia, and the linalg.solve() command in Python, all employ this method (by calling LAPACK routines) when faced with an arbitrary matrix.

Researchers have tried to explain the success of GEPP by proving that it performs well on particular classes of matrices [Wil65], by extensive experimentation and reports of empirical success, and by experimental, heuristic, and rigorous analysis of its behavior on random matrices [TS90, TB97, DM07, HT24], and on slight random perturbations of arbitrary matrices [San04].

The way that GEPP fails is that it can produce highly inaccurate solutions. Since the foundational work of Wilkinson [Wil61, Wil65], it has been known that the relative error of the solution produced on n-dimensional systems is bounded by the product of machine precision, a polynomial in n, a condition number of the matrix, and the growth factor of GEPP on the matrix. While the

∗^{*}This research was partially supported by ONR Award N00014-24-12611.

†^{\dagger}Email: daniel.spielman@yale.edu.

1^{1}Email: xifan.yu@yale.edu.

1^{1}While we use the name Gaussian elimination, the algorithm is much older. The first reference of which we are aware appeared in the Chinese text “The Nine Chapters on the Mathematical Arts”.

first three terms are essentially unavoidable for every algorithm, the growth factor is where GEPP can fall short. It can be as large as 2n−12^{n-1} for n-dimensional matrices. This would be disastrous because standard machine precision is around 10−1610^{-16}, which would only be enough to solve systems in around 50 dimensions. While one could in theory use higher precision arithmetic, using Ω(n)\Omega(n) bits of precision to solve systems of dimension n would be prohibitively slow. Even though there exist slightly slower variants of Gaussian Elimination that are guaranteed to have small growth 2^{2}, GEPP is favored because it is faster and it is almost never observed to have large growth in practice. Algorithms based on the QR-factorization avoid the issue entirely, and only require a logarithmic number of bits.

Experimental explorations of the growth of GEPP on matrices of independent normal entries, beginning with work of MacLeod [Mac89] and carried out extensively by Schreiber and Trefethen [TS90], Edelman and Mascarenhas [EM95] and Driscoll and Maki [DM07], led to the conjecture that the probability of growth ρ\rho decreases exponentially in ρ\rho. Driscoll and Maki fit an exponential function to the density. Sankar, Spielman, and Teng [SST06] even conjectured this in the (more general) smoothed case: they conjectured that for every matrix A\mathbf{A} of norm one and a standard Gaussian random matrix R\mathbf{R}, the probability that A+σR\mathbf{A} + \sigma \mathbf{R} has growth at least ρ\rho decreases like nO(1)exp⁡(−Ω(ρcσ))n^{O(1)} \exp(-\Omega(\rho^{c}\sigma)), for some constant cc. Trefethen and Bau [TB97, Lecture 22] write “The density appears to decrease exponentially with ρ\rho,” and Trefethen and Schreiber say “Experiments leave little doubt that the tail decays exponentially.” We disprove these conjectures.

Theorem 2.2 says that the probability of growth at least ρ\rho is at least exp⁡(−345log⁡2(ρ)log⁡(n))\exp(-345\log^2(\rho)\log(n)). When combined with the known upper bounds, this result suggests to us that the growth rate has a distribution that is approximately log-normal.

Trefethen [Tre12] asks “For matrices with independent normally distributed entries, how fast does the probability of encountering a growth factor > ρ\rho decrease as a function of ρ\rho? Experiments show that it decreases exponentially, or at least faster than any inverse power of ρ/n1/2\rho/n^{1/2},” and then offers 1,000 for the proof of a conjecture that is both tighter and looser than the disproved conjectures: it is looser in that it only requires a sub-polynomial rate of decay, but it is tighter in that it specifies a sharp bound on the typical growth.

Conjecture 1.1 (Trefethen). For all positive constants ε\varepsilon and CC, and for all sufficiently large nn, the probability that an nn-by- nn matrix of independent N(0,1)\mathcal{N}(0,1) entries has growth greater than n1/2+εn^{1/2+\varepsilon} is at most n−Cn^{-C}.

The first significant upper bound on the growth of GEPP on random matrices was obtained by Sankar [San04] in the context of smoothed analysis: Sankar proved that the probability that a normal perturbation of variance σ2\sigma^2 of an arbitrary matrix of norm at most 1 has growth ρ\rho decreases at a rate proportional to (ρσ)−Ω(log⁡n)(\rho\sigma)^{-\Omega(\log n)}, after a quasi-polynomial typical value. For the case of matrices of independent N(0,1)\mathcal{N}(0,1) variables, Sankar's result says that the probability of growth exceeding ρ\rho is at most

nO(log⁡2n)ρ−Ω(log⁡n).n^{O(\log^{2}n)}\rho^{-\Omega(\log n)}.

Thus, Sankar’s bound satisfies the rate of Trefethen’s conjecture, but is off by a quasi-polynomial term in the typical value. It only guarantees that growth is unlikely to be larger than nO(log⁡n)n^{O(\log n)}. One caveat to Sankar’s result is that it is for the LU factorization obtained in exact arithmetic, and there is some chance that the growth obtained by floating point computation differs.

Huang and Tikhomirov [HT24] trade a better typical value for a worse decay rate, while obtaining bounds that hold under exact arithmetic and under floating point computation. Their result

2^{2}The growth of complete pivoting is at most 2O(log⁡2n)2^{O(\log^{2}n)} and was recently shown to be 2Ω(log⁡2n)2^{\Omega(\log^{2}n)} in the worst case[SU26].

says that there exists a constant C>1C > 1 so that for all p≥1p \geq 1 there exists a npn_p so that for n>npn > n_p, the probability of growth exceeding ntn^t is at most 5n−pt5n^{-pt}, provided that t≥Cp2t \geq Cp^2. This is the first result showing that the growth of GEPP is at most nO(1)n^{O(1)} with high probability. Beyond that, it decays at a sub-inverse polynomial rate. For any rate p≥1p \geq 1, it says that the probability of growth ρ\rho decays like ρ−p\rho^{-p} after ρ≥Ω(nCp2)\rho \geq \Omega(n^{Cp^2}).