Distribution of the number of pivots needed using Gaussian elimination with partial pivoting on random matrices
John Peca-Medlin
TL;DR
This work characterizes the distribution of the number of GEPP pivot movements when solving $A x = b$ with Gaussian elimination and partial pivoting on various random matrix ensembles. It proves exact pivot-count distributions for two key models: (i) iid continuous-columns matrices yield a uniform GEPP permutation and pivot count $\Pi(A) \sim n - \Upsilon_n$, and (ii) Haar-butterfly matrices yield a uniform distribution over butterfly permutations with $\Pi(B) \sim \frac{N}{2}$ Bernoulli$(1 - \frac{1}{N})$. It further develops the theory of GEPP permutations via explicit permutation decompositions, connects these to Stirling numbers of the first kind, and demonstrates a Cantor-like pivot-location structure for butterfly ensembles. The paper introduces fixed-pivot and fixed-sparsity ensembles, analyzes their spectral properties, and conjectures a universal limiting spectral distribution $\nu_\alpha$ on the unit disk that interpolates between the circular law and a point mass at the origin as sparsity $\alpha$ increases. Numerical experiments across diverse random transforms corroborate the theoretical distributions and reveal universality patterns, with Haar orthogonal transforms serving as a benchmark upper bound for pivot movements and Haar-butterfly transforms as a minimal perturbation in many scenarios.
Abstract
Gaussian elimination with partial pivoting (GEPP) is a widely used method to solve dense linear systems. Each GEPP step uses a row transposition pivot movement if needed to ensure the leading pivot entry is maximal in magnitude for the leading column of the remaining untriangularized subsystem. We will use theoretical and numerical approaches to study how often this pivot movement is needed. We provide full distributional descriptions for the number of pivot movements needed using GEPP using particular Haar random ensembles, as well as compare these models to other common transformations from randomized numerical linear algebra. Additionally, we introduce new random ensembles with fixed pivot movement counts and fixed sparsity, $α$. Experiments estimating the empirical spectral density (ESD) of these random ensembles leads to a new conjecture on a universality class of random matrices with fixed sparsity whose scaled ESD converges to a measure on the complex unit disk that depends on $α$ and is an interpolation of the uniform measure on the unit disk and the Dirac measure at the origin.
