Norm (mathematics)
In mathematics, a norm is a function from a vector space over the real or complex numbers to the nonnegative real numbers that satisfies certain properties pertaining to scalability and additivity, and takes the value zero only if the input vector is zero. A pseudonorm or seminorm satisfies the same properties, except that it may have a zero value for some nonzero vectors.[1]
The Euclidean norm or 2-norm is a specific norm on a Euclidean vector space, that is strongly related to the Euclidean distance, and equals the square root of the inner product of a vector with itself.
A vector space on which a norm is defined is called a normed vector space. Similarly, a vector space with a seminorm is called a seminormed vector space.
Definition
Given a vector space V over a field 𝔽 of the real numbers ℝ or complex numbers ℂ, a norm on V is a nonnegative-valued function p : V → ℝ with the following properties:[2]
For all a ∈ 𝔽 and all u, v ∈ V,
- p(u + v) ≤ p(u) + p(v) (being subadditive or satisfying the triangle inequality).
- p(av) = |a| p(v) (being absolutely homogeneous or absolutely scalable).
- If p(v) = 0 then v = 0 is the zero vector (being positive definite or being point-separating).
A seminorm on V is a function p : V → ℝ with the properties 1 and 2 above.[3] An ultraseminorm or a non-Archimedean seminorm is a seminorm p with the additional property that p(x+y) ≤ max { p(x), p(y) } for all x, y ∈ V.[4]
Every vector space V with seminorm p induces a normed space V/W, called the quotient space, where W is the subspace of V consisting of all vectors v ∈ V with p(v) = 0. The induced norm on V/W is defined by:
- p(W + v) = p(v).
Two norms (or seminorms) p and q on a vector space V are equivalent if there exist two real constants c and C, with c > 0, such that
- for every vector v ∈ V, one has that: c q(v) ≤ p(v) ≤ C q(v).
Notation
If a norm p : X → ℝ is given on a vector space X then the norm of a vector v ∈ X is usually denoted by enclosing it within double vertical lines: ‖v‖ = p(v). 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 |v| with single vertical lines is also widespread.
In Unicode, the code point of the "double vertical line" character ‖ is U+2016. The double vertical line should not be confused with the "parallel to" symbol, Unicode U+2225 ( ∥ ), which is used in geometry to signify parallel lines and in network theory, various fields of engineering and applied electronics as parallel addition operator. This is usually not a problem because the former is used in parenthesis-like fashion, whereas the latter is used as an infix operator. The double vertical line used here should also not be confused with the symbol used to denote lateral clicks in linguistics, Unicode U+01C1 ( ǁ ). The single vertical line | is called "vertical line" in Unicode and its code point is U+007C.
In LaTeX and related markup languages, the macro \|
is often used to denote a norm.
Examples
- All norms are seminorms.
- The trivial seminorm has p(x) = 0 for all x ∈ X.
- Every linear form f on a vector space defines a seminorm by x ↦ |f(x)|.
Absolute-value norm
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 V is equivalent (up to scaling) to the absolute value norm, meaning that there is a norm-preserving isomorphism of vector spaces f : 𝔽 → X, where 𝔽 is either ℝ or ℂ, and norm-preserving means that . This isomorphism is given by sending 1 ∈ 𝔽 to a vector of norm 1, which exists since such a vector is obtained by multiplying any nonzero vector by the inverse of its norm.
Euclidean norm
On the n-dimensional Euclidean space ℝn, the intuitive notion of length of the vector x = (x1, x2, ..., xn) is captured by the formula
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 square root of the sum of squares.[5]
The Euclidean norm is by far the most commonly used norm on ℝn, 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 L2 norm, ℓ2 norm, 2-norm, or square norm; see Lp space. It defines a distance function called the Euclidean length, L2 distance, or ℓ2 distance.
The set of vectors in ℝn+1 whose Euclidean norm is a given positive constant forms an n-sphere.
Euclidean norm of complex numbers and 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 ℝ2. This identification of the complex number x + i y as a vector in the Euclidean plane, makes the quantity (as first suggested by Euler) the Euclidean norm associated with the complex number.
On an n-dimensional complex space ℂn 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 ([x1; x2; ...; xn]), 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, in this case the formula can be also written with the following notation:
Taxicab norm or Manhattan norm
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 1 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.
p-norm
Let p ≥ 1 be a real number. The p-norm (also called -norm) of vector is
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:
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,[6] 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 Lp class is a vector space, and it is also true that the function
(without pth 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 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
Maximum norm (special case of: infinity norm, uniform norm, or supremum 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 2c.
Zero norm
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 .[7] 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.
Hamming distance of a vector from zero
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 omit Donoho's quotation marks and inappropriately call the number-of-nonzeros function the L0 norm, echoing the notation for the Lebesgue space of measurable functions.
Other norms
Other norms on ℝn can be constructed by combining the above; for example
is a norm on ℝ4.
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).
There are examples of norms that are not defined by "entrywise" formulas. For instance, the Minkowski functional of a centrally-symmetric convex body in ℝn (centered at zero) defines a norm on ℝn.
All the above formulas also yield norms on ℂn without modification.
There are also norms on spaces of matrices (with real or complex entries), the so-called matrix norms.
Infinite-dimensional case
The generalization of the above norms to an infinite number of components leads to ℓ p and L p spaces, with norms
for complex-valued sequences and functions on X ⊆ ℝn 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.
Properties
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.
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,
i.e.,
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.
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:
- p(u ± v) ≥ |p(u) − p(v)|.
Proof: Applying the triangular inequality to both and :
Thus, p(u ± v) ≥ |p(u) − p(v)|.
If and are normed spaces and is a continuous linear map, then the norm of and the norm of the transpose of are equal.[8]
For the Lp norms, we have Hölder's inequality[9]
A special case of this is the Cauchy–Schwarz inequality:[9]
Classification of seminorms: absolutely convex absorbing sets
All seminorms on a vector space V can be classified in terms of absolutely convex absorbing subsets A of V. To each such subset corresponds a seminorm pA called the gauge of A, defined as
- pA(x) := inf{α : α > 0, x ∈ αA}
with the property that
- {x : pA(x) < 1} ⊆ A ⊆ {x : pA(x) ≤ 1}.
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 A = {p < 1} is its open unit ball. Then A is an absolutely convex bounded neighbourhood of 0, and p = pA is continuous.
- The converse is due to Andrey Kolmogorov: any locally convex and locally bounded topological vector space is normable. Precisely:
- If V is an absolutely convex bounded neighbourhood of 0, the gauge gV (so that V = {gV < 1}) is a norm.
Generalizations
There are several generalizations of norms and semi-norms. If p is absolute homogeneity but in place of subadditivity we require that
2′. | there is a such that for all |
then p satisfies the triangle inequality but is called a quasi-seminorm and the smallest value of b for which this holds is called the multiplier of p; if in addition p separates points then it is called a quasi-norm.
On the other hand, if p satisfies the triangle inequality but in place of absolute homogeneity we require that
1′. | there exists a k such that and for all and scalars : |
then p is called a k-seminorm.
We have the following relationship between quasi-seminorms and k-seminorms:
- Suppose that q is a quasi-seminorm on a vector space X with multiplier b. If then there exists k-seminorm p on X equivalent to q.
The concept of norm in composition algebras does not share the usual properties of a norm. A composition algebra (A, *, N) consists of an algebra over a field A, an involution *, and a quadratic form N, which is called the "norm". In several cases N is an isotropic quadratic form so that A has at least one null vector, contrary to the separation of points required for the usual norm discussed in this article.
See also
- Asymmetric norm – Generalization of the concept of a norm
- F-seminorm
- Gowers norm
- Mahalanobis distance
- Magnitude (mathematics)
- Matrix norm – Norm on a vector space of matrices
- Minkowski functional
- Paranorm
- Relation of norms and metrics
- Seminorm
- Sublinear function
Notes
- Knapp, A.W. (2005). Basic Real Analysis. Birkhäuser. p. . ISBN 978-0-817-63250-2.
- Pugh, C.C. (2015). Real Mathematical Analysis. Springer. p. page 28. ISBN 978-3-319-17770-0. Prugovečki, E. (1981). Quantum Mechanics in Hilbert Space. p. page 20.
- Rudin, W. (1991). Functional Analysis. p. 25.
- Narici 2011, pp. 149–153.
- Chopra, Anil (2012). Dynamics of Structures, 4th Ed. Prentice-Hall. ISBN 0-13-285803-7.
- Except in ℝ1, where it coincides with the Euclidean norm, and ℝ0, where it is trivial.
- Rolewicz, Stefan (1987), Functional analysis and control theory: Linear systems, Mathematics and its Applications (East European Series), 29 (Translated from the Polish by Ewa Bednarczuk ed.), Dordrecht; Warsaw: D. Reidel Publishing Co.; PWN—Polish Scientific Publishers, pp. xvi, 524, doi:10.1007/978-94-015-7758-8, ISBN 90-277-2186-6, MR 0920371, OCLC 13064804
- Treves pp. 242–243
- Golub, Gene; Van Loan, Charles F. (1996). Matrix Computations (Third ed.). Baltimore: The Johns Hopkins University Press. p. 53. ISBN 0-8018-5413-X.
References
- Bourbaki, Nicolas (1987). "Chapters 1–5". Topological vector spaces. Springer. ISBN 3-540-13627-4.CS1 maint: ref=harv (link)
- Khaleelulla, S. M. (July 1, 1982). Written at Berlin Heidelberg. Counterexamples in Topological Vector Spaces. Lecture Notes in Mathematics. 936. Berlin New York: Springer-Verlag. ISBN 978-3-540-11565-6. OCLC 8588370.CS1 maint: ref=harv (link) CS1 maint: date and year (link)
- Narici, Lawrence (2011). Topological vector spaces. Boca Raton, FL: CRC Press. ISBN 1-58488-866-0. OCLC 144216834.
- Prugovečki, Eduard (1981). Quantum mechanics in Hilbert space (2nd ed.). Academic Press. p. 20. ISBN 0-12-566060-X.CS1 maint: ref=harv (link)
- Schaefer, Helmut H.; Wolff, Manfred P. (1999). Topological Vector Spaces. GTM. 8 (Second ed.). New York, NY: Springer New York Imprint Springer. ISBN 978-1-4612-7155-0. OCLC 840278135.CS1 maint: ref=harv (link)
- Trèves, François (August 6, 2006) [1967]. Topological Vector Spaces, Distributions and Kernels. Mineola, N.Y.: Dover Publications. ISBN 978-0-486-45352-1. OCLC 853623322.CS1 maint: ref=harv (link) CS1 maint: date and year (link)