Vectors: The notion of vector and vector space
The notion of vector space and linear combination of vectors
The sets \(\mathbb{R}^2\) and \(\mathbb{R}^3\), 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 \(V\) equipped with an addition and scalar multiplication is called a vector space if the following properties hold for all scalars \(\lambda\) and \(\mu\), and for all \(\vec{u}, \vec{v}, \vec{w} \in V\):
- Commutativity: \(\vec{u}+\vec{v}=\vec{v}+\vec{u}\).
- Associativity: \((\vec{u}+\vec{v})+\vec{w}=\vec{u}+(\vec{v}+\vec{w})\).
- Zero vector: there is an element \(\vec{0}\) in \(V\) such that \(\vec{v}+\vec{0}=\vec{v}\).
- Opposite vector: every \(v\in V\) has an opposite vector \(-\vec{v}\) such that \(\vec{v}+(-\vec{v})=\vec{0}\).
- Scalar 1: \(1\cdot \vec{v}=\vec{v}\).
- Associativity of scalar multiplication: \(\lambda\cdot(\mu\cdot \vec{v})=(\lambda\cdot\mu)\cdot \vec{v}\).
- Distributivity of scalar multiplication over vector addition: \(\lambda\cdot (\vec{u}+\vec{v})=\lambda\cdot\vec{u}+\lambda\cdot\vec{v}\).
- Distributivity of scalar multiplication over scalar addition: \((\lambda+\mu)\cdot \vec{v}=\lambda\cdot\vec{v}+\mu\cdot\vec{v}\).
All properties can be proved for \(\mathbb{R}^2\) and \(\mathbb{R}^3\) 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 \(\mathbb{C}^2\) and \(\mathbb{C}^3\) 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 \(\vec{v}\) is a linear combination of vectors \(\vec{v}_1\), \(\vec{v}_2, \ldots , \vec{v}_n\) if there exist scalars \(\lambda_1\), \(\lambda_2, \ldots , \lambda_n\) such that \[\vec{v}=\lambda_1 \cdot\vec{v}_1 + \lambda_2\cdot \vec{v}_2 + \cdots + \lambda_n\cdot \vec{v}_n\] The scalars \(\lambda_1\), \(\lambda_2, \ldots , \lambda_n\) are called the coefficients of the linear combination. We then also say that the vector \(\vec{v}\) linearly depends on the vectors \(\vec{v}_1\), \(\vec{v}_2, \ldots , \vec{v}_n\). A linear combination is called nontrivial if at least one of its coefficients is nonzero. The vectors \(\vec{v}_1\), \(\vec{v}_2, \ldots , \vec{v}_n\) are linearly independent if one cannot construct a nontrivial linear combination with them equal to the zero vector.
After all: \[\begin{aligned}
-\cv{-3\\ 7}+2\cv{1\\ -1}
&=\cv{-1 \cdot -3 \\-1 \cdot 7} + \cv{2 \cdot 1 \\ 2 \cdot -1}
&\blue{\text{multiplication by a scalar}} \\[0.25cm]
&=\cv{3\\-7} + \cv{2\\-2}
&\blue{\text{simplification}} \\[0.25cm]
&=\cv{3 + 2\\-7 -2}
&\blue{\text{componentwise addition}} \\[0.25cm]
&= \cv{5\\ -9} &\blue{\text{final result}}
\end{aligned}\]
Linear span Let \(n\) be a natural number and let \(\vec{v}_1 ,\ldots ,\vec{v}_n\) be \(n\) vectors in a vector space.
The set of all linear combinations of \(\vec{v}_1, \ldots, \vec{v}_n\) is called the space spanned by the vectors \(\vec{v}_1, \ldots, \vec{v}_n\) or their (linear) span, and is denoted as \[\sbspmatrix{ \vec{v}_1 , \ldots, \vec{v}_n}\tiny.\]
By convention, the linear span of nothing (the empty set) is equal to the span of the zero vector: \(\sbspmatrix{}=\sbspmatrix{\vec{0}}=\{\vec{0}\}\).
If \(\{\vec{v}_1,\ldots, \vec{v}_n\}\) is the smallest set of vectors that spans the vector space \(\sbspmatrix{ \vec{v}_1 , \ldots, \vec{v}_n}\), in other words, if the vectors \(\vec{v}_1,\ldots, \vec{v}_n\) are linearly independent, then \(\{\vec{v}_1,\ldots, \vec{v}_n\}\) is called a basis of the linear span and \(n\) 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 \(\vec{v}_1, \ldots, \vec{v}_n\) where all coefficients \(\lambda_i\) are equal to \(0\).
The linear span of a single vector \(\vec{v}\) in \(\mathbb{R}^2\) or \(\mathbb{R}^3\) is a straight line through the origin \(\vec{0}\) and \(\vec{v}\). The parametric representation of this line is \(\lambda\cdot \vec{v}\)
The linear span of two vectors \(\vec{u}\) and \(\vec{v}\) in \(\mathbb{R}^3\) which are not scalar multiples of each other, is a plane through the origin \(\vec{0}\), \(\vec{u}\) and \(\vec{v}\).