Post · 8 min read· pp. 728–732

Bounds for the Norm of the Inverse of a Triangular Matrix

In many situations we need to estimate or bound the norm of the inverse of a matrix, for example to compute an error bound or to check whether an iterative process is guaranteed to converge. This is the same problem as bounding the condition number κ(A)=∥A∥∥A−1∥\kappa(A) = \|A\| \|A^{-1}\|, assuming ∥A∥\|A\| is easy to compute or estimate. Here, we focus on triangular matrices. The bounds we derive can be applied to a general matrix if an LU or QR factorization is available.

We denote by ∥⋅∥\|\cdot\| any matrix norm, and we take the consistency condition ∥AB∥≤∥A∥∥B∥\|AB\| \le \|A\| \|B\| as one of the defining properties of a matrix norm.

It will be useful to note that

[1−θ−θ−θ−θ1−θ−θ−θ1−θ−θ1−θ1]−1=[1θθ(1+θ)θ(1+θ)2θ(1+θ)31θθ(1+θ)θ(1+θ)21θθ(1+θ)1θ1]\notag \left[\begin{array}{crrrr} 1 & -\theta & -\theta & -\theta & -\theta\\ & 1 & -\theta & -\theta & -\theta\\ & & 1 & -\theta & -\theta\\ & & & 1 & -\theta\\ & & & & 1 \end{array}\right]^{-1} = \left[\begin{array}{ccccc} 1 & \theta & \theta(1+\theta) & \theta(1+\theta)^2 & \theta(1+\theta)^3\\ & 1 & \theta & \theta(1+\theta) & \theta(1+\theta)^2\\ & & 1 & \theta & \theta(1+\theta)\\ & & & 1 & \theta\\ & & & & 1 \end{array}\right]

and that more generally the inverse of the n×nn\times n upper triangular matrix T(θ)T(\theta) with

(T(θ))ij={1,i=j,−θ,i<j,(1)\notag (T(\theta))_{ij} = \begin{cases} 1, & i=j, \\ -\theta, & i<j, \end{cases} \qquad (1)

is given by

(T(θ)−1)ij={1,i=j,θ(1+θ)j−i−1,j>i.(2)\notag \bigl(T(\theta)^{-1}\bigr)_{ij} = \begin{cases} 1, & i=j, \\ \theta(1+\theta)^{j-i-1}, & j > i. \end{cases} \qquad (2)

Lower Bound

First, we consider a general matrix A∈Cn×nA\in\mathbb{C}^{n\times n} and let λ\lambda be an eigenvalue with ∣λ∣=ρ(A)|\lambda| = \rho(A) (the spectral radius) and xx a corresponding eigenvector. With X=xeT∈Cn×nX = xe^T \in\mathbb{C}^{n\times n}, where ee is the vector of ones, AX=λXAX = \lambda X, so

∣λ∣∥X∥=∥λX∥=∥AX∥≤∥A∥∥X∥,\notag |\lambda| \|X\| = \|\lambda X\| = \| AX \| \le \|A\| \|X\|,

which implies ∣λ∣≤∥A∥|\lambda| \le \|A\| since X≠0X\ne 0. Hence

∥A∥≥ρ(A).\notag \|A\| \ge \rho(A).

Let TT be a triangular matrix. Applying the latter bound to T−1T^{-1}, whose eigenvalues are its diagonal entries tii−1t_{ii}^{-1}, gives

∥T−1∥≥1min⁡i∣tii∣.(3)\notag \|T^{-1}\| \ge \displaystyle\frac{1}{\min_i |t_{ii}|}. \qquad (3)

Combining this bound with the analogous bound for ∥T∥\|T\| gives

κ(T)≥max⁡i∣tii∣min⁡i∣tii∣.(4)\notag \kappa(T) \ge \displaystyle\frac{\max_i |t_{ii}|}{\min_i |t_{ii}|}. \qquad (4)

We note that commonly used norms satisfy ∥A∥≥max⁡i,j∣aij∣\|A\| \ge \max_{i,j}|a_{ij}|, which yields another proof of (3) and (4).

For any xx and yy such that y=Txy = Tx we have the lower bound ∥x∥/∥y∥≤∥T−1∥\|x\| / \|y\| \le \| T^{-1} \|. We can choose yy and then solve the triangular system Tx=yTx = y for xx to obtain the lower bound. Condition number estimation techniques, which we will describe in another article, provide ways to choose yy that usually yield estimates of ∥T−1∥\| T^{-1} \| correct to within an order of magnitude.

For the 22-norm, we can choose yy and then compute x=(TTT)−kyx = (T^TT)^{-k}y by repeated triangular solves, obtaining the lower bound (∥x∥2/∥y∥2)12k≤∥T−1∥2(\|x\|_2 / \|y\|_2)^{\frac{1}{2k}} \le \| T^{-1} \|_2. This bound is simply the power method applied to (TTT)−1(T^TT)^{-1}.

Upper Bounds

Let T∈Cn×nT\in\mathbb{C}^{n\times n} be an upper triangular matrix. The upper bounds for ∥T−1∥\|T^{-1}\| that we will discuss depend only on the absolute values of the elements of TT. This limits the ability of the bounds to distinguish between well-conditioned and ill-conditioned matrices. For example, consider

T1=[1−2−2−2−21−2−2−21−2−21−21],T1−1=[126185412618126121],T2=[122221222122121],T2−1=[1−22−221−22−21−221−21].\notag \begin{gathered} T_1 = \left[\begin{array}{crrrr} 1 & -2 & -2 & -2 & -2\\ & 1 & -2 & -2 & -2\\ & & 1 & -2 & -2\\ & & & 1 & -2\\ & & & & 1 \end{array}\right], \quad T_1^{-1} = \left[\begin{array}{ccccc} 1 & 2 & 6 & 18 & 54\\ & 1 & 2 & 6 & 18\\ & & 1 & 2 & 6\\ & & & 1 & 2\\ & & & & 1 \end{array}\right], \\ T_2 = \left[\begin{array}{ccccc} 1 & 2 & 2 & 2 & 2\\ & 1 & 2 & 2 & 2\\ & & 1 & 2 & 2\\ & & & 1 & 2\\ & & & & 1 \end{array}\right], \quad T_2^{-1} = \left[\begin{array}{crrrr} 1 & -2 & 2 & -2 & 2\\ & 1 & -2 & 2 & -2\\ & & 1 & -2 & 2\\ & & & 1 & -2\\ & & & & 1 \end{array}\right]. \end{gathered}

The bounds for T1−1T_1^{-1} and T2−1T_2^{-1} will be the same, yet the inverses are of different sizes (the more so as the dimension increases).

Let D=diag(T)D = \mathrm{diag}(T) and write

T=D(I−N),\notag T = D(I - N),

where NN is strictly upper triangular and hence nilpotent with Nn=0N^n = 0. Then

T−1=(I+N+N2+⋯+Nn−1)D−1.\notag T^{-1} = (I + N + N^2 + \cdots + N^{n-1}) D^{-1}.

Taking absolute values and using the triangle inequality gives

∣T−1∣≤(I+∣N∣+∣N∣2+⋯+∣N∣n−1)∣D∣−1,(5)\notag |T^{-1}| \le (I + |N| + |N|^2 + \cdots + |N|^{n-1}) |D|^{-1}, \qquad(5)

where the inequalities hold elementwise.

The comparison matrix M(A)M(A) associated with a general A∈Cn×nA\in\mathbb{C}^{n \times n} is the matrix with

(M(A))ij={∣aii∣,i=j,−∣aij∣,i≠j.\notag (M(A))_{ij} = \begin{cases} |a_{ii}|, & i=j, \\ -|a_{ij}|, & i\ne j. \end{cases}

It is not hard to see that M(T)M(T) is upper triangular with M(T)=∣D∣(I−∣N∣)M(T) = |D| (I - |N|) and so the bound (5) is

∣T−1∣≤M(T)−1.\notag |T^{-1}| \le M(T)^{-1}.

If we replace every element above the diagonal of M(T)M(T) by the most negative off-diagonal element in its row we obtain the upper triangular matrix W(T)W(T) with

(W(T))ij={∣tii∣,i=j,−max⁡i+1≤k≤n∣tik∣,i<j.\notag (W(T))_{ij} = \begin{cases} |t_{ii}|, & i=j, \\ -\max_{i+1\le k\le n}|t_{ik}|, & i<j. \\ \end{cases}

Then W(T)=∣D∣(I−∣N1∣)W(T) = |D| (I - |N_1|), where ∣N∣≤∣N1∣|N| \le |N_1|, so

M(T)−1=(I+∣N∣+∣N∣2+⋯+∣N∣n−1)∣D∣−1≤(I+∣N1∣+∣N1∣2+⋯+∣N1∣n−1)∣D∣−1=W(T)−1.\notag \begin{aligned} M(T)^{-1} &= (I + |N| + |N|^2 + \cdots + |N|^{n-1}) |D|^{-1}\\ & \le (I + |N_1| + |N_1|^2 + \cdots + |N_1|^{n-1}) |D|^{-1} = W(T)^{-1}. \end{aligned}

Finally, let Z(T)=min⁡i∣tii∣(I−∣N2∣)Z(T) = \min_i|t_{ii}|(I - |N_2|), where N2N_2 is strictly upper triangular with every element above the diagonal equal to the maximum element of ∣N1∣|N_1|, that is,

(Z(T))ij={α,i=j,−αβ,i<j,α=min⁡i∣tii∣,β=max⁡i<j∣tij∣/∣tii∣.\notag (Z(T))_{ij} = \begin{cases} \alpha, & i=j, \\ -\alpha\beta, & i<j, \\ \end{cases} \qquad \alpha = \min_i|t_{ii}|, \quad \beta = \max_{i < j}|t_{ij}|/|t_{ii}|.

Then

W(T)−1=(I+∣N1∣+∣N1∣2+⋯+∣N1∣n−1)∣D∣−1≤α−1(I+∣N2∣+∣N2∣2+⋯+∣N2∣n−1)=Z(T)−1.\notag \begin{aligned} W(T)^{-1} &= (I + |N_1| + |N_1|^2 + \cdots + |N_1|^{n-1}) |D|^{-1} \\ &\le \alpha^{-1} (I + |N_2| + |N_2|^2 + \cdots + |N_2|^{n-1}) = Z(T)^{-1}. \end{aligned}

We note that M(T)M(T), W(T)W(T), and Z(T)Z(T) are all nonsingular MM-matrices. We summarize the bounds.

Theorem 1.

If T∈Cn×nT\in\mathbb{C}^{n\times n} is a nonsingular upper triangular matrix then

∣T−1∣≤M(T)−1≤W(T)−1≤Z(T)−1.(6)\notag |T^{-1}| \le M(T)^{-1} \le W(T)^{-1} \le Z(T)^{-1}. \qquad (6)

We make two remarks.

  • The bounds (6) are equally valid for lower triangular matrices as long as the maxima in the definitions of W(T)W(T) and Z(T)Z(T) are taken over columns instead of rows.
  • We could equally well have written A=(I−N)DA = (I-N)D. The comparison matrix M(T)=(I−∣N∣)∣D∣M(T) = (I - |N|)|D| is unchanged, and (6) continues to hold as long as the maxima in the definitions of W(T)W(T) and Z(T)Z(T) are taken over columns rather than rows.

It follows from the theorem that

∥T−1∥≤∥M(T)−1∥≤∥W(T)−1∥≤∥Z(T)−1∥\notag \|T^{-1}\| \le \|M(T)^{-1}\| \le \|W(T)^{-1}\| \le \|Z(T)^{-1}\|

for the 1-, 2-, and ∞\infty-norms and the Frobenius norm. Now M(T)M(T), W(T)W(T), and Z(T)Z(T) all have nonnegative inverses, and for a matrix AA with nonnegative inverse we have ∥A−1∥∞=∥A−1e∥∞\|A^{-1}\|_{\infty} = \|A^{-1}e\|_{\infty}. Hence

∥T−1∥∞≤∥M(T)−1e∥∞≤∥W(T)−1e∥∞≤∥Z(T)−1e∥∞O(n3)O(n2)O(n)O(1)\notag \begin{aligned} \|T^{-1}\|_{\infty} &\le \|M(T)^{-1}e\|_{\infty} \le \|W(T)^{-1}e\|_{\infty} \le \|Z(T)^{-1}e\|_{\infty}\\ O(n^3) \hskip10pt & \hskip35pt O(n^2) \hskip65pt O(n) \hskip65pt O(1) \end{aligned}

where the big-Oh expressions show the asymptotic cost in flops of evaluating each term by solving the relevant triangular system. As the bounds become less expensive to compute they become weaker. The quantity ∥Z(T)−1∥p\|Z(T)^{-1}\|_p can be explicitly evaluated for p=∞p = \infty, using (2)(2). It has the same value for p=1p = 1, and since ∥A∥2≤(∥A∥1∥A∥∞)1/2\|A\|_2 \le (\|A\|_1\|A\|_{\infty})^{1/2} we have

∥T−1∥p≤(β+1)n−1α,p=1,2,∞.(7)\notag \|T^{-1}\|_p \le \displaystyle\frac{ (\beta + 1)^{n-1}}{\alpha}, \quad p = 1,2,\infty. \qquad(7)

This bound is an equality for p=1,∞p = 1,\infty for the matrix T(θ)T(\theta) in (1).

For the Frobenius norm, evaluating ∥Z(T)−1∥F\|Z(T)^{-1}\|_F, and using ∥A∥2≤∥A∥F\|A\|_2 \le \|A\|_F, gives

∥T−1∥2,F≤((β+1)2n+2n(β+2)−1)1/2α(β+2).(8)\notag \|T^{-1}\|_{2,F} \le \displaystyle\frac{ \bigl( (\beta + 1)^{2n} + 2n(\beta + 2) - 1 \bigr)^{1/2}} {\alpha(\beta + 2)}. \qquad(8)

For the 22-norm, either of (7) and (8) can be the smaller bound depending on β\beta.

For the special case of a bidiagonal matrix BB it is easy to show that ∣B−1∣=M(B)−1|B^{-1}| = M(B)^{-1}, and so ∥B−1∥∞=∥M(B)−1∥∞=∥M(B)−1e∥∞\|B^{-1}\|_{\infty} = \|M(B)^{-1}\|_{\infty} = \|M(B)^{-1}e\|_{\infty} can be computed exactly in O(n)O(n) flops.

These upper bounds can be arbitrarily weak, even for a fixed nn, as shown by the example

T(θ)=[θ−1110θ−1θ−100θ−2],θ>0,\notag T(\theta) = \begin{bmatrix} \theta^{-1} & 1 & 1 \\ 0 & \theta^{-1} & \theta^{-1} \\ 0 & 0 & \theta^{-2} \end{bmatrix}, \quad \theta > 0,

for which

T(θ)−1=[θ−θ200θ−θ200θ2],M(T(θ))−1=[θθ22θ30θθ200θ2].\notag T(\theta)^{-1} = \begin{bmatrix} \theta & -\theta^2 & 0 \\ 0 & \theta & -\theta^2 \\ 0 & 0 & \theta^2 \end{bmatrix}, \quad M(T(\theta))^{-1} = \begin{bmatrix} \theta & \theta^2 & 2\theta^3 \\ 0 & \theta & \theta^2 \\ 0 & 0 & \theta^2 \end{bmatrix}.

As θ→∞\theta\to\infty, ∥M(T(θ))−1∥∞/∥T(θ)−1∥∞≈2θ\|M(T(\theta))^{-1}\|_{\infty} /\|T(\theta)^{-1}\|_{\infty} \approx 2\theta. On the other hand, the overestimation is bounded as a function of nn for triangular matrices resulting from certain pivoting strategies.

Theorem 1.

Suppose the upper triangular matrix T∈Cn×nT\in\mathbb{C}^{n\times n} satisfies

∣tii∣≥∣tij∣,j>i.(9)\notag |t_{ii}| \ge |t_{ij}|, \quad j>i. \qquad (9)

Then, for the 11-, 22-, and ∞\infty-norms,

1min⁡i∣tii∣≤∥T−1∥≤∥M(T)−1∥≤∥W(T)−1∥≤∥Z(T)−1∥≤2n−1min⁡i∣tii∣.\notag \displaystyle\frac{1}{\min_i|t_{ii}|} \le \|T^{-1}\| \le \|M(T)^{-1}\| \le \|W(T)^{-1}\| \le \|Z(T)^{-1}\| \le \displaystyle\frac{2^{n-1}}{{\min_i|t_{ii}|}}.

Proof. The first four inequalities are a combination of (3) and (6). The fifth inequality is obtained from the expression (7) for ∥Z(T)−1∥\|Z(T)^{-1}\| with β=1\beta = 1.

Condition (9) is satisfied for the triangular factors from QR factorization with column pivoting and for the transpose of the unit lower triangular factors from LU factorization with any form of pivoting.

The upper bounds we have described have been derived independently by several authors, as explained by Higham (2002).

References