Skip to content

Norms and Metrics

A norm measures the length of a vector. A metric measures the distance between two points. In quantum mechanics these ideas appear whenever a state is normalized, a wavefunction is declared square-integrable, a sequence of approximations is said to converge, or a numerical eigenvector is checked by a residual.

The Hilbert-space norm used for state vectors comes from an inner product. The physics of unit-norm states is treated in Normalization; this page is the mathematical home for the general language of lengths, distances, and convergence. For the function-space language around integrability and differentiability, see Real Analysis Essentials.

Let VV be a vector space over R\mathbb R or C\mathbb C. A norm is a function

∥⋅∥:V→R\lVert\cdot\rVert:V\to\mathbb R

such that, for all u,v∈Vu,v\in V and scalars aa,

∥v∥≥0,∥v∥=0 if and only if v=0,\lVert v\rVert\ge 0, \qquad \lVert v\rVert=0 \text{ if and only if } v=0, ∥av∥=∣a∣ ∥v∥,\lVert av\rVert = \lvert a\rvert\,\lVert v\rVert,

and

∥u+v∥≤∥u∥+∥v∥.\lVert u+v\rVert \le \lVert u\rVert+\lVert v\rVert.

The last property is the triangle inequality. It is the algebraic statement behind the geometric fact that going directly from uu to u+vu+v is no longer than going first along uu and then along vv.

A norm induces a metric by

d(u,v)=∥u−v∥.d(u,v)=\lVert u-v\rVert.

This distance is nonnegative, symmetric, zero exactly when u=vu=v, and satisfies

d(u,w)≤d(u,v)+d(v,w).d(u,w)\le d(u,v)+d(v,w).

Not every metric comes from a norm, and not every norm comes from an inner product. The Hilbert-space case is special: the inner product gives both lengths and angles.

If VV has an inner product, the associated norm is

∥v∥=⟨v∣v⟩.\lVert v\rVert = \sqrt{\langle v\vert v\rangle}.

For the standard inner product on Cn\mathbb C^n,

∥v∥2=(∑j=1n∣vj∣2)1/2.\lVert v\rVert_2 = \left( \sum_{j=1}^n \lvert v_j\rvert^2 \right)^{1/2}.

In an orthonormal basis this is just the square root of the sum of squared moduli of the coordinates. In a nonorthonormal basis, that shortcut is wrong: the Gram matrix of the basis enters the inner product.

An inner-product norm satisfies the Cauchy–Schwarz inequality,

∣⟨u∣v⟩∣≤∥u∥ ∥v∥,\lvert\langle u\vert v\rangle\rvert \le \lVert u\rVert\,\lVert v\rVert,

and the parallelogram identity,

∥u+v∥2+∥u−v∥2=2∥u∥2+2∥v∥2.\lVert u+v\rVert^2+\lVert u-v\rVert^2 = 2\lVert u\rVert^2+2\lVert v\rVert^2.

The parallelogram identity is one way to recognize when a norm really comes from an inner product.

A sequence vnv_n converges to vv in norm when

∥vn−v∥→0.\lVert v_n-v\rVert\to 0.

It is Cauchy when, for every tolerance ϵ>0\epsilon>0, there is an NN such that

∥vn−vm∥<ϵfor all n,m≥N.\lVert v_n-v_m\rVert\lt\epsilon \qquad \text{for all } n,m\ge N.

A normed vector space is complete if every Cauchy sequence has a limit in the space. A complete normed vector space is a Banach space. A complete inner-product space is a Hilbert space.

Completeness is not cosmetic. Wave packets, Fourier expansions, variational approximations, and numerical discretizations often produce sequences. The formal calculation is physically meaningful only after the limiting object still belongs to the intended state space.

For a measure space XX, the L2L^2 norm is

∥ψ∥2=(∫X∣ψ(x)∣2 dμ(x))1/2.\lVert\psi\rVert_2 = \left( \int_X \lvert\psi(x)\rvert^2\,d\mu(x) \right)^{1/2}.

On the real line this becomes

∥ψ∥22=∫−∞∞∣ψ(x)∣2 dx.\lVert\psi\rVert_2^2 = \int_{-\infty}^{\infty} \lvert\psi(x)\rvert^2\,dx.

Normalizable wavefunctions have finite L2L^2 norm; normalized wavefunctions have L2L^2 norm one. The functional-analytic setting is developed in L2 Spaces, while the probability interpretation is developed in Wavefunctions as Representations.

There are other useful function norms, for example L1L^1 and L∞L^\infty norms, but the ordinary pure-state Hilbert-space norm in nonrelativistic wave mechanics is the L2L^2 norm. Changing the norm changes the topology, the notion of convergence, and often the physical interpretation.

For vectors in a Hilbert space,

d(ψ,ϕ)=∥ψ−ϕ∥d(\psi,\phi) = \lVert\psi-\phi\rVert

is the natural norm distance between chosen representatives. This is useful when comparing wavefunctions or checking a calculation, but a physical pure state is a ray, not a single vector. Multiplying a normalized representative by a global phase does not change the pure state.

For normalized representatives, one phase-insensitive chordal distance between rays is

dray([ψ],[ϕ])=min⁡α∈R∥ψ−eiαϕ∥=2−2∣⟨ψ∣ϕ⟩∣.d_{\mathrm{ray}}([\psi],[\phi]) = \min_{\alpha\in\mathbb R} \lVert\psi-e^{i\alpha}\phi\rVert = \sqrt{ 2-2\lvert\langle\psi\vert\phi\rangle\rvert }.

This formula is a useful warning: the Hilbert-space vector distance depends on phase choices, while ray geometry does not. The more geometric version of this idea is introduced in Projective Hilbert Space.

Norms let one state what it means for an approximation to be good. For a bounded operator AA with operator norm ∥A∥op\lVert A\rVert_{\mathrm{op}}, normalized vectors satisfy

∣⟨ψ∣A∣ψ⟩−⟨ϕ∣A∣ϕ⟩∣≤2∥A∥op ∥ψ−ϕ∥.\left\lvert \langle\psi\vert A\vert\psi\rangle - \langle\phi\vert A\vert\phi\rangle \right\rvert \le 2\lVert A\rVert_{\mathrm{op}}\, \lVert\psi-\phi\rVert.

This bound is not a substitute for physical analysis, and unbounded operators require domain care. Its purpose is to show why norm control is powerful: a small state-vector error gives controlled expectation-value errors for bounded observables.

In numerical diagonalization, a computed eigenpair (λ,v)(\lambda,v) is checked by the residual

r=Hv−λv.r=Hv-\lambda v.

The residual norm ∥r∥\lVert r\rVert measures how closely the pair satisfies the eigenvalue equation. The relevant numerical page is Matrix Diagonalization.

Let

χ=(11+i)∈C2.\chi = \begin{pmatrix} 1\\ 1+i \end{pmatrix} \in\mathbb C^2.

With the standard inner product,

∥χ∥22=∣1∣2+∣1+i∣2=1+2=3.\lVert\chi\rVert_2^2 = \lvert1\rvert^2+\lvert1+i\rvert^2 = 1+2 = 3.

The corresponding unit vector is

ψ=13(11+i).\psi = \frac{1}{\sqrt3} \begin{pmatrix} 1\\ 1+i \end{pmatrix}.

If

ϕ=(10),\phi = \begin{pmatrix} 1\\ 0 \end{pmatrix},

then

∥ψ−ϕ∥22=∣13−1∣2+∣1+i3∣2=2−23.\lVert\psi-\phi\rVert_2^2 = \left\lvert \frac{1}{\sqrt3}-1 \right\rvert^2 + \left\lvert \frac{1+i}{\sqrt3} \right\rvert^2 = 2-\frac{2}{\sqrt3}.

This is a distance between the chosen representatives. If only rays matter, the possible global phase of ψ\psi should be minimized over.

  • Writing ∣ψ∣\lvert\psi\rvert when the intended object is the Hilbert-space norm ∥ψ∥\lVert\psi\rVert.
  • Normalizing by coordinate squares in a basis that is not orthonormal.
  • Treating a phase-dependent vector distance as a distance between physical pure states.
  • Assuming a Cauchy sequence converges before checking completeness.
  • Using a residual norm in a numerical calculation without saying which norm and scaling are being used.
  • Applying finite-dimensional norm equivalence intuition to infinite-dimensional function spaces without checking the topology.
  • B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
  • M. Reed and B. Simon, Methods of Modern Mathematical Physics, Volume I: Functional Analysis, Academic Press, 1980.
  • J. B. Conway, A Course in Functional Analysis, 2nd ed., Springer, 1990.
  • L. N. Trefethen and D. Bau, Numerical Linear Algebra, SIAM, 1997.
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
  1. Let v=(1,2i,−2)∈C3v=(1,2i,-2)\in\mathbb C^3. Compute ∥v∥2\lVert v\rVert_2.
Solution

Use the standard norm:

∥v∥22=∣1∣2+∣2i∣2+∣−2∣2=1+4+4=9.\lVert v\rVert_2^2 = \lvert1\rvert^2+\lvert2i\rvert^2+\lvert-2\rvert^2 = 1+4+4 = 9.

Thus ∥v∥2=3\lVert v\rVert_2=3.

  1. Suppose ψ\psi and eiθψe^{i\theta}\psi are both normalized. What is their ray distance according to the phase-minimized formula?
Solution

They represent the same ray. Choosing α=−θ\alpha=-\theta gives

∥ψ−eiαeiθψ∥=∥ψ−ψ∥=0.\lVert\psi-e^{i\alpha}e^{i\theta}\psi\rVert = \lVert\psi-\psi\rVert = 0.

The ray distance is zero even though the distance between the two written vectors may be nonzero.

  1. Let H=diag⁡(1,2)H=\operatorname{diag}(1,2), v=(1,ϵ)Tv=(1,\epsilon)^T, and λ=1\lambda=1. Compute the residual norm using the standard Euclidean norm.
Solution

The residual is

r=Hv−λv=(12ϵ)−(1ϵ)=(0ϵ).r = Hv-\lambda v = \begin{pmatrix} 1\\ 2\epsilon \end{pmatrix} - \begin{pmatrix} 1\\ \epsilon \end{pmatrix} = \begin{pmatrix} 0\\ \epsilon \end{pmatrix}.

Therefore

∥r∥2=∣ϵ∣.\lVert r\rVert_2 = \lvert\epsilon\rvert.