maths.freeLinear Algebra › Structure › Vector space

Vector space

In mathematics, a vector space (also called a linear space) is a set whose elements, often called vectors, can be added together and multiplied ("scaled") by numbers called scalars.

Vector space

In mathematics, a vector space (also called a linear space) is a set whose elements, often called vectors, can be added together and multiplied ("scaled") by numbers called scalars. The operations of vector addition and scalar multiplication must satisfy certain requirements, called vector axioms. Real vector spaces and complex vector spaces are kinds of vector spaces based on different kinds of scalars: real numbers and complex numbers. Scalars can also be, more generally, elements of any field.

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 matrices, 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 over a given field and with the same dimension, the properties that depend only on the vector-space structure are exactly the same (that is, 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.

Many vector spaces that are considered in mathematics are also endowed with other structures. This is the case of algebras, which include field extensions, polynomial rings, associative algebras and Lie algebras. This is also the case of topological vector spaces, which include function spaces, inner product spaces, normed spaces, Hilbert spaces and Banach spaces.

Definition and basic properties

In this article, vectors are represented in boldface to distinguish them from scalars.

A vector space over a field F is a non-empty set V together with a binary operation and a binary function 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 binary 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 binary function, called scalar multiplication, assigns to any scalar a in F and any vector v in V another vector in V, which is denoted av.

To have a vector space, the eight following axioms must be satisfied for every u, v and w in V, and a and b in F.

When the scalar field is the real numbers, the vector space is called a real vector space, and 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. Specifically, the distributivity of scalar multiplication with respect to vector addition means that multiplication by a scalar a is an endomorphism of the group. The remaining three axioms establish that the function that maps a scalar a to the multiplication by a is a ring homomorphism from the field to the endomorphism ring of the group.

Subtraction of two vectors can be defined as \[\mathbf{v} - \mathbf{w} = \mathbf{v} + (-\mathbf{w}).\]

Direct consequences of the axioms include that, for every \(s\in F\) and \(\mathbf v\in V,\) one has

  • \(0\mathbf v = \mathbf 0,\)
  • \(s\mathbf 0=\mathbf 0,\)
  • \((-1)\mathbf v = -\mathbf v,\)
  • \(s\mathbf v = \mathbf 0\) implies \(s=0\) or \(\mathbf v= \mathbf 0.\)

Condensed: the full section is in Wikipedia.

Bases, vector coordinates, and subspaces

Linear combination

Given a set G of elements of a F-vector space V, a linear combination of elements of G is an element of V of the form \[a_1 \mathbf{g}_1 + a_2 \mathbf{g}_2 + \cdots + a_k \mathbf{g}_k,\] 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.

Linear independence

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

Linear subspace

A linear subspace or vector subspace W 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 W 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.

Linear span

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 G spans or generates W, and that G is a spanning set or a generating set of W.

Basis and dimension

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, or many in general (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, depends 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.

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.

Condensed: the full section is in Wikipedia.

History

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. To achieve geometric solutions without using coordinates, Bolzano introduced, in 1804, certain operations on points, lines, and planes, which are predecessors of vectors. Möbius (1827) introduced the notion of barycentric coordinates. Bellavitis (1833) introduced an equivalence relation on directed line segments that share the same length and direction which he called equipollence. A Euclidean vector is then an equivalence class of that relation.

Vectors were reconsidered with the presentation of complex numbers by Argand and Hamilton and the inception of quaternions by the latter. They are elements in R and R; 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 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. In his work, the concepts of linear independence and dimension, as well as scalar products are present. Grassmann's 1844 work exceeds the framework of vector spaces as well since his considering multiplication 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, although he called them "linear systems". Peano's axiomatization allowed for vector spaces with infinite dimension, but Peano did not develop that theory further. In 1897, Salvatore Pincherle adopted Peano's axioms and made initial inroads into the theory of infinite-dimensional vector spaces.

An important development of vector spaces is due to the construction of function spaces by Henri Lebesgue. This was later formalized by Banach and Hilbert, around 1920. 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.

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 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 (the second image). 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 second image).

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 the multiplication of a pair with a number is defined as follows: \[\begin{align} (x_1 , y_1) + (x_2 , y_2) &= (x_1 + x_2, y_1 + y_2), \\ a(x, y) &= (ax, ay). \end{align}\]

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 with its addition viewed as vector addition and its multiplication viewed as scalar multiplication. More generally, all n-tuples (sequences of length n) \[(a_1, a_2, \dots, a_n)\] of elements ai of F form a vector space that is usually denoted F and called a coordinate space. 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) reduces to the previous example.

Complex numbers and other field extensions

The set of complex numbers C, 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) = (cx) + i(cy) 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. 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 + i y 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 field E is an E-vector space, by the given multiplication and addition operations of F. 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.

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 \[(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. Therefore, the set of such functions are vector spaces, whose study belongs to functional analysis.

Linear equations

Systems of homogeneous linear equations are closely tied to vector spaces. For example, the solutions of \[\begin{alignat}{9} && a \,&&+\, 3 b \,&\, + &\, & c & \,= 0 \\ 4 && a \,&&+\, 2 b \,&\, + &\, 2 & c & \,= 0 \\ \end{alignat}\] 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

\[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) + 2 f^\prime(x) + f(x) = 0\]

yields \(f(x) = a e^{-x} + b x e^{-x},\) where \(a\) and \(b\) are arbitrary constants, and \(e^x\) is the natural exponential function.

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, that is, they preserve sums and scalar multiplication: \[\begin{align} f(\mathbf{v} + \mathbf{w}) &= f(\mathbf{v}) + f(\mathbf{w}), \\ f(a \cdot \mathbf{v}) &= a \cdot f(\mathbf{v}) \end{align}\] for all \(\mathbf{v}\) and \(\mathbf{w}\) in \(V,\) all \(a\) in \(F.\)

An isomorphism is a linear map f : VW such that there exists an inverse map g : WV, which is a map such that the two possible compositions fg : WW and gf : VV are identity maps. Equivalently, f is both one-to-one (injective) and onto (surjective). 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 the ordered pairs of numbers vector spaces in the introduction above (see § Examples) 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 VW between two vector spaces form a vector space HomF(V, W), also denoted L(V, W), or 𝓛(V, W). The space of linear maps from V to F is called the dual vector space, denoted V. Via the injective natural map VV, any vector space can be embedded into its bidual; the map is an isomorphism if and only if the space is finite-dimensional.

Once a basis of V is chosen, linear maps f : VW 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. 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. Therefore, two vector spaces over a given field are isomorphic if their dimensions agree and vice versa. Another way to express this is that any vector space over a given field 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. However, there is no "canonical" or preferred isomorphism; an isomorphism φ : FV is equivalent to the choice of a basis of V, by mapping the standard basis of F to V, via φ.

Matrices

Matrices are a useful notion to encode linear maps. 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 to F, by the following \[\mathbf x = (x_1, x_2, \ldots, x_n) \mapsto \left(\sum_{j=1}^n a_{1j}x_j, \sum_{j=1}^n a_{2j}x_j, \ldots, \sum_{j=1}^n a_{mj}x_j \right),\] where \(\sum\) denotes summation, or by 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 : VW is uniquely represented by a matrix via this assignment.

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. The linear transformation of R 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 : VV, 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 λ. Equivalently, v is an element of the kernel of the difference fλ · Id (where Id is the identity map VV). 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. 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. 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.

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.

Τώρα εσύ. Κανένας υπολογιστής δεν τακτοποιεί αυτό το ένα, αλλά τα κομμάτια του είναι ακλόνητα.

Να δουλεύεις μόνος σου.

Ένας δωρεάν λογαριασμός προσθέτει σημειώσεις σε κάθε μάθημα, ένα αρχείο του τι έχετε τελειώσει, λύθηκαν προβλήματα σας σε ένα μέρος, και ένας δάσκαλος που μπορείτε να ρωτήσετε για αυτή τη σελίδα.

Υπογράψτε Σύνδεση

Σύμβολα που χρησιμοποιούνται εδώ

Χτυπήστε οποιοδήποτε σύμβολο για τον πλήρη ορισμό, μια εικόνα, και τι σημαίνει κάθε γράμμα σε αυτό.

Ερωτήσεις που κάνουν οι άνθρωποι

What does a determinant mean geometrically?

It is the factor by which the matrix scales area (2×2) or volume (3×3), with a negative sign if orientation flips. Zero means the matrix flattens space and cannot be undone.

What is an eigenvector?

A direction the matrix does not turn: it only stretches it by the eigenvalue. Along eigenvectors a complicated matrix acts like multiplication by a number.

Why is matrix multiplication not commutative?

Because a matrix is a transformation and AB means "do B, then A". Rotating then reflecting is not the same as reflecting then rotating.

Μέρη αυτής της σελίδας προσαρμόζονται από Wikipedia (CC BY-SA 4.0). Πυκνωμένα και ανεξήγητα εδώ· τα λάθη είναι δικά μας.

Περισσότερα σε Linear Algebra