7. Norm

A scalar that measures the length (or magnitude) of a vector.

Notation: .

7.1. Euclidean norm ()

The default norm — Pythagoras applied componentwise.

For :

Example

Geometrically, this is the distance from the origin to the point .

7.2. From dot product

The Euclidean norm is the dot product of a vector with itself, square-rooted:

(See Dot Product.)

This connection makes norms central to projections, angles between vectors, and least-squares regression.

7.3. Properties (norm axioms)

For any vectors and scalar :

Any function satisfying these four axioms is a norm.

7.4. Geometric interpretation

7.5. Other common norms ( family)

For :

Special cases:

Norm Formula Geometry of unit ball
(Manhattan / taxicab) diamond
(Euclidean — default) circle / sphere
(Chebyshev / max) square / cube
Example

:

7.6. Normalizing a vector

Dividing a vector by its norm gives a unit vector in the same direction:

7.7. Connections