Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Tutorial

Norms

Abstract

The conditions for a functional on a vector space to be a norm and some examples of both vector and matrix norms.

Keywords:NormsVector SpacesVectorsMatrices

Norm Conditions

Let VV be a vector space over the field F\mathbb{F}. A functional, ∣∣⋅∣∣ \vert \vert \cdot \vert \vert , on VV from it’s elements to the positive real numbers, ∣∣⋅∣∣:V→R+\vert \vert \cdot \vert \vert: V \rightarrow \mathbb{R}^{+} is a norm if it satisfies the following conditions for ψ,σ ∈ V\psi, \sigma ~\in ~V and λ ∈ F1\lambda~\in~\mathbb{F}^{1}:

  1. ∣∣ψ∣∣≥0\vert \vert \psi \vert \vert \geq 0 where ∣∣ψ∣∣=0\vert \vert \psi \vert \vert=0 iif ψ=0\psi = 0

    • Positivity

  2. ∣∣λψ∣∣=∣λ∣ ∣∣ψ∣∣\vert \vert \lambda \psi \vert \vert = \vert \lambda \vert ~ \vert \vert \psi \vert \vert

    • Scaling

  3. ∣∣ψ+σ∣∣≤∣∣ψ∣∣+∣∣σ∣∣\vert \vert \psi + \sigma \vert \vert \leq \vert \vert \psi \vert \vert + \vert \vert \sigma \vert \vert

    • Triangle Inequality

    • From this is can be seen that: ∣ ∣∣ψ∣∣−∣∣σ∣∣ ∣≤∣∣ψ−σ∣∣\vert ~ \vert \vert \psi \vert \vert - \vert \vert \sigma \vert \vert ~\vert \leq \vert \vert \psi - \sigma \vert \vert

Norms can be thought of as functionals that measure the size of an elements of a vector space. A vector space with a norm is called a normed vector space.

Vector Norm Examples

l_p-norm
Sup-norm

Let ψ ∈ V\psi~\in~V be a vector such that ψ ∈ Fn\psi~\in~\mathbb{F}^{n} with elements (ψ1,ψ2,…,ψn)(\psi_1, \psi_2, \ldots, \psi_n). The lpl_{p}-norm is given by

∣∣ψ∣∣p=(∣ψ1∣p+∣ψ2∣p+…+∣ψn∣p)1/p\vert \vert \psi \vert \vert_{p} = \big( \vert \psi_1 \vert^p + \vert \psi_2 \vert^p + \ldots + \vert \psi_n \vert^p)^{1/p}

With p=1p=1 and p=2p=2 being the 1-norm and Euclidean (l2l_2) Norm:

∣∣ψ∣∣1=(∣ψ1∣+∣ψ2∣+…+∣ψn∣)∣∣ψ∣∣2=(∣ψ1∣2+∣ψ2∣2+…+∣ψn∣2)1/2\begin{align*} \vert \vert \psi \vert \vert_{1} &= \big( \vert \psi_1 \vert + \vert \psi_2 \vert + \ldots + \vert \psi_n \vert) \\ \vert \vert \psi \vert \vert_{2} &= \big( \vert \psi_1 \vert^2 + \vert \psi_2 \vert^2 + \ldots + \vert \psi_n \vert^2)^{1/2} \end{align*}

Matrix Norms

In addition to satisfying the above requirements, to be considered a norm on a vector space, MM, which has matrices as elements, the functional Ω:M→R+\Omega: M \rightarrow \mathbb{R}^{+} must satisfy the following condition for all A,B ∈ MA,B~\in~M:

  1. ∣∣AB∣∣≤∣∣A∣∣ ∣∣B∣∣\vert \vert AB \vert \vert \leq \vert \vert A \vert \vert ~ \vert \vert B \vert \vert

Matrix Norm Examples

The following norms depend only on the singular values of the matrices they act upon. This means that the following conditions are true:

∣∣A∣∣=∣∣AV∣∣=∣∣UA∣∣\begin{align*} \vert \vert A \vert \vert = \vert \vert A V \vert \vert = \vert \vert U A \vert \vert \end{align*}

where VV and UU are unitary matrices.

Hence, these norms are all also unitarily invariant, meaning ∣∣A∣∣=∣∣UAU†∣∣\vert \vert A \vert \vert = \vert \vert UAU^{\dagger} \vert \vert.

Proof

The singular valued decomposition of a matrix A ∈ Mnm(C)A~\in~\mathbb{M}_{nm}(\mathbb{C}) is

A=UDV†,A = U D V^{\dagger},

where UU is an m×mm \times m complex unitary matrix, VV is a n×nn \times n complex unitary matrix, and DD is an m×nm \times n diagonal matrix with non-negative real numbers on the diagonal. These non-negative real numbers are the singular values of AA.

Consider a norm ∣∣⋅∣∣:Mnm(C)→R+\vert \vert \cdot \vert \vert: \mathbb{M}_{nm}(\mathbb{C}) \rightarrow \mathbb{R}^+ that depends only on the singular values of the matrix it is applied to and let WW be a unitary operator. Consider now

AW=UDV†W,=UDV~†,\begin{align*} AW &= UDV^\dagger W, \\ &= UD\tilde{V}^\dagger, \end{align*}

where V~†=V†W\tilde{V}^\dagger = V^\dagger W is just a different unitary matrix. Hence, it can be seen that the singular values of AA and AWAW are the same - the non-negative real numbers on the diagonal of DD - and therefore that ∣∣AW∣∣=∣∣A∣∣ \vert \vert A W \vert \vert = \vert \vert A \vert \vert.

The same argument can be made to prove that ∣∣WA∣∣=∣∣A∣∣ \vert \vert W A \vert \vert = \vert \vert A \vert \vert

A matrix A∈Mnn(C)A \in \mathbb{M}_{nn}(\mathbb{C}) has an eigen-decomposition if

A=QPQ†\begin{align*} A = Q P Q^\dagger \end{align*}

where QQ has the eigenvectors of AA as it’s columns and PP is a diagonal matrix with the eigenvalues of AA on it’s diagonals.

All matrices have a singular valued decompostion, but not all matrices have an eigen-decomposition. Moreover, unlike the singular values, the eigenvalues can be negative and complex.

For Hermitian matrices, the singular values are the absolute values of the eigenvalues.

Note, for Hermitian matrices, the singular values are the absolute values of the eigenvalues.

Trace Norm
Frobenius Norm
l_2 norm
Ky Fan Norm
Schatten Norms

Let A ∈ MA~\in~M be a matrix such that A ∈ Mmn(F)A~\in~\mathbb{M}_{mn}(\mathbb{F}). The trace norm (or one norm) is given by

∣∣A∣∣tr=∑iμi(A),\vert \vert A \vert \vert_{\textrm{tr}} = \sum_{i} \mu_{i}(A),

where μi(A)\mu_{i}(A) are the singular value of AA. Hence, the Trace norm of AA is the sum of singular values of A. The trace norm is often instead denoted ∣∣A∣∣1\vert \vert A \vert \vert_1.

It is also given by

∣∣A∣∣tr=tr(A†A).\vert \vert A \vert \vert_{\textrm{tr}} = \textrm{tr} \big( \sqrt{A^{\dagger}A} \big).

The following norms do not necessarily depend on the singular values and hence the above conditions might not hold.

Operator Norm
L_pq Norms

This is an induced norm.

Let A ∈ MA~\in~M be a matrix such that A ∈ Fm×nA~\in~\mathbb{F}^{m \times n}. If AA is a linear map such that A:V→WA: V \rightarrow W, where VV is a vector space over Fm\mathbb{F}^{m} and WW is a vector space over Fn\mathbb{F}^{n} then the operator norm is given by

∣∣A∣∣op=inf⁡{c≥0:∣∣Aψ∣∣W≤c∣∣ψ∣∣V ∀ ψ ∈ V},\vert \vert A \vert \vert_{op} = \inf \{c \geq 0: \vert \vert A \psi \vert \vert_{W} \leq c \vert \vert \psi \vert \vert_{V}~\forall~\psi~\in~V \},

where ∣∣⋅∣∣W\vert \vert \cdot \vert \vert_{W} and ∣∣⋅∣∣V\vert \vert \cdot \vert \vert_{V} are vector norms on VV and WW respectively.

The operator norm can be colloquially thought of as the maximum amount a map AA can lengthen a vector in VV.

Cross Norms

Consider a tensor product space V=X⊗YV = \mathcal{X} \otimes \mathcal{Y}.

A norm, ∣∣⋅∣∣ \vert \vert \cdot \vert \vert , is a cross norm if

∣∣V∣∣=∣∣X⊗Y∣∣=∣∣X∣∣ ∣∣Y∣∣.\vert \vert V \vert \vert = \vert \vert \mathcal{X} \otimes \mathcal{Y} \vert \vert = \vert \vert \mathcal{X} \vert \vert ~ \vert \vert \mathcal{Y} \vert \vert.

All norms that depend only on the singular values are cross norms.

Proof

Note: this is a somewhat hand-wavey proof.

Let the singular valued decomposition of a matrix A ∈ Mnm(C)A~\in~\mathbb{M}_{nm}(\mathbb{C}) be

A=UDAV†,A = U D_A V^{\dagger},

and the singular valued decomposition of a matrix B ∈ Mnm(C)B~\in~\mathbb{M}_{nm}(\mathbb{C}) be

B=WDBT†.B = W D_B T^{\dagger}.

Hence, the singular values of A⊗BA \otimes B are the product all of the singular values of AA with the singular values of BB.

The singular valued decomposition of a matrix A⊗BA \otimes B can then be seen to be

A⊗B=(U⊗W)(DA⊗DB)(V⊗T)†.\begin{align*} A \otimes B = (U \otimes W)(D_A \otimes D_B)(V \otimes T)^\dagger. \end{align*}

By observing this fact, it can be seen that any norms that depends only the singular values of a matrix can be factorised into a product of the norm applied to AA and BB separately.

Useful Norm Inequalities

Hölder's Inequality
Rastegin
Cauchy–Schwarz Inequality

Let H\mathcal{H} be a Hilbert space, and let A,B∈H A, B \in \mathcal{H} be operators on the space.

The following inequality:

∣∣AB∣∣r≤∣∣A∣∣p ∣∣B∣∣q,\vert \vert AB \vert \vert_r \leq \vert \vert A \vert \vert_p ~ \vert \vert B \vert \vert_q,

where 1p+1q=1r\frac{1}{p} + \frac{1}{q} = \frac{1}{r}.

Note, Hölder’s Inequality is more general than this, and applies to vector spaces other than Hilbert spaces and objects other than operators. See here for some details

Dual Norms

Consider a normed vector space VV, where the norm is ∣∣⋅∣∣\vert \vert \cdot \vert \vert.

There also exists norms on the dual space of VV, denoted V∗V^*, which is the space of linear functionals on VV. One method of finding norms on the dual space is to use norms of the primal space. These so called dual-norms are defined as

∣∣f∣∣∗≔sup⁡X{∣f(X)∣:∣∣X∣∣≤1,  X∈V},\vert \vert f \vert \vert^* \coloneqq \sup_{X} \big\{ \vert f(X) \vert : \vert \vert X \vert \vert \leq 1, ~ ~ X \in V \big\},

where f∈V∗f \in V^* and X∈VX \in V. Intuitively, this can be understood as finding the XX within the unit-ball for which the functional ff maximally increases.

These norms can be written in terms of only the primal vector space VV using the Riesz Representation Theorem.

Riesz Representation Theorem

Consider a finite dimension vector space VV, with an inner product, denoted by (⋅,⋅)(\cdot, \cdot), that is linear in the first argument and anti-linear in the second argument.

The Riesz Representation Theorem then states that for all linear functionals f∈V∗f \in V^* there exists a unique vector Y∈VY \in V such that

f(X)=(X,Y),  X∈V.f(X) = (X, Y), ~ ~ X \in V.

Using the Riesz Representation Theorem, one can identify each linear functional f∈V∗f \in V^* via a Y∈VY \in V. The dual norms are then typically written as

∣∣Y∣∣∗≔sup⁡X{∣(X,Y)∣:∣∣X∣∣≤1,  X∈V},\vert \vert Y \vert \vert^* \coloneqq \sup_{X} \big\{ \vert (X,Y) \vert : \vert \vert X \vert \vert \leq 1, ~ ~ X \in V \big\},

where f(X)=(X,Y)f(X) = (X,Y) and the YY whilst in VV represents an elements of V∗V^*.

For the inner product (X,Y)=tr[X†Y](X,Y) = \textrm{tr} \big[ X^\dagger Y \big], for example, the dual norm is

∣∣Y∣∣∗≔sup⁡X{∣tr[X†Y]∣:∣∣X∣∣≤1,  X∈V}.\vert \vert Y \vert \vert^* \coloneqq \sup_{X} \big\{ \vert \textrm{tr} \big[ X^\dagger Y \big] \vert : \vert \vert X \vert \vert \leq 1, ~ ~ X \in V \big\}.

Dual Norm Examples

Trace Norm Dual
Infinity Norm Example

The dual of the trace norm (one norm), ∣∣A∣∣1\vert \vert A \vert \vert_1, is

∣∣A∣∣1∗=∣∣A∣∣∞,\vert \vert A \vert \vert_1^* = \vert \vert A \vert \vert_{\infty},

such that the dual norm of the trace norm is the infinity norm.

Note, some norms as self dual, meaning the dual of the norm returns the same norm.

The Dual of a Dual

The dual of a dual norm returns the original norm.

This can be used to give alternative ways to phrase the original norm. For example, the dual of the trace norm is defined as

∣∣Y∣∣tr∗≔sup⁡X{∣(X,Y)∣:∣∣X∣∣tr≤1,  X∈V}.\vert \vert Y \vert \vert_{\rm tr}^* \coloneqq \sup_{X} \big\{ \vert (X,Y) \vert : \vert \vert X \vert \vert_{\rm tr} \leq 1, ~ ~ X \in V \big\}.

Now, the dual of ∣∣Y∣∣tr∗\vert \vert Y \vert \vert_{\rm tr}^* is defined as

[∣∣Y∣∣tr∗]∗≔sup⁡X{∣(X,Y)∣:∣∣X∣∣tr∗≤1,  X∈V}.\big[ \vert \vert Y \vert \vert_{\rm tr}^* \big]^* \coloneqq \sup_{X} \big\{ \vert (X,Y) \vert : \vert \vert X \vert \vert_{\rm tr}^* \leq 1, ~ ~ X \in V \big\}.

But, the dual of the dual is the original norm, such that

[∣∣Y∣∣tr∗]∗=∣∣Y∣∣tr.\big[ \vert \vert Y \vert \vert_{\rm tr}^* \big]^* = \vert \vert Y \vert \vert_{\rm tr}.

It was then shown in the examples above that the dual of the trace norm is the infinity norm. Hence, an equivalent form for the trace norm is

∣∣Y∣∣tr≔sup⁡X{∣(X,Y)∣:∣∣X∣∣∞≤1,  X∈V}.\vert \vert Y \vert \vert_{\rm tr} \coloneqq \sup_{X} \big\{ \vert (X,Y) \vert : \vert \vert X \vert \vert_{\infty} \leq 1, ~ ~ X \in V \big\}.
References
  1. Rastegin, A. E. (2012). Relations for certain symmetric norms and anti-norms before and after partial trace. 10.48550/ARXIV.1202.3853