 # Vector space

#### Did you know...

This wikipedia selection has been chosen by volunteers helping SOS Children from Wikipedia for this Wikipedia Selection for schools. Before you decide about sponsoring a child, why not learn about different sponsorship charities first?

In mathematics, a vector space (or linear space) is a collection of objects (called vectors) that, informally speaking, may be scaled and added. More formally, a vector space is a set on which two operations, called (vector) addition and (scalar) multiplication, are defined and satisfy certain natural axioms which are listed below. Vector spaces are the basic objects of study in linear algebra, and are used throughout mathematics, science, and engineering.

The most familiar vector spaces are two- and three-dimensional Euclidean spaces. Vectors in these spaces are ordered pairs or triples of real numbers, and are often represented as geometric vectors which are quantities with a magnitude and a direction, usually depicted as arrows. These vectors may be added together using the parallelogram rule (vector addition) or multiplied by real numbers ( scalar multiplication). The behavior of geometric vectors under these operations provides a good intuitive model for the behaviour of vectors in more abstract vector spaces, which need not have a geometric interpretation. For example, the set of (real) polynomials forms a vector space. A vector space is a collection of objects (called vectors) that can be scaled and added.

## Formal definition

Let F be a field (such as the real numbers or complex numbers), whose elements will be called scalars. A vector space over the field F is a set V together with two binary operations,

• vector addition: V × VV denoted v + w, where v, wV, and
• scalar multiplication: F × VV denoted av, where aF and vV,

satisfying the axioms below. Four of the axioms require vectors under addition to form an abelian group, and two are distributive laws.

For all u, v, wV, we have u + (v + w) = (u + v) + w.

For all v, wV, we have v + w = w + v.

3. Vector addition has an identity element:

There exists an element 0V, called the zero vector, such that v + 0 = v for all vV.

4. Vector addition has inverse elements:

For all v ∈ V, there exists an element wV, called the additive inverse of v, such that v + w = 0.

5. Distributivity holds for scalar multiplication over vector addition:

For all aF and v, wV, we have a (v + w) = a v + a w.

6. Distributivity holds for scalar multiplication over field addition:

For all a, bF and vV, we have (a + b) v = a v + b v.

7. Scalar multiplication is compatible with multiplication in the field of scalars:

For all a, bF and vV, we have a (b v) = (ab) v.

8. Scalar multiplication has an identity element:

For all vV, we have 1 v = v, where 1 denotes the multiplicative identity in F.

Formally, these are the axioms for a module, so a vector space may be concisely described as a module over a field.

Note that the seventh axiom above, stating a (b v) = (ab) v, is not asserting the associativity of an operation, since there are two operations in question, scalar multiplication: b v; and field multiplication: ab.

Some sources choose to also include two axioms of closure:

1. V is closed under vector addition:

If u, vV, then u + vV.

2. V is closed under scalar multiplication:

If aF, vV, then a vV.

However, the modern formal understanding of the operations as maps with codomain V implies these statements by definition, and thus obviates the need to list them as independent axioms. The validity of closure axioms is key to determining whether a subset of a vector space is a subspace.

Note that expressions of the form “v a”, where vV and aF, are, strictly speaking, not defined. Because of the commutativity of the underlying field, however, “a v” and “v a” are often treated synonymously. Additionally, if vV, wV, and aF where vector space V is additionally an algebra over the field F then a v w = v a w, which makes it convenient to consider “a v” and “v a” to represent the same vector.

## Elementary properties

There are a number of properties that follow easily from the vector space axioms.

• The zero vector 0V is unique:

If 01 and 02 are zero vectors in V, such that 01 + v = v and 02 + v = v for all vV, then 01 = 02 = 0.

• Scalar multiplication with the zero vector yields the zero vector:

For all aF, we have a 0 = 0.

• Scalar multiplication by zero yields the zero vector:

For all vV, we have 0 v = 0, where 0 denotes the additive identity in F.

• No other scalar multiplication yields the zero vector:

We have a v = 0 if and only if a = 0 or v = 0.

• The additive inverse −v of a vector v is unique:

If w1 and w2 are additive inverses of vV, such that v + w1 = 0 and v + w2 = 0, then w1 = w2. We call the inverse −v and define w − vw + (−v).

• Scalar multiplication by negative unity yields the additive inverse of the vector:

For all vV, we have (−1) v = −v, where 1 denotes the multiplicative identity in F.

• Negation commutes freely:

For all aF and vV, we have (−a) v = a (−v) = − (a v).

## Subspaces and bases

Main articles: Linear subspace, Basis

Given a vector space V, a nonempty subset W of V that is closed under addition and scalar multiplication is called a subspace of V. Subspaces of V are vector spaces (over the same field) in their own right. The intersection of all subspaces containing a given set of vectors is called its span; if no vector can be removed without changing the span, the set is said to be linearly independent. A linearly independent set whose span is V is called a basis for V.

Using Zorn’s Lemma (which is equivalent to the axiom of choice), it can be proven that every vector space has a basis. It follows from the ultrafilter lemma, which is weaker than the axiom of choice, that all bases of a given vector space have the same cardinality. Thus vector spaces over a given field are fixed up to isomorphism by a single cardinal number (called the dimension of the vector space) representing the size of the basis. For instance, the real finite-dimensional vector spaces are just R0, R1, R2, R3, …. The dimension of the real vector space R3 is three.

It was F. Hausdorff who first proved that every vector space has a basis. Andreas Blass showed this theorem leads to the axiom of choice.

A basis makes it possible to express every vector of the space as a unique tuple of the field elements, although caution must be exercised when a vector space does not have a finite basis. Vector spaces are sometimes introduced from this coordinatised viewpoint.

One often considers vector spaces which also carry a compatible topology. Compatible here means that addition and scalar multiplication should be continuous operations. This requirement actually ensures that the topology gives rise to a uniform structure. When the dimension is infinite, there is generally more than one inequivalent topology, which makes the study of topological vector spaces richer than that of general vector spaces.

Only in such topological vector spaces can one consider infinite sums of vectors, i.e. series, through the notion of convergence. This is of importance in both pure- and applied mathematics, for instance in quantum mechanics, where physical systems are defined as Hilbert spaces, or where Fourier expansions are used.

## Linear maps

Main article: Linear map

Given two vector spaces V and W over the same field F, one can define linear maps or “linear transformations” from V to W. These are functions f:VW that are compatible with the relevant structure — i.e., they preserve sums and scalar products. The set of all linear maps from V to W, denoted HomF (V, W), is also a vector space over F. When bases for both V and W are given, linear maps can be expressed in terms of components as matrices.

An isomorphism is a linear map $f:V\to W$ such that there exists an inverse map $g:W\to V$ such that $f \circ g:W \to W$ and $g \circ f:V \to V$ are identity maps. A linear map that is both one-to-one ( injective) and onto ( surjective) is necessarily an isomorphism. 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.

The vector spaces over a fixed field F together with the linear maps are a category, indeed an abelian category.

## Generalizations

From an abstract point of view, vector spaces are modules over a field, F. The common practice of identifying a v and v a in a vector space makes the vector space an F-F bimodule. Modules in general need not have bases; those that do (including all vector spaces) are known as free modules.

A family of vector spaces, parametrised continuously by some underlying topological space, is a vector bundle.

An affine space is a set with a transitive vector space action. Note that a vector space is an affine space over itself, by the structure map $\Theta : V^2 \to V : (a, b) \mapsto \Theta(a, b) =: a - b\,.$