Tutorials › Linear Algebra › The Triangle Inequality For Induced Norms

Inner Products and Norms · Tutorial 616 of 1000

The Triangle Inequality For Induced Norms

Learn why expanding a squared norm and applying Cauchy–Schwarz proves the triangle inequality, and when equality can occur.

Intermediate 9 min read

What You'll Learn

  • Expand the squared norm of a sum in real and complex inner product spaces.
  • Use Cauchy–Schwarz to bound the cross term in that expansion.
  • Prove the triangle inequality for every induced inner product norm.
  • Characterize when equality holds, including cases involving the zero vector.
  • Check the inequality in real, complex, and matrix examples.
  • Avoid confusing the real part of an inner product with its absolute value.

Why Sums Need a Norm Inequality

A norm measures the size of a vector, but the size of a sum depends on how the summands relate. Two vectors can reinforce one another or partly cancel. The triangle inequality gives a bound that works in either situation: the norm of a sum cannot exceed the sum of the separate norms. For norms induced by inner products, this fact follows by expanding a squared norm and controlling the cross term with Cauchy–Schwarz.

Let \(\mathbb{F}\) be either \(\mathbb{R}\) or \(\mathbb{C}\), and let \(V\) be an inner product space over \(\mathbb{F}\). We use the convention that the inner product is linear in its first slot and conjugate-linear in its second; over \(\mathbb{R}\), this is simply bilinearity. In either field it satisfies \(\langle \mathbf{v},\mathbf{u}\rangle=\overline{\langle \mathbf{u},\mathbf{v}\rangle}\), with conjugation doing nothing over \(\mathbb{R}\). Positive-definiteness means that \(\langle \mathbf{u},\mathbf{u}\rangle\) is real and nonnegative, and is zero exactly when \(\mathbf{u}=\mathbf{0}\).

Definition: The induced norm of a vector \(\mathbf{u}\in V\) is \(\|\mathbf{u}\|=\sqrt{\langle\mathbf{u},\mathbf{u}\rangle}\). The triangle inequality for this norm is the assertion that \(\|\mathbf{u}+\mathbf{v}\|\leq\|\mathbf{u}\|+\|\mathbf{v}\|\) for all \(\mathbf{u},\mathbf{v}\in V\).

The Cauchy–Schwarz inequality, established for real and complex inner product spaces in the earlier material, states that \(|\langle\mathbf{u},\mathbf{v}\rangle|\leq\|\mathbf{u}\|\|\mathbf{v}\|\). It applies to every pair of vectors in an inner product space; finite dimensionality is not required. The proof below uses it only to bound the cross term that appears when the squared norm of a sum is expanded.

Expanding the Squared Norm

For either field, additivity in each slot gives four terms. Hermitian symmetry pairs the two cross terms. In the complex case, their sum is twice the real part of either one; in the real case, it is twice the inner product itself.

$$ \begin{aligned} \|\mathbf{u}+\mathbf{v}\|^2 &=\langle\mathbf{u}+\mathbf{v},\mathbf{u}+\mathbf{v}\rangle\\ &=\|\mathbf{u}\|^2+\langle\mathbf{u},\mathbf{v}\rangle +\langle\mathbf{v},\mathbf{u}\rangle+\|\mathbf{v}\|^2\\ &=\|\mathbf{u}\|^2+\|\mathbf{v}\|^2 +2\operatorname{Re}\langle\mathbf{u},\mathbf{v}\rangle. \end{aligned} $$

For real inner products, \(\operatorname{Re}\langle\mathbf{u},\mathbf{v}\rangle=\langle\mathbf{u},\mathbf{v}\rangle\), so the same formula includes the real case. For a complex number \(z=a+ib\), \(\operatorname{Re}z=a\) and \(|z|=\sqrt{a^2+b^2}\), hence \(\operatorname{Re}z\leq |z|\). Combining this scalar inequality with Cauchy–Schwarz bounds the cross term above by \(2\|\mathbf{u}\|\|\mathbf{v}\|\).

Theorem (Triangle inequality for induced norms): Let \(V\) be an inner product space over \(\mathbb{R}\) or \(\mathbb{C}\), and let \(\|\cdot\|\) be its induced norm. For all \(\mathbf{u},\mathbf{v}\in V\), \(\|\mathbf{u}+\mathbf{v}\|\leq\|\mathbf{u}\|+\|\mathbf{v}\|\).

Proof. For \(z=a+ib\in\mathbb{C}\), \(|z|^2=a^2+b^2\geq a^2\), so \(|\operatorname{Re}z|=|a|\leq|z|\), and therefore \(\operatorname{Re}z\leq|z|\). This also holds for real \(z\). Using the squared-norm expansion and then Cauchy–Schwarz gives

$$ \begin{aligned} \|\mathbf{u}+\mathbf{v}\|^2 &=\|\mathbf{u}\|^2+\|\mathbf{v}\|^2 +2\operatorname{Re}\langle\mathbf{u},\mathbf{v}\rangle\\ &\leq\|\mathbf{u}\|^2+\|\mathbf{v}\|^2 +2|\langle\mathbf{u},\mathbf{v}\rangle|\\ &\leq\|\mathbf{u}\|^2+\|\mathbf{v}\|^2 +2\|\mathbf{u}\|\|\mathbf{v}\|\\ &=(\|\mathbf{u}\|+\|\mathbf{v}\|)^2. \end{aligned} $$

Both sides of the desired inequality are nonnegative: norms are nonnegative, and the sum of two nonnegative numbers is nonnegative. The square-root function preserves order on nonnegative real numbers. Taking square roots of the displayed inequality therefore gives \(\|\mathbf{u}+\mathbf{v}\|\leq\|\mathbf{u}\|+\|\mathbf{v}\|\), as required. \(\square\)

Worked Applications

Worked Example: A Real Inner Product

In \(\mathbb{R}^2\) with the standard inner product, take \(\mathbf{u}=(1,2)^{\top}\) and \(\mathbf{v}=(2,-1)^{\top}\). Calculate both sides of the triangle inequality and check the result using the expansion.

The squared norms and inner product are

$$ \|\mathbf{u}\|^2=1^2+2^2=5,\qquad \|\mathbf{v}\|^2=2^2+(-1)^2=5,\qquad \langle\mathbf{u},\mathbf{v}\rangle=1\cdot2+2\cdot(-1)=0. $$

Thus \(\|\mathbf{u}\|=\sqrt{5}\) and \(\|\mathbf{v}\|=\sqrt{5}\). The sum is \(\mathbf{u}+\mathbf{v}=(3,1)^{\top}\), so \(\|\mathbf{u}+\mathbf{v}\|=\sqrt{3^2+1^2}=\sqrt{10}\). The proposed bound is \(\sqrt{5}+\sqrt{5}=2\sqrt{5}\). Since \((\sqrt{10})^2=10\leq20=(2\sqrt{5})^2\), the inequality holds.

Check by expansion: the inner product is zero, so \(\|\mathbf{u}+\mathbf{v}\|^2=5+5+2(0)=10\), agreeing with the direct calculation.

Worked Example: A Complex Inner Product

In \(\mathbb{C}^2\) with the standard inner product \(\langle\mathbf{u},\mathbf{v}\rangle=u_1\overline{v_1}+u_2\overline{v_2}\), take \(\mathbf{u}=(1,i)^{\top}\) and \(\mathbf{v}=(1,1)^{\top}\). The conjugate in the inner product matters when computing the cross term.

The norms satisfy \(\|\mathbf{u}\|^2=|1|^2+|i|^2=1+1=2\) and \(\|\mathbf{v}\|^2=|1|^2+|1|^2=2\). The inner product is \(\langle\mathbf{u},\mathbf{v}\rangle=1\cdot\overline{1}+i\cdot\overline{1}=1+i\), whose real part is \(1\). Consequently, the expansion gives

$$ \|\mathbf{u}+\mathbf{v}\|^2=2+2+2\operatorname{Re}(1+i)=6. $$

Directly, \(\mathbf{u}+\mathbf{v}=(2,1+i)^{\top}\), and its squared norm is \(|2|^2+|1+i|^2=4+(1^2+1^2)=6\), confirming the expansion. Therefore \(\|\mathbf{u}+\mathbf{v}\|=\sqrt{6}\), while \(\|\mathbf{u}\|+\|\mathbf{v}\|=2\sqrt{2}\). Squaring these nonnegative quantities gives \(6\leq8\), so \(\sqrt{6}\leq2\sqrt{2}\).

Worked Example: A Frobenius Inner Product

For real \(2\times2\) matrices, use the inner product \(\langle\mathbf{A},\mathbf{B}\rangle=\sum_{i=1}^{2}\sum_{j=1}^{2}a_{ij}b_{ij}\), which induces the Frobenius norm. Let

$$ \mathbf{A}=\begin{bmatrix}1&0\\0&1\end{bmatrix}, \qquad \mathbf{B}=\begin{bmatrix}1&1\\0&0\end{bmatrix}. $$

Summing the squares of the entries gives \(\|\mathbf{A}\|^2=1+0+0+1=2\) and \(\|\mathbf{B}\|^2=1+1+0+0=2\). Their inner product is \(1\cdot1+0\cdot1+0\cdot0+1\cdot0=1\). Adding the matrices gives \(\mathbf{A}+\mathbf{B}=\begin{bmatrix}2&1\\0&1\end{bmatrix}\), whose squared Frobenius norm is \(4+1+0+1=6\). The expansion also gives \(2+2+2(1)=6\).

It follows that \(\|\mathbf{A}+\mathbf{B}\|=\sqrt{6}\), whereas \(\|\mathbf{A}\|+\|\mathbf{B}\|=2\sqrt{2}\). The check \(6\leq8\) verifies the claimed inequality for these matrices.

When Does Equality Hold?

The inequality can be strict, as in the examples above, or it can be an equality. The exact condition distinguishes vectors that point in the same direction from vectors whose sum is shorter than the sum of their individual lengths. Here, “same direction” is expressed algebraically using a positive real scalar; this condition applies in complex spaces as well as real ones.

Theorem (Equality in the triangle inequality): Let \(V\) be an inner product space over \(\mathbb{R}\) or \(\mathbb{C}\). If \(\mathbf{u}=\mathbf{0}\) or \(\mathbf{v}=\mathbf{0}\), then equality holds in the triangle inequality. If both vectors are nonzero, then \(\|\mathbf{u}+\mathbf{v}\|=\|\mathbf{u}\|+\|\mathbf{v}\|\) if and only if \(\mathbf{v}=t\mathbf{u}\) for some positive real number \(t\).

Proof. If either vector is zero, substitution gives equality directly. Now suppose both are nonzero. If \(\|\mathbf{u}+\mathbf{v}\|=\|\mathbf{u}\|+\|\mathbf{v}\|\), squaring both nonnegative sides and using the squared-norm expansion yields \(\operatorname{Re}\langle\mathbf{u},\mathbf{v}\rangle=\|\mathbf{u}\|\|\mathbf{v}\|\). Set \(t=\|\mathbf{v}\|/\|\mathbf{u}\|\), which is positive. Since \(t\) is real, expansion gives \(\|\mathbf{v}-t\mathbf{u}\|^2=\|\mathbf{v}\|^2+t^2\|\mathbf{u}\|^2-2t\operatorname{Re}\langle\mathbf{u},\mathbf{v}\rangle\). Substituting the value of \(t\) and the equality of the real part gives \(\|\mathbf{v}-t\mathbf{u}\|^2=\|\mathbf{v}\|^2+\|\mathbf{v}\|^2-2\|\mathbf{v}\|^2=0\). Positive-definiteness implies \(\mathbf{v}-t\mathbf{u}=\mathbf{0}\), so \(\mathbf{v}=t\mathbf{u}\). Conversely, suppose \(\mathbf{v}=t\mathbf{u}\) for a positive real \(t\). Then \(\mathbf{u}+\mathbf{v}=(1+t)\mathbf{u}\), and homogeneity of the induced norm gives \(\|\mathbf{u}+\mathbf{v}\|=(1+t)\|\mathbf{u}\|=\|\mathbf{u}\|+\|\mathbf{v}\|\). This proves both directions. \(\square\)

Worked Example: Checking the Equality Condition

In \(\mathbb{C}^2\), let \(\mathbf{u}=(1,i)^{\top}\) and \(\mathbf{v}=(2,2i)^{\top}\). Here \(\mathbf{v}=2\mathbf{u}\), so the equality theorem predicts equality. Indeed, \(\|\mathbf{u}\|=\sqrt{2}\), \(\|\mathbf{v}\|=\sqrt{4+4}=\sqrt{8}=2\sqrt{2}\), and \(\mathbf{u}+\mathbf{v}=(3,3i)^{\top}\) has norm \(\sqrt{9+9}=\sqrt{18}=3\sqrt{2}\). Thus \(\|\mathbf{u}+\mathbf{v}\|=3\sqrt{2}=\sqrt{2}+2\sqrt{2}=\|\mathbf{u}\|+\|\mathbf{v}\|\).

Check by expansion: \(\langle\mathbf{u},\mathbf{v}\rangle=1\cdot2+i\cdot\overline{2i}=2+i(-2i)=2+2=4\). Therefore \(\|\mathbf{u}+\mathbf{v}\|^2=2+8+2(4)=18\), which matches the direct calculation.

A Common Mistake

Do not replace the real part by the absolute value in the expansion. Cauchy–Schwarz gives an upper bound using the absolute value, but the expansion itself contains the real part, which can be negative. For example, take \(\mathbf{u}=(1,0)^{\top}\) and \(\mathbf{v}=(-1,0)^{\top}\) in \(\mathbb{R}^2\). A mistaken expansion using \(2|\langle\mathbf{u},\mathbf{v}\rangle|\) would give \(1+1+2|{-1}|=4\) for the squared norm of the sum. But \(\mathbf{u}+\mathbf{v}=\mathbf{0}\), so its squared norm is \(0\). The correct expansion uses \(2\langle\mathbf{u},\mathbf{v}\rangle=2(-1)\), giving \(1+1-2=0\). Only after writing the correct expansion may we bound its cross term above using \(\operatorname{Re}\langle\mathbf{u},\mathbf{v}\rangle\leq|\langle\mathbf{u},\mathbf{v}\rangle|\).

Also keep the squared and unsquared statements distinct. The expansion and Cauchy–Schwarz first show \(\|\mathbf{u}+\mathbf{v}\|^2\leq(\|\mathbf{u}\|+\|\mathbf{v}\|)^2\). The triangle inequality follows by taking square roots because both sides being compared are nonnegative.

Check Your Understanding

Use the squared-norm expansion to justify each conclusion, and check calculations by substituting the vectors or matrices into the definitions.

  1. For real vectors \(\mathbf{u}=(1,1)^{\top}\) and \(\mathbf{v}=(1,0)^{\top}\), compute both sides of the triangle inequality and the cross term.
  2. In \(\mathbb{C}^2\) with the standard inner product linear in the first slot, calculate \(\langle(1,i)^{\top},(i,1)^{\top}\rangle\) and use the expansion to find the squared norm of their sum.
  3. State exactly where Cauchy–Schwarz is used in the proof of the triangle inequality.
  4. For two nonzero vectors, what condition on \(\mathbf{v}\) and \(\mathbf{u}\) is equivalent to equality in the triangle inequality?
  5. Explain why the scalar inequality \(\operatorname{Re}z\leq|z|\) holds for every real or complex number \(z\).

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon