Figure 4.4.3: Coordinate systems defined by unit vectors.
Basis Vectors: Generalizing Coordinate Axes
To allow for more generality, we relax the unit vector requirement. The defining vectors, now called basis vectors, only need to be linearly independent.
Directions: Established by the basis vectors.
Spacing: Determined by the lengths of the basis vectors.
Requirement: Basis vectors must be linearly independent.
Figure 4.4.4: Basis vectors determining directions and spacing.
Basis for a Vector Space: Definition
A basis provides a fundamental set of building blocks for a vector space. Vector spaces can be finite-dimensional or infinite-dimensional.
DEFINITION 1
If \(S = \{\mathbf{v}_{1}, \mathbf{v}_{2}, \ldots , \mathbf{v}_{n}\}\) is a set of vectors in a finite-dimensional vector space \(V\), then \(S\) is called a basis for \(V\) if:
\(S\) spans \(V\).
\(S\) is linearly independent.
Finite vs. Infinite-Dimensional Spaces
Vector spaces are categorized by whether they have a finite spanning set.
Finite-Dimensional
There exists a finite set of vectors that spans \(V\).
Examples: \(R^n\), \(P_n\) (polynomials of degree \(\le n\)), \(M_{mn}\) (matrices).
These polynomials span \(P_n\) and are linearly independent, forming a basis.
EXAMPLE 3: Another Basis for \(R^{3}\)
A vector space can have multiple bases. Show that \(\mathbf{v}_{1} = (1,2,1)\), \(\mathbf{v}_{2} = (2,9,0)\), and \(\mathbf{v}_{3} = (3,3,4)\) form a basis for \(R^{3}\).
To prove this, we need to show:
Linear Independence: The equation \(c_{1}\mathbf{v}_{1} + c_{2}\mathbf{v}_{2} + c_{3}\mathbf{v}_{3} = \mathbf{0}\) has only the trivial solution (\(c_1=c_2=c_3=0\)).
Spanning: Any vector \(\mathbf{b} = (b_{1},b_{2},b_{3})\) in \(R^{3}\) can be expressed as \(c_{1}\mathbf{v}_{1} + c_{2}\mathbf{v}_{2} + c_{3}\mathbf{v}_{3} = \mathbf{b}\).
Both conditions rely on the invertibility of the coefficient matrix \(A\).
\[
A={\left[\begin{array}{l l l}{1}&{2}&{3}\\ {2}&{9}&{3}\\ {1}&{0}&{4}\end{array}\right]}
\]
If \(\det(A) \neq 0\), then \(A\) is invertible, implying both conditions are met.
Interactive Example: Checking Basis for \(R^3\)
Let’s use Python to calculate the determinant of matrix \(A\).
EXAMPLE 4: The Standard Basis for \(M_{mn}\)
The vector space \(M_{mn}\) consists of \(m \times n\) matrices. For \(M_{22}\) ( \(2 \times 2\) matrices), the standard basis is:
\(C^{m}(- \infty , \infty)\) (functions with \(m\) continuous derivatives)
Coordinates Relative to a Basis
A basis allows us to assign unique coordinates to every vector in a space. This formalizes the idea of a “coordinate system” in abstract vector spaces.
THEOREM 4.4.1 Uniqueness of Basis Representation
If \(S = \{\mathbf{v}_{1}, \mathbf{v}_{2}, \ldots , \mathbf{v}_{n}\}\) is a basis for a vector space \(V\), then every vector \(\mathbf{v}\) in \(V\) can be expressed in the form \(\mathbf{v} = c_{1} \mathbf{v}_{1} + c_{2} \mathbf{v}_{2} + \dots + c_{n} \mathbf{v}_{n}\) in exactly one way.
Defining Coordinate Vectors
The coefficients in the unique linear combination are the coordinates.
DEFINITION 2
If \(S = \{\mathbf{v}_{1}, \mathbf{v}_{2}, \ldots , \mathbf{v}_{n}\}\) is a basis for a vector space \(V\), and \[
\mathbf{v} = c_{1}\mathbf{v}_{1} + c_{2}\mathbf{v}_{2} + \dots + c_{n}\mathbf{v}_{n}
\] is the expression for a vector \(\mathbf{v}\) in terms of the basis \(S\), then the scalars \(c_{1}, c_{2}, \ldots , c_{n}\) are called the coordinates of \(\mathbf{v}\) relative to the basis \(S\). The vector \((c_{1}, c_{2}, \ldots , c_{n})\) in \(R^{n}\) is called the coordinate vector of \(\mathbf{v}\) relative to \(S\); it is denoted by \[
(\mathbf{v})_{S} = (c_{1}, c_{2}, \ldots , c_{n}) \tag{6}
\]
Ordered Basis
The order of basis vectors matters for coordinate vectors.
Note
When we talk about coordinate vectors, we always assume an ordered basis.
Changing the order of basis vectors changes the coordinate vector.
For example, in \(R^2\), \((1,2)\) is not the same as \((2,1)\).
Figure 4.4.6: Correspondence between vectors in \(V\) and \(R^n\).
EXAMPLE 7: Coordinates Relative to the Standard Basis for \(R^{n}\)
For the standard basis \(S\) in \(R^n\), the coordinate vector is identical to the vector itself.
For \(\mathbf{v} = (a,b,c)\) in \(R^3\) and standard basis \(S = \{\mathbf{i},\mathbf{j},\mathbf{k}\}\): \[
\mathbf{v} = a\mathbf{i} + b\mathbf{j} + c\mathbf{k}
\] The coordinate vector relative to \(S\) is: \[
(\mathbf{v})_{S} = (a,b,c)
\] This means \((\mathbf{v})_{S} = \mathbf{v}\).
EXAMPLE 8: Coordinate Vectors Relative to Standard Bases
Coordinate vectors for polynomials and matrices are also straightforward with standard bases.
(a) Polynomial \(P_n\)
For \(\mathbf{p}(x) = c_{0} + c_{1}x + \dots +c_{n}x^{n}\) and standard basis \(S = \{1,x,\ldots ,x^{n}\}\), \[
(\mathbf{p})_{S} = (c_{0},c_{1},c_{2},\ldots ,c_{n})
\]
(b) Matrix \(M_{22}\)
For \(B = \left[ \begin{array}{ll}a & b \\ c & d \end{array} \right]\) and standard basis \(S = \{M_1, M_2, M_3, M_4\}\), \[
(B)_{S} = (a,b,c,d)
\]
EXAMPLE 9: Coordinates in \(R^{3}\) with a Non-Standard Basis
Using the basis \(S = \{\mathbf{v}_{1},\mathbf{v}_{2},\mathbf{v}_{3}\}\) from Example 3: \(\mathbf{v}_{1} = (1,2,1)\), \(\mathbf{v}_{2} = (2,9,0)\), \(\mathbf{v}_{3} = (3,3,4)\).
(a) Find \((\mathbf{v})_{S}\) for \(\mathbf{v} = (5, - 1,9)\).
We need \(c_{1},c_{2},c_{3}\) such that \(\mathbf{v} = c_{1}\mathbf{v}_{1} + c_{2}\mathbf{v}_{2} + c_{3}\mathbf{v}_{3}\).
Let’s solve the system to find the coordinates \((\mathbf{v})_{S}\).
The solution is \(c_{1} = 1, c_{2} = - 1, c_{3} = 2\). So, \((\mathbf{v})_{S} = (1, -1,2)\).
EXAMPLE 9: Coordinates in \(R^{3}\) (Continued)
(b) Find the vector \(\mathbf{v}\) in \(R^{3}\) whose coordinate vector relative to \(S\) is \((\mathbf{v})_{S} = (-1,3,2)\).
Here, we are given the coordinates and need to find the actual vector. Using the definition \(\mathbf{v} = c_{1}\mathbf{v}_{1} + c_{2}\mathbf{v}_{2} + c_{3}\mathbf{v}_{3}\):