Post · 13 min read· pp. 821–827

What Is a Matrix Norm?

A matrix norm is a function ∥⋅∥:Cm×n→R\|\cdot\| : \mathbb{C}^{m\times n} \to \mathbb{R} satisfying

  • ∥A∥≥0\|A\| \ge 0 with equality if and only if A=0A=0 (nonnegativity),
  • ∥αA∥=∣α∣∥A∥\|\alpha A\| =|\alpha| \|A\| for all α∈C\alpha\in\mathbb{C}, A∈Cm×nA\in\mathbb{C}^{m\times n} (homogeneity),
  • ∥A+B∥≤∥A∥+∥B∥\|A+B\| \le \|A\|+\|B\| for all A,B∈Cm×nA,B\in\mathbb{C}^{m\times n} (the triangle inequality).

These are analogues of the defining properties of a vector norm.

An important class of matrix norms is the subordinate matrix norms. Given a vector norm on Cn\mathbb{C}^n the corresponding subordinate matrix norm on Cm×n\mathbb{C}^{m\times n} is defined by

∥A∥=max⁡x≠0∥Ax∥∥x∥,\notag \|A\| = \displaystyle\max_{x\ne0} \frac{ \|Ax\| }{ \|x\| },

or, equivalently,

∥A∥=max⁡∥x∥=1∥Ax∥.\|A\| = \displaystyle\max_{\|x\| = 1} \|Ax\|.

For the 11-, 22-, and ∞\infty-vector norms it can be shown that

∥A∥1=max⁡1≤j≤n∑i=1m∣aij∣,\mbox‘@@CODEMASK0@@‘maxrowsum′′,∥A∥2=σmax⁡(A),\mboxspectralnorm,\notag \begin{alignedat}{2} \|A\|_1 &= \max_{1\le j\le n}\sum_{i=1}^m |a_{ij}|, &&\qquad \mbox{`@@CODE_MASK_0@@`max row sum'',} \\ \|A\|_2 &= \sigma_{\max}(A), &&\qquad \mbox{spectral norm,} \end{alignedat}

where σmax⁡(A)\sigma_{\max}(A) denotes the largest singular value of AA. To remember the formulas for the 11– and ∞\infty-norms, note that 1 is a vertical symbol (for columns) and ∞\infty is a horizontal symbol (for rows). For the general Hölder pp-norm no explicit formula is known for ∥A∥p\|A\|_p for p≠1,2,∞p\ne 1,2,\infty.

An immediate implication of the definition of subordinate matrix norm is that

∥AB∥≤∥A∥∥B∥\notag \|AB\| \le \|A\| \|B\|

whenever the product is defined. A norm satisfying this condition is called consistent or submultiplicative.

Another commonly used norm is the Frobenius norm,

∥A∥F=(∑i=1m∑j=1n∣aij∣2)1/2=(trace(A∗ ⁣A))1/2.\notag \|A\|_F = \biggl( \displaystyle\sum_{i=1}^m \sum_{j=1}^n |a_{ij}|^2 \biggr)^{1/2} = \bigl( \mathrm{trace}(A^*\!A) \bigr)^{1/2}.

The Frobenius norm is not subordinate to any vector norm (since ∥In∥F=n1/2\|I_n\|_F = n^{1/2}, whereas ∥In∥=1\|I_n\| = 1 for any subordinate norm), but it is consistent.

The 22-norm and the Frobenius norm are unitarily invariant: they satisfy ∥UAV∥=∥A∥\|UAV\| = \|A\| for any unitary matrices UU and VV. For the Frobenius norm the invariance follows easily from the trace formula.

As for vector norms, all matrix norms are equivalent in that any two norms differ from each other by at most a constant. This table shows the optimal constants αpq\alpha_{pq} such that ∥A∥p≤αpq∥A∥q\|A\|_p \le \alpha_{pq} \|A\|_q for A∈Cm×nA\in\mathbb{C}^{m\times n} and the norms mentioned above. Each inequality in the table is attained for some AA.

For any A∈Cn×nA\in\mathbb{C}^{n\times n} and any consistent matrix norm,

ρ(A)≤∥A∥,(1)\notag \rho(A) \le \|A\|, \qquad\qquad (1)

where ρ\rho is the spectral radius (the largest absolute value of any eigenvalue). To prove this inequality, let λ\lambda be an eigenvalue of AA and xx the corresponding eigenvector (necessarily nonzero), and form the matrix X=[x,x,…,x]∈Cn×nX=[x,x,\dots,x] \in \mathbb{C}^{n\times n}. Then AX=λXAX = \lambda X, so ∣λ∣∥X∥=∥AX∥≤∥A∥ ∥X∥|\lambda| \|X\| = \|AX\| \le \|A\| \, \|X\|, giving ∣λ∣≤∥A∥|\lambda|\le\|A\| since X≠0X \ne 0. For a subordinate norm it suffices to take norms in the equation Ax=λxAx = \lambda x.

A useful relation is

∥A∥2≤(∥A∥1∥A∥∞)1/2,(2)\notag \|A\|_2 \le \bigl( \|A\|_1 \|A\|_{\infty}\bigr)^{1/2}, \qquad\qquad (2)

which follows from ∥A∥22=∥A∗A∥2=ρ(A∗A)≤∥A∗A∥∞≤∥A∗∥∞∥A∥∞=∥A∥1∥A∥∞\|A\|_2^2 = \|A^*A\|_2 = \rho(A^*A) \le \| A^*A \|_{\infty} \le \|A^*\|_{\infty} \|A\|_{\infty} = \|A\|_1 \|A\|_{\infty}, where the first two equalities are obtained from the singular value decomposition and we have used (1).

Mixed Subordinate Matrix Norms

A more general subordinate matrix norm can be defined by taking different vector norms in the numerator and denominator:

∥A∥α,β=max⁡x≠0∥Ax∥β∥x∥α.\notag \|A\|_{\alpha,\beta} = \displaystyle\max_{x\ne 0} \frac{ \|Ax\|_{\beta} }{ \|x\|_{\alpha} }.

Some authors denote this norm by ∥A∥α→β\|A\|_{\alpha\to\beta}.

A useful characterization of ∥A∥α,β\|A\|_{\alpha,\beta} is given in the next result. Recall that ∥⋅∥D\|\cdot\|^D denotes the dual of the vector norm ∥⋅∥\|\cdot\|.

Theorem 1. For A∈Cm×nA\in\mathbb{C}^{m\times n},

∥A∥α,β=max⁡x∈Cny∈CmRe y∗Ax∥y∥βD∥x∥α.\notag \|A\|_{\alpha,\beta} = \displaystyle\max_{x\in\mathbb{C}^n \atop y \in\mathbb{C}^m} \frac{\mathrm{Re}\, y^*Ax}{\|y\|_\beta^D \|x\|_\alpha}.

Proof. We have

max⁡x∈Cny∈CmRe y∗Ax∥y∥βD∥x∥α=max⁡x∈Cn1∥x∥αmax⁡y∈CmRe y∗Ax∥y∥βD=max⁡x∈Cn∥Ax∥β∥x∥α=∥A∥α,β,\notag \begin{aligned} \displaystyle \max_{x\in\mathbb{C}^n \atop y \in\mathbb{C}^m} \frac{\mathrm{Re}\, y^*Ax}{\|y\|_\beta^D \|x\|_\alpha} &= \max_{x\in\mathbb{C}^n} \frac{1}{\|x\|_\alpha} \max_{y\in\mathbb{C}^m} \frac{\mathrm{Re}\, y^*Ax}{\|y\|_\beta^D} \\ &= \max_{x\in\mathbb{C}^n} \frac{\| Ax \|_\beta }{\|x\|_\alpha} = \|A\|_{\alpha,\beta}, \end{aligned}

where the second equality follows from the definition of dual vector norm and the fact that the dual of the dual norm is the original norm.

We can now obtain a connection between the norms of AA and A∗A^*. Here, ∥A∗∥βD,αD\|A^*\|_{\beta^D,\alpha^D} denotes max⁡x≠0∥Ax∥αD/∥x∥βD\max_{x\ne 0} \|Ax\|_\alpha^D / \|x\|_\beta^D.

Theorem 2. If A∈Cm×nA\in\mathbb{C}^{m\times n} then ∥A∥α,β=∥A∗∥βD,αD\|A\|_{\alpha,\beta} = \|A^*\|_{\beta^D,\alpha^D}.

Proof. Using Theorem 1, we have

∥A∗∥α,β=max⁡x∈Cny∈CmRe y∗Ax∥y∥βD∥x∥α=max⁡x∈Cny∈CmRe x∗(A∗y)∥x∥α∥y∥βD=∥A∗∥βD,αD.□\notag \|A^*\|_{\alpha,\beta} = \displaystyle\max_{x\in\mathbb{C}^n \atop y \in\mathbb{C}^m} \frac{\mathrm{Re}\, y^*Ax}{\|y\|_\beta^D \|x\|_\alpha} = \displaystyle\max_{x\in\mathbb{C}^n \atop y \in\mathbb{C}^m} \frac{\mathrm{Re}\, x^*(A^*y)}{\|x\|_\alpha \|y\|_{\beta^D}} = \|A^*\|_{\beta^D,\alpha^D}. \quad\square

If we take the α\alpha– and β\beta-norms to be the same pp-norm then we have ∥A∥p=∥A∗∥q\|A\|_p = \|A^*\|_q, where p−1+q−1=1p^{-1} + q^{-1} = 1 (giving, in particular, ∥A∥2=∥A∗∥2\|A\|_2 = \|A^*\|_2 and ∥A∥1=∥A∗∥∞\|A\|_1 = \|A^*\|_\infty, which are easily obtained directly).

Now we give explicit formulas for the (α,β)(\alpha,\beta) norm when α\alpha or β\beta is 11 or ∞\infty and the other is a general norm.

Theorem 3. For A∈Cm×nA\in\mathbb{C}^{m\times n},

∥A∥1,β=max⁡j∥A(:,j)∥β,(3)∥A∥α,∞=max⁡i∥A(i,:)∗∥αD,(4)\notag \begin{alignedat}{2} \|A\|_{1,\beta} &= \max_j \| A(:,j) \|_{\beta}, &\qquad\qquad& (3) \\ \|A\|_{\alpha,\infty} &= \max_i \|A(i,:)^*\|_{\alpha}^D, &\qquad\qquad& (4) \\ \end{alignedat}

For A∈Rm×nA\in\mathbb{R}^{m\times n},

∥A∥∞,β=max⁡x∈Z∥Az∥β,(5)\notag \|A\|_{\infty,\beta} = \displaystyle\max_{x\in Z} \|Az\|_{\beta}, \qquad\qquad (5)

where

Z={z∈Rn:zi=±1 for all i },Z = \{ z\in\mathbb{R}^n: z_i = \pm 1~\mathrm{for~all}~i \,\},

and if AA is symmetric positive semidefinite then

∥A∥∞,1=max⁡x∈ZzT ⁣Az.\notag \|A\|_{\infty,1} = \displaystyle\max_{x\in Z} z^T\!Az.

Proof. For (3),

∥Ax∥β=∥∑jxjA( ⁣:,j)∥β≤max⁡j∥A( ⁣:,j)∥β∑j∣xj∣,\notag \|Ax\|_{\beta} = \Big\| \sum_j x_j A(\colon,j) \Bigr\|_{\beta} \le \displaystyle\max_j \| A(\colon,j) \|_{\beta} \sum_j |x_j|,

with equality for x=ekx=e_k, where the maximum is attained for j=kj=k. For (4), using the Hölder inequality,

∥Ax∥∞=max⁡i∣A(i, ⁣:)x∣≤max⁡i(∥A(i, ⁣:)∗∥αD∥x∥α)=∥x∥αmax⁡i∥A(i, ⁣:)∗∥αD.\|Ax\|_{\infty} = \displaystyle\max_i | A(i,\colon) x | \le \max_i \bigl( \|A(i,\colon)^*\|_{\alpha}^D \|x\|_{\alpha} \bigr) = \|x\|_{\alpha} \max_i \|A(i,\colon)^*\|_{\alpha}^D.

Equality is attained for an xx that gives equality in the Hölder inequality involving the kkth row of AA, where the maximum is attained for i=ki=k.

Turning to (5), we have ∥A∥∞,β=max⁡∥x∥∞=1∥Ax∥β\|A\|_{\infty,\beta} = \max_{ \|x\|_\infty =1} \|Ax\|_\beta. The unit cube { x∈Rn:−e≤x≤e }\{\, x\in\mathbb{R}^n: -e \le x \le e\,\}, where e=[1,1,…,1]Te = [1,1,\dots,1]^T, is a convex polyhedron, so any point within it is a convex combination of the vertices, which are the elements of ZZ. Hence ∥x∥∞=1\|x\|_\infty = 1 implies

x=∑z∈ZλzZ,whereλz≥0,∑z∈Zλz=1\notag x = \displaystyle\sum_{z\in Z} \lambda_z Z, \quad \mathrm{where} \quad \lambda_z \ge 0, \quad \sum_{z\in Z} \lambda_z = 1

and then

∥Ax∥β=∥∑z∈ZλzAz∥β≤max⁡z∈Z∥Az∥β.\notag \|Ax\|_\beta = \biggl\| \displaystyle\sum_{z\in Z} \lambda_z Az \biggr\|_\beta \le \max_{z\in Z} \|Az\|_\beta.

Hence max⁡∥x∥∞=1∥Ax∥β≤max⁡z∈Z∥Az∥β\max_{\|x\|_\infty = 1} \|Ax\|_\beta \le \max_{z\in Z} \|Az\|_\beta, but trivially max⁡z∈Z∥Az∥β≤max⁡∥x∥∞=1∥Ax∥β\max_{z\in Z} \|Az\|_\beta \le \max_{\|x\|_\infty = 1} \|Ax\|_\beta and (5) follows.

Finally, if AA is symmetric positive semidefinite let ξz=sign(Az)∈Z\xi_z = \mathrm{sign}(Az) \in Z. Then, using a Cholesky factorization A=RT ⁣RA = R^T\!R (which exists even if AA is singular) and the Cauchy–Schwarz inequality,

max⁡z∈Z∥Az∥1=max⁡z∈ZξzTAz=max⁡z∈ZξzTRT ⁣Rz=max⁡z∈Z(Rξz)TRz≤max⁡z∈Z∥Rξz∥2∥Rz∥2≤max⁡z∈Z∥Rz∥22=max⁡z∈ZzT ⁣Az.\notag \begin{aligned} \max_{z\in Z} \|Az\|_1 &= \max_{z\in Z} \xi_z^T Az = \max_{z\in Z} \xi_z^T R^T\!Rz\\ &= \max_{z\in Z} (R\xi_z)^T Rz \le \max_{z\in Z} \|R\xi_z\|_2 \|Rz\|_2\\ &\le \max_{z\in Z} \|Rz\|_2^2\\ &= \max_{z\in Z} z^T\!Az. \end{aligned}

Conversely, for z∈Zz\in Z we have

zT ⁣Az=∣zT ⁣Az∣≤∣z∣T∣Az∣=eT∣Az∣=∥Az∥1,\notag z^T\!Az = |z^T\!Az| \le |z|^T|Az| = e^T |Az| = \|Az\|_1,

so max⁡z∈ZzT ⁣Az≤max⁡z∈Z∥Az∥1\max_{z\in Z} z^T\!Az \le \max_{z\in Z} \|Az\|_1. Hence max⁡z∈ZzT ⁣Az=max⁡z∈Z∥Az∥1=∥A∥∞,1\max_{z\in Z} z^T\!Az = \max_{z\in Z} \|Az\|_1 = \|A\|_{\infty,1}, using (5). □\square

As special cases of (3) and (4) we have

∥A∥1,∞=max⁡i,j∣aij∣,(6)∥A∥2,∞=max⁡i∥A(i,:)∗∥2,∥A∥1,2=max⁡J∥A(:,j)∥2.\notag \begin{aligned} \|A\|_{1,\infty} &= \max_{i,j} |a_{ij}|, \qquad\qquad\qquad (6) \\ \|A\|_{2,\infty} &= \max_i \|A(i,:)^*\|_2, \\ \|A\|_{1,2} &= \max_J \|A(:,j)\|_2. \end{aligned}

We also obtain by using Theorem 2 and (5), for A∈Rm×nA\in\mathbb{R}^{m\times n},

∥A∥2,1=max⁡z∈Z∥ATz∥2.\notag \|A\|_{2,1} = \displaystyle\max_{z\in Z} \|A^Tz\|_2.

The (2,∞)(2,\infty)-norm has recently found use in statistics (Cape, Tang, and Priebe, 2019), the motivation being that because it satisfies

∥A∥2,∞≤∥A∥2≤m1/2∥A∥2,∞,\notag \|A\|_{2,\infty} \le \|A\|_2 \le m^{1/2} \|A\|_{2,\infty},

the (2,∞)(2,\infty)-norm can be much smaller than the 22-norm when m≫nm \gg n and so can be a better norm to use in bounds. The (2,∞)(2,\infty)– and (∞,2)(\infty,2)-norms are used by Rebrova and Vershynin (2018) in bounding the 22-norm of a random matrix after zeroing a submatrix. They note that the 22-norm of a random n×nn\times n matrix involves maximizing over infinitely many random variables, while the (∞,2)(\infty,2)-norm and (2,∞)(2,\infty)-norm involve only 2n2^n and nn random variables, respectively.

The (α,β\alpha,\beta) norm is not consistent, but for any vector norm γ\gamma, we have

∥AB∥α,β=max⁡x≠0∥ABx∥β∥x∥α=max⁡x≠0∥A(Bx)∥β∥Bx∥γ∥Bx∥γ∥x∥α≤max⁡x≠0∥A(Bx)∥β∥Bx∥γmax⁡x≠0∥Bx∥γ∥x∥α≤∥A∥γ,β∥B∥α,γ.\notag \begin{aligned} \|AB\|_{\alpha,\beta} &= \max_{x\ne0} \frac{ \|ABx\|_\beta }{ \|x\|_\alpha} = \max_{x\ne0} \frac{ \|A(Bx)\|_\beta }{ \|Bx\|_\gamma} \frac{ \|Bx\|_\gamma}{ \|x\|_\alpha} \le \max_{x\ne0} \frac{ \|A(Bx)\|_\beta }{ \|Bx\|_\gamma} \max_{x\ne0} \frac{ \|Bx\|_\gamma}{ \|x\|_\alpha}\\ &\le \|A\|_{\gamma,\beta} \|B\|_{\alpha,\gamma}. \end{aligned}

Matrices With Constant pp-Norms

Let AA be a nonnegative square matrix whose row and column sums are all equal to μ\mu. This class of matrices includes magic squares and doubly stochastic matrices. We have ∥A∥1=∥A∥∞=μ\|A\|_1 = \|A\|_{\infty} = \mu, so ∥A∥2≤μ\|A\|_2 \le \mu by (2). But Ae=μeAe = \mu e for the vector ee of 11s, so μ\mu is an eigenvalue of AA and hence ∥A∥2≥μ\|A\|_2 \ge \mu by (1). Hence ∥A∥1=∥A∥2=∥A∥∞=μ\|A\|_1 = \|A\|_2 = \|A\|_{\infty} = \mu. In fact, ∥A∥p=μ\|A\|_p = \mu for all p∈[1,∞]p\in[1,\infty] (see Higham (2002, Prob. 6.4) and Stoer and Witzgall (1962)).

Computing Norms

The problem of computing or estimating ∥A∥α,β\|A\|_{\alpha,\beta} may be difficult for two reasons: we may not have an explicit formula for the norm, or AA may be given implicitly, as A=f(B)A = f(B), A=B−1A = B^{-1}, or A=BCA = BC, for example, and we may wish to compute the norm without forming AA. Both difficulties are overcome by a generalization of the power method proposed by Tao in 1975 for arbitrary norms and independently Boyd in 1984 for α\alpha and β\beta both pp-norms (see Higham, 2002, Sec. \,15.2). The power method accesses AA only through matrix–vector products with AA and A∗A^*, so AA does not need to be explicitly available.

Let us focus on the case where α\alpha and β\beta are the same pp-norm. The power method is implemented in the Matrix Computation Toolbox as pnorm and we use it here to estimate the π\pi-norm and the 9999-norm, which we compare with the 11-, 22-, and ∞\infty-norms.

text
>> A = gallery('frank',4)
A =
     4     3     2     1
     3     3     2     1
     0     2     2     1
     0     0     1     1
>> [norm(A,1) norm(A,2) pnorm(A,pi), pnorm(A,99), norm(A,inf)]
ans =
   8.0000e+00   7.6237e+00   8.0714e+00   9.8716e+00   1.0000e+01

The plot in the top half of the following figure shows the estimated pp-norm for the matrix gallery('binomial',8) for p∈[1,25]p \in[1,25]. This shape of curve is typical, because, as the plot in the lower half indicates, log⁡(∥A∥p)\log(\|A\|_p) is a convex function of 1/p1/p for p≥1p\ge 1 (see Higham, 2002, Sec. \,6.3).

pnorm_plot.jpg

The power method for the (1,∞)(1,\infty) norm, which is the max norm in (6), is investigated by Higham and Relton (2016) and extended to estimate the kk largest values aija_{ij} or ∣aij∣|a_{ij}|.

A norm on Cn×n\mathbb{C}^{n\times n} can be defined by

∥A∥(t)=max⁡{∣∑i,j=1naijyj∗xi∣:xi,yj∈Ct,  ∥xi∥2≤1,  ∥yj∥2≤1,  i,j=1 ⁣:t }.\notag \begin{aligned} \|A\|^{(t)} = \max \biggl\{ \bigg|\sum_{i,j=1}^n a_{ij} y^*_jx_i \bigg| : x_i,y_j \in\mathbb{C}^t, \; \|x_i\|_2 \le 1, \; \|y_j\|_2 \le 1, \; i,j=1\colon t \, \biggr\}. \end{aligned}

Note that

∥A∥(1)=max⁡0≠x,y∈Cn∣y∗Ax∣∥y∥∞∥x∥∞=∥A∥∞,1.\notag \|A\|^{(1)} = \displaystyle\max_{0\ne x,y\in\mathbb{C}^n} \frac{|y^*Ax|}{\|y\|_\infty \|x\|_\infty} = \|A\|_{\infty,1}.

A famous inequality of Grothendieck states that ∥A∥(n)≤c∥A∥(1)\|A\|^{(n)} \le c \|A\|^{(1)} for all AA, for some constant cc independent of nn. Much work has been done to estimate the smallest possible constant cc, which is known to be in the interval [1.33,1.41][1.33,1.41], or [1.67,1.79][1.67,1.79] for the analogous inequality for real data. See Friedland, Lim, and Zhang (2018) and the references therein.

Notes

The formula (5) with β=1\beta = 1 is due to Rohn (2000), who shows that evaluating it is NP-hard. For general β\beta, the formula is given by Lewis (2010).

Computing mixed subordinate matrix norms based on pp-norms is generally NP-hard (Hendrickx and Olshevsky, 2010).

References

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

This article is part of the “What Is” series, available from https://nhigham.com/category/what-is and in PDF form from the GitHub repository https://github.com/higham/what-is.