Post · 5 min read· pp. 778–780

Bounds for the Matrix Condition Number

We present a selection of bounds for the condition number κ(A)=∥A∥∥A−1∥\kappa(A) = \|A\| \|A^{-1}\| of a nonsingular matrix A∈Cn×nA\in\mathbb{C}^{n\times n} in terms of quantities that might be known or can be estimated.

General Matrices

From the inequality ∥A∥≥ρ(A)\|A\| \ge \rho(A), for any matrix norm, where ρ(A)\rho(A) is the spectral radius (the largest magnitude of any eigenvalue of AA) we have

κ(A)≥ρ(A)ρ(A−1).(1)\notag \kappa(A) \ge \rho(A) \rho(A^{-1}). \qquad (1)

Fir the 22-norm, this bound is an equality for a normal matrix (one for which A∗A=AA∗A^*A = AA^*), but it can be arbitrarily weak for nonnormal matrices.

Guggenheimer, Edelman, and Johnson (1995) obtain the bound

κ2(A)<2∣det⁡(A)∣(∥A∥Fn1/2)n.(2)\notag \kappa_2(A) < \displaystyle\frac{2}{|\det(A)|} \left( \frac{\|A\|_F}{n^{1/2}} \right)^n. \qquad (2)

The proof of the bound applies the arithmetic–geometric mean inequality to the nn numbers σ12/2,σ12/2,σ22,σ32,…,σn−12\sigma_1^2/2, \sigma_1^2/2, \sigma_2^2, \sigma_3^2, \dots, \sigma_{n-1}^2, where the σi\sigma_i are the singular values of AA. This bound can be arbitrarily weak but it is an approximate equality when σ1,σ2,…σn−1\sigma_1,\sigma_2, \dots \sigma_{n-1} are of similar order of magnitude.

Merikoski, Urpala, Virtanen, Tam, and Uhlig (1997) obtain the bound

κ2(A)≤(1+x1−x)1/2,x=1−(n/∥A∥F2)n∣det⁡(A)∣2.(3)\notag \kappa_2(A) \le \left(\displaystyle\frac{1+x}{1-x}\right)^{1/2}, \quad x = \sqrt{1 - (n/\|A\|_F^2)^n |\det(A)|^2 }. \qquad (3)

Their proof uses a more refined application of the arithmetic–geometric mean inequality, and they show that this bound is the smallest that can be obtained based on ∥A∥F\|A\|_F, det⁡(A)\det(A), and nn only. Hence (3) is no larger than (2), and they show that it can be smaller by no more than 1.5. Equality holds in (3) if and only if σ2=σ3=⋯=σn−1=(σ1+σn)/2\sigma_2 = \sigma_3 = \cdots = \sigma_{n-1} = (\sigma_1 + \sigma_n)/2.

As an example, for three random 25×2525\times 25 matrices with κ2(A)=10\kappa_2(A) = 10, generated by gallery('randsvd') with three different singular value dsitributions:

Mode(2)(3)
One large singular value9.88e+079.88e+07
One small singular value1.21e+011.20e+01
Geometrically distributed singular values5.71e+045.71e+04

We note that for larger κ2(A)\kappa_2(A) the formula (3) is prone to overflow, which can be avoided by evaluating it in higher precision arithmetic.

Hermitian Positive Definite Matrices

Merikoski et al. (1997) also give a version of (3) for Hermitian positive definite A∈Cn×nA\in\mathbb{C}^{n\times n}:

κ2(A)≤1+x1−x,x=1−(n/trace(A))ndet⁡(A).(4)\kappa_2(A) \le \displaystyle\frac{1+x}{1-x}, \quad x = \sqrt{1 - (n/\mathrm{trace}(A))^n \det(A) }. \qquad (4)

This is the smallest bound that can be obtained based on trace(A)\mathrm{trace}(A), det⁡(A)\det(A), and nn only. Equality holds in (4) if and only if the eigenvalues λ1≥λ2≥⋯≥λn\lambda_1 \ge \lambda_2 \ge \cdots \ge \lambda_n of AA satisfy λ2=λ3=⋯=λn−1=(λ1+λn)/2\lambda_2 = \lambda_3 = \cdots = \lambda_{n-1} = (\lambda_1 + \lambda_n)/2. We can rewrite this upper bound as

1+x1−x=(1+x)21−x2<41−x2,\displaystyle\frac{1+x}{1-x} = \frac{(1+x)^2}{1-x^2} < \frac{4}{1-x^2},

which gives the weaker bound

κ2(A)<4det⁡(A)(trace(A)n)n.(5)\notag \kappa_2(A) < \displaystyle\frac{4}{\det(A)} \Bigl(\displaystyle\frac{\mathrm{trace}(A)}{n}\Bigr)^n. \qquad (5)

This bound is analogous to (2) and is up to a factor 44 larger than (4), this factor being attained for A=IA = I.

If trace(A)=n\mathrm{trace}(A) = n then (4) reduces to

κ2(A)<1+1−det⁡(A)1−1−det⁡(A)=(1+1−det⁡(A) )2det⁡(A)(6)<4det⁡(A).\notag \begin{aligned} \kappa_2(A) &< \displaystyle\frac{1 + \sqrt{1-\det(A)}}{1 - \sqrt{1-\det(A)}} =\displaystyle\frac{\bigl(1 + \sqrt{1-\det(A)}\,\bigr)^2}{\det(A)} \qquad(6)\\ &< \displaystyle\frac{4}{\det(A)}. \end{aligned}

These bounds hold for any positive definite matrix with unit diagonal, that is, any nonsingular correlation matrix.

We can sometimes get a sharper bound than (4) and (5) by writing A=DCDA = DCD, where D=diag(aii1/2)D = \mathrm{diag}(a_{ii}^{1/2}) and cii≡1c_{ii} \equiv 1 (thus CC is a correlation matrix), using

κ2(A)≤κ2(D)2κ2(C)=max⁡iaiimin⁡iaiiκ2(C),(7)\notag \kappa_2(A) \le \kappa_2(D)^2 \kappa_2(C) = \displaystyle\frac{\max_i a_{ii}}{\min_i a_{ii}} \kappa_2(C), \qquad (7)

and bounding κ(C)\kappa_(C) using (6). For example, for the 5×55\times 5 Pascal matrix

P5=[111111234513610151410203515153570]\notag P_5 = \left[\begin{array}{ccccc} 1 & 1 & 1 & 1 & 1\\ 1 & 2 & 3 & 4 & 5\\ 1 & 3 & 6 & 10 & 15\\ 1 & 4 & 10 & 20 & 35\\ 1 & 5 & 15 & 35 & 70 \end{array}\right]

the condition number is κ1(P5)=8.52×103\kappa_1(P_5) = 8.52 \times 10^3. The bounds from (4) and (5) are both 1.22×1071.22 \times 10^7, whereas combining (4) and (7) gives a bound of 4.70×1064.70 \times 10^6.

Notes

Many other condition number bounds are available in the literature. All have their pros and cons and any bound based on limited information such as traces of powers of AA and the determinant will be potentially very weak.

A drawback of the bounds (3)–(6) is that they require det⁡(A)\det(A). Sometimes the determinant is easily computable, as for a Vandermonde matrix, or can be bounded: for example, ∣det⁡(A)∣≥1|\det(A)| \ge 1 for a matrix with integer entries. If a Cholesky, LU, or QR factorization of AA is available then ∣det⁡(A)∣|\det(A)| is easily computable, but in this case a good order of magnitude estimate of the condition number can be cheaply computed using condition estimation techniques (Higham, 2002, Chapter 15).

The bounds (3) and (4) are used by Higham and Lettington (2021) in investigating the most ill conditioned 4×44\times 4 symmetric matrices with integer elements bounded by 1010; see What Is the Wilson Matrix?

References

This is a minimal set of references, which contain further useful references within.