Jump to content

Norm (mathematics): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
→‎Definition: lets not imply that the "complex numbers themselves" do not include rational and reals.
Line 6: Line 6:


==Definition==
==Definition==
Given a [[vector space]] ''V'' over a [[field (mathematics)|subfield]] '''F''' of the [[complex number]]s such as the complex numbers themselves or the [[real number|real]] or [[rational number]]s, a '''norm on''' ''V'' is a [[function (mathematics)|function]] <math>p:V\to\mathbb{R}; x\mapsto{}p(x)</math> with the following properties:
Given a [[vector space]] ''V'' over a [[field (mathematics)|subfield]] '''F''' of the [[complex number]]s such as pure [[imaginary number|imaginary numbers]], [[real number|real]] or [[rational number]]s, a '''norm on''' ''V'' is a [[function (mathematics)|function]] <math>p:V\to\mathbb{R}; x\mapsto{}p(x)</math> with the following properties:


For all ''a'' in ''F'' and all '''u''' and '''v''' in ''V'',
For all ''a'' in ''F'' and all '''u''' and '''v''' in ''V'',

Revision as of 06:01, 18 February 2009

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 (or pseudonorm), 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.

Definition

Given a vector space V over a subfield F of the complex numbers such as pure imaginary numbers, real or rational numbers, a norm on V is a function with the following properties:

For all a in F and all u and v in V,

  1. p(a v) = |a| p(v), (positive homogeneity or positive scalability)
  2. p(u + v) ≤ p(u) + p(v) (triangle inequality or subadditivity).
  3. p(v) = 0 if and only if v is the zero vector (positive definiteness).

A simple consequence of the first two axioms, positive homogeneity and the triangle inequality, is p(0) = 0 and thus

p(v) ≥ 0 (positivity).

A seminorm is a norm with the requirement of positive definiteness removed.

Although every vector space is seminormed (e.g., with the trivial seminorm in the Examples section below), it may be not 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:

p(W+v) = p(v).

A topological vector space is called normable (seminormable) if the topology of the space can be induced by a norm (seminorm).

Notation

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.

Examples

  • All norms are seminorms.
  • The trivial seminorm, with p(x) = 0 for all x in V.
  • The absolute value is a norm on the real numbers.
  • Every linear form f on a vector space defines a seminorm by x → |f(x)|.

Euclidean norm

On 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.

On Cn the most common norm is

, equivalent with the Euclidean norm on R2n.

In each case we can also express the norm as the square root of the inner product of the vector and itself. The Euclidean norm is also called the L2 distance or L2 norm; see Lp space.

.

The set of vectors whose Euclidean norm is a given constant forms the surface of an n-sphere, with n+1 being the dimension of the Euclidean space.

Taxicab norm or Manhattan norm

Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. TeX parse error: Undefined control sequence \emph"): {\displaystyle \|{\emph {\textbf {x}}}\|_{1}:=\sum _{i=1}^{n}|x_{i}|.}

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.

p-norm

Let p ≥ 1 be a real number.

Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. TeX parse error: Undefined control sequence \emph"): {\displaystyle \|{\emph {\textbf {x}}}\|_{p}:=\left(\sum _{i=1}^{n}|x_{i}|^{p}\right)^{\frac {1}{p}}.}

Note that for p = 1 we get the taxicab norm and for p = 2 we get the Euclidean norm.

This formula is also valid for 0 < p < 1, but the resulting function does not define a norm,[1] because it violates the triangle inequality.

Taking the limit yields the maximum norm.

Maximum norm (special case of: infinity norm, uniform norm, or supremum norm)


Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. TeX parse error: Undefined control sequence \emph"): {\displaystyle \|{\emph {\textbf {x}}}\|_{\infty }:=\max \left(|x_{1}|,\ldots ,|x_{n}|\right).}

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 the machine learning and optimization literature, one often finds reference to the zero norm. The zero norm of x is defined as where is the p-norm defined above. If we define then we can write the zero norm as . It follows that the zero norm of x is simply the number of non-zero elements of x. Despite its name, the zero norm is not a true norm; in particular, it is not positive homogeneous. Such a norm can be defined over arbitrary fields (besides the fields of complex numbers). In the context of the information theory, it is often called the Hamming distance in the case of the 2-element GF(2) field.

Other norms

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

Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. TeX parse error: Undefined control sequence \emph"): {\displaystyle \|{\emph {\textbf {x}}}\|:=2|x_{1}|+{\sqrt {3|x_{2}|^{2}+\max(|x_{3}|,2|x_{4}|)^{2}}}}

is a norm on R4.

For any norm and any bijective 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.

Infinite dimensional case

The generalization of the above norms to an infinite number of components leads to the Lp spaces, with norms

resp.

(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.

Properties

Illustrations of unit circles in different norms.

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. On a finite-dimensional vector space all norms are equivalent. For instance, the , , and norms are all equivalent on :

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 vV:

p(u ± v) ≥ | p(u) − p(v) |

For the lp norms, we have[2]

A special case of the above property is the Cauchy-Schwarz inequality:[2]

Classification of seminorms: Absolutely convex absorbing sets

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

pA(x) := inf{α : α > 0, x ∈ α A}

with the property that

{x : pA(x) < 1} ⊆ A ⊆ {x : pA(x) ≤ 1}.

Conversely, if a norm p is given and A is its open (or closed) unit ball, then A is an absolutely convex absorbing set, and p = pA.

Any locally convex topological vector space has a local basis consisting of absolutely convex absorbing sets. A common method to construct such a basis is to use a family of seminorms. Typically this family is infinite, and there are enough seminorms to distinguish between elements of the vector space, creating a Hausdorff space.

Notes

  1. ^ Except in R1, where it coincides with the Euclidean norm, and R0, where it is trivial.
  2. ^ a b Golub, Gene (1996). Matrix Computations - Third Edition. Baltimore: The Johns Hopkins University Press. p. 53. ISBN 0-8018-5413-X. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)

References

Bourbaki, N. (1987). Topological Vector Spaces, Chapters 1-5. Elements of Mathematics. Springer. ISBN 3-540-13627-4.

See also