Vector addition and scalar multiplication: a vector v (blue) is added to another vector w (red, upper illustration). Below, w is stretched by a factor of 2, yielding the sum v + 2w.
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called vectors, may be added together and multiplied ("scaled") by numbers called scalars. Scalars are often real numbers, but can be complex numbers or, more generally, elements of any field. The operations of vector addition and scalar multiplication must satisfy certain requirements, called vector axioms. The terms real vector space and complex vector space are often used to specify the nature of the scalars: real coordinate space or complex coordinate space.
Vector spaces generalize Euclidean vectors, which allow modeling of physical quantities, such as forces and velocity, that have not only a magnitude, but also a direction. The concept of vector spaces is fundamental for linear algebra, together with the concept of matrix, which allows computing in vector spaces. This provides a concise and synthetic way for manipulating and studying systems of linear equations.
Vector spaces are characterized by their dimension, which, roughly speaking, specifies the number of independent directions in the space. This means that, for two vector spaces with the same dimension, the properties that depend only on the vector-space structure are exactly the same (technically the vector spaces are isomorphic). A vector space is finite-dimensional if its dimension is a natural number. Otherwise, it is infinite-dimensional, and its dimension is an infinite cardinal. Finite-dimensional vector spaces occur naturally in geometry and related areas. Infinite-dimensional vector spaces occur in many areas of mathematics. For example, polynomial rings are countably infinite-dimensional vector spaces, and many function spaces have the cardinality of the continuum as a dimension.
In this article, vectors are represented in boldface to distinguish them from scalars.^{[nb 1]}
A vector space over a fieldF is a setV together with two binary operations that satisfy the eight axioms listed below. In this context, the elements of V are commonly called vectors, and the elements of F are called scalars.
The first operation, called vector addition or simply addition assigns to any two vectors v and w in V a third vector in V which is commonly written as v + w, and called the sum of these two vectors.
The second operation, called scalar multiplication，assigns to any scalar a in F and any vector v in V another vector in V, which is denoted av.^{[nb 2]}
For having a vector space, the eight following axioms must be satisfied for every u, v and w in V, and a and b in F.^{[1]}
Distributivity of scalar multiplication with respect to vector addition
a(u + v) = au + av
Distributivity of scalar multiplication with respect to field addition
(a + b)v = av + bv
When the scalar field is the real numbers the vector space is called a real vector space. When the scalar field is the complex numbers, the vector space is called a complex vector space. These two cases are the most common ones, but vector spaces with scalars in an arbitrary field F are also commonly considered. Such a vector space is called an F-vector space or a vector space over F.
An equivalent definition of a vector space can be given, which is much more concise but less elementary: the first four axioms (related to vector addition) say that a vector space is an abelian group under addition, and the four remaining axioms (related to the scalar multiplication), say that this operation defines a ring homomorphism from the field F into the endomorphism ring of this group.
A vector v in R^{2} (blue) expressed in terms of different bases: using the standard basis of R^{2}: v = xe_{1} + ye_{2} (black), and using a different, non-orthogonal basis: v = f_{1} + f_{2} (red).
where $a_{1},\ldots ,a_{k}\in F$ and $\mathbf {g} _{1},\ldots ,\mathbf {g} _{k}\in G.$ The scalars $a_{1},\ldots ,a_{k))$ are called the coefficients of the linear combination.
The elements of a subset G of a F-vector space V are said to be linearly independent if no element of G can be written as a linear combination of the other elements of G. Equivalently, they are linearly independent if two linear combinations of element of G define the same element of V if and only if they have the same coefficients. Also equivalently, they are linearly independent if a linear combination results in the zero vector if and only if all its coefficients are zero.
A linear subspace or vector subspaceW of a vector space V is a non-empty subset of V that is closed under vector addition and scalar multiplication; that is, the sum of two elements of W and the product of an element of V by a scalar belong to W. This implies that every linear combination of elements of W belongs to W. A linear subspace is a vector space for the induced addition and scalar multiplication; this means that the closure property implies that the axioms of a vector space are satisfied. The closure property also implies that every intersection of linear subspaces is a linear subspace.
Given a subset G of a vector space V, the linear span or simply the span of G is the smallest linear subspace of V that contains G, in the sense that it is the intersection of all linear subspaces that contain G. The span of G is also the set of all linear combinations of elements of G. If W is the span of G, one says that Gspans or generatesW, and that G is a spanning set or a generating set of W.
A subset of a vector space is a basis if its elements are linearly independent and span the vector space. Every vector space has at least one basis, generally many (see Basis (linear algebra) § Proof that every vector space has a basis). Moreover, all bases of a vector space have the same cardinality, which is called the dimension of the vector space (see Dimension theorem for vector spaces). This is a fundamental property of vector spaces, which is detailed in the remainder of the section.
Bases are a fundamental tool for the study of vector spaces, especially when the dimension is finite. In the infinite-dimensional case, the existence of infinite bases, often called Hamel bases, depend on the axiom of choice. It follows that, in general, no base can be explicitly described. For example, the real numbers form an infinite-dimensional vector space over the rational numbers, for which no specific basis is known.
Consider a basis $(\mathbf {b} _{1},\mathbf {b} _{2},\ldots ,\mathbf {b} _{n})$ of a vector space V of dimension n over a field F. The definition of a basis implies that every $\mathbf {v} \in V$ may be written
with $a_{1},\dots ,a_{n))$ in F, and that this decomposition is unique. The scalars $a_{1},\ldots ,a_{n))$ are called the coordinates of v on the basis. They are also said to be the coefficients of the decomposition of v on the basis. One also says that the n-tuple of the coordinates is the coordinate vector of v on the basis, since the set $F^{n))$ of the n-tuples of elements of F is a vector space for componentwise addition and scalar multiplication, whose dimension is n.
The one-to-one correspondence between vectors and their coordinate vectors maps vector addition to vector addition and scalar multiplication to scalar multiplication. It is thus a vector space isomorphism, which allows translating reasonings and computations on vectors into reasonings and computations on their coordinates. If, in turn, these coordinates are arranged as matrices, these reasonings and computations on coordinates can be expressed concisely as reasonings and computations on matrices. Moreover, a linear equation relating matrices can be expanded into a system of linear equations, and, conversely, every such system can be compacted into a linear equation on matrices.
In summary, finite-dimensional linear algebra may be expressed in three equivalent languages:
Vector spaces, which provide concise and coordinate-free statements,
Matrices, which are convenient for expressing concisely explicit computations,
Vector spaces stem from affine geometry, via the introduction of coordinates in the plane or three-dimensional space. Around 1636, French mathematicians René Descartes and Pierre de Fermat founded analytic geometry by identifying solutions to an equation of two variables with points on a plane curve.^{[2]} To achieve geometric solutions without using coordinates, Bolzano introduced, in 1804, certain operations on points, lines and planes, which are predecessors of vectors.^{[3]}Möbius (1827) introduced the notion of barycentric coordinates. Bellavitis (1833) introduced the notion of a bipoint, i.e., an oriented segment one of whose ends is the origin and the other one a target.^{[4]} Vectors were reconsidered with the presentation of complex numbers by Argand and Hamilton and the inception of quaternions by the latter.^{[5]} They are elements in R^{2} and R^{4}; treating them using linear combinations goes back to Laguerre in 1867, who also defined systems of linear equations.
In 1857, Cayley introduced the matrix notation which allows for a harmonization and simplification of linear maps. Around the same time, Grassmann studied the barycentric calculus initiated by Möbius. He envisaged sets of abstract objects endowed with operations.^{[6]} In his work, the concepts of linear independence and dimension, as well as scalar products are present. Actually Grassmann's 1844 work exceeds the framework of vector spaces, since his considering multiplication, too, led him to what are today called algebras. Italian mathematician Peano was the first to give the modern definition of vector spaces and linear maps in 1888,^{[7]} although he called them "linear systems".^{[8]}
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 numbera, 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 av. When a is negative, av is defined as the arrow pointing in the opposite direction instead.
The following shows a few examples: if a = 2, the resulting vector aw has the same direction as w, but is stretched to the double length of w (right image below). Equivalently, 2w 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:
The first example above reduces to this example, if an arrow is represented by a pair of Cartesian coordinates of its endpoint.
Coordinate space
The simplest example of a vector space over a field F is the field F itself (as it is an abelian group for addition, a part of the requirements to be a field), equipped with its addition (It becomes vector addition.) and multiplication (It becomes scalar multiplication.). More generally, all n-tuples (sequences of length n)
$(a_{1},a_{2},\dots ,a_{n})$
of elements a_{i} of F form a vector space that is usually denoted F^{n} and called a coordinate space.^{[11]}
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 (so R^{2}) was discussed in the introduction above.
Complex numbers and other field extensions
The set of complex numbersC, that is, numbers that can be written in the form x + iy for real numbersx 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 as (that is, it is isomorphic to) the vector space of ordered pairs of real numbers mentioned above: if we think of the complex number x + iy as representing the ordered pair (x, y) in the complex plane then we see that the rules for addition and scalar multiplication correspond exactly to those in the earlier example.
More generally, field extensions provide another class of examples of vector spaces, particularly in algebra and algebraic number theory: a field F containing a smaller fieldE is an E-vector space, by the given multiplication and addition operations of F.^{[12]} For example, the complex numbers are a vector space over R, and the field extension $\mathbf {Q} (i{\sqrt {5)))$ is a vector space over Q.
Addition of functions: The sum of the sine and the exponential function is $\sin +\exp :\mathbb {R} \to \mathbb {R}$ with $(\sin +\exp )(x)=\sin(x)+\exp(x)$
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
$(f+g)(w)=f(w)+g(w),$
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.^{[13]} Therefore, the set of such functions are vector spaces, whose study belongs to functional analysis.
are given by triples with arbitrary $a,$$b=a/2,$ and $c=-5a/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
$A\mathbf {x} =\mathbf {0} ,$
where $A={\begin{bmatrix}1&3&1\\4&2&2\end{bmatrix))$ is the matrix containing the coefficients of the given equations, $\mathbf {x}$ is the vector $(a,b,c),$$A\mathbf {x}$ denotes the matrix product, and $\mathbf {0} =(0,0)$ is the zero vector. In a similar vein, the solutions of homogeneous linear differential equations form vector spaces. For example,
$f^{\prime \prime }(x)+2f^{\prime }(x)+f(x)=0$
yields $f(x)=ae^{-x}+bxe^{-x},$ where $a$ and $b$ are arbitrary constants, and $e^{x))$ is the natural exponential function.
The relation of two vector spaces can be expressed by linear map or linear transformation. They are functions that reflect the vector space structure, that is, they preserve sums and scalar multiplication:
for all $\mathbf {v}$ and $\mathbf {w}$ in $V,$ all $a$ in $F.$^{[15]}
An isomorphism is a linear map f : V → W such that there exists an inverse mapg : W → V, which is a map such that the two possible compositionsf ∘ g : W → W and g ∘ f : V → V are identity maps. Equivalently, f is both one-to-one (injective) and onto (surjective).^{[16]} 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.
Describing an arrow vector v by its coordinates x and y yields an isomorphism of vector spaces.
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), or 𝓛(V, W).^{[17]} The space of linear maps from V to F is called the dual vector space, denoted V^{∗}.^{[18]} 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.^{[19]}
Once a basis of V is chosen, linear maps f : V → W are completely determined by specifying the images of the basis vectors, because any element of V is expressed uniquely as a linear combination of them.^{[20]} 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.^{[21]} 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.^{[clarification needed]}
Matrices are a useful notion to encode linear maps.^{[22]} 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 $\sum$ denotes summation,
or, using the matrix multiplication of the matrix $A$ with the coordinate vector $\mathbf {x} :$
$\mathbf {x} \mapsto A\mathbf {x} .$
Moreover, after choosing bases of V and W, any linear map f : V → W is uniquely represented by a matrix via this assignment.^{[23]}
The volume of this parallelepiped is the absolute value of the determinant of the 3-by-3 matrix formed by the vectors r_{1}, r_{2}, and r_{3}.
The determinantdet (A) of a square matrixA 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.^{[24]} 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.
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λ.^{[nb 4]}^{[25]} Equivalently, v is an element of the kernel of the difference f − λ · Id (where Id is the identity mapV → V). If V is finite-dimensional, this can be rephrased using determinants: f having eigenvalue λ is equivalent to
$\det(f-\lambda \cdot \operatorname {Id} )=0.$
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.^{[26]} If the field F is large enough to contain a zero of this polynomial (which automatically happens for Falgebraically 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.^{[27]}^{[nb 5]} 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.^{[clarification needed]}
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.
A line passing through the origin (blue, thick) in R^{3} is a linear subspace. It is the intersection of two planes (green and yellow).
A nonempty subset$W$ of a vector space $V$ that is closed under addition and scalar multiplication (and therefore contains the $\mathbf {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.^{[28]}^{[nb 6]} 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.$^{[29]}
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.^{[30]} Given any subspace $W\subseteq V,$ the quotient space $V/W$ ("$V$modulo$W$") is defined as follows: as a set, it consists of $\mathbf {v} +W=\{\mathbf {v} +\mathbf {w} :\mathbf {w} \in W\},$ where $\mathbf {v}$ is an arbitrary vector in $V.$ The sum of two such elements $\mathbf {v} _{1}+W$ and $\mathbf {v} _{2}+W$ is $\left(\mathbf {v} _{1}+\mathbf {v} _{2}\right)+W,$ and scalar multiplication is given by $a\cdot (\mathbf {v} +W)=(a\cdot \mathbf {v} )+W.$ The key point in this definition is that $\mathbf {v} _{1}+W=\mathbf {v} _{2}+W$if and only if the difference of $\mathbf {v} _{1))$ and $\mathbf {v} _{2))$ lies in $W.$^{[nb 7]} This way, the quotient space "forgets" information that is contained in the subspace $W.$
The kernel$\ker(f)$ of a linear map $f:V\to W$ consists of vectors $\mathbf {v}$ that are mapped to $\mathbf {0}$ in $W.$^{[31]} The kernel and the image$\operatorname {im} (f)=\{f(\mathbf {v} ):\mathbf {v} \in V\))$ are subspaces of $V$ and $W,$ respectively.^{[32]} 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.^{[33]} Because of this, many statements such as the first isomorphism theorem (also called rank–nullity theorem in matrix-related terms)
$V/\ker(f)\;\equiv \;\operatorname {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 $\mathbf {x} \mapsto A\mathbf {x}$ for some fixed matrix $A,$ as above.^{[clarification needed]} The kernel of this map is the subspace of vectors $\mathbf {x}$ such that $A\mathbf {x} =\mathbf {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
the derivatives of the function $f$ appear linearly (as opposed to $f^{\prime \prime }(x)^{2},$ for example). Since differentiation is a linear procedure (that is, $(f+g)^{\prime }=f^{\prime }+g^{\prime ))$ and $(c\cdot f)^{\prime }=c\cdot f^{\prime ))$ for a constant $c$) this assignment is linear, called a linear differential operator. In particular, the solutions to the differential equation $D(f)=0$ form a vector space (over R or C).
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.
The direct product$\textstyle {\prod _{i\in I}V_{i))$ of a family of vector spaces $V_{i))$ consists of the set of all tuples $\left(\mathbf {v} _{i}\right)_{i\in I},$ which specify for each index $i$ in some index set$I$ an element $\mathbf {v} _{i))$ of $V_{i}.$^{[34]} Addition and scalar multiplication is performed componentwise. A variant of this construction is the direct sum${\textstyle \bigoplus _{i\in I}V_{i))$ (also called coproduct and denoted ${\textstyle \coprod _{i\in I}V_{i))$), where only tuples with finitely many nonzero vectors are allowed. If the index set $I$ is finite, the two constructions agree, but in general they are different.
The tensor product$V\otimes _{F}W,$ or simply $V\otimes W,$ of two vector spaces $V$ and $W$ is one of the central notions of multilinear algebra which deals with extending notions such as linear maps to several variables. A map $g:V\times W\to X$ from the Cartesian product$V\times W$ is called bilinear if $g$ is linear in both variables $\mathbf {v}$ and $\mathbf {w} .$ That is to say, for fixed $\mathbf {w}$ the map $\mathbf {v} \mapsto g(\mathbf {v} ,\mathbf {w} )$ is linear in the sense above and likewise for fixed $\mathbf {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
These rules ensure that the map $f$ from the $V\times W$ to $V\otimes W$ that maps a tuple$(\mathbf {v} ,\mathbf {w} )$ to $\mathbf {v} \otimes \mathbf {w}$ is bilinear. The universality states that given any vector space $X$ and any bilinear map $g:V\times W\to X,$ there exists a unique map $u,$ shown in the diagram with a dotted arrow, whose composition with $f$ equals $g:$$u(\mathbf {v} \otimes \mathbf {w} )=g(\mathbf {v} ,\mathbf {w} ).$^{[36]} 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$\,\leq ,\,$ under which some vectors can be compared.^{[37]} For example, $n$-dimensional real space $\mathbf {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.^{[38]}
"Measuring" vectors is done by specifying a norm, a datum which measures lengths of vectors, or by an inner product, which measures angles between vectors. Norms and inner products are denoted $|\mathbf {v} |$ and $\langle \mathbf {v} ,\mathbf {w} \rangle ,$ respectively. The datum of an inner product entails that lengths of vectors can be defined too, by defining the associated norm ${\textstyle |\mathbf {v} |:={\sqrt {\langle \mathbf {v} ,\mathbf {v} \rangle )).}$ Vector spaces endowed with such data are known as normed vector spaces and inner product spaces, respectively.^{[39]}
Coordinate space $F^{n))$ can be equipped with the standard dot product:
Because of this, two vectors satisfying $\langle \mathbf {x} ,\mathbf {y} \rangle =0$ are called orthogonal. An important variant of the standard dot product is used in Minkowski space: $\mathbf {R} ^{4))$ endowed with the Lorentz product^{[40]}
In contrast to the standard dot product, it is not positive definite: $\langle \mathbf {x} |\mathbf {x} \rangle$ also takes negative values, for example, for $\mathbf {x} =(0,0,0,1).$ Singling out the fourth coordinate—corresponding to time, as opposed to three space-dimensions—makes it useful for the mathematical treatment of special relativity.
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.^{[41]}^{[42]} Compatible here means that addition and scalar multiplication have to be continuous maps. Roughly, if $\mathbf {x}$ and $\mathbf {y}$ in $V,$ and $a$ in $F$ vary by a bounded amount, then so do $\mathbf {x} +\mathbf {y}$ and $a\mathbf {x} .$^{[nb 8]} To make 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_{1},f_{2},\ldots$ of elements of $V.$ For example, the $f_{i))$ could be (real or complex) functions belonging to some function 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.
Unit "spheres" in $\mathbf {R} ^{2))$ consist of plane vectors of norm 1. Depicted are the unit spheres in different $p$-norms, for $p=1,2,$ and $\infty .$ The bigger diamond depicts points of 1-norm equal to 2.
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.^{[43]} In contrast, the space of all continuous functions on $[0,1]$ with the same topology is complete.^{[44]} A norm gives rise to a topology by defining that a sequence of vectors $\mathbf {v} _{n))$ converges to $\mathbf {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—focuses on infinite-dimensional vector spaces, since all norms on finite-dimensional topological vector spaces give rise to the same notion of convergence.^{[45]} The image at the right shows the equivalence of the $1$-norm and $\infty$-norm on $\mathbf {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\to W,$ maps between topological vector spaces are required to be continuous.^{[46]} In particular, the (topological) dual space $V^{*))$ consists of continuous functionals $V\to \mathbf {R}$ (or to $\mathbf {C}$). The fundamental Hahn–Banach theorem is concerned with separating subspaces of appropriate topological vector spaces by continuous functionals.^{[47]}
A first example is the vector space $\ell ^{p))$ consisting of infinite vectors with real entries $\mathbf {x} =\left(x_{1},x_{2},\ldots ,x_{n},\ldots \right)$
whose $p$-norm$(1\leq p\leq \infty )$ given by
$\|\mathbf {x} \|_{\infty }:=\sup _{i}|x_{i}|\qquad {\text{ for ))p=\infty ,{\text{ and ))$
$\|\mathbf {x} \|_{p}:=\left(\sum _{i}|x_{i}|^{p}\right)^{\frac {1}{p))\qquad {\text{ for ))p<\infty .$
The topologies on the infinite-dimensional space $\ell ^{p))$ are inequivalent for different $p.$ For example, the sequence of vectors $\mathbf {x} _{n}=\left(2^{-n},2^{-n},\ldots ,2^{-n},0,0,\ldots \right),$ in which the first $2^{n))$ components are $2^{-n))$ and the following ones are $0,$ converges to the zero vector for $p=\infty ,$ but does not for $p=1:$
More generally than sequences of real numbers, functions $f:\Omega \to \mathbb {R}$ are endowed with a norm that replaces the above sum by the Lebesgue integral
The space of integrable functions on a given domain$\Omega$ (for example an interval) satisfying $\|f\|_{p}<\infty ,$ and equipped with this norm are called Lebesgue spaces, denoted $L^{\;\!p}(\Omega ).$^{[nb 9]}
These spaces are complete.^{[49]} (If one uses the Riemann integral instead, the space is not complete, which may be seen as a justification for Lebesgue's integration theory.^{[nb 10]}) Concretely this means that for any sequence of Lebesgue-integrable functions $f_{1},f_{2},\ldots ,f_{n},\ldots$ with $\|f_{n}\|_{p}<\infty ,$ satisfying the condition
The succeeding snapshots show summation of 1 to 5 terms in approximating a periodic function (blue) by finite sum of sine functions (red).
Complete inner product spaces are known as Hilbert spaces, in honor of David Hilbert.^{[51]} The Hilbert space $L^{2}(\Omega ),$ with inner product given by
where ${\overline {g(x)))$ denotes the complex conjugate of $g(x),$^{[52]}^{[nb 11]} is a key case.
By definition, in a Hilbert space any Cauchy sequence converges to a limit. Conversely, finding a sequence of functions $f_{n))$ with desirable properties that approximates a given limit function, is equally crucial. Early analysis, in the guise of the Taylor approximation, established an approximation of differentiable functions$f$ by polynomials.^{[53]} By the Stone–Weierstrass theorem, every continuous function on $[a,b]$ can be approximated as closely as desired by a polynomial.^{[54]} A similar approximation technique by trigonometric functions is commonly called Fourier expansion, and is much applied in engineering, see below.^{[clarification needed]} 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 (that is, 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.^{[nb 12]} 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.^{[55]} 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.^{[56]} 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.^{[57]} 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.^{[58]}
A hyperbola, given by the equation $x\cdot y=1.$ The coordinate ring of functions on this hyperbola is given by $\mathbf {R} [x,y]/(x\cdot y-1),$ an infinite-dimensional vector space over $\mathbf {R} .$
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.^{[59]} 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.
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$):
Examples include the vector space of $n$-by-$n$ matrices, with $[x,y]=xy-yx,$ the commutator of two matrices, and $\mathbf {R} ^{3},$ endowed with the cross product.
The tensor algebra$\operatorname {T} (V)$ is a formal way of adding products to any vector space $V$ to obtain an algebra.^{[62]} As a vector space, it is spanned by symbols, called simple tensors
where the degree$n$ 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.^{[clarification needed]} In general, there are no relations between $\mathbf {v} _{1}\otimes \mathbf {v} _{2))$ and $\mathbf {v} _{2}\otimes \mathbf {v} _{1}.$ Forcing two such elements to be equal leads to the symmetric algebra, whereas forcing $\mathbf {v} _{1}\otimes \mathbf {v} _{2}=-\mathbf {v} _{2}\otimes \mathbf {v} _{1))$ yields the exterior algebra.^{[63]}
When a field, $F$ is explicitly stated, a common term used is $F$-algebra.
A vector bundle is a family of vector spaces parametrized continuously by a topological spaceX.^{[64]} More precisely, a vector bundle over X is a topological space E equipped with a continuous map
$\pi :E\to 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 neighborhoodU of x such that the restriction of π to π^{−1}(U) is isomorphic^{[nb 13]} 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 (that is, 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 cylinderS^{1} × R, because the latter is orientable whereas the former is not.^{[65]}
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}.^{[nb 14]} In contrast, by the hairy ball theorem, there is no (tangent) vector field on the 2-sphereS^{2} which is everywhere nonzero.^{[66]}K-theory studies the isomorphism classes of all vector bundles over some topological space.^{[67]} 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 quaternionsH and the octonionsO.
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.^{[68]} 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 (that is, abelian group) Z/2Z 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.^{[69]} 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.
An affine plane (light blue) in R^{3}. It is a two-dimensional subspace shifted by a vector x (red).
Roughly, affine spaces are vector spaces whose origins are not specified.^{[70]} 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\mathbf {v} =\mathbf {b}$
generalizing the homogeneous case above, which can be found by setting $\mathbf {b} =\mathbf {0}$ in this equation.^{[clarification needed]}^{[71]} 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.^{[72]}Grassmannians and flag manifolds generalize this by parametrizing linear subspaces of fixed dimension k and flags of subspaces, respectively.
Column vector, a matrix with only one column. The column vectors with a fixed number of rows form a vector space.
Row vector, a matrix with only one row. The row vectors with a fixed number of columns form a vector space.
Coordinate vector, the n-tuple of the coordinates of a vector on a basis of n elements. For a vector space over a fieldF, these n-tuples form the vector space $F^{n))$ (where the operation are pointwise addition and scalar multiplication).
Displacement vector, a vector that specifies the change in position of a point relative to a previous position. Displacement vectors belong to the vector space of translations.
Position vector of a point, the displacement vector from a reference point (called the origin) to the point. A position vector represents the position of a point in a Euclidean space or an affine space.
Velocity vector, the derivative, with respect to time, of the position vector. It does not depend of the choice of the origin, and, thus belongs to the vector space of translations.
Covector, an element of the dual of a vector space. In an inner product space, the inner product defines an isomorphism between the space and its dual, which may make difficult to distinguish a covector from a vector. The distinction becomes apparent when one changes coordinates (non-orthogonally).
Normal vector or simply normal, in a Euclidean space or, more generally, in an inner product space, a vector that is perpendicular to a tangent space at a point.
Gradient, the coordinates vector of the partial derivatives of a function of several real variables. In a Euclidean space the gradient gives the magnitude and direction of maximum increase of a scalar field. The gradient is a covector that is normal to a level curve.
^It is also common, especially in physics, to denote vectors with an arrow on top: ${\vec {v)).$ It is also common, especially in higher mathematics, to not use any typographical method for distinguishing vectors from other mathematical objects.
^Scalar multiplication is not to be confused with the scalar product, which is an additional operation on some specific vector spaces, called inner product spaces. Scalar multiplication is a multiplication of a vector by a scalar that produces a vector, while the scalar product is a multiplication of two vectors that produces a scalar.
^This axiom is not an associative property, since it refers to two different operations, scalar multiplication and field multiplication. So, it is independent from the associativity of field multiplication, which is assumed by field axioms.
^The nomenclature derives from German "eigen", which means own or proper.
^This is typically the case when a vector space is also considered as an affine space. In this case, a linear subspace contains the zero vector, while an affine subspace does not necessarily contain it.
^Some authors (such as Roman 2005) choose to start with this equivalence relation and derive the concrete shape of $V/W$ from this.
^This requirement implies that the topology gives rise to a uniform structure, Bourbaki 1989, ch. II
^
"Many functions in $L^{2))$ of Lebesgue measure, being unbounded, cannot be integrated with the classical Riemann integral. So spaces of Riemann integrable functions would not be complete in the $L^{2))$ norm, and the orthogonal decomposition would not apply to them. This shows one of the advantages of Lebesgue integration.", Dudley 1989, §5.3, p. 125
^For $p\neq 2,$$L^{p}(\Omega )$ is not a Hilbert space.
^A basis of a Hilbert space is not the same thing as a basis in the sense of linear algebra above.^{[clarification needed]} For distinction, the latter is then called a Hamel basis.
^That is, there is a homeomorphism from π^{−1}(U) to V × U which restricts to linear isomorphisms between fibers.
^A line bundle, such as the tangent bundle of S^{1} is trivial if and only if there is a section that vanishes nowhere, see Husemoller 1994, Corollary 8.3. The sections of the tangent bundle are just vector fields.
Braun, Martin (1993), Differential equations and their applications: an introduction to applied mathematics, Berlin, New York: Springer-Verlag, ISBN978-0-387-97894-9
Dennery, Philippe; Krzywicki, Andre (1996), Mathematics for Physicists, Courier Dover Publications, ISBN978-0-486-69193-0
Dudley, Richard M. (1989), Real analysis and probability, The Wadsworth & Brooks/Cole Mathematics Series, Pacific Grove, CA: Wadsworth & Brooks/Cole Advanced Books & Software, ISBN978-0-534-10050-6
Folland, Gerald B. (1992), Fourier Analysis and Its Applications, Brooks-Cole, ISBN978-0-534-17094-3
Gasquet, Claude; Witomski, Patrick (1999), Fourier Analysis and Applications: Filtering, Numerical Computation, Wavelets, Texts in Applied Mathematics, New York: Springer-Verlag, ISBN978-0-387-98485-8
Ifeachor, Emmanuel C.; Jervis, Barrie W. (2001), Digital Signal Processing: A Practical Approach (2nd ed.), Harlow, Essex, England: Prentice-Hall (published 2002), ISBN978-0-201-59619-9
Krantz, Steven G. (1999), A Panorama of Harmonic Analysis, Carus Mathematical Monographs, Washington, DC: Mathematical Association of America, ISBN978-0-88385-031-2
Loomis, Lynn H. (1953), An introduction to abstract harmonic analysis, The University series in higher mathematics, Toronto-New York–London: D. Van Nostrand Company, Inc., pp. x+190, hdl:2027/uc1.b4250788
Narici, Lawrence; Beckenstein, Edward (2011). Topological Vector Spaces. Pure and applied mathematics (Second ed.). Boca Raton, FL: CRC Press. ISBN978-1584888666. OCLC144216834.
Bellavitis, Giuso (1833), "Sopra alcune applicazioni di un nuovo metodo di geometria analitica", Il poligrafo giornale di scienze, lettre ed arti, Verona, 13: 53–61.
Bourbaki, Nicolas (1969), Éléments d'histoire des mathématiques (Elements of history of mathematics) (in French), Paris: Hermann
Peano, Giuseppe (1888), Calcolo Geometrico secondo l'Ausdehnungslehre di H. Grassmann preceduto dalle Operazioni della Logica Deduttiva (in Italian), Turin
Hughes-Hallett, Deborah; McCallum, William G.; Gleason, Andrew M. (2013), Calculus : Single and Multivariable (6 ed.), John Wiley & Sons, ISBN978-0470-88861-2