Matrix Norm Calculator
Calculate matrix norms that measure the size or magnitude of a matrix. Common examples include the Frobenius norm, induced 1-norm, infinity norm, and maximum absolute entry norm, each defined using a different mathematical rule.
A
Learn About Matrix Norms
In linear algebra and numerical analysis, a matrix norm is a function that assigns a non-negative real scalar to an $m \times n$ matrix, quantifying its overall magnitude, size, or distance from the zero matrix. Matrix norms are essential for bounding numerical errors, analyzing iterative convergence, and computing condition numbers.
Formal Axiomatic Definition
A function $\|\cdot\|: \mathbb{R}^{m \times n} \to [0, \infty)$ is a matrix norm if it satisfies three axioms for all matrices $\mathbf{A}, \mathbf{B} \in \mathbb{R}^{m \times n}$ and every scalar $c \in \mathbb{R}$:
- Positive Definiteness: $\|\mathbf{A}\| \ge 0$, and $\|\mathbf{A}\| = 0 \iff \mathbf{A} = \mathbf{0}$.
- Absolute Homogeneity: $\|c\mathbf{A}\| = |c| \, \|\mathbf{A}\|$.
- Triangle Inequality: $\|\mathbf{A} + \mathbf{B}\| \le \|\mathbf{A}\| + \|\mathbf{B}\|$.
For square matrices ($n \times n$), norms used in matrix multiplication typically satisfy submultiplicativity:
Standard Matrix Norms
GammaCalculator evaluates five primary matrix norms across any rectangular or square dimension ($m \times n$):
- Frobenius Norm ($\|\mathbf{A}\|_F$):
Treats the matrix as a vector in $\mathbb{R}^{m \cdot n}$ and computes the Euclidean length of all entries:
- Induced 1-Norm ($\|\mathbf{A}\|_1$ — Maximum Absolute Column Sum):
Evaluates the sum of absolute values in each column and takes the maximum:
- Induced $\infty$-Norm ($\|\mathbf{A}\|_\infty$ — Maximum Absolute Row Sum):
Evaluates the sum of absolute values in each row and takes the maximum:
- Max Norm ($\|\mathbf{A}\|_{\max}$ — Entrywise Maximum):
Finds the largest absolute entry in the matrix:
- Spectral 2-Norm ($\|\mathbf{A}\|_2$):
The operator norm induced by the vector Euclidean norm, equal to the largest singular value:
Worked Numerical Example
Consider the $2 \times 2$ matrix:
- Frobenius Norm:
- Maximum Absolute Column Sum ($L_1$ Norm):
- Maximum Absolute Row Sum ($L_\infty$ Norm):
- Max Norm ($L_{\max}$):
- Spectral Norm ($L_2$):
Characteristic equation: $\lambda^2 - 30\lambda + 100 = 0$, giving $\lambda_{\max} = 15 + 5\sqrt{5} \approx 26.180340$.
What is the difference between an entrywise norm and an induced operator norm?
An entrywise norm (such as Frobenius or max norm) treats an $m \times n$ matrix as a flat list of $mn$ numbers and applies a vector norm formula. An induced operator norm (such as $\|\mathbf{A}\|_1$, $\|\mathbf{A}\|_2$, or $\|\mathbf{A}\|_\infty$) measures the maximum stretching factor the matrix applies to vectors under the corresponding vector norm: $\|\mathbf{A}\| = \sup_{\mathbf{x} \ne \mathbf{0}} \frac{\|\mathbf{A}\mathbf{x}\|}{\|\mathbf{x}\|}$.
Why is the max norm not submultiplicative?
The max norm $\|\mathbf{A}\|_{\max} = \max_{i,j} |a_{ij}|$ does not satisfy $\|\mathbf{A}\mathbf{B}\| \le \|\mathbf{A}\| \, \|\mathbf{B}\|$. For instance, if $\mathbf{A} = \mathbf{B} = \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix}$, then $\|\mathbf{A}\|_{\max} = 1$, but $\mathbf{A}\mathbf{B} = \begin{bmatrix} 2 & 2 \\ 2 & 2 \end{bmatrix}$, yielding $\|\mathbf{A}\mathbf{B}\|_{\max} = 2 > 1 \times 1$.
How do matrix norms relate to condition numbers?
The condition number of an invertible matrix is defined as $\kappa(\mathbf{A}) = \|\mathbf{A}\| \, \|\mathbf{A}^{-1}\|$. It measures how sensitive the solution of $\mathbf{A}\mathbf{x} = \mathbf{b}$ is to errors in $\mathbf{b}$ or matrix entries. Because $\|\mathbf{I}\| \ge 1$ for any induced norm, $\kappa(\mathbf{A}) \ge 1$, with values near $1$ indicating high stability.
Are all matrix norms equivalent on finite-dimensional spaces?
Yes. On any finite-dimensional space like $\mathbb{R}^{m \times n}$, all matrix norms are topologically equivalent. For any two norms $\|\cdot\|_\alpha$ and $\|\cdot\|_\beta$, positive constants $c_1, c_2 > 0$ exist such that $c_1 \|\mathbf{A}\|_\beta \le \|\mathbf{A}\|_\alpha \le c_2 \|\mathbf{A}\|_\beta$ for all matrices $\mathbf{A}$.
- Frobenius Trace Identity: The Frobenius norm can be computed directly from matrix trace and transposition: $\|\mathbf{A}\|_F = \sqrt{\operatorname{tr}(\mathbf{A}^T \mathbf{A})}$. It also equals the root sum of squared singular values: $\|\mathbf{A}\|_F = \sqrt{\sum_{i=1}^r \sigma_i^2}$.
- Spectral Norm Unitary Invariance: Multiplying a matrix by an orthogonal matrix $\mathbf{Q}$ preserves its spectral and Frobenius norms: $\|\mathbf{Q}\mathbf{A}\|_2 = \|\mathbf{A}\|_2$ and $\|\mathbf{Q}\mathbf{A}\|_F = \|\mathbf{A}\|_F$, reflecting the fact that orthogonal transformations represent rigid rotations and reflections.