Mathwords logoMathwords

Norm — Definition, Formula & Examples

A norm is a function that assigns a non-negative length or size to a vector in a vector space. The most common norm is the Euclidean norm, which gives the straight-line distance from the origin to the tip of the vector.

A norm on a vector space VV over R\mathbb{R} (or C\mathbb{C}) is a function :VR\|\cdot\|: V \to \mathbb{R} satisfying three axioms: (1) v0\|\mathbf{v}\| \geq 0 with equality if and only if v=0\mathbf{v} = \mathbf{0} (positive definiteness), (2) cv=cv\|c\mathbf{v}\| = |c|\,\|\mathbf{v}\| for any scalar cc (absolute homogeneity), and (3) u+vu+v\|\mathbf{u} + \mathbf{v}\| \leq \|\mathbf{u}\| + \|\mathbf{v}\| (triangle inequality).

Key Formula

v2=v12+v22++vn2\|\mathbf{v}\|_2 = \sqrt{v_1^2 + v_2^2 + \cdots + v_n^2}
Where:
  • v\mathbf{v} = A vector in $\mathbb{R}^n$
  • v1,v2,,vnv_1, v_2, \ldots, v_n = The components of the vector
  • v2\|\mathbf{v}\|_2 = The Euclidean (L²) norm of the vector

How It Works

To compute the Euclidean norm (also called the L2L^2 norm or 2-norm), square each component of the vector, sum the squares, and take the square root. Other norms exist: the L1L^1 norm sums the absolute values of the components, and the LL^\infty norm takes the largest absolute component value. All norms satisfy the same three axioms, but they measure "size" differently. Which norm you use depends on the application — the Euclidean norm captures geometric distance, while the L1L^1 norm is common in optimization and data science.

Worked Example

Problem: Find the Euclidean norm of the vector v=(3,4,12)\mathbf{v} = (3, -4, 12).
Square each component: Compute the square of each entry.
32=9,(4)2=16,122=1443^2 = 9, \quad (-4)^2 = 16, \quad 12^2 = 144
Sum the squares: Add the results together.
9+16+144=1699 + 16 + 144 = 169
Take the square root: Apply the square root to get the norm.
v2=169=13\|\mathbf{v}\|_2 = \sqrt{169} = 13
Answer: v2=13\|\mathbf{v}\|_2 = 13

Why It Matters

Norms appear throughout applied mathematics and engineering — computing distances between data points in machine learning, measuring error in numerical methods, and defining convergence in functional analysis. Normalizing a vector (dividing by its norm to get a unit vector) is a routine operation in physics, computer graphics, and signal processing.

Common Mistakes

Mistake: Forgetting to square the components before summing, and instead summing the absolute values.
Correction: That computes the L1L^1 norm, not the Euclidean norm. For the L2L^2 norm, you must square each component, sum, then take the square root.