Search

Search papers and lessons

Matrix Norm

Level 2 · 10 min read

A matrix norm measures the most a matrix can stretch a vector, the largest ratio of output length to input length over all nonzero inputs.

On this page

  • Colour = topic mix
  • Discrete math
  • Linear algebra
  • ReadReady to readNot yet

TL;DR

A matrix is a machine that turns vectors into other vectors (a linear transformation), and a matrix norm is one number that says how much the machine can stretch them. It is defined as the largest ratio of output length to input length over all nonzero inputs. It matters because it gives a single, safe bound: if you know the norm, you know the worst-case growth of any error passed through the matrix.

Builds on: Vector Norm, Matrix Multiplication, Supremum · Leads to: Condition Number, Lipschitz constants of linear maps

Where it's used

Stability of repeated updates. Iterative methods for solving equations and training loops apply the same matrix again and again. If the norm of that matrix is below 1, every application shrinks the error by at least that factor, which is the basic reason such iterations converge.

Sensitivity of linear systems. Engineers solving large systems of equations ask how much a small error in the data can change the answer. The matrix norm, together with the condition number, gives the answer as a bound rather than a guess.

Neural network layers. A layer is a matrix followed by a nonlinearity. Its norm bounds how much one layer can amplify a change in its input, which is why norm control appears in training methods for stability and robustness.

Control and signal processing. Engineers describe how a linear system responds to inputs with its gain, which for a matrix is its norm. A small gain means a system that does not blow up.

How it works

Trace one tiny matrix. Let A be the 2 × 2 matrix that doubles the first coordinate and leaves the second alone: A(x, y) = (2x, y). Its norm should answer one question: what is the largest stretch A can apply to any input?

  1. Pick an input. Take x = (1, 0), a vector of length 1. Check: length √(1² + 0²) = 1.
  2. Apply the matrix. A x = (2, 0), of length 2. Check: the first coordinate doubled, the second stayed 0.
  3. Measure the stretch. The ratio is output length over input length: 2 / 1 = 2. Check: the stretch is 2 for this input.
  4. Try another input. Take y = (0, 1). A y = (0, 1), of length 1, so the ratio is 1. Check: this direction is not stretched at all.
  5. Try a slanted input. Take z = (0.6, 0.8), of length 1. A z = (1.2, 0.8), of length √(1.44 + 0.64) = √2.08 ≈ 1.44. Check: the ratio 1.44 is smaller than 2.
  6. Take the largest ratio. Across all inputs the biggest ratio is 2, reached at (1, 0). That number is the matrix norm of A, written ‖A‖ = 2.

The norm is therefore not a property of the entries alone. It is a property of how the matrix acts on every direction, and its worst direction is the one that matters.

00.511.522.5300.511.52angle of input (radians)output length
  • stretch at angle x
For inputs of length 1 at angle θ, the stretch of A is the curve. Its peak, 2 at angle 0, is the matrix norm.

The math

Definition: Induced (operator) matrix norm

For a matrix AA and a vector norm ∥⋅∥\lVert \cdot \rVert, the norm of AA induced by that vector norm is

∥A∥=sup⁡x≠0∥Ax∥∥x∥.\lVert A \rVert = \sup_{x \neq 0} \frac{\lVert A x \rVert}{\lVert x \rVert}.

Here xx ranges over nonzero vectors, ∥Ax∥\lVert Ax \rVert is the length of the output, and the supremum is the least upper bound of all the ratios.

Step 1 in symbols: the matrix acts on a vector

For AA with entries aija_{ij} and a vector xx, the output is AxAx. For the example, A=(2001)A = \begin{pmatrix} 2 & 0 \\ 0 & 1 \end{pmatrix}, so Ax=(2x1,x2)A x = (2x_1, x_2).

Step 2 in symbols: the ratio

The ratio ∥Ax∥/∥x∥\lVert Ax \rVert / \lVert x \rVert does not change if xx is scaled. So the sup can be taken over unit vectors, ∥x∥=1\lVert x \rVert = 1. Check: for x=(0.6,0.8)x = (0.6, 0.8), ∥Ax∥=2.08≈1.44\lVert Ax \rVert = \sqrt{2.08} \approx 1.44.

Step 3 in symbols: the Euclidean case

With the ordinary Euclidean length, the induced norm is the largest singular value σmax⁡(A)\sigma_{\max}(A), the largest stretch read off the singular value decomposition. For the example A=diag(2,1)A = \mathrm{diag}(2, 1), σmax⁡=2\sigma_{\max} = 2.

The two other common induced norms have simple formulas:

∥A∥1=max⁡j∑i∣aij∣,∥A∥∞=max⁡i∑j∣aij∣\lVert A \rVert_1 = \max_j \sum_i |a_{ij}|, \qquad \lVert A \rVert_\infty = \max_i \sum_j |a_{ij}|

The first is the largest absolute column sum, the second the largest absolute row sum.

Step 4 in symbols: the defining inequality

Straight from the sup: for every xx, ∥Ax∥≤∥A∥ ∥x∥\lVert Ax \rVert \le \lVert A \rVert \, \lVert x \rVert. This is the property that makes the norm useful, because it bounds any output by its input.

Worked examples

Example
1. Tiny: the diagonal stretch

Setup: A=(2001)A = \begin{pmatrix} 2 & 0 \\ 0 & 1 \end{pmatrix}.

  1. Euclidean norm: the stretch along the first axis is 2 and along the second is 1. The largest is 2, so ∥A∥2=2\lVert A \rVert_2 = 2.
  2. Column sums: column 1 has 2, column 2 has 1, so ∥A∥1=2\lVert A \rVert_1 = 2.
  3. Row sums: row 1 has 2, row 2 has 1, so ∥A∥∞=2\lVert A \rVert_\infty = 2.
  4. Interpretation: all three induced norms agree here, because the matrix is diagonal and its largest entry sits on the axes.
  5. Contrast: the Frobenius norm, the square root of the sum of squared entries, is 4+1=5≈2.24\sqrt{4 + 1} = \sqrt{5} \approx 2.24. It is a valid size measure but not an induced norm, and it is bigger than 2.
Example
2. Standard: a full 2 by 2 matrix

Setup: A=(1234)A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}.

  1. Column sums: ∣1∣+∣3∣=4|1| + |3| = 4 and ∣2∣+∣4∣=6|2| + |4| = 6, so ∥A∥1=6\lVert A \rVert_1 = 6.
  2. Row sums: ∣1∣+∣2∣=3|1| + |2| = 3 and ∣3∣+∣4∣=7|3| + |4| = 7, so ∥A∥∞=7\lVert A \rVert_\infty = 7.
  3. Euclidean norm: form ATA=(10141420)A^{T} A = \begin{pmatrix} 10 & 14 \\ 14 & 20 \end{pmatrix}.
  4. Its eigenvalues solve λ2−30λ+4=0\lambda^2 - 30\lambda + 4 = 0, since the trace is 30 and the determinant is 200−196=4200 - 196 = 4.
  5. The larger root is λ=(30+884)/2≈29.866\lambda = (30 + \sqrt{884})/2 \approx 29.866.
  6. The largest singular value is λ≈29.866≈5.465\sqrt{\lambda} \approx \sqrt{29.866} \approx 5.465, so ∥A∥2≈5.465\lVert A \rVert_2 \approx 5.465.
  7. Check: the Frobenius norm is 1+4+9+16=30≈5.477\sqrt{1 + 4 + 9 + 16} = \sqrt{30} \approx 5.477, which is slightly larger, as it must be.
  8. Interpretation: the same matrix has three different norms, 6, 7 and about 5.47, because each one measures stretch with a different notion of length.
Example
3. Realistic: bounding a repeated update

Setup: a recurrent step updates a state by xt+1=Axtx_{t+1} = A x_t, with A=(0.50.2−0.30.4)A = \begin{pmatrix} 0.5 & 0.2 \\ -0.3 & 0.4 \end{pmatrix}. We want a guaranteed bound on how the state can grow.

  1. Row sums: row 1 has ∣0.5∣+∣0.2∣=0.7|0.5| + |0.2| = 0.7, row 2 has ∣−0.3∣+∣0.4∣=0.7|-0.3| + |0.4| = 0.7.
  2. So ∥A∥∞=0.7\lVert A \rVert_\infty = 0.7.
  3. Each step satisfies ∥xt+1∥∞≤0.7 ∥xt∥∞\lVert x_{t+1} \rVert_\infty \le 0.7 \, \lVert x_t \rVert_\infty, by the defining inequality.
  4. After three steps, ∥x3∥∞≤0.73 ∥x0∥∞=0.343 ∥x0∥∞\lVert x_3 \rVert_\infty \le 0.7^3 \, \lVert x_0 \rVert_\infty = 0.343 \, \lVert x_0 \rVert_\infty.
  5. Interpretation: whatever the start, the state's largest coordinate is at least 65.7 percent smaller after three steps, a guarantee that needs no simulation.

Try it: a fourth step is added, starting from a state whose largest coordinate is 10. What bound does the sup norm give on the largest coordinate after four steps? Answer: 0.74⋅10=0.2401⋅10=2.4010.7^4 \cdot 10 = 0.2401 \cdot 10 = 2.401.

Common mistakes and tradeoffs

It is tempting to think the matrix norm is the largest entry. In fact the entries can be misleading: the all-ones 2 by 2 matrix has largest entry 1, but its Euclidean norm is 2, because it stretches the diagonal direction by twice as much.

It is tempting to think there is one matrix norm. In fact each choice of vector length gives its own induced norm, and Example 2 shows three different values for one matrix. Always say which one you mean.

It is tempting to think the Frobenius norm is the operator norm. In fact the Frobenius norm is cheap to compute and is an upper bound on the Euclidean operator norm, but it is usually too large. The identity matrix shows the gap: its Frobenius norm is 2\sqrt{2}, while its operator norm is 1.

Use the induced norm when you need a guaranteed bound on how a matrix scales vectors, for stability or sensitivity arguments. Use the Frobenius norm when you want a quick size of the whole matrix and do not need a sharp bound. The Euclidean operator norm is the most informative but needs the singular values, which cost more to compute than the column or row sums.

History

Norms of linear maps appeared in the late nineteenth and early twentieth centuries, as mathematicians began studying linear operators on spaces of functions. Stefan Banach's 1932 book on linear operators gave the abstract framework of normed spaces in which operator norms are the natural measure.

The link to singular values came earlier. Eugenio Beltrami in 1873 and Camille Jordan in 1874 independently showed that every real matrix can be decomposed in a way that reveals its largest stretch. In 1936 Carl Eckart and Gale Young showed that the best low-rank approximation of a matrix is measured in exactly this Euclidean norm.

Matrix norms caught on in numerical analysis because they turn messy questions about error growth into a single inequality. That is why they are now standard in scientific computing.

Recap

  • A matrix norm is the largest ratio of output length to input length over all nonzero inputs.
  • The induced norm with Euclidean length equals the largest singular value. With the largest absolute column sum or row sum it has simple formulas.
  • The defining inequality ∥Ax∥≤∥A∥ ∥x∥\lVert Ax \rVert \le \lVert A \rVert \, \lVert x \rVert bounds every output by its input.
  • Different vector lengths give different matrix norms, so name the one you use.
  • The matrix norm is the basic tool for the condition number and for Lipschitz bounds on linear maps.

What to read next: Condition Number for how the norm controls sensitivity of solutions, and Lipschitz continuity for the same idea applied to functions.

Check yourself

QuestionRecall: what does the induced matrix norm measure?Show answer
The largest ratio of the length of the output AxAx to the length of the input xx, over all nonzero inputs xx.
QuestionComputation: what is the 1-norm (largest absolute column sum) of (3−124)\begin{pmatrix} 3 & -1 \\ 2 & 4 \end{pmatrix}?Show answer
Column 1 has ∣3∣+∣2∣=5|3| + |2| = 5 and column 2 has ∣−1∣+∣4∣=5|-1| + |4| = 5. The largest is 5, so the answer is 5.
QuestionWhy: why is the largest entry of a matrix not its norm?Show answer
Because the norm depends on how the matrix acts on every direction, not on single entries. For the all-ones 2 by 2 matrix the largest entry is 1, but the Euclidean norm is 2, since the matrix stretches the direction (1,1)(1, 1) by a factor of 2.
QuestionApplied: a recurrent update has sup-norm 0.5 per step. Starting from a state of sup-norm 8, what bound holds after two steps, and why does it hold?Show answer
The bound is 0.52⋅8=20.5^2 \cdot 8 = 2. Each step satisfies ∥xt+1∥≤0.5 ∥xt∥\lVert x_{t+1} \rVert \le 0.5 \, \lVert x_t \rVert by the defining inequality, so the bound compounds over two steps.

Sources