In linear algebra, functional analysis and related areas of mathematics, a norm is a function that assigns a strictly positive length or size to all vectors in a vector space, other than the zero vector. A seminorm, on the other hand, is allowed to assign zero length to some non-zero vectors.
A simple example is the 2-dimensional Euclidean space R2 equipped with the Euclidean norm. Elements in this vector space (e.g., (3, 7)) are usually drawn as arrows in a 2-dimensional cartesian coordinate system starting at the origin (0, 0). The Euclidean norm assigns to each vector the length of its arrow. Because of this, the Euclidean norm is often known as the magnitude.
A vector space with a norm is called a normed vector space. Similarly, a vector space with a seminorm is called a seminormed vector space.
Contents |
Given a vector space V over a subfield F of the complex numbers, a norm on V is a function p: V → F with the following properties:[1]
For all a ∈ F and all u, v ∈ V,
A simple consequence of the first two axioms, positive homogeneity and the triangle inequality, is p(0) = 0 and thus
A seminorm is a norm with the 3rd property (separating points) removed.
Although every vector space is seminormed (e.g., with the trivial seminorm in the Examples section below), it may not be normed. Every vector space V with seminorm p(v) induces a normed space V/W, called the quotient space, where W is the subspace of V consisting of all vectors v in V with p(v) = 0. The induced norm on V/W is clearly well-defined and is given by:
A topological vector space is called normable (seminormable) if the topology of the space can be induced by a norm (seminorm).
The norm of a vector v is usually denoted ||v||, and sometimes |v|. However, the latter notation is generally discouraged, because it is also used to denote the absolute value of scalars and the determinant of matrices.
On an n-dimensional Euclidean space Rn, the intuitive notion of length of the vector x = (x1, x2, ..., xn) is captured by the formula
This gives the ordinary distance from the origin to the point x, a consequence of the Pythagorean theorem. The Euclidean norm is by far the most commonly used norm on Rn, 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.
On an n-dimensional complex space Cn the most common norm is
In both cases we can also express the norm as the square root of the inner product of the vector and itself:
where x is represented as a column vector ([x1; x2; ...; xn]), and x* denotes its conjugate transpose.
This formula is valid for any inner product space, including Euclidean and complex spaces. For Euclidean spaces, the inner product is equivalent to the dot product. Hence, in this specific case the formula can be also written with the following notation:
The Euclidean norm is also called the Euclidean length, L2 distance, ℓ2 distance, L2 norm, or ℓ2 norm; see Lp space.
The set of vectors in Rn+1 whose Euclidean norm is a given positive constant forms an n-sphere.
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 R2. This identification of the complex number x + iy as a vector in the Euclidean plane, makes the quantity (as first suggested by Euler) the Euclidean norm associated with the complex number.
The name relates to the distance a taxi has to drive in a rectangular street grid 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 L1 norm. The distance derived from this norm is called the Manhattan distance or L1 distance.
The one norm is simply the maximum column sum of absolute values.
In contrast,
is not a norm because it may yield negative results.
Let p ≥ 1 be a real number.
Note that for p = 1 we get the taxicab norm, for p = 2 we get the Euclidean norm, and as p approaches the p-norm approaches the infinity norm or maximum norm.
This definition is still of some interest for 0 < p < 1, but the resulting function does not define a norm,[2] because it violates the triangle inequality. What is true, even in the measurable analog, is that the corresponding Lp class is a vector space, and it is also true that the function
(without p-th root) defines a distance that makes Lp(X) into a complete metric topological vector space. These spaces are of great interest in functional analysis, probability theory, and harmonic analysis.
However, outside trivial cases, this topological vector space is not locally convex and has no continuous nonzero linear forms. Thus the topological dual space contains only the zero functional.
The set of vectors whose infinity norm is a given constant, c, forms the surface of a hypercube with edge length 2c.
The infinity norm is simply the maximum row sum of absolute values.
In probability and functional analysis, the zero norm induces a complete metric topology for the space of measureable functions and for the F-space of sequences with F–norm , which is discussed by Stefan Rolewicz in Metric Linear Spaces.[3]
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 elements 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 a B-norm, because it is not positive homogeneous. It is not even an F-norm, because 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 omit Donoho's quotation marks and inappropriately call the number-of-nonzeros function the L0 norm (sic.), also misusing the notation for the Lebesgue space of measurable functions.
Other norms on Rn can be constructed by combining the above; for example
is a norm on R4.
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. In 2D, 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).
All the above formulas also yield norms on Cn without modification.
The generalization of the above norms to an infinite number of components leads to the Lp spaces, with norms
(for complex-valued sequences x resp. functions f defined on ), 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.
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 in R2 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. Note that due to the definition of the norm, the unit circle is always convex and centrally symmetric (therefore, for example, the unit ball may be a rectangle but cannot be a triangle).
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.
Two norms ||•||α and ||•||β on a vector space V are called equivalent if there exist positive real numbers C and D such that
for all x in V. For instance, on , if p > r > 0, then
In particular,
If the vector space is a finite-dimensional real/complex one, all norms are equivalent. If not, some norms are not.
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.
Every (semi)-norm is a sublinear function, which implies that every norm is a convex function. As a result, finding a global optimum of a norm-based objective function is often tractable.
Given a finite family of seminorms pi on a vector space the sum
is again a seminorm.
For any norm p on a vector space V, we have that for all u and v ∈ V:
For the lp norms, we have the Hölder's inequality[4]
A special case of the above property is the Cauchy–Schwarz inequality:[4]
All seminorms on a vector space V can be classified in terms of absolutely convex absorbing sets in V. To each such set, A, corresponds a seminorm pA called the gauge of A, defined as
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 separating family (p) of seminorms p: 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.
A such method is used to design weak and weak* topologies.
norm case: