In mathematics, a **norm** is a function from a real or complex vector space to the non-negative real numbers that behaves in certain ways like the distance from the origin: it commutes with scaling, obeys a form of the triangle inequality, and is zero only at the origin. In particular, the Euclidean distance of a vector from the origin is a norm, called the Euclidean norm, or 2-norm, which may also be defined as the square root of the inner product of a vector with itself.

A seminorm satisfies the first two properties of a norm, but may be zero for vectors other than the origin.^{[1]} A vector space with a specified norm is called a normed vector space. In a similar manner, a vector space with a seminorm is called a *seminormed vector space*.

The term **pseudonorm** has been used for several related meanings. It may be a synonym of "seminorm".^{[1]}
A *pseudonorm* may satisy the same axioms as a norm, with the equality replaced by an inequality "≤" in the second axiom.^{[2]}
A *pseudonorm* may be a norm that can take infinite values.^{[3]}
A *pseudonorm* may also refer to certain functions parametrised by a directed set.^{[4]}

Given a vector space over a subfield F of the complex numbers a **norm** on is a real-valued function with the following properties, where denotes the usual absolute value of a scalar :^{[5]}

- Subadditivity/Triangle inequality: for all
- Absolute homogeneity: for all and all scalars
- Positive definiteness/Point-separating: for all if then
- Because property (2) implies some authors replace property (3) with the equivalent condition: for every if and only if

A seminorm on is a function that has properties (1) and (2)^{[6]} so that in particular, every norm is also a seminorm (and thus also a sublinear functional). However, there exist seminorms that are not norms. Properties (1) and (2) imply that if is a norm (or more generally, a seminorm) then and that also has the following property:

- Non-negativity: for all

Some authors include non-negativity as part of the definition of "norm", although this is not necessary.

Suppose that p and q are two norms (or seminorms) on a vector space Then p and q are called **equivalent**, if there exist two real constants c and C with *c* > 0 such that for every vector

The norms p and q are equivalent if and only if they induce the same topology on

If a norm is given on a vector space X, then the norm of a vector is usually denoted by enclosing it within double vertical lines: Such notation is also sometimes used if p is only a seminorm. For the length of a vector in Euclidean space (which is an example of a norm, as explained below), the notation with single vertical lines is also widespread.

In LaTeX and related markup languages, the double bar of norm notation is entered with the macro `\|`

, which renders as The double vertical line used to denote parallel lines, parallel operator and parallel addition is entered with `\parallel`

and is rendered as Although looking similar, these two macros must not be confused as `\|`

denotes a bracket and `\parallel`

denotes a relation. Therefore, their size and the spaces around them are not computed in the same way. Similarly, the single vertical bar is coded as `|`

when used as a bracket, and as `\mid`

when used as a relation.

In Unicode, the representation of the "double vertical line" character is U+2016 ‖ DOUBLE VERTICAL LINE. It should not be confused with the "parallel to" symbol, U+2225 ∥ PARALLEL TO, which is intended to denote parallel lines and parallel operators, or U+01C1 ǁ LATIN LETTER LATERAL CLICK, aimed to denote lateral clicks in linguistics.

The single vertical line | has a Unicode representation U+007C | VERTICAL LINE.

Every (real or complex) vector space admits a norm: If is a Hamel basis for a vector space X then the real-valued map that sends *x* = Σ_{i ∈ I} *s*_{i}*x*_{i} ∈ *X* (where all but finitely many of the scalars *s*_{i} are 0) to Σ_{i ∈ I} |*s*_{i}| is a norm on X.^{[8]} There are also a large number of norms that exhibit additional properties that make them useful for specific problems.

The absolute value

is a norm on the one-dimensional vector spaces formed by the real or complex numbers.

Any norm p on a one-dimensional vector space X is equivalent (up to scaling) to the absolute value norm, meaning that there is a norm-preserving isomorphism of vector spaces where is either or and norm-preserving means that This isomorphism is given by sending to a vector of norm 1, which exists since such a vector is obtained by multiplying any non-zero vector by the inverse of its norm.

Further information: Euclidean norm and Euclidean distance |

On the -dimensional Euclidean space the intuitive notion of length of the vector is captured by the formula^{[9]}

This is the **Euclidean norm**, which gives the ordinary distance from the origin to the point * X*—a consequence of the Pythagorean theorem.
This operation may also be referred to as "SRSS", which is an acronym for the

The Euclidean norm is by far the most commonly used norm on ^{[9]} but there are other norms on this vector space as will be shown below.
However, all these norms are equivalent in the sense that they all define the same topology.

The inner product of two vectors of a Euclidean vector space is the dot product of their coordinate vectors over an orthonormal basis. Hence, the Euclidean norm can be written in a coordinate-free way as

The Euclidean norm is also called the ** norm**,^{[11]} ** norm**, **2-norm**, or **square norm**; see space.
It defines a distance function called the **Euclidean length**, ** distance**, or ** distance**.

The set of vectors in whose Euclidean norm is a given positive constant forms an -sphere.

See also: Dot product § Complex vectors |

The Euclidean norm of a complex number is the absolute value (also called the **modulus**) of it, if the complex plane is identified with the Euclidean plane This identification of the complex number as a vector in the Euclidean plane, makes the quantity (as first suggested by Euler) the Euclidean norm associated with the complex number.

See also: Quaternion and Octonion |

There are exactly four Euclidean Hurwitz algebras over the real numbers. These are the real numbers the complex numbers the quaternions and lastly the octonions where the dimensions of these spaces over the real numbers are respectively. The canonical norms on and are their absolute value functions, as discussed previously.

The canonical norm on of quaternions is defined by

for every quaternion in This is the same as the Euclidean norm on considered as the vector space Similarly, the canonical norm on the octonions is just the Euclidean norm on

On an -dimensional complex space the most common norm is

In this case, the norm can be expressed as the square root of the inner product of the vector and itself:

where is represented as a column vector and denotes its conjugate transpose.

This formula is valid for any inner product space, including Euclidean and complex spaces. For complex spaces, the inner product is equivalent to the complex dot product. Hence the formula in this case can also be written using the following notation:

Main article: Taxicab geometry |

The name relates to the distance a taxi has to drive in a rectangular street grid (like that of the New York burough of Manhattan) to get from the origin to the point x.

The set of vectors whose 1-norm is a given constant forms the surface of a cross polytope of dimension equivalent to that of the norm minus 1.
The Taxicab norm is also called the ** norm**. The distance derived from this norm is called the Manhattan distance or ** ℓ_{1} distance**.

The 1-norm is simply the sum of the absolute values of the columns.

In contrast,

is not a norm because it may yield negative results.

Main article: L |

Let *p* ≥ 1 be a real number.
The p-norm (also called -norm) of vector is^{[9]}

For

The p-norm is related to the generalized mean or power mean.

This definition is still of some interest for 0 < *p* < 1, but the resulting function does not define a norm,^{[12]} because it violates the triangle inequality.
What is true for this case of 0 < *p* < 1, even in the measurable analog, is that the corresponding *L*^{p} class is a vector space, and it is also true that the function

(without pth root) defines a distance that makes

The partial derivative of the p-norm is given by

The derivative with respect to x, therefore, is

where ∘ denotes Hadamard product and is used for absolute value of each component of the vector.

For the special case of *p* = 2, this becomes

or

Main article: Maximum norm |

If is some vector such that then:

The set of vectors whose infinity norm is a given constant, c, forms the surface of a hypercube with edge length 2*c*.

In probability and functional analysis, the zero norm induces a complete metric topology for the space of measurable functions and for the F-space of sequences with F–norm ^{[13]}
Here we mean by *F-norm* some real-valued function on an F-space with distance d, such that
The *F*-norm described above is not a norm in the usual sense because it lacks the required homogeneity property.

See also: Hamming distance and discrete metric |

In metric geometry, the discrete metric takes the value one for distinct points and zero otherwise. When applied coordinate-wise to the elements of a vector space, the discrete distance defines the *Hamming distance*, which is important in coding and information theory.
In the field of real or complex numbers, the distance of the discrete metric from zero is not homogeneous in the non-zero point; indeed, the distance from zero remains one as its non-zero argument approaches zero.
However, the discrete distance of a number from zero does satisfy the other properties of a norm, namely the triangle inequality and positive definiteness.
When applied component-wise to vectors, the discrete distance from zero behaves like a non-homogeneous "norm", which counts the number of non-zero components in its vector argument; again, this non-homogeneous "norm" is discontinuous.

In signal processing and statistics, David Donoho referred to the *zero* **"***norm***"** with quotation marks.
Following Donoho's notation, the zero "norm" of x is simply the number of non-zero coordinates of x, or the Hamming distance of the vector from zero.
When this "norm" is localized to a bounded set, it is the limit of p-norms as p approaches 0.
Of course, the zero "norm" is **not** truly a norm, because it is not positive homogeneous.
Indeed, it is not even an F-norm in the sense described above, since it is discontinuous, jointly and severally, with respect to the scalar argument in scalar–vector multiplication and with respect to its vector argument.
Abusing terminology, some engineers^{[who?]} omit Donoho's quotation marks and inappropriately call the number-of-non-zeros function the *L*^{0} norm, echoing the notation for the Lebesgue space of measurable functions.

The generalization of the above norms to an infinite number of components leads to *ℓ ^{p}* and

for complex-valued sequences and functions on respectively, which can be further generalized (see Haar measure).

Any inner product induces in a natural way the norm

Other examples of infinite-dimensional normed vector spaces can be found in the Banach space article.

Other norms on can be constructed by combining the above; for example

is a norm on

For any norm and any injective linear transformation A we can define a new norm of x, equal to

In 2D, with A a rotation by 45° and a suitable scaling, this changes the taxicab norm into the maximum norm. Each A applied to the taxicab norm, up to inversion and interchanging of axes, gives a different unit ball: a parallelogram of a particular shape, size, and orientation.

In 3D, this is similar but different for the 1-norm (octahedrons) and the maximum norm (prisms with parallelogram base).

There are examples of norms that are not defined by "entrywise" formulas. For instance, the Minkowski functional of a centrally-symmetric convex body in (centered at zero) defines a norm on (see § Classification of seminorms: absolutely convex absorbing sets below).

All the above formulas also yield norms on without modification.

There are also norms on spaces of matrices (with real or complex entries), the so-called matrix norms.

Main article: Field norm |

Let E be a finite extension of a field k of inseparable degree *p*^{μ}, and let k have algebraic closure K. If the distinct embeddings of E are {*σ*_{j}}_{j}, then the **Galois-theoretic norm** of an element *α* ∈ *E* is the value As that function is homogeneous of degree [*E*:*k*], the Galois-theoretic norm is not a norm in the sense of this article. However, the [*E*:*k*]-th root of the norm (assuming that concept makes sense) is a norm.^{[14]}

The concept of norm in composition algebras does *not* share the usual properties of a norm as it may be negative or zero for *z* ≠ 0. A composition algebra (*A*, *, *N*) consists of an algebra over a field *A*, an involution *, and a quadratic form which is called the "norm".

The characteristic feature of composition algebras is the homomorphism property of *N*: for the product *wz* of two elements *w* and *z* of the composition algebra, its norm satisfies For and **O** the composition algebra norm is the square of the norm discussed above. In those cases the norm is a definite quadratic form. In other composition algebras the norm is an isotropic quadratic form.

For any norm on a vector space the reverse triangle inequality holds:

If is a continuous linear map between normed spaces, then the norm of and the norm of the transpose of are equal.

For the *L*^{p} norms, we have Hölder's inequality^{[16]}

A special case of this is the Cauchy–Schwarz inequality:

The concept of unit circle (the set of all vectors of norm 1) is different in different norms: for the 1-norm, the unit circle is a square, for the 2-norm (Euclidean norm), it is the well-known unit circle, while for the infinity norm, it is a different square. For any *p*-norm, it is a superellipse with congruent axes (see the accompanying illustration). Due to the definition of the norm, the unit circle must be convex and centrally symmetric (therefore, for example, the unit ball may be a rectangle but cannot be a triangle, and for a *p*-norm).

In terms of the vector space, the seminorm defines a topology on the space, and this is a Hausdorff topology precisely when the seminorm can distinguish between distinct vectors, which is again equivalent to the seminorm being a norm. The topology thus defined (by either a norm or a seminorm) can be understood either in terms of sequences or open sets. A sequence of vectors is said to converge in norm to if as Equivalently, the topology consists of all sets that can be represented as a union of open balls. If is a normed space then^{[17]}

Two norms and on a vector space are called **equivalent** if they induce the same topology,^{[7]} which happens if and only if there exist positive real numbers *C* and *D* such that for all

For instance, if on then

In particular,

That is,

If the vector space is a finite-dimensional real or complex one, all norms are equivalent. On the other hand, in the case of infinite-dimensional vector spaces, not all norms are equivalent.

Equivalent norms define the same notions of continuity and convergence and for many purposes do not need to be distinguished. To be more precise the uniform structure defined by equivalent norms on the vector space is uniformly isomorphic.

Main article: Seminorm |

All seminorms on a vector space can be classified in terms of absolutely convex absorbing subsets *A* of To each such subset corresponds a seminorm *p _{A}* called the

where 'inf' is the infimum, with the property that

Conversely:

Any locally convex topological vector space has a local basis consisting of absolutely convex sets. A common method to construct such a basis is to use a family (*p*) of seminorms *p* that separates points: the collection of all finite intersections of sets {*p* < 1/*n*} turns the space into a locally convex topological vector space so that every p is continuous.

Such a method is used to design weak and weak* topologies.

norm case:

- Suppose now that (
*p*) contains a single*p*: since (*p*) is separating,*p*is a norm, and is its open unit ball. Then*A*is an absolutely convex bounded neighbourhood of 0, and is continuous.

- The converse is due to Andrey Kolmogorov: any locally convex and locally bounded topological vector space is normable. Precisely:
- If is an absolutely convex bounded neighbourhood of 0, the gauge (so that is a norm.