Standard Matrix of a Linear Transformation from \(\RR ^n\) to \(\RR ^m\)

In Matrix Transformations and Introduction to Linear Transformations we learned several important properties of matrix transformations of \(\RR ^n\) and subspaces of \(\RR ^n\). Let’s summarize the main points.

The last point in the summary is so important that it is worth illustrating again.

In Example ex:imageofatransformation, there was nothing special about the vector \(\vec {w}\). Any vector \(\vec {x}\) of \(\RR ^n\) can be written as a unique linear combination of the standard unit vectors \(\vec {e}_1,\ldots , \vec {e}_n\). Therefore, the image of any vector \(\vec {x}\) under a linear transformation \(T:\RR ^n\rightarrow \RR ^m\) is uniquely determined by the images of \(\vec {e}_1, \ldots , \vec {e}_n\). Knowing \(T(\vec {e}_1),\ldots , T(\vec {e}_n)\) allows us to construct a matrix \(A\), with \(T(\vec {e}_1),\ldots , T(\vec {e}_n)\) as columns, that induces transformation \(T\). We formalize this idea in a theorem.

Observe that

\begin{align*}\vec {x}=\begin{bmatrix}x_1\\x_2\\\vdots \\x_n\end{bmatrix}=x_1\begin{bmatrix}1\\0\\\vdots \\0\end{bmatrix}+x_2\begin{bmatrix}0\\1\\\vdots \\0\end{bmatrix}+\dots +x_n\begin{bmatrix}0\\0\\\vdots \\1\end{bmatrix}=x_1\vec {e}_1+x_2\vec {e}_2+\dots +x_n\vec {e}_n \end{align*}

Because \(T\) is linear, we have

\begin{align*} T(\vec {x})&=T(x_1\vec {e}_1+x_2\vec {e}_2+\dots +x_n\vec {e}_n)=x_1T(\vec {e}_1)+x_2T(\vec {e}_2)+\dots +x_nT(\vec {e}_n)\\ &=\begin{bmatrix} | & |& &|\\ T(\vec {e}_1) & T(\vec {e}_2)&\dots &T(\vec {e}_n)\\ |&| & &| \end{bmatrix}\begin{bmatrix}x_1\\x_2\\\vdots \\x_n\end{bmatrix}=A\vec {x} \end{align*}

Thus, for every \(\vec {x}\) in \(\RR ^n\), we have \(T(\vec {x})=A\vec {x}\).

Theorem th:matrixtran shows that every matrix transformation is linear. Theorem th:matlin states that every linear transformation from \(\RR ^n\) into \(\RR ^m\) is a matrix transformation. We combine these results in a corollary.

The results of this section rely on the fact that every vector of \(\RR ^n\) can be written as a unique linear combination of the standard unit vectors \(\vec {e}_1,\vec {e}_2,\dots ,\vec {e}_n\). These vectors form the standard basis for \(\RR ^n\). We will see in Matrix of a Linear Transformation with Respect to Arbitrary Bases that the matrix used to represent a linear transformation depends on a choice of basis. Because we are using the standard basis, it is natural to name the matrix in Theorem th:matlin accordingly.

Practice Problems

Suppose that a linear transformation \(T:\RR ^2\rightarrow \RR ^3\) is such that \(T(\vec {i})=\begin{bmatrix}-4\\2\\1\end{bmatrix}\) and \(T(\vec {j})=\begin{bmatrix}0\\-1\\5\end{bmatrix}\). Find \(T\Big (\begin{bmatrix}4\\-1\end{bmatrix}\Big )\).
\[T\Big (\begin{bmatrix}4\\-1\end{bmatrix}\Big )=\begin{bmatrix}\answer {-16}\\\answer {9}\\\answer {-1}\end{bmatrix}\]
Suppose that a linear transformation \(T:\RR ^2\rightarrow \RR ^3\) is such that \(T\Big (\begin{bmatrix}1\\-1\end{bmatrix}\Big )=\begin{bmatrix}1\\4\\-1\end{bmatrix}\) and \(T\Big (\begin{bmatrix}2\\0\end{bmatrix}\Big )=\begin{bmatrix}0\\6\\4\end{bmatrix}\). Find the standard matrix \(A\) of \(T\).
\[A=\begin{bmatrix}\answer {0}&\answer {-1}\\\answer {3}&\answer {-1}\\\answer {2}&\answer {3}\end{bmatrix}\]
Find the standard matrix \(A\) of the linear transformation \(T:\RR ^2\rightarrow \RR ^2\) if \(T\) doubles the \(x\) component of every vector and triples the \(y\) component.
\[A=\begin{bmatrix}\answer {2}&\answer {0}\\\answer {0}&\answer {3}\end{bmatrix}\]
Find the standard matrix \(A\) of the linear transformation \(T:\RR ^2\rightarrow \RR ^2\) if \(T\) reverses the direction of each vector.
\[A=\begin{bmatrix}\answer {-1}&\answer {0}\\\answer {0}&\answer {-1}\end{bmatrix}\]
Find the standard matrix \(A\) of the linear transformation \(T:\RR ^2\rightarrow \RR ^2\) if \(T\) doubles the length of each vector.
\[A=\begin{bmatrix}\answer {2}&\answer {0}\\\answer {0}&\answer {2}\end{bmatrix}\]
Find the standard matrix \(A\) of the linear transformation \(T:\RR ^2\rightarrow \RR ^2\) if \(T\) projects each vector onto the \(x\)-axis. (e.g. \(T\left (\begin{bmatrix}4\\5\end{bmatrix}\right )=\begin{bmatrix}4\\0\end{bmatrix}\))
\[A=\begin{bmatrix}\answer {1}&\answer {0}\\\answer {0}&\answer {0}\end{bmatrix}\]
Find the standard matrix \(A\) of the linear transformation \(T:\RR ^2\rightarrow \RR ^2\) if \(T\) projects each vector onto the \(y\)-axis. (e.g. \(T\left (\begin{bmatrix}4\\5\end{bmatrix}\right )=\begin{bmatrix}0\\5\end{bmatrix}\))
\[A=\begin{bmatrix}\answer {0}&\answer {0}\\\answer {0}&\answer {1}\end{bmatrix}\]