Vectors: The notion of vector and vector space
The notion of vector space and linear combination of vectors
The sets and , together with the componentwise addition and scalar multiplication, are examples of what in mathematics is called a vector space. These sets have the following properties of a vector space.
Definition of a vector space A nonempty set equipped with an addition and scalar multiplication is called a vector space if the following properties hold for all scalars and , and for all :
- Commutativity: .
- Associativity: .
- Zero vector: there is an element in such that .
- Opposite vector: every has an opposite vector such that .
- Scalar 1: .
- Associativity of scalar multiplication: .
- Distributivity of scalar multiplication over vector addition: .
- Distributivity of scalar multiplication over scalar addition: .
All properties can be proved for and by expansion of the expressions in terms of components and application of the componentwise definitions of addition and scalar multiplication.
The set of number may be the set of complex numbers instead of the real numbers. Addition and scalar multiplication in and can be defined componentwise: we only have to consider the components of a vector or a scalar to be a complex number.
The properties above also make computational work in vector spaces easy: for example, according to the commutativity and associativity of addition of vectors it does not matter in what order addition is done. Scalar multiplication and addition of vectors may be combined at one's will.
Linear combination of vectors
A vector is a linear combination of vectors , if there exist scalars , such that The scalars , are called the coefficients of the linear combination. We then also say that the vector linearly depends on the vectors , . A linear combination is called nontrivial if at least one of its coefficients is nonzero. The vectors , are linearly independent if one cannot construct a nontrivial linear combination with them equal to the zero vector.
After all:
Linear span Let be a natural number and let be vectors in a vector space.
The set of all linear combinations of is called the space spanned by the vectors or their (linear) span, and is denoted as
By convention, the linear span of nothing (the empty set) is equal to the span of the zero vector: .
If is the smallest set of vectors that spans the vector space , in other words, if the vectors are linearly independent, then is called a basis of the linear span and is the dimension of this spanned vector space.
The zero vector always belongs to the linear span of vectors: it is the linear combination of where all coefficients are equal to .
The linear span of a single vector in or is a straight line through the origin and . The parametric representation of this line is
The linear span of two vectors and in which are not scalar multiples of each other, is a plane through the origin , and .