# Vector space

# Vector space

A **vector space** (also called a **linear space**) is a collection of objects called **vectors**, which may be added together and multiplied ("scaled") by numbers, called scalars. Scalars are often taken to be real numbers, but there are also vector spaces with scalar multiplication by complex numbers, rational numbers, or generally any field. The operations of vector addition and scalar multiplication must satisfy certain requirements, called axioms, listed below, in § Definition. For specifying that the scalars are real or complex numbers, the terms **real vector space** and **complex vector space** are often used.

Euclidean vectors are an example of a vector space. They represent physical quantities such as forces: any two forces (of the same type) can be added to yield a third, and the multiplication of a force vector by a real multiplier is another force vector. In the same vein, but in a more geometric sense, vectors representing displacements in the plane or in three-dimensional space also form vector spaces. Vectors in vector spaces do not necessarily have to be arrow-like objects as they appear in the mentioned examples: vectors are regarded as abstract mathematical objects with particular properties, which in some cases can be visualized as arrows.

Vector spaces are the subject of linear algebra and are well characterized by their dimension, which, roughly speaking, specifies the number of independent directions in the space. Infinite-dimensional vector spaces arise naturally in mathematical analysis, as function spaces, whose vectors are functions. These vector spaces are generally endowed with additional structure, which may be a topology, allowing the consideration of issues of proximity and continuity. Among these topologies, those that are defined by a norm or inner product are more commonly used, as having a notion of distance between two vectors. This is particularly the case of Banach spaces and Hilbert spaces, which are fundamental in mathematical analysis.

Historically, the first ideas leading to vector spaces can be traced back as far as the 17th century's analytic geometry, matrices, systems of linear equations, and Euclidean vectors. The modern, more abstract treatment, first formulated by Giuseppe Peano in 1888, encompasses more general objects than Euclidean space, but much of the theory can be seen as an extension of classical geometric ideas like lines, planes and their higher-dimensional analogs.

Today, vector spaces are applied throughout mathematics, science and engineering. They are the appropriate linear-algebraic notion to deal with systems of linear equations. They offer a framework for Fourier expansion, which is employed in image compression routines, and they provide an environment that can be used for solution techniques for partial differential equations. Furthermore, vector spaces furnish an abstract, coordinate-free way of dealing with geometrical and physical objects such as tensors. This in turn allows the examination of local properties of manifolds by linearization techniques. Vector spaces may be generalized in several ways, leading to more advanced notions in geometry and abstract algebra.

Introduction and definition

The concept of vector space will first be explained by describing two particular examples:

First example: arrows in the plane

The first example of a vector space consists of arrows in a fixed plane, starting at one fixed point. This is used in physics to describe forces or velocities. Given any two such arrows, **v** and **w**, the parallelogram spanned by these two arrows contains one diagonal arrow that starts at the origin, too. This new arrow is called the *sum* of the two arrows and is denoted **v** + **w**. In the special case of two arrows on the same line, their sum is the arrow on this line whose length is the sum or the difference of the lengths, depending on whether the arrows have the same direction. Another operation that can be done with arrows is scaling: given any positive real number *a*, the arrow that has the same direction as **v**, but is dilated or shrunk by multiplying its length by *a*, is called *multiplication* of **v** by *a*. It is denoted *a***v**. When *a* is negative, *a***v** is defined as the arrow pointing in the opposite direction, instead.

The following shows a few examples: if *a* = 2, the resulting vector *a***w**has the same direction as** w**, but is stretched to the double length of** w** (right image below). Equivalently, 2** w**is the sum** w**+** w**. Moreover, (−1)** v**= −** v**has the opposite direction and the same length as** v** (blue vector pointing down in the right image).

Second example: ordered pairs of numbers

A second key example of a vector space is provided by pairs of real numbers *x* and *y*. (The order of the components *x* and *y* is significant, so such a pair is also called an ordered pair.) Such a pair is written as (*x*, *y*). The sum of two such pairs and multiplication of a pair with a number is defined as follows:

and

- .

The first example above reduces to this one if the arrows are represented by the pair of Cartesian coordinates of their end points.

Definition

In this article, vectors are represented in boldface to distinguish them from scalars.^{[1]}

A vector space over a field F is a set V together with two operations that satisfy the eight axioms listed below.

The first operation, called

**vector addition**or simply**addition**+ :*V*×*V*→*V*, takes any two vectors**v**and**w**and assigns to them a third vector which is commonly written as**v**+**w**, and called the sum of these two vectors. (The resultant vector is also an element of the set V.)The second operation, calledscalar multiplication · :

*F*×*V*→*V*， takes any scalar a and any vector**v**and gives another vector*a***v**. (Similarly, the vector*a***v**is an element of the set V.)

Elements of V are commonly called *vectors*. Elements of F are commonly called *scalars*.

In the two examples above, the field is the field of the real numbers and the set of the vectors consists of the planar arrows with fixed starting point and of pairs of real numbers, respectively.

To qualify as a vector space, the set V and the operations of addition and multiplication must adhere to a number of requirements called axioms.^{[18]} In the list below, let **u**, **v** and **w** be arbitrary vectors in V, and a and b scalars in F.

Axiom | Meaning |
---|---|

Associativityof addition | u- (
vw) = (uv) +w |

Commutativityof addition | uv=vu |

Identity elementof addition | There exists an element0∈V, called thezero vectorv +0=vfor allv∈V. |

Inverse elementsof addition | For everyv∈V, there exists an element−v ∈V, called theadditive inversev, such thatv- (−**v
) =0**. |

Compatibilityof scalar multiplication with field multiplication | a(bv) = (ab)v^{[2]} |

Identity element of scalar multiplication | 1**v=v**, where1denotes themultiplicative identityinF. |

Distributivityof scalar multiplication with respect to vector addition | a(uv) =auav |

Distributivity of scalar multiplication with respect to field addition | (ab)v =avbv |

These axioms generalize properties of the vectors introduced in the above examples.

Indeed, the result of addition of two ordered pairs (as in the second example above) does not depend on the order of the summands:

- .

Likewise, in the geometric example of vectors as arrows, **v** + **w** = **w** + **v** since the parallelogram defining the sum of the vectors is independent of the order of the vectors. All other axioms can be checked in a similar manner in both examples. Thus, by disregarding the concrete nature of the particular type of vectors, the definition incorporates these two and many more examples in one notion of vector space.

Subtraction of two vectors and division by a (non-zero) scalar can be defined as

- .

When the scalar field F is the real numbers **R**, the vector space is called a *real vector space*. When the scalar field is the complex numbers **C**, the vector space is called a *complex vector space*. These two cases are the ones used most often in engineering. The general definition of a vector space allows scalars to be elements of any fixed field F. The notion is then known as an F-*vector spaces*or a* vector space over F*. A field is, essentially, a set of numbers possessing addition, subtraction, multiplication and division operations.^{[3]} For example, rational numbers form a field.

In contrast to the intuition stemming from vectors in the plane and higher-dimensional cases, there is, in general vector spaces, no notion of nearness, angles or distances. To deal with such matters, particular types of vector spaces are introduced; see below.

Alternative formulations and elementary consequences

Vector addition and scalar multiplication are operations, satisfying the closure property: **u** + **v** and *a***v** are in *V* for all *a* in *F*, and **u**, **v** in *V*. Some older sources mention these properties as separate axioms.^{[19]}

In the parlance of abstract algebra, the first four axioms are equivalent to requiring the set of vectors to be an abelian group under addition. The remaining axioms give this group an *F*-module structure. In other words, there is a ring homomorphism *f* from the field *F* into the endomorphism ring of the group of vectors. Then scalar multiplication *a***v** is defined as (*f* (*a*))(**v**).^{[20]}

There are a number of direct consequences of the vector space axioms.

Some of them derive from elementary group theory, applied to the additive group of vectors: for example, the zero vector **0** of *V* and the additive inverse −**v of any vector** *are unique. Further properties follow by employing also the distributive law for the scalar multiplication, for example a***v** equals f and only if *a* equals 0 or **v** equals **0**.

History

Vector spaces stem from affine geometry via the introduction of coordinates in the plane or three-dimensional space. Around 1636, Descartes and Fermat founded analytic geometry by equating solutions to an equation of two variables with points on a plane curve.^{[21]} In 1804, to achieve geometric solutions without using coordinates, Bolzano introduced certain operations on points, lines and planes, which are predecessors of vectors.^{[22]} His work was then used in the conception of barycentric coordinates by Möbius in 1827.^{[23]} In 1828 C. V. Mourey suggested the existence of an algebra surpassing not only ordinary algebra but also two-dimensional algebra created by him searching a geometrical interpretation of complex numbers.^{[24]}

The definition of vectors was founded on Bellavitis' notion of the bipoint, an oriented segment of which one end is the origin and the other a target, then further elaborated with the presentation of complex numbers by Argand and Hamilton and the introduction of quaternions and biquaternions by the latter.^{[25]}*Lectures]] hey are elements in*** R** R R their treatment as linear combinations can be traced back to Laguerre in 1867, who also defined systems of linear equations.

An important development of vector spaces is due to the construction of function spaces by Lebesgue. This was later formalized by Banach and Hilbert, around 1920.^{[28]} At that time, algebra and the new field of functional analysis began to interact, notably with key concepts such as spaces of *p*-integrable functions and Hilbert spaces.^{[29]} Vector spaces, including infinite-dimensional ones, then became a firmly established notion, and many mathematical branches started making use of this concept.

Examples

Coordinate spaces

The simplest example of a vector space over a field *F* is the field itself, equipped with its standard addition and multiplication. More generally, all *n*-tuples*-tuples]]*-tuples]]*sequences of length*n*)

of elements of *F* form a vector space that is usually denoted *Fn and called a* coordinate space.^{[30]}
The case *n* = 1 is the above-mentioned simplest example, in which the field *F* is also regarded as a vector space over itself. The case *F* = **R** and *n* = 2 was discussed in the introduction above.

Complex numbers and other field extensions

The set of complex numbers **C**, i.e., numbers that can be written in the form *x* + *iy* for real numbers *x* and *y* where *i* is the imaginary unit, form a vector space over the reals with the usual addition and multiplication: (*x* + *iy*) + (*a* + *ib*) = (*x* + *a*) + *i* (*y* + *b*) and *c* ⋅ (*x* + *iy*) = (*c* ⋅ *x*) + *i* (*c* ⋅ *y*) for real numbers *x*, *y*, *a*, *b* and *c*. The various axioms of a vector space follow from the fact that the same rules hold for complex number arithmetic.

In fact, the example of complex numbers is essentially the same (i.e., it is *isomorphic*) to the vector space of ordered pairs of real numbers mentioned above: if we think of the complex number *x* + *i* *y* as representing the ordered pair (*x*, *y*) in the complex plane then we see that the rules for sum and scalar product correspond exactly to those in the earlier example.

Function spaces

Functions from any fixed set Ω to a field *F* also form vector spaces, by performing addition and scalar multiplication pointwise. That is, the sum of two functions *f* and *g* is the function (*f* + *g*) given by

- ,

and similarly for multiplication.

Such function spaces occur in many geometric situations, when Ω is the real line or an interval, or other subsets of **R**. Many notions in topology and analysis, such as continuity, integrability or differentiability are well-behaved with respect to linearity: sums and scalar multiples of functions possessing such a property still have that property.^{[32]} Therefore, the set of such functions are vector spaces. They are studied in greater detail using the methods of functional analysis, see below. Algebraic constraints also yield vector spaces: the vector space *F* [x] is given by polynomial functions:

- , where the are in.

^{[33]}

Linear equations

Systems of homogeneous linear equations are closely tied to vector spaces.^{[34]} For example, the solutions of

are given by triples with arbitrary *a*, *b* = *a*/2, and *c* = −5*a*/2. They form a vector space: sums and scalar multiples of such triples still satisfy the same ratios of the three variables; thus they are solutions, too. Matrices can be used to condense multiple linear equations as above into one vector equation, namely

- ,

yields *f* (*x*) = *a e− +* bx e*−*x*, where* a*and* b*are arbitrary constants, and* e**x* is the natural exponential function.

Basis and dimension

allow one to represent vectors by a sequence of scalars called *coordinates* or *components*. A basis is a (finite or infinite) set *B* = {**b***i*}*i*∈* I*of vectors* *b***iindex set Ilinearly independent. "Spanning the whole space" means that any vector v can be expressed as a finite sum (called a linear combination

where the *a**k*are scalars, called the coordinates (or the components) of the vector* **v** with respect to the basis *B*, and **b***i**k* (*k*= 1,...,* n*) elements of* B*. Linear independence means that the coordinates* a**k* are uniquely determined for any vector in the vector space.

For example, the coordinate vectors **e** 1 = (1, 0,..., 0), **e** 2 = (0, 1, 0,..., 0), to **e***n*= (0, 0,..., 0, 1), form a basis of* F**nstandard basis, since any vector ( x 1, x2,..., x**n*) can be uniquely expressed as a linear combination of these vectors:

- .

The corresponding coordinates *x*1, *x*2,..., *x**n* are just the Cartesian coordinates of the vector.

Every vector space has a basis.

This follows from Zorn's lemma, an equivalent formulation of the Axiom of Choice.^{[35]} Given the other axioms of Zermelo–Fraenkel set theory, the existence of bases is equivalent to the axiom of choice.^{[36]} The ultrafilter lemma, which is weaker than the axiom of choice, implies that all bases of a given vector space have the same number of elements, or cardinality (cf. Dimension theorem for vector spaces).^{[37]} It is called the *dimension* of the vector space, denoted by dim *V*. If the space is spanned by finitely many vectors, the above statements can be proven without such fundamental input from set theory.^{[38]}

The dimension of the coordinate space *F**n*is* n*, by the basis exhibited above. The dimension of the polynomial ring* F* [*x x*,* x*2,... A fortiori, the dimension of more general function spaces, such as the space of functions on some (bounded or unbounded) interval, is infinite. ^{[4]} Under suitable regularity assumptions on the coefficients involved, the dimension of the solution space of a homogeneous ordinary differential equation equals the degree of the equation.^{[39]} For example, the solution space for the above equation is generated by e− and xe*−

*x*. These two functions are linearly independent over*

**R**, so the dimension of this space is two, as is the degree of the equation.

A field extension over the rationals **Q** can be thought of as a vector space over **Q** (by defining vector addition as field addition, defining scalar multiplication as field multiplication by elements of **Q**, and otherwise ignoring the field multiplication). The dimension (or degree) of the field extension **Q** (α) over **Q** depends on α. If α satisfies some polynomial equation

Linear maps and matrices

The relation of two vector spaces can be expressed by *linear map* or *linear transformation*. They are functions that reflect the vector space structure—i.e., they preserve sums and scalar multiplication:

- and for all and in, all in.

^{[42]}

An isomorphism is a linear map *f* : *V* → *W* such that there exists an inverse map *g* : *W* → *V*, which is a map such that the two possible compositions *f* ∘ *g* : *W* → *W* and *g* ∘ *f* : *V* → *V* are identity maps. Equivalently, *f* is both one-to-one (injective) and onto (surjective).^{[43]} If there exists an isomorphism between *V* and *W*, the two spaces are said to be *isomorphic*; they are then essentially identical as vector spaces, since all identities holding in *V* are, via *f*, transported to similar ones in *W*, and vice versa via *g*.

For example, the "arrows in the plane" and "ordered pairs of numbers" vector spaces in the introduction are isomorphic: a planar arrow **v** departing at the origin of some (fixed) coordinate system can be expressed as an ordered pair by considering the *x*- and *y*-component of the arrow, as shown in the image at the right. Conversely, given a pair (*x*, *y*), the arrow going by *x* to the right (or to the left, if *x* is negative), and *y* up (down, if *y* is negative) turns back the arrow **v**.

Linear maps *V* → *W* between two vector spaces form a vector space Hom*F* (*V*, *W*), also denoted L(*V*, *W*).^{[44]} The space of linear maps from *V* to *F* is called the dual vector space, denoted *V*∗.^{[45]} Via the injective natural map *V* → *V*∗∗, any vector space can be embedded into its *bidual*; the map is an isomorphism if and only if the space is finite-dimensional.^{[46]}

Once a basis of *V* is chosen, linear maps *f* : *V → W*re completely determined by specifying the images of the basis vectors, because any element of *V* is expressed uniquely as a linear combination of them.^{[47]} If dim *V* = dim *W*, a 1-to-1 correspondence between fixed bases of *V* and *W* gives rise to a linear map that maps any basis element of *V* to the corresponding basis element of *W*. It is an isomorphism, by its very definition.^{[48]} Therefore, two vector spaces are isomorphic if their dimensions agree and vice versa. Another way to express this is that any vector space is *completely classified* (up to isomorphism) by its dimension, a single number. In particular, any *n*-dimensional *F*-vector space *V* is isomorphic to *F**n*. There is, however, no "canonical" or preferred isomorphism; actually an isomorphism* φ* : *F**n*→* V*is equivalent to the choice of a basis of* V*, by mapping the standard basis of* F**n*to* V*, via* φ*. The freedom of choosing a convenient basis is particularly useful in the infinite-dimensional context; see below.

Matrices

*Matrices* are a useful notion to encode linear maps.^{[49]} They are written as a rectangular array of scalars as in the image at the right. Any *m*-by-*n*matrix* A*gives rise to a linear map from* F**n to F**m*, by the following

- , where denotes ,

or, using the matrix multiplication of the matrix *A* with the coordinate vector **x**:

- .

Moreover, after choosing bases of *V* and *W*, *any* linear map *f* : *V* → *W* is uniquely represented by a matrix via this assignment.^{[50]}

The determinant det (*A*) of a square matrix *A* is a scalar that tells whether the associated map is an isomorphism or not: to be so it is sufficient and necessary that the determinant is nonzero.^{[51]} The linear transformation of **R***n*corresponding to a real* n*-by-*n* matrix is orientation preserving if and only if its determinant is positive.

Eigenvalues and eigenvectors

Endomorphisms, linear maps *f* : *V* → *V*, are particularly important since in this case vectors **v** can be compared with their image under *f*, *f* (**v**). Any nonzero vector **v** satisfying *λ***v** = *f* (**v**), where *λ* is a scalar, is called an *eigenvector* of *f* with *eigenvalue* *λ*.^{[5]}^{[52]} Equivalently, **v** is an element of the kernel of the difference *f* − *λ* · Id (where Id is the identity map *V* → *V*). If *V* is finite-dimensional, this can be rephrased using determinants: *f* having eigenvalue *λ* is equivalent to

- .

By spelling out the definition of the determinant, the expression on the left hand side can be seen to be a polynomial function in *λ*, called the characteristic polynomial of *f*.^{[53]} If the field *F* is large enough to contain a zero of this polynomial (which automatically happens for *F* algebraically closed, such as *F* = **C**) any linear map has at least one eigenvector. The vector space *V* may or may not possess an eigenbasis, a basis consisting of eigenvectors. This phenomenon is governed by the Jordan canonical form of the map.^{[54]}^{[6]} The set of all eigenvectors corresponding to a particular eigenvalue of *f* forms a vector space known as the *eigenspace* corresponding to the eigenvalue (and *f*) in question. To achieve the spectral theorem, the corresponding statement in the infinite-dimensional case, the machinery of functional analysis is needed, see below.

Basic constructions

In addition to the above concrete examples, there are a number of standard linear algebraic constructions that yield vector spaces related to given ones.

In addition to the definitions given below, they are also characterized by universal properties, which determine an object *X* by specifying the linear maps from *X* to any other vector space.

Subspaces and quotient spaces

A nonempty subset *W* of a vector space *V* that is closed under addition and scalar multiplication (and therefore contains the **0**-vector of *V*) is called a *linear subspace* of *V*, or simply a *subspace* of *V*, when the ambient space is unambiguously a vector space.^{[55]}^{[7]} Subspaces of *V* are vector spaces (over the same field) in their own right. The intersection of all subspaces containing a given set *S* of vectors is called its span, and it is the smallest subspace of *V* containing the set *S*. Expressed in terms of elements, the span is the subspace consisting of all the linear combinations of elements of *S*.^{[56]}

A linear subspace of dimension 1 is a **vector line**. A linear subspace of dimension 2 is a **vector plane**. A linear subspace that contains all elements but one of a basis of the ambient space is a **vector hyperplane**. In a vector space of finite dimension *n*, a vector hyperplane is thus a subspace of dimension *n* – 1.

The counterpart to subspaces are *quotient vector spaces*.^{[57]} Given any subspace *W* ⊂ *V*, the quotient space *V*/*W ("V*modulo W*") is defined as follows: as a set, it consists of**** v**W{**:** ** ∈ *W*}, where **v** is an arbitrary vector in *V*. The sum of two such elements **v** 1 + *W* and **v** 2 + *W* is (**v** 1 + **v** 2) + *W*, and scalar multiplication is given by *a* · (**v** + *W*) = (*a* · **v**) + *W*. The key point in this definition is that **v** 1 + *W* = **v** 2 + *W* if and only if the difference of **v** 1 and **v** 2 lies in *W*.^{[8]} This way, the quotient space "forgets" information that is contained in the subspace *W*.

The kernel ker(*f*) of a linear map *f* : *V* → *W* consists of vectors **v** that are mapped to **0** in *W*.^{[58]} Both kernel and image im(*f*) = {*f* (* v:** v** ∈

*V*} are subspaces of

*V*and

*W*, respectively.

^{[59]}The existence of kernels and images is part of the statement that the category of vector spaces (over a fixed field

*F*) is an abelian category, that is, a corpus of mathematical objects and structure-preserving maps between them (a category) that behaves much like the category of abelian groups.

^{[60]}Because of this, many statements such as the first isomorphism theorem (also called rank–nullity theorem in matrix-related terms)

*V*/ ker(

*f*) ≡ im(

*f*).

and the second and third isomorphism theorem can be formulated and proven in a way very similar to the corresponding statements for groups.

An important example is the kernel of a linear map **x** ↦ *A***x** for some fixed matrix *A*, as above. The kernel of this map is the subspace of vectors **x** such that *A***x** = 0, which is precisely the set of solutions to the system of homogeneous linear equations belonging to *A*. This concept also extends to linear differential equations

- , where the coefficients

*a*are functions in

*x*, too.

In the corresponding map

- ,

the derivatives of the function *f* appear linearly (as opposed to *f*′′(*x*)2, for example). Since differentiation is a linear procedure (i.e., (*f* + *g)′ = f*+ *g* ′ and (*c·**)′ = c·f′ for a constant* clinear differential operator. In particular, the solutions to the differential equation D* (

*f*) = 0 form a vector space (over*

**R**or

**C**).

Direct product and direct sum

The *direct product* of vector spaces and the *direct sum* of vector spaces are two ways of combining an indexed family of vector spaces into a new vector space.

Tensor product

The *tensor product V***F** W*, or simply* V*⊗* W*, of two vector spaces* V*and* Wmultilinear algebra which deals with extending notions such as linear maps to several variables. A map g*V* × *W**]]** bilinear if *is linear in both variables* **v** w w map **v** ↦ *g* (**v**, **w**) is linear in the sense above and likewise for fixed **v**.

The tensor product is a particular vector space that is a *universal* recipient of bilinear maps *g*, as follows. It is defined as the vector space consisting of finite (formal) sums of symbols called tensors

**v**⊗

**w**

**v**⊗

**w**+... +

**v**⊗

**w**,

subject to the rules

*a*· (

**v**⊗

**w**) = (

*a*·

**v**) ⊗

**w**=

**v**⊗ (

*a*·

**w**), where

*a*is a scalar,(

**v**

**v**) ⊗

**w**=

**v**⊗

**w**

**v**⊗

**w**, and

**v**⊗ (

**w**

**w**) =

**v**⊗

**w**

**v**⊗

**w**.

^{[62]}

These rules ensure that the map *f* from the *V* × *W* to *V* ⊗ *W* that maps a tuple (**v**, **w**) to **v** ⊗ **w** is bilinear. The universality states that given *any* vector space *X* and *any* bilinear map *g* : *V* × *W* → *X*, there exists a unique map *u*, shown in the diagram with a dotted arrow, whose composition with *f* equals *g*: *u* (**v** ⊗ **w**) = *g* (**v**, **w**).^{[63]} This is called the universal property of the tensor product, an instance of the method—much used in advanced abstract algebra—to indirectly define objects by specifying maps from or to this object.

Vector spaces with additional structure

From the point of view of linear algebra, vector spaces are completely understood insofar as any vector space is characterized, up to isomorphism, by its dimension.

However, vector spaces *per se* do not offer a framework to deal with the question—crucial to analysis—whether a sequence of functions converges to another function. Likewise, linear algebra is not adapted to deal with infinite series, since the addition operation allows only finitely many terms to be added. Therefore, the needs of functional analysis require considering additional structures.

A vector space may be given a partial order ≤, under which some vectors can be compared.^{[64]} For example, *n*-dimensional real space **R***n* can be ordered by comparing its vectors componentwise. Ordered vector spaces, for example Riesz spaces, are fundamental to Lebesgue integration, which relies on the ability to express a function as a difference of two positive functions

*f*=

*f*−

*f*,

where *f*+ denotes the positive part of *f* and *f*− the negative part.^{[65]}

Normed vector spaces and inner product spaces

Coordinate space *F**n* can be equipped with the standard dot product:

In **R** 2, this reflects the common notion of the angle between two vectors **x** and **y**, by the law of cosines:

^{[67]}

Topological vector spaces

Convergence questions are treated by considering vector spaces *V* carrying a compatible topology, a structure that allows one to talk about elements being close to each other.^{[68]}*Topological%20vecto]]* y Vy by a bounded amount, then so do** **x** y a^{[9]} e sense of specifying the amount a scalar changes, the field *F* also has to carry a topology in this context; a common choice are the reals or the complex numbers.

In such *topological vector spaces* one can consider series of vectors. The infinite sum

denotes the limit of the corresponding finite partial sums of the sequence (*f**i*)*i*∈**N** of elements of *V*. For example, the *f**ifunction space V*, in which case the series is a function series. The mode of convergence of the series depends on the topology imposed on the function space. In such cases, pointwise convergence and uniform convergence are two prominent examples.

A way to ensure the existence of limits of certain infinite series is to restrict attention to spaces where any Cauchy sequence has a limit; such a vector space is called complete. Roughly, a vector space is complete provided that it contains all necessary limits. For example, the vector space of polynomials on the unit interval [0,1], equipped with the topology of uniform convergence is not complete because any continuous function on [0,1] can be uniformly approximated by a sequence of polynomials, by the Weierstrass approximation theorem.^{[70]} In contrast, the space of *all* continuous functions on [0,1] with the same topology is complete.^{[71]} A norm gives rise to a topology by defining that a sequence of vectors **v***n*converges to* **v** if and only if

Banach and Hilbert spaces are complete topological vector spaces whose topologies are given, respectively, by a norm and an inner product.

Their study—a key piece of functional analysis—focusses on infinite-dimensional vector spaces, since all norms on finite-dimensional topological vector spaces give rise to the same notion of convergence.^{[72]} The image at the right shows the equivalence of the 1-norm and ∞-norm on **R** 2: as the unit "balls" enclose each other, a sequence converges to zero in one norm if and only if it so does in the other norm. In the infinite-dimensional case, however, there will generally be inequivalent topologies, which makes the study of topological vector spaces richer than that of vector spaces without additional data.

From a conceptual point of view, all notions related to topological vector spaces should match the topology.

For example, instead of considering all linear maps (also called functionals) *V* → *W*, maps between topological vector spaces are required to be continuous.^{[73]} In particular, the (topological) dual space *V*∗ consists of continuous functionals *V* → **R** (or to **C**). The fundamental Hahn–Banach theorem is concerned with separating subspaces of appropriate topological vector spaces by continuous functionals.^{[74]}

Banach spaces

*Banach spaces*, introduced by Stefan Banach, are complete normed vector spaces.^{[75]}

- for and.

- , but

Imposing boundedness conditions not only on the function, but also on its derivatives leads to Sobolev spaces.^{[77]}

Hilbert spaces

Complete inner product spaces are known as *Hilbert spaces*, in honor of David Hilbert.^{[78]}
The Hilbert space *L*2(Ω), with inner product given by

By definition, in a Hilbert space any Cauchy sequence converges to a limit.

Conversely, finding a sequence of functions *f**n f a*,* b*] can be approximated as closely as desired by a polynomial.^{[81]} A similar approximation technique by trigonometric functions is commonly called Fourier expansion, and is much applied in engineering, see below. More generally, and more conceptually, the theorem yields a simple description of what "basic functions", or, in abstract Hilbert spaces, what basic vectors suffice to generate a Hilbert space *H*, in the sense that the closure of their span (i.e., finite linear combinations and limits of those) is the whole space. Such a set of functions is called a *basis* of *H*, its cardinality is known as the Hilbert space dimension.^{[13]} Not only does the theorem exhibit suitable basis functions as sufficient for approximation purposes, but also together with the Gram–Schmidt process, it enables one to construct a basis of orthogonal vectors.^{[82]} Such orthogonal bases are the Hilbert space generalization of the coordinate axes in finite-dimensional Euclidean space.

The solutions to various differential equations can be interpreted in terms of Hilbert spaces. For example, a great many fields in physics and engineering lead to such equations and frequently solutions with particular physical properties are used as basis functions, often orthogonal.^{[83]} As an example from physics, the time-dependent Schrödinger equation in quantum mechanics describes the change of physical properties in time by means of a partial differential equation, whose solutions are called wavefunctions.^{[84]} Definite values for physical properties such as energy, or momentum, correspond to eigenvalues of a certain (linear) differential operator and the associated wavefunctions are called eigenstates. The spectral theorem decomposes a linear compact operator acting on functions in terms of these eigenfunctions and their eigenvalues.^{[85]}

Algebras over fields

General vector spaces do not possess a multiplication between vectors.

A vector space equipped with an additional bilinear operator defining the multiplication of two vectors is an *algebra over a field*.^{[86]} Many algebras stem from functions on some geometrical object: since functions with values in a given field can be multiplied pointwise, these entities form algebras. The Stone–Weierstrass theorem, for example, relies on Banach algebras which are both Banach spaces and algebras.

Commutative algebra makes great use of rings of polynomials in one or several variables, introduced above. Their multiplication is both commutative and associative. These rings and their quotients form the basis of algebraic geometry, because they are rings of functions of algebraic geometric objects.^{[87]}

Another crucial example are *Lie algebras*, which are neither commutative nor associative, but the failure to be so is limited by the constraints ([*x*,* y*] denotes the product of* x*and* y*):

[

*x*,* y*] = −[*y*,* x*] (anticommutativity), and[

*x*, [*y*,* z*]]+ [*y*, [*z*,* x*]]+ [*z*, [*x*,* y*]]= 0 (Jacobi identity).^{[88]}

Examples include the vector space of *n*-by-*n*matrices, with [*x*,* y*] =* xy*−* yxcommutator of two matrices, and R, endowed with the cross product.

The tensor algebra T(*V*) is a formal way of adding products to any vector space *V* to obtain an algebra.^{[89]} As a vector space, it is spanned by symbols, called simple tensors

- , where the varies.

The multiplication is given by concatenating such symbols, imposing the distributive law under addition, and requiring that scalar multiplication commute with the tensor product ⊗, much the same way as with the tensor product of two vector spaces introduced above. In general, there are no relations between **v** 1 ⊗ **v** 2 and **v** 2 ⊗ **v** 1. Forcing two such elements to be equal leads to the symmetric algebra, whereas forcing **v** 1 ⊗ **v** 2 = − **v** 2 ⊗ **v** 1 yields the exterior algebra.^{[90]}

When a field, *F* is explicitly stated, a common term used is *F*-algebra.

Applications

Vector spaces have many applications as they occur frequently in common circumstances, namely wherever functions with values in some field are involved.

They provide a framework to deal with analytical and geometrical problems, or are used in the Fourier transform.

This list is not exhaustive: many more applications exist, for example in optimization. The minimax theorem of game theory stating the existence of a unique payoff when all players play optimally can be formulated and proven using vector spaces methods.^{[91]} Representation theory fruitfully transfers the good understanding of linear algebra and vector spaces to other mathematical domains such as group theory.^{[92]}

Distributions

A *distribution* (or *generalized function*) is a linear map assigning a number to each "test" function, typically a smooth function with compact support, in a continuous way: in the above terminology the space of distributions is the (continuous) dual of the test function space.^{[93]} The latter space is endowed with a topology that takes into account not only *f* itself, but also all its higher derivatives. A standard example is the result of integrating a test function *f* over some domain Ω:

When Ω = {*pDirac distribution, denoted by δ, which associates to a test function f*its value at the* p*: δ(*f*) =* f* (*p*). Distributions are a powerful instrument to solve differential equations. Since all standard analytic notions such as derivatives are linear, they extend naturally to the space of distributions. Therefore, the equation in question can be transferred to a distribution space, which is bigger than the underlying function space, so that more flexible methods are available for solving the equation. For example, Green's functions and fundamental solutions are usually distributions rather than proper functions, and can then be used to find solutions of the equation with prescribed boundary conditions. The found solution can then in some cases be proven to be actually a true function, and a solution to the original equation (for example, using the Lax–Milgram theorem, a consequence of the Riesz representation theorem).^{[94]}

Fourier analysis

Resolving a periodic function into a sum of trigonometric functions forms a Fourier series, a technique much used in physics and engineering.^{[14]}^{[95]} The underlying vector space is usually the Hilbert space *L*2(0, 2π), for which the functions sin *mx* and cos *mx* (*m* an integer) form an orthogonal basis.^{[96]} The Fourier expansion of an *L*2 function *f* is

The coefficients *a**m*and* b**mFourier coefficients of f*, and are calculated by the formulas^{[97]}

- ,

In physical terms the function is represented as a superposition of sine waves and the coefficients give information about the function's frequency spectrum.^{[98]} A complex-number form of Fourier series is also commonly used.^{[97]} The concrete formulae above are consequences of a more general mathematical duality called Pontryagin duality.^{[99]} group]]R Fourier transform; an application in physics are reciprocal lattices, where the underlying group is a finite-dimensional real vector space endowed with the additional datum of a lattice encoding positions of atoms in crystals.^{[100]}

Fourier series are used to solve boundary value problems in partial differential equations.^{[101]} In 1822, Fourier first used this technique to solve the heat equation.^{[102]} A discrete version of the Fourier series can be used in sampling applications where the function value is known only at a finite number of equally spaced points. In this case the Fourier series is finite and its value is equal to the sampled values at all points.^{[103]} The set of coefficients is known as the discrete Fourier transform (DFT) of the given sample sequence. The DFT is one of the key tools of digital signal processing, a field whose applications include radar, speech encoding, image compression.^{[104]} The JPEG image format is an application of the closely related discrete cosine transform.^{[105]}

The fast Fourier transform is an algorithm for rapidly computing the discrete Fourier transform.^{[106]} It is used not only for calculating the Fourier coefficients but, using the convolution theorem, also for computing the convolution of two finite sequences.^{[107]} They in turn are applied in digital filters^{[108]} and as a rapid multiplication algorithm for polynomials and large integers (Schönhage–Strassen algorithm).^{[109]}^{[110]}

Differential geometry

The tangent plane to a surface at a point is naturally a vector space whose origin is identified with the point of contact. The tangent plane is the best linear approximation, or linearization, of a surface at a point.^{[15]} Even in a three-dimensional Euclidean space, there is typically no natural way to prescribe a basis of the tangent plane, and so it is conceived of as an abstract vector space rather than a real coordinate space. The *tangent space* is the generalization to higher-dimensional differentiable manifolds.^{[111]}

Riemannian manifolds are manifolds whose tangent spaces are endowed with a suitable inner product.^{[112]} Derived therefrom, the Riemann curvature tensor encodes all curvatures of a manifold in one object, which finds applications in general relativity, for example, where the Einstein curvature tensor describes the matter and energy content of space-time.^{[113]}^{[114]} The tangent space of a Lie group can be given naturally the structure of a Lie algebra and can be used to classify compact Lie groups.^{[115]}

Generalizations

Vector bundles

A *vector bundle* is a family of vector spaces parametrized continuously by a topological space *X*.^{[111]}*A%20Comprehensive%20In]] ore precisely, a vector bundle over is a topological spaceE* equipped with a continuous map

- π :

*E*→

*X*

such that for every *x* in *X*, the fiber π−1(*x*) is a vector space. The case dim *V* = 1 is called a line bundle. For any vector space *V*, the projection *X* × *V* → *X* makes the product *X* × *V* into a "trivial" vector bundle. Vector bundles over *X* are required to be locally a product of *X* and some (fixed) vector space *V*: for every *x* in *X*, there is a neighborhood *U* of *x* such that the restriction of π to π−1(*U*) is isomorphic^{[16]} to the trivial bundle *U* × *V* → *U*. Despite their locally trivial character, vector bundles may (depending on the shape of the underlying space *X*) be "twisted" in the large (i.e., the bundle need not be (globally isomorphic to) the trivial bundle *X* × *V*). For example, the Möbius strip can be seen as a line bundle over the circle *S*1 (by identifying open intervals with the real line). It is, however, different from the cylinder *S*1 × **R**, because the latter is orientable whereas the former is not.^{[116]}

Properties of certain vector bundles provide information about the underlying topological space.

For example, the tangent bundle consists of the collection of tangent spaces parametrized by the points of a differentiable manifold. The tangent bundle of the circle *S*1 is globally isomorphic to *S*1 × **R**, since there is a global nonzero vector field on *S*1.^{[17]} In contrast, by the hairy ball theorem, there is no (tangent) vector field on the 2-sphere *S*2 which is everywhere nonzero.^{[117]} K-theory studies the isomorphism classes of all vector bundles over some topological space.^{[118]} In addition to deepening topological and geometrical insight, it has purely algebraic consequences, such as the classification of finite-dimensional real division algebras: **R**, **C**, the quaternions **H** and the octonions **O**.

The cotangent bundle of a differentiable manifold consists, at every point of the manifold, of the dual of the tangent space, the cotangent space. Sections of that bundle are known as differential one-forms.

Modules

*Modules* are to rings what vector spaces are to fields: the same axioms, applied to a ring *R* instead of a field *F*, yield modules.^{[119]} The theory of modules, compared to that of vector spaces, is complicated by the presence of ring elements that do not have multiplicative inverses. For example, modules need not have bases, as the **Z**-module (i.e., abelian group) **Z**/2**Z** shows; those modules that do (including all vector spaces) are known as free modules. Nevertheless, a vector space can be compactly defined as a module over a ring which is a field, with the elements being called vectors. Some authors use the term *vector space* to mean modules over a division ring.^{[120]} The algebro-geometric interpretation of commutative rings via their spectrum allows the development of concepts such as locally free modules, the algebraic counterpart to vector bundles.

Affine and projective spaces

Roughly, *affine spaces* are vector spaces whose origins are not specified.^{[121]} More precisely, an affine space is a set with a free transitive vector space action. In particular, a vector space is an affine space over itself, by the map

- .

If *W* is a vector space, then an affine subspace is a subset of *W* obtained by translating a linear subspace *V* by a fixed vector **x** ∈ *W*; this space is denoted by **x** + *V* (it is a coset of *V* in *W*) and consists of all vectors of the form **x** + **v** for **v** ∈ *V*. An important example is the space of solutions of a system of inhomogeneous linear equations

*A***x

**=**b**

generalizing the homogeneous case **b** = 0 above.^{[122]} The space of solutions is the affine subspace **x** + *V* where **x** is a particular solution of the equation, and *V* is the space of solutions of the homogeneous equation (the nullspace of *A*).

The set of one-dimensional subspaces of a fixed finite-dimensional vector space *V* is known as *projective space*; it may be used to formalize the idea of parallel lines intersecting at infinity.^{[123]} Grassmannians and flag manifolds generalize this by parametrizing linear subspaces of fixed dimension *k* and flags of subspaces, respectively.

See also

Vector (mathematics and physics), for a list of various kinds of vectors

## References

*v*→.

*b*

**v**; and field multiplication:

*ab*. They do not assert the associativity of either operation. More formally, scalar multiplication is a monoid action of the multiplicative monoid of the field F on the vector space V.

*Matrices and vector spaces*, New York: M. Dekker, ISBN 978-0-8247-8419-5) restrict attention to the fields

**R**or

**C**, but most of the theory is unchanged for an arbitrary field.

*Advanced Linear Algebra*, Graduate Texts in Mathematics,

**135**(2nd ed.), Berlin, New York: Springer-Verlag, ISBN 978-0-387-24766-3) choose to start with this equivalence relation and derive the concrete shape of

*V*/

*W*from this.

*General Topology. Chapters 1-4*, Berlin, New York: Springer-Verlag, ISBN 978-3-540-64241-1, ch. II

*Real analysis and probability*, The Wadsworth & Brooks/Cole Mathematics Series, Pacific Grove, CA: Wadsworth & Brooks/Cole Advanced Books & Software, ISBN 978-0-534-10050-6, §5.3, p. 125

*Bases*. For distinction, the latter is then called a Hamel basis.

*L*2 function on an interval by considering the function to be continued periodically outside the interval. See Kreyszig Kreyszig, Erwin (1988),

*Advanced Engineering Mathematics*(6th ed.), New York: John Wiley & Sons, ISBN 978-0-471-85824-9, p. 601

*Encyclopedia of Mathematics*, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4), the plane passing through the point of contact

*P*such that the distance from a point

*P*1 on the surface to the plane is infinitesimally small compared to the distance from

*P*1 to

*P*in the limit as

*P*1 approaches

*P*along the surface.

*U*) to

*V*×

*U*which restricts to linear isomorphisms between fibers.

*S*1 is trivial if and only if there is a section that vanishes nowhere, see Husemoller Husemoller, Dale (1994),

*Fibre Bundles*(3rd ed.), Berlin, New York: Springer-Verlag, ISBN 978-0-387-94087-8, Corollary 8.3. The sections of the tangent bundle are just vector fields.

*Algebra*(in German) (9th ed.), Berlin, New York: Springer-Verlag, ISBN 978-3-540-56799-8, Ch. 19

*Elements of Mathematics : Algebra I Chapters 1-3*, Berlin, New York: Springer-Verlag, ISBN 978-3-540-64243-5, §II.1.1. Bourbaki calls the group homomorphisms

*f*(

*a*)

*homotheties*.