betaFeedback

WorksMathematics

On the Growth Factor of Random Matrices

Abstract

Gaussian elimination is the oldest and most popular method for solving a linear system. Its numerical stability for a given matrix is controlled by the growth factor, a measure of how large entries can become during elimination. In this work, we prove a number of new results regarding the growth factor of random matrices. First, we provide tight estimates for the growth factor of a matrix preconditioned by a Haar orthogonal matrix without pivoting and characterize the asymptotic distribution of the growth factor of Gaussian matrices without pivoting. Second, and most notably, we prove that the growth factor of an n×nn \times n Gaussian matrix under partial pivoting is rarely much larger than n\sqrt{n}, resolving an old conjecture of Nick Trefethen. The same techniques used to prove this conjecture also provide an improved smoothed analysis of the growth factor under partial pivoting.

Introduction

Gaussian elimination is the premier technique for solving a linear system Ax=bAx=b, by factoring AA into the product of a lower and upper triangular matrix. In particular, given an n×nn \times n matrix AA with non-zero leading principal minors, the procedure performs a series of rank-one transformations

A→A/A[1],[1]→A/A[2],[2]→⋯→A/A[n−1],[n−1].A \to A/A_{[1],[1]} \to A/A_{[2],[2]} \to\cdots\to A/A_{[n-1],[n-1]}.

The resulting LU factorization is encoded in the first row and column of the iterates A/A[k],[k]A/A_{[k],[k]},

Lek+1=[0(A/A[k],[k])−1(A/A[k],[k])e1]andek+1TU=[0e1T(A/A[k],[k])],(1)L e_{k+1} = \begin{bmatrix} 0 \\ (A/A_{[k],[k]})^{-1}(A/A_{[k],[k]})e_1 \end{bmatrix} \qquad\text{and}\qquad e_{k+1}^{T}U = \begin{bmatrix} 0 & e_1^{T}(A/A_{[k],[k]}) \end{bmatrix}, \tag*{(1)}

where M/XM/X is the Schur complement of MM with respect to the submatrix XX, and [n]={1,…,n}[n]=\{1,\ldots,n\}. While this algorithm is exact in exact arithmetic, issues may still arise in finite precision due to the accumulation of round-off error. The error in Gaussian elimination in finite precision is controlled by the growth factor

growth⁡(A)=max⁡{∥L∥max⁡,∥U∥max⁡∥A∥max⁡}.\operatorname{growth}(A)=\max\left\{\lVert L\rVert_{\max},\frac{\lVert U\rVert_{\max}}{\lVert A\rVert_{\max}}\right\}.

where ∥⋅∥max⁡\lVert\cdot\rVert_{\max} is the maximum magnitude entry. If growth⁡(A)\operatorname{growth}(A) is not too large, then the LU factorization is stable1 (e.g., roughly log⁡(ngrowth⁡(A))\log(n\operatorname{growth}(A)) bits of precision suffice); see [8 Theorem 9.3 & Lemma 9.6].

for details. For this reason, a great deal of research regards the behavior of the growth factor under various pivoting and preconditioning strategies.

Partial Pivoting

Partial Pivoting. Gaussian elimination with partial pivoting is the standard linear system solver in nearly every programming language, including the numpy.linalg.solve in Python and the backslash command for a general matrix in Matlab and Julia. The partial pivoting procedure is a greedy rule for reordering rows during elimination to avoid creating large entries. In particular, at each step of elimination, the first row is (possibly) swapped with another, so that the largest magnitude entry in the first column lies in the first row. While algorithmically this is done iteratively, it is represented mathematically by left-multiplication by a single permutation matrix PP that satisfies

∣((PA)/(PA)[k],[k])11∣=∥(PA)/(PA)[k],[k]e1∥∞for k=0,1,…,n−1.(2)\left|((PA)/(PA)_{[k],[k]})_{11}\right| = \left\|(PA)/(PA)_{[k],[k]}e_1\right\|_\infty\qquad\text{for } k=0,1,\ldots,n-1. \tag*{(2)}

Let Π(⋅):GLn(R)→GLn(R)\Pi(\cdot):\mathrm{GL}_n(\mathbb{R})\to\mathrm{GL}_n(\mathbb{R}) denote the partial pivoting map, which left-multiplies a non-singular matrix AA by the permutation matrix satisfying (2). If there are multiple, Π(⋅)\Pi(\cdot) breaks ties at each stage of elimination by choosing the eligible row with smallest index in the current row ordering. However, in this paper, such ambiguities occur with probability zero.

The growth factor under partial pivoting can be exponentially large. A fairly simple doubling argument shows that the growth factor under partial pivoting is at most 2n−12^{n-1}. In 1961, Wilkinson produced a matrix construction that achieves this quantity in every dimension [27]. In spite of this, the relatively low computational cost and memory access requirements for implementing the partial pivoting rule (2), and the apparent rarity of a large growth factor, have made Gaussian elimination with partial pivoting the preferred method for solving a linear system. In an attempt to provide an explanation for this apparent rarity, Trefethen and Schreiber performed an empirical average-case analysis of Gaussian elimination under various pivoting strategies [23]. A matrix G∈Rm×nG \in\mathbb{R}^{m\times n} is said to be Gaussian if its entries are independent standard normal random variables. Inspired by their analysis, Edelman performed further numerical experiments for Gaussian matrices under partial pivoting. He noted that the growth factor appeared to grow like n12n^{\frac{1}{2}}, but remarked that “proving such a result to be true is probably very difficult” [5]. Trefethen also observed this behavior and made the following conjecture, first at the 1995 International Congress on Industrial and Applied Mathematics, and then in his 1997 text Numerical Linear Algebra, coauthored with David Bau [22 pg. 169].

Conjecture 1.1 (Trefethen, [22 pg. 169]). Let G∈Rn×nG \in\mathbb{R}^{n\times n} be a Gaussian matrix and Π(⋅)\Pi(\cdot) be the partial pivoting map. For any α,M>0\alpha, M > 0,

P[growth⁡(Π(G))>n12+α]<n−M\mathbb{P}\left[\operatorname{growth}(\Pi(G)) > n^{\frac{1}{2}+\alpha}\right] < n^{-M}

for all nn sufficiently large.

Trefethen later offered $1000 for a resolution of Conjecture 1.1 [24]. The numerical evidence for this conjecture is overwhelming; see [22, Figures 22.1 & 22.2] and their improvement in [4]. The mathematical progress has been made on two fronts. First, Trefethen himself claimed an unpublished proof of the needed bound for the last pivot ∣Unn∣|U_{nn}| [24], which was released 14 years later, in parallel with this manuscript [21]. Second, Huang and Tikhomirov proved that a Gaussian matrix under partial pivoting has growth at most ncn^c with high probability, for a large unspecified constant cc [10].

Another approach aimed at the stability of partial pivoting is smoothed analysis, which considers the performance of an algorithm under small random perturbations to the input. Sankar proved that any matrix plus a small Gaussian perturbation, A+ϵGA+\epsilon G where ∥A∥2≤1\|A\|_2 \le1, has growth factor under partial pivoting bounded by (n/ϵ)O(log⁡n)(n/\epsilon)^{O(\log n)} with high probability [17]. For more information regarding Gaussian elimination with partial pivoting, we refer the reader to [22, 25].

Alternatives to Partial Pivoting

Complete pivoting has a growth factor which is only quasipolynomial; see [1, 6, 19, 27] for details. However, due to the additional computational complexity required, partial pivoting remains preferred in practice. Demmel, Grigori, and Rusciano considered the benefits of avoiding pivoting altogether, by preconditioning a matrix via pre- and post-multiplication by a Haar orthogonal matrix. They proved that, for any A∈GLn(R)A \in\mathrm{GL}_n(\mathbb{R}), the expected log growth factor of Q1AQ2Q_1AQ_2, for independent Q1,Q2∼Haar⁡(O(n))Q_1,Q_2 \sim\operatorname{Haar}(\mathrm{O}(n)), is O(log⁡n)O(\log n) [3 Corollary 5.19]. Butterfly matrices have also been considered as a potential preconditioner to limit growth [14, 15] and have the benefit of being easier to apply. More generally, the possibility of avoiding pivoting or preconditioning altogether has been considered for certain random matrix models. For instance, Yeung and Chan proved probabilistic bounds on ∥U∥∞/∥A∥∞\lVert U\rVert_\infty/\lVert A\rVert_\infty and ∥L∥∞\lVert L\rVert_\infty for a Gaussian matrix without pivoting [28]. This analysis was tightened and generalized to the smoothed analysis setting by Sankar, Spielman, and Teng [18]. In particular, for Gaussian elimination without pivoting A+ϵG=LUA+\epsilon G=LU, with ∥A∥2≤1\lVert A\rVert_2\le1 and ϵ∈(0,1)\epsilon\in(0,1), they proved that

P[∥L∥∞>x]≲n2ϵ2(1ϵ+log⁡n)\mathbb{P}\left[\lVert L\rVert_\infty>x\right]\lesssim\frac{n^2}{\epsilon^2}\left(\frac{1}{\epsilon}+\sqrt{\log n}\right)

and

P[∥U∥∞∥A+ϵG∥∞>1+x]≲1xmin⁡{n2ϵ,n32+n12ϵ2}.\mathbb{P}\left[\frac{\lVert U\rVert_\infty}{\lVert A+\epsilon G\rVert_\infty}>1+x\right]\lesssim\frac{1}{x}\min\left\{\frac{n^2}{\epsilon},n^{\frac{3}{2}}+\frac{n^{\frac{1}{2}}}{\epsilon^2}\right\}.

Somewhat remarkably, even matrices with entries sampled independently from a non-degenerate discrete distribution with finite support have a polynomial growth factor with constant probability [11].

Our Contributions

Here we prove a number of results regarding the growth factor of random matrices, both without pivoting and with partial pivoting. First, we prove an upper bound on the growth factor of a matrix left-multiplied by a Haar orthogonal matrix without pivoting.

Theorem 1.2. Let A∈GLn(R)A\in\mathrm{GL}_n(\mathbb{R}) and Q∼Haar⁡(O(n))Q\sim\operatorname{Haar}(\mathrm{O}(n)). Then

P[growth⁡(QA)>14n32log⁡(en)δ]<δfor all δ∈(0,1).\mathbb{P}\left[\operatorname{growth}(QA)>\frac{14n^{\frac{3}{2}}\sqrt{\log(en)}}{\delta}\right]<\delta\qquad\text{for all }\delta\in(0,1).

The 32\frac{3}{2} exponent in the previous theorem is tight for any non-adaptive orthogonal preconditioner, illustrated by the asymptotic distribution of the growth factor of a Gaussian matrix without pivoting.

Theorem 1.3. Let G∈Rn×nG\in\mathbb{R}^{n\times n} be a Gaussian matrix. Then n−32growth⁡(G)→dXn^{-\frac{3}{2}}\operatorname{growth}(G)\xrightarrow{d}X, where X∼InvExp⁡(23π)X\sim\operatorname{InvExp}\left(\frac{2}{3\sqrt{\pi}}\right), i.e., Pr⁡[X≤x]=e−32πx\Pr[X\le x]=e^{-\frac{3}{2\sqrt{\pi x}}} for x>0x>0.

Numerical experiments suggest that this convergence occurs quite rapidly, even for small values of nn; see Figure 1. While Theorems 1.2 and 1.3 are fairly straightforward to prove, the results themselves provide further context for the situation regarding partial pivoting, the main focus of this work. In particular, we note that orthogonal preconditioning, a reasonable alternative to partial pivoting, produces a larger growth factor than one expects to see with partial pivoting when applied to a Gaussian matrix. Furthermore, the tails of the bounds decay inverse polynomially, which is slower than one expects for partial pivoting. The following theorem, our main result, proves that the growth factor of a Gaussian matrix is at most n12+o(1)n^{\frac{1}{2}+o(1)} with overwhelming probability, that is, 1−n−α1-n^{-\alpha} for any α\alpha.

Empirical and theoretical distributions of the scaled growth factor

Figure 1. We compare the empirical distribution of one million samples of n−3/2growth⁡(G)n^{-3/2}\operatorname{growth}(G), the scaled growth factor of a Gaussian matrix without pivoting, for n=64n=64, to the distribution of an inverse exponential with rate 2/(3π)2/(3\sqrt{\pi}). In Figure (A), we compare their distributions directly, which are indistinguishable to the human eye. In Figure (B), we plot the difference. The KS distance is 2.8×10−32.8 \times10^{-3}, illustrating the rapid practical convergence that occurs even for small nn. Unlike the scaled growth factor of a Gaussian matrix under partial pivoting, n−1/2growth⁡(Π(G))n^{-1/2}\operatorname{growth}(\Pi(G)), which we prove is no(1)n^{o(1)} with overwhelming probability, n−3/2growth⁡(G)n^{-3/2}\operatorname{growth}(G) is nΘ(1)n^{\Theta(1)} with probability n−O(1)n^{-O(1)}. The empirical difference in tail distribution between no pivoting and partial pivoting is made readily apparent by comparing the above Figure (A) to Figure 2.

Theorem 1.4. For every α>0\alpha>0, there exist constants Cα,nαC_\alpha,n_\alpha such that

P[growth⁡(Π(G))>neCαlog⁡n]<n−αfor all n≥nα,\mathbb{P}\left[\operatorname{growth}(\Pi(G))>\sqrt{n}e^{C_\alpha\sqrt{\log n}}\right]<n^{-\alpha}\qquad\text{for all }n\ge n_\alpha,

where G∈Rn×nG\in\mathbb{R}^{n\times n} is a Gaussian matrix and Π(⋅)\Pi(\cdot) is the partial pivoting map.

Theorem 1.4 implies Trefethen’s Conjecture 1.1, as elog⁡n=o(nc)e^{\sqrt{\log n}}=o(n^c) for all c>0c>0. The 12\frac{1}{2} exponent in the theorem is correct, as log⁡∥G∥max⁡=o(log⁡n)\log\lVert G\rVert_{\max}=o(\log n) and, by [13], log⁡∥U∥max⁡≥log⁡(∣det⁡(G)∣1n)≥12log⁡n−O(1)\log\lVert U\rVert_{\max}\ge\log\left(\lvert\det(G)\rvert^{\frac{1}{n}}\right)\ge\frac{1}{2}\log n-O(1) with probability 1−o(1)1-o(1). This, combined with Theorem 1.4, implies the following.

References

  1. [1]Ankit Bisain, Alan Edelman, and John Urschel. A new upper bound for the growth factor in Gaussian elimination with complete pivoting. Bulletin of the London Mathematical Society, 57(5):1369–1387, 2025.arxiv.org/abs/2312.00994
  2. [2]Sanjoy Dasgupta and Anupam Gupta. An elementary proof of a theorem of Johnson and Lindenstrauss. Random Structures & Algorithms, 22(1):60–65, 2003.DOI
  3. [3]James Demmel, Laura Grigori, and Alexander Rusciano. An improved analysis and unified perspective on deterministic and randomized low-rank matrix approximation. SIAM Journal on Matrix Analysis and Applications, 44(2):559–591, 2023.DOI
  4. [4]Tobin A Driscoll and Kara L Maki. Searching for rare growth factors using multicanonical Monte Carlo methods. SIAM Review, 49(4):673–692, 2007.DOI
  5. [5]Alan Edelman and Walters Mascarenhas. On the complete pivoting conjecture for a Hadamard matrix of order 12. Linear and Multilinear Algebra, 38(3):181–187, 1995.
  6. [6]Alan Edelman and John Urschel. Some new results on the maximum growth factor in Gaussian elimination. SIAM Journal on Matrix Analysis and Applications, 45(2):967–991, 2024.arxiv.org/abs/2303.04892
  7. [7]Nathan Halko, Per-Gunnar Martinsson, and Joel A Tropp. Finding structure with randomness: Probabilistic algorithms for constructing approximate matrix decompositions. SIAM Review, 53(2):217–288, 2011.arxiv.org/abs/0909.4061
  8. [8]Nicholas J Higham. Accuracy and stability of numerical algorithms. SIAM, 2 edition, 2002.
  9. [9]Daniel Hsu, Sham Kakade, and Tong Zhang. A tail inequality for quadratic forms of subgaussian random vectors. Electronic Communications in Probability, 17(52):1–6, 2012.arxiv.org/abs/1110.2842
  10. [10]Han Huang and Konstantin Tikhomirov. Average-case analysis of the Gaussian elimination with partial pivoting. Probability Theory and Related Fields, 189(1):501–567, 2024.arxiv.org/abs/2206.01726
  11. [11]Samuel Orellana Mateo, John Urschel, and Nicholas West. LU factorization of discrete random matrices. arXiv preprint arXiv:2608.08998, 2026.
  12. [12]Hoi H Nguyen. Random matrices: Overcrowding estimates for the spectrum. Journal of Functional Analysis, 275(8):2197–2224, 2018.arxiv.org/abs/1709.06682
  13. [13]Hoi H Nguyen and Van Vu. Random matrices: Law of the determinant. The Annals of Probability, 42(1):146–167, 2014.
  14. [14]Douglass Stott Parker. Random butterfly transformations with applications in computational linear algebra. Technical Report CSD-950023, Computer Science Department, UCLA, 1995.
  15. [15]John Peca-Medlin and Thomas Trogdon. Growth factors of random butterfly matrices and the stability of avoiding pivoting. SIAM Journal on Matrix Analysis and Applications, 44(3):945–970, 2023.
  16. [16]András Prékopa. On logarithmic concave measures and functions. Acta Scientiarum Mathematicarum, 34:335–343, 1973.
  17. [17]Arvind Sankar. Smoothed analysis of Gaussian elimination. PhD thesis, Massachusetts Institute of Technology, 2004.
  18. [18]Arvind Sankar, Daniel A Spielman, and Shang-Hua Teng. Smoothed analysis of the condition numbers and growth factors of matrices. SIAM Journal on Matrix Analysis and Applications, 28(2):446–476, 2006.arxiv.org/abs/cs/0310022
  19. [19]Rikhav Shah and John Urschel. Entry growth in Gaussian elimination. arXiv preprint arXiv:2608.19189, 2026.arxiv.org/abs/2608.19189
  20. [20]Alex Townsend. Open Problems in Numerical Linear Algebra, 2026. GitHub repository.
  21. [21]Lloyd N Trefethen. Instability of Gaussian elimination is exponentially rare (proof of partial result). arXiv preprint, 2026.arxiv.org/abs/2610.04761
  22. [22]Lloyd N Trefethen and David Bau, III. Numerical linear algebra. SIAM, 1997.DOI
  23. [23]Lloyd N Trefethen and Robert S Schreiber. Average-case stability of Gaussian elimination. SIAM Journal on Matrix Analysis and Applications, 11(3):335–360, 1990.DOI
  24. [24]Nick Trefethen. The smart money’s on numerical analysts. SIAM News, 45(9), 2012.
  25. [25]John Urschel. Numerical stability in Gaussian elimination. Notices of the American Mathematical Society, 72(6):605–613, 2025.DOI
  26. [26]Martin J Wainwright. High-dimensional statistics: A non-asymptotic viewpoint, volume 48. Cambridge University Press, 2019.
  27. [27]James Hardy Wilkinson. Error analysis of direct methods of matrix inversion. Journal of the ACM (JACM), 8(3):281–330, 1961.DOI
  28. [28]Man-Chung Yeung and Tony F. Chan. Probabilistic analysis of Gaussian elimination without pivoting. SIAM Journal on Matrix Analysis and Applications, 18(2):499–517, 1997.DOI

Paper details

vlnc:W_bupdse83
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

GPT-5.6 Sol (bare), Astra 6

View statement
Looking for related papers…
Contents