Vector Norm — Definition, Formula & Examples
A vector norm is a function that assigns a non-negative length or size to a vector. The most common type 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 over (or ) is a function satisfying three axioms for all vectors and all scalars : (1) , with equality if and only if (positive definiteness); (2) (absolute homogeneity); (3) (triangle inequality).
Key Formula
Where:
- = A vector with components $v_1, v_2, \ldots, v_n$
- = The number of components (dimension of the vector)
- = A positive real number specifying the norm type; $p = 2$ gives the Euclidean norm
How It Works
To compute the Euclidean norm (also called the norm), square each component of the vector, sum the squares, and take the square root. Other norms exist: the norm sums absolute values, and the norm takes the largest absolute value among the components. The choice of norm depends on the application, but the Euclidean norm is the default in most introductory courses. Any function satisfying the three norm axioms qualifies as a valid norm.
Worked Example
Problem: Find the Euclidean norm of the vector .
Square each component: Compute the square of each entry.
Sum the squares: Add the results together.
Take the square root: Apply the square root to get the norm.
Answer:
Why It Matters
Vector norms are essential in machine learning for regularization (e.g., and penalties in regression) and in numerical analysis for measuring approximation errors. In physics and engineering, the Euclidean norm directly represents quantities like force magnitude, velocity, and displacement.
Common Mistakes
Mistake: Forgetting to take the square root after summing the squared components.
Correction: The Euclidean norm requires the square root of the sum of squares: . Without it, you have the squared norm , which is a different quantity.
