Chapter 4 Vector Spaces, Linear Algebra 6e Lay

Author

Chalmeta

4.1 Vector Spaces and Subspaces

NoteVector Space
NoteDefinition

A non-empty set \(V\) is called a vector space if there are defined on \(V\) two operations, addition of vectors and multiplication by scalars, so that ten basic properties hold for all vectors in the space. These properties are listed here, (you are not required to memorize them).

Let \(u\), \(v\), and \(w\) be vectors in \(V\), and let \(c\) and \(d\) be scalars (real numbers).

  1. \(u+v\) is in \(V\).
  2. \(cu\) is in \(V\).
  3. \(u+v=v+u\).
  4. \((u+v)+w=u+(v+w)\)
  5. \(0+u=u=u+0\).
  6. There exists a vector \(-u\) such that \(u+(-u)=-u+u=0\).
  7. \(c(u+v)=cu+cv\).
  8. \((c +d)u=cu+du\).
  9. \(c(du)=(cd)u\).
  10. \(1u=u\).

That list of properties is long but here is a summary:

  • The sum of any two vectors in \(V\) is also in \(V\).
  • Any scalar multiple of a vector in \(V\) is also in \(V\). This includes \(0v\).
  • The last 8 can be stated as “Addition and scalar multiplication are well behaved.”
TipExample 1

Examples of vector spaces:

  1. \(\mathbb{R}^n\)
  2. \(\mathbb{P}_n\), the set of polynomials of degree at most \(n\).
NoteSubspaces
NoteDefinition

A subspace \(H\) of a vector space \(V\) is a subset of \(V\) which is also a vector space. This means that \(H\) must contain the zero vector and must be closed under addition and scalar multiplication.

TipExample 2

\(H\) = Span\(\left\{\begin{bmatrix} 1 \\ 0 \\ 1 \end{bmatrix}, \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}\right\}\) is a subspace of \(\mathbb{R}^3\)

Check the properties: Given two vectors \(u = a_1\begin{bmatrix} 1 \\ 0 \\ 1 \end{bmatrix} +a_2 \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}\) and \(v = b_1\begin{bmatrix} 1 \\ 0 \\ 1 \end{bmatrix} +b_2 \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}\)

Closed? Is \(u + v\) in \(H\)?

Zero vector?

TipExample 3

Some lines are subspaces and some are not.

  • The line \(x_2 = a x_1\) is a subspace of \(\mathbb{R}^2\).
  • The line \(x_2 = a x_1 + b\) is NOT a subspace of \(\mathbb{R}^2\).

Why?

TipExample 4

Is \(\mathbb{R}^2\) a subspace of \(\mathbb{R}^3\)?

TipExample 5

The set \(W\) = {the 1st and 3rd quadrants of the plane}. Is \(W\) a subspace of \(\mathbb{R}^2\)?

NoteBasis
NoteDefinition

A basis for a vector space is a set of linearly independent vectors that generate the space.

A basis is a minimal spanning set.

TipExample 6

\(\left\{ \begin{bmatrix} 1 \\ 1 \end{bmatrix}, \begin{bmatrix} 2 \\ 1 \end{bmatrix}, \begin{bmatrix} 1 \\ 2 \end{bmatrix} \right\}\) is NOT a basis for \(\mathbb{R}^2\)

\(\left\{ \begin{bmatrix} 1 \\ 1 \end{bmatrix}, \begin{bmatrix} 2 \\ 1 \end{bmatrix} \right\}\) is a basis for \(\mathbb{R}^2\)

TipExample 7

Is the set of vectors of the form \(\begin{bmatrix} a-b \\ b-c \\ c-a \\b \end{bmatrix}\) a vector space? If it is, find a basis.

TipExample 8

Is the set of vectors of the form \(\begin{bmatrix} 3a+b \\ 4 \\ a-5b \end{bmatrix}\) a vector space? If it is, find a basis.

4.2 Null Spaces, Row Spaces and Column Spaces

Recall:

A subspace \(H\) of a vector space \(V\) is a set of vectors in \(V\) which is closed under addition and scalar multiplication.

TipExample 9

Is the set of solutions to the matrix equation \(Ax=0\) for \(x \in \mathbb{R}^n\) a vector space?

Solution: zero vector? Yes, \(x=0\) is a solution to the equation.

Closed? Suppose \(u\) and \(v\) are solutions to \(Ax=0\). What about \(u+v\)?

\[\begin{align*} A(u+v) & = Au + Av\\ &= 0 + 0 \end{align*}\]

Therefore closed.

The set of solutions to the equation \(Ax=0\) is a subspace of \(\mathbb{R}^n\) called the null space of matrix \(A\).

NoteNull Space
NoteDefinition

The null space of a matrix \(A\) (Nul \(A\)) is the span of the vectors obtained by solving \(Ax=0\).

\[\text{Nul } A = \{x: x \text{ is in }\mathbb{R}^n \text{ and } Ax = 0\}\]

TipExample 10

Suppose the reduced echelon form for a matrix \(A\) is

\[\begin{bmatrix} 1 & 3 & 0 & -1 & 8\\ 0 & 0 & 1 & -2 & 1 \\ 0 & 0 & 0 & 0 & 0 \end{bmatrix}\]

Find the solution set of the equation \(Ax = 0\). (i.e. Find Nul \(A\))

TipExample 11

Consider the linear transformation \(T(x) = Ax\) where

\[A =\begin{bmatrix} 1 & 2 & -1\\ 2 & 5 & 0 \end{bmatrix}\]

  1. Is the vector \(x = \begin{bmatrix}1 \\ 3 \\ 1\end{bmatrix}\) in Nul \(A\)?
  2. Find a description of Nul \(A\).
NoteColumn Spaces
NoteDefinition

The column space of a matrix \(A = [a_1 ~ a_2~ \cdots ~ a_n]\) (Col \(A\)) is the span of the columns of \(A\).

\[\text{Col } A = \text{Span } \{a_1, a_2, \ldots, a_n\}\]

\[\text{Col } A = \{b: b = Ax \text{ for some } x \in \mathbb{R}^n \}\]

NoteTheorem

(Thm 6 P. 226) The pivot columns of matrix \(A\) span Col \(A\) and is the smallest set of vectors that will span Col \(A\).

NoteRow Space
NoteDefinition

The row space of a matrix \(A\), which is denoted Row \(A\), is the set of all linear combinations of the rows of \(A\).

Another way of saying this is: The row space of \(A\) is the span of the rows of \(A\).

NoteTheorem

(Thm 7 P. 227) If two matrices \(A\) and \(B\) are row equivalent, or symbolically \(A \sim B\), then their row spaces are the same. If \(B\) is in echelon form, the nonzero rows of \(B\) form a basis for the row space of \(A\) as well as that for \(B\).

TipExample 12

Consider the matrix

\[A =\begin{bmatrix} 1 & 2 & -1\\ 2 & 5 & 0 \end{bmatrix}\]

  1. What is Col \(A\)?
  2. What is the smallest representation of Col \(A\)?
  3. What is Row \(A\)?
TipExample 13

\(A\) is an \(m \times n\) matrix. Mark each statement TRUE or FALSE.

  1. The null space of \(A\) is the solution set of the equation \(Ax=0\).

  2. The null space of an \(m \times n\) matrix is in \(\mathbb{R}^m\)

  3. The column space of \(A\) is the range of the mapping \(x \mapsto Ax\).

  4. Col \(A\) is the set of all vectors that can be written as \(Ax\) for some \(x\).

  5. A null space is a vector space.

  6. The column space of an \(m \times n\) matrix is in \(\mathbb{R}^m\).

  7. Col \(A\) is the set of all solutions of \(Ax=b\).

  8. The range of a linear transformation is a vector space.

TipExample 14

Let

\[A = \begin{bmatrix} -5 & -15 & 2 & 1 & -38\\ -3 & -9 & 1 & 1 & -23\\ -2 & -6 & 2 & -2 & -14 \end{bmatrix}\]

Find Nul \(A\), Col \(A\), Row \(A\) and the simplest form of Col \(A\). The reduced echelon form of \(A\) is:

\[\begin{bmatrix} 1 & 3 & 0 & -1 & 8\\ 0 & 0 & 1 & -2 & 1 \\ 0 & 0 & 0 & 0 & 0 \end{bmatrix}\]

TipExample 15

Find the row space, column space and null space of

\[A =\begin{bmatrix} 1 & 2 & 0 & -1 \\ 0 & -1 & 1 & 1 \\ 1 & 1 & 1 & 0 \end{bmatrix}\]

4.3 Basis and linearly independent sets

Recall:

An indexed set of vectors \(\{v_1, v_2, \ldots, v_n\}\) is said to be linearly independent if the equation \[a_1 v_1+ a_2 v_2+ \cdots +a_n v_n=0\] has only the trivial solution \(a_1 = a_2 = \cdots = a_n = 0\). It is said to be linearly dependent otherwise.

NoteBasis
NoteDefinition

Let \(H\) be a vector space (including possibly that \(H\) is a subspace of some other vector space). A set of vectors \[\mathcal{B} = \{b_1, b_2, \ldots, b_n\}\] is a basis for \(H\) if:

  1. \(\mathcal{B}\) is a linearly independent set of vectors. (This means there is a pivot position in every column of the reduced matrix consisting of the columns of \(\mathcal{B}\)).
  1. \(H =\) Span \(\mathcal{B}\).
TipExample 16

Let \(v_1 = \begin{bmatrix} 3\\0\\-6 \end{bmatrix}\), \(v_2 = \begin{bmatrix} -4\\1\\7 \end{bmatrix}\) and \(v_3 = \begin{bmatrix} -2\\1\\5 \end{bmatrix}\). Do \(\{v_1, v_2, v_3\}\) form a basis for \(\mathbb{R}^3\)?

NoteSpanning Set Theorem

Spanning Set Theorem (Chapter 4, Theorem 5)

Let \(S = \{v_1, v_2, \ldots, v_p\}\) be a set of vectors in \(\mathbb{R}^n\) and let \(H =\) Span \(\{v_1, v_2, \ldots, v_p\}\).

  1. If one of the vectors \(v_k\) is a linear combination of the remaining vectors, then the set formed from \(S\) by removing \(v_k\) still spans \(H\).
  1. If \(H\neq\{0\}\), then some subset of \(S\) is a basis for \(H\).
TipExample 17

Find a basis for Nul \(B\), Row \(B\) and Col \(B\) where

\[B =\begin{bmatrix} 1 & 4 & 0 & 2 & -1 \\ 3 & 12 & 1 & 5 & 5 \\ 2 & 8 & 1 & 3 & 2 \\ 5 & 20 & 2 & 8 & 8 \end{bmatrix}\]

4.4 Coordinate Systems

NoteSome basis theorems
NoteTheorem

If a vector space \(V\) has a basis \(\mathcal{B}=\{b_1, \ldots, b_n\}\), then any set in \(V\) containing more than \(n\) vectors must be linearly dependent.

NoteTheorem (The Unique Representation Theorem)

Any vector \(x\) in vector space \(V\) can be written in only one way as a linear combination of basis vectors.

NoteDefinition

Suppose the set \(\mathcal{B} =\{b_1, \ldots, b_n\}\) is an ordered basis for a subspace \(H\). For each \(x\) in \(H\), the coordinate of \(x\) relative to the basis \(\mathcal{B}\) are the weights \(c_1, \ldots, c_n\) such that \(x =c_1 b_1+ \cdots + c_n b_n\), and the vector in \(\mathbb{R}^n\)

\[[x]_{\mathcal{B}} = \begin{bmatrix}c_1 \\ \vdots \\ c_n \end{bmatrix}\]

is called the coordinate vector of \(x\) (relative to \(\mathcal{B}\)) or the \(\mathcal{B}\)-coordinate vector of \(x\)

These are NOT bases for \(\mathbb{R}^2\):

TipExample 18

The set \(\{\hat{i} \}\) containing the vector \(\hat{i}=\langle 1,0\rangle\) by itself is not a basis for \(\mathbb{R}^2\), because there are some (in fact, many!) vectors in \(\mathbb{R}^2\) which cannot be reached by a linear combination of \(\hat{i}\) alone.

TipExample 19

Let \(h =\begin{bmatrix}2 \\ 3\end{bmatrix}\) (or pick any other vector in \(\mathbb{R}^2\) if you wish). The set \(\{h, \hat{i}, \hat{j}\}\) is not a basis for \(\mathbb{R}^2\), because there are now redundant combinations of vectors which have the same result. For example,

\[\begin{align*} \begin{bmatrix}4 \\ 9\end{bmatrix} & = 4\hat{i} + 9\hat{j} \text{ but also}\\ & = 2h + 3\hat{j} \text{ or even} \\ & = 3h - 2\hat{i} \end{align*}\]

A basis for a vector space allows every point in the vector space to be reached, but with only one linear combination of the basis vectors.

TipExample 20

Converting from the alternate basis to the standard basis. Suppose

\(\mathcal{B} =\left\{ \begin{bmatrix}1 \\ 2\\0 \end{bmatrix},\begin{bmatrix} 3 \\1 \\1 \end{bmatrix},\begin{bmatrix} -1 \\ 0 \\-1 \end{bmatrix}\right\}\) and \([u]_{\mathcal{B}} = \begin{bmatrix} 4 \\ -1\\ 2 \end{bmatrix}\). Find \(u\) in the standard basis.

TipExample 21

\(\mathcal{B} =\left\{ \begin{bmatrix}1 \\ 1 \end{bmatrix},\begin{bmatrix} -1 \\2 \end{bmatrix}\right\} = \{ b_1, b_2\}\) is a basis for \(\mathbb{R}^2\). The standard basis for \(\mathbb{R}^2\) is \(\varepsilon= \{e_1, e_2\}\). Write the point \(P\) that is called \(\begin{bmatrix} 2 \\ -1 \end{bmatrix}\) in the standard basis in terms of basis \(\mathcal{B}\)

Notation: \(Q = \begin{bmatrix} 2 \\ -3 \end{bmatrix}_\mathcal{B} = (2) b_1 + (-3) b_2 = (2) \begin{bmatrix}1 \\ 1 \end{bmatrix} + (-3)\begin{bmatrix} -1 \\2 \end{bmatrix} =\begin{bmatrix} 5 \\-4 \end{bmatrix}_\varepsilon\)

10 x 10 graph paper

TipExample 22

Converting from the standard basis to an alternate basis. Suppose

\(\mathcal{B} =\left\{ \begin{bmatrix}1 \\ 3 \end{bmatrix},\begin{bmatrix} -1 \\1 \end{bmatrix}\right\}\) and \(u = \begin{bmatrix} 4 \\ 8 \end{bmatrix}\). Find \([u]_{\mathcal{B}}\).

TipExample 23

Converting from the standard basis to a basis for a subspace. Suppose

\(\mathcal{B} =\left\{ \begin{bmatrix} 3\\6\\2 \end{bmatrix},\begin{bmatrix} -1\\0\\1 \end{bmatrix} \right\}\) and \(x = \begin{bmatrix} 3 \\ 12 \\7 \end{bmatrix}\). Determine if \(x\) is in the plane spanned by \(\mathcal{B}\), and if so, find \([x]_{\mathcal{B}}\)

4.5 Dimension of a Vector Space

Dimension

NoteDimension
NoteDefinition

Let \(S\) be a subspace of \(\mathbb{R}^n\) for some \(n\), and \(\mathcal{B}\) be a basis for \(S\). The dimension of \(S\) is the number of vectors in \(\mathcal{B}\).

TipExample 24

Find the dimensions of the null space and the column space of

\[B =\begin{bmatrix} 1&4&0&2&-1 \\ 3&12&1&5&5 \\ 2&8&1&3&2 \\ 5&20&2&8&8 \end{bmatrix}\]

TipExample 25

Find the dimensions of the null space and the column space of

\[A =\begin{bmatrix} -3 & 6 &-1 &1 &-7 \\ 1& -2& 2 &3 &-1 \\ 2& -4& 5& 8 &-4 \end{bmatrix}\]

(You do not have to find the basis vectors, just the dimensions.)

TipExample 26

Find a basis and state the dimension of the subspace: \(\left\{ \begin{bmatrix} ~a+b~ \\2a \\3a-b \\-b \end{bmatrix} ~:~ a, b \in \mathbb{R} \right\}\)

TipExample 27

\(V\) is vector space. Mark each statement TRUE or FALSE.

  1. The number of pivot columns of a matrix equals the dimension of its column space.

  2. a plane in \(\mathbb{R}^3\) is a two-dimensional subspace of \(\mathbb{R}^3\).

  3. If dim \(V\) = \(n\) and \(S\) is a linearly independent set in \(V\), then \(S\) is a basis for \(V\).

  4. If a set \(\{ v_1, \ldots , v_p\}\) spans a finite-dimensional vector space \(V\) and if \(T\) is a set of more than \(p\) vectors in \(V\), then \(T\) must be linearly dependent.

  5. \(\mathbb{R}^2\) is a two-dimensional subspace of \(\mathbb{R}^3\).

  6. The number of variables in the equation \(ax = 0\) equals the dimension of Nul \(A\).

  7. A vector space is infinite-dimensional if it is spanned by an infinite set.

  8. If dim \(V\) = \(n\) and if \(S\) spans \(V\), then \(S\) is a basis of \(V\).

  9. The only three-dimensional subspace of \(\mathbb{R}^3\) is \(\mathbb{R}^3\) itself.

Rank

NoteRank
NoteDefinition

The rank of a matrix \(A\), denoted rank \(A\), is the dimension of the column space of \(A\).

NoteThe Rank Theorem
NoteTheorem

If a matrix \(A\) has \(n\) columns, then

\[\text{rank } A + \dim(\text{Nul } A) = n\]

TipExample 28
  1. What is the minimum rank of a \(5 \times 7\) matrix?
  1. What is the maximum rank of a \(5 \times 7\) matrix?
  1. What is the minimum rank of a \(7 \times 5\) matrix?
  1. What is the maximum rank of a \(7 \times 5\) matrix?
  1. If a \(7 \times 7\) matrix is invertible, what is its rank?
  1. If the subspace of all solution of \(Ax=0\) has a basis consisting of three vectors and if \(A\) is a \(5\times 7\) matrix, what is the rank of \(A\)?
  1. What is the rank of a \(4 \times 5\) matrix whose null space is three-dimensional?
  1. If the rank of a \(7 \times 6\) matrix \(A\) is 4, what is the dimension of the solution space of \(Ax=0\)?
NoteInvertible Matrix Theorem (continued)

Theorem [The Invertible Matrix Theorem (continued)]

Let \(A\) be an \(n \times n\) matrix. Then the following statements are equivalent to the statements found in the Invertible Matrix Theorem given in Chapter 2 (including the statement that A is invertible):

  1. The columns of \(A\) form a basis for \(\mathbb{R}^n\).

  2. Col \(A = \mathbb{R}^n\).

  3. dim Col \(A\) = \(n\).

  4. rank \(A\) = \(n\).

  5. Nul \(A\) = {0}.

  6. dim Nul \(A\) = 0.

TipExample 29

\(A\) is an \(m \times n\) matrix. Mark each statement TRUE or FALSE.

  1. The row space of \(A\) is the same as the column space of \(A^T\).
  1. If \(B\) is any echelon form of \(A\), and if \(B\) has three nonzero rows, then the first three rows of \(A\) form a basis for Row \(A\).
  1. The dimensions of the row space and the column space of \(A\) are the same, even if \(A\) is not square.
  1. If \(B\) is any echelon form of \(A\), then the pivot columns of \(B\) form a basis for the column space of \(A\).
  1. Row operations preserve the linear dependence relations among the rows of \(A\).
  1. The dimension of the null space of \(A\) is the number of columns of \(A\) that are not pivot columns.
  1. The row space of \(A^T\) is the same as the column space of \(A\).
  1. If \(A\) and \(B\) are row equivalent, then their row spaces are the same.

4.6 Change of Basis

In section 4.4 we saw how if we had an ordered basis \(\mathcal{B}=\{b_1, \ldots, b_n\}\) then we could write vectors either in the basis \(\mathcal{B}\) or in the standard basis. The physical location of the point is the same but the way of describing it will depend on the basis. In the standard basis we usually just call the point \(x\). In any other basis we need to specify: \([x]_\mathcal{B}\). It is reasonably straight forward to convert from the alternate basis to the standard basis and a bit trickier converting from standard to an alternate basis. What is most difficult is converting between two non-standard bases.

TipExample 30

Let \(\mathcal{B}=\{b_1, b_2\}\) and \(\mathcal{C}=\{c_1, c_2\}\) be bases for a vector space \(V\), and suppose:

\[b_1 = 8c_1-2c_2 \qquad \text{and} \qquad b_2 = -9c_1 + 4c_2\]

Find \([x]_\mathcal{C}\) if you know that \(x = -3b_1 + 6b_2\). Another way to say that is that \([x]_\mathcal{B} = \begin{bmatrix} -3 \\ 6 \end{bmatrix}\).

Solution: To find \([x]_\mathcal{C}\) we will convert each of our basis elements to \(\mathcal{C}\) to get the following:

\[[x]_\mathcal{C} = -3[b_1]_\mathcal{C}+6 [b_2]_\mathcal{C}\]

We can write this as a matrix:

\[[x]_\mathcal{C} = \left[[b_1]_\mathcal{C} \ [b_2]_\mathcal{C}\right]\begin{bmatrix} -3 \\ 6 \end{bmatrix}\]

We are told the relationship between the elements of the basis. We know that \(b_1 = 8c_1-2c_2\) and \(b_2 = -9c_1 + 4c_2\) so:

\[[b_1]_\mathcal{C} = \begin{bmatrix} 8 \\ -2 \end{bmatrix} \qquad \text{and} \qquad [b_2]_\mathcal{C} = \begin{bmatrix} -9 \\ 4 \end{bmatrix}\]

Now we use the equation:

\[[x]_\mathcal{C} = \left[[b_1]_\mathcal{C} \ [b_2]_\mathcal{C}\right]\begin{bmatrix} -3 \\ 6 \end{bmatrix}\]

\[[x]_\mathcal{C} =\begin{bmatrix} 8 & -9 \\ -2 & 4 \end{bmatrix} \begin{bmatrix} -3 \\ 6 \end{bmatrix} = \begin{bmatrix} -78 \\ 30 \end{bmatrix}\]

The matrix \(\left[[b_1]_\mathcal{C} \ [b_2]_\mathcal{C}\right]\) is known as the change-of-coordinates matrix from \(\mathcal{B}\) to \(\mathcal{C}\).

NoteChange of coordinates Matrix
NoteTheorem

Let \(\mathcal{B}=\{b_1, \ldots, b_n\}\) and \(\mathcal{C}=\{c_1, \ldots, c_n\}\) be bases for a vector space \(V\). Then there is a unique \(n \times n\) matrix \(\underset{\mathcal{C}\leftarrow \mathcal{B}}{P}\) such that

\[[x]_\mathcal{C} = \underset{\mathcal{C}\leftarrow \mathcal{B}}{P} [x]_\mathcal{B}\]

The columns of \(\underset{\mathcal{C}\leftarrow \mathcal{B}}{P}\) are the \(\mathcal{C}\)-coordinate vectors of the vectors in the basis \(\mathcal{B}\).

\[\underset{\mathcal{C}\leftarrow \mathcal{B}}{P} = \begin{bmatrix} [b_1]_\mathcal{C} & [b_2]_\mathcal{C} &\ldots & [b_n]_\mathcal{C}\end{bmatrix}\]

\(\underset{\mathcal{C}\leftarrow \mathcal{B}}{P}\) is called the change-of-coordinates matrix from \(\mathcal{B}\) to \(\mathcal{C}\)

TipExample 31

Let \(A = \{a_1, a_2, a_3\}\) and \(D = \{d_1, d_2, d_3\}\) be bases for \(V\), and let

\(P= \begin{bmatrix} [d_1]_A & [d_2]_A & [d_3]_A\end{bmatrix}\).

  1. Which direction does this matrix transform the coordinates? \(A \rightarrow D\) or \(D \rightarrow A\).
  2. Write an expression to convert \([x]_D\) into \([x]_A\). (Ans. \([x]_A = P[x]_D\))
TipExample 31

Let \(A = \{a_1, a_2, a_3\}\) and \(D = \{d_1, d_2, d_3\}\) be bases for \(V\), and suppose:

\[a_1 = 4d_1 -d_2, \ a_2 = -d_1 + 3d_2+d_3, \ a_3 = d_2 - 5d_3\]

  1. Find the change-of-coordinates matrix from \(A \rightarrow D\).
  2. Find \([x]_D\) for \(x = 5a_1 +6a_2 +a_3\) (ans \([x]_D=\begin{bmatrix} 14\\14\\1\end{bmatrix}\))
TipExample 32

Let \(\mathcal{B}=\{b_1, b_2\}\) and \(\mathcal{C}=\{c_1, c_2\}\) be bases for \(\mathbb{R}^2\). Find the change of coordinates matrix from \(\mathcal{B}\) to \(\mathcal{C}\) knowing:

\[b_1 = \begin{bmatrix} -1 \\ 5 \end{bmatrix}, \quad b_2 = \begin{bmatrix} 1 \\ 4 \end{bmatrix}, \quad c_1 = \begin{bmatrix} 1 \\ 2 \end{bmatrix}, \quad c_2 = \begin{bmatrix} 1 \\ 1\end{bmatrix}\]

Solution: To convert from \(\mathcal{B}\) to \(\mathcal{C}\) we need to find \([b_1]_\mathcal{C} =\begin{bmatrix} x_1 \\x_2 \end{bmatrix}\) and \([b_2]_\mathcal{C} =\begin{bmatrix} y_1 \\y_2 \end{bmatrix}\). So we solve the equations:

\[[c_1 \ c_2]\begin{bmatrix} x_1 \\x_2 \end{bmatrix} = b_1 \qquad \text{and} \qquad [c_1 \ c_2]\begin{bmatrix} y_1 \\ y_2 \end{bmatrix}=b_2\]

This can be done in a single matrix \([c_1 \ c_2 \ | \ b_1 \ b_2]\) which will row reduce to

\[\begin{bmatrix} I \ |\ \underset{\mathcal{C}\leftarrow \mathcal{B}}{P}\end{bmatrix}\]