Home Statistical Dictionary Vector Norm

Vector Norm

A single number measuring a vector's length or magnitude, generalizing the ordinary Euclidean distance formula to any number of dimensions -- the basis of distance-based statistical procedures from k-nearest-neighbors to ridge-regression penalties.

Linear Algebra for StatisticsIntermediateFree

In Plain English

A vector norm answers a simple question: how big is this vector? For a vector in the ordinary plane, that's just the Pythagorean-theorem distance from the origin, and the vector norm extends that same idea to vectors of any dimension. Different norms measure 'size' in different ways, the most familiar (Euclidean) norm penalizes large entries more heavily than the sum-of-absolute-values norm does, which is exactly the mathematical distinction between ridge regression's and lasso's penalty terms.

Definition

The -norm of a vector is defined as for , with the Euclidean norm (), , by far the most common choice in statistics, and the norm (), , the second most common. Every vector norm satisfies three defining properties -- non-negativity (, with equality only for the zero vector), positive homogeneity (), and the triangle inequality () -- and the Euclidean norm in particular underlies the residual sum of squares in ordinary least squares, .

Formula

Notation

—the p-norm of vector x
—the norm's order (p=2 Euclidean, p=1 L1/Manhattan)

Worked Example

For , the Euclidean norm is (the familiar 3-4-5 right triangle), while the L1 norm is -- two different, both valid, measures of the same vector's size.

Properties

  • The Euclidean norm squared, , is exactly the sum of squares that ordinary least squares minimizes when fitting a regression model -- OLS can be described precisely as choosing coefficients that minimize the Euclidean norm of the residual vector.
  • Ridge regression penalizes the squared L2 norm of the coefficient vector, while lasso penalizes the L1 norm -- the same underlying vector-norm concept, applied with a different value of p, produces two regularization methods with meaningfully different behavior (ridge shrinks coefficients smoothly toward zero, lasso can shrink them to exactly zero).
  • A norm is always non-negative and equals zero only for the zero vector -- this positive-definiteness property is what makes a norm a legitimate measure of 'distance from the origin,' and underlies its use in convergence proofs, optimization stopping criteria, and distance-based clustering and classification methods.

At a Glance

Euclidean (p=2)sqrt of sum of squared entries -- ordinary straight-line distance
L1 (p=1)sum of absolute values -- underlies the lasso penalty
Must satisfynon-negativity, homogeneity, the triangle inequality
DrivesOLS's squared-error loss, ridge/lasso penalty terms, k-NN distances
Last updated September 8, 2026← Back to the Dictionary