Linear Transformations 线性变换
本页译自 LibreTexts · A First Course in Linear Algebra (Kuttler)「Linear Transformations(线性变换)」第 5 章各节及习题。公式经 MathJax 渲染,自定义宏已注入;正文与译文段段对照。
Outcomes 学习目标
- Understand the definition of a linear transformation, and that all linear transformations are determined by matrix multiplication.
- 理解线性变换的定义,并理解所有线性变换都由矩阵乘法确定。
Recall that when we multiply an $m\times n$ matrix by an $n\times 1$ column vector, the result is an $m\times 1$ column vector. In this section we will discuss how, through matrix multiplication, an $m \times n$ matrix transforms an $n\times 1$ column vector into an $m \times 1$ column vector.
Recall that the $n \times 1$ vector given by $\vec{x} = \begin{pmatrix}x_1 \\ x_2\\ \vdots \\ x_n\end{pmatrix} $ is said to belong to $\mathbb{R}^n$, which is the set of all $n \times 1$ vectors. In this section, we will discuss transformations of vectors in $\mathbb{R}^n.$
Consider the following example.
Example 1: A Function Which Transforms Vectors 一个变换向量的函数
Consider the matrix $A = \begin{pmatrix}1 & 2 & 0 \\ 2 & 1 & 0\end{pmatrix} .$ Show that by matrix multiplication $A$ transforms vectors in $\mathbb{R}^3$ into vectors in $\mathbb{R}^2$.
Solution
First, recall that vectors in $\mathbb{R}^3$ are vectors of size $3 \times 1$, while vectors in $\mathbb{R}^{2}$ are of size $2 \times 1$. If we multiply $A$, which is a $2 \times 3$ matrix, by a $3 \times 1$ vector, the result will be a $2 \times 1$ vector. This what we mean when we say that $A$ *transforms* vectors.
Now, for $\begin{pmatrix}x \\ y \\ z\end{pmatrix}$ in $\mathbb{R}^3$, multiply on the left by the given matrix to obtain the new vector. This product looks like $\begin{pmatrix}1 & 2 & 0 \\ 2 & 1 & 0\end{pmatrix} \begin{pmatrix}x \\ y \\ z\end{pmatrix} = \begin{pmatrix}x+2y \\ 2x+y\end{pmatrix} $ The resulting product is a $2 \times 1$ vector which is determined by the choice of $x$ and $y$. Here are some numerical examples. $\begin{pmatrix}1 & 2 & 0 \\ 2 & 1 & 0\end{pmatrix} \begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix} = $ \begin{pmatrix}5 \\ 4\end{pmatrix} $ Here, the vector $\begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix}$ in $\mathbb{R}^3$ was transformed by the matrix into the vector $\begin{pmatrix}5 \\ 4\end{pmatrix}$ in $\mathbb{R}^2$.
Here is another example: $\begin{pmatrix}1 & 2 & 0 \\ 2 & 1 & 0\end{pmatrix} \begin{pmatrix}10 \\ 5 \\ -3\end{pmatrix} = $ \begin{pmatrix}20 \\ 25\end{pmatrix} $
The idea is to define a function which takes vectors in $\mathbb{R}^{3}$ and delivers new vectors in $\mathbb{R}^{2}.$ In this case, that function is multiplication by the matrix $A$.
Let $T$ denote such a function. The notation $T:\mathbb{R}^{n}\mapsto \mathbb{R}^{m}$ means that the function $T$ transforms vectors in $\mathbb{R}^{n}$ into vectors in $\mathbb{R}^{m}$. The notation $T(\vec{x})$ means the transformation $T$ applied to the vector $\vec{x}$. The above example demonstrated a transformation achieved by matrix multiplication. In this case, we often write $T\_{A}\left( \vec{x}\right) =A \vec{x} $ Therefore, $T\_{A}$ is the transformation determined by the matrix $A$. In this case we say that $T$ is a matrix transformation.
Recall the property of matrix multiplication that states that for $k$ and $p$ scalars, $A\left( kB+pC\right) =kAB+pAC $ In particular, for $A$ an $m\times n$ matrix and $B$ and $C,$ $n\times 1$ vectors in $\mathbb{R}^{n}$, this formula holds.
In other words, this means that matrix multiplication gives an example of a linear transformation, which we will now define.
Consider the following example.
Definition 1: Linear Transformation 线性变换
Let $T:\mathbb{R}^{n}\mapsto \mathbb{R}^{m}$ be a function, where for each $\vec{x} \in \mathbb{R}^{n},T\left(\vec{x}\right)\in \mathbb{R}^{m}.$ Then $T$ is a linear transformation if whenever $k ,p$ are scalars and $\vec{x}\_1$ and $\vec{x}\_2$ are vectors in $\mathbb{R}^{n}$ ($n\times 1$ vectors), $T\left( k \vec{x}\_1 + p \vec{x}\_2 \right) = kT\left(\vec{x}\_1\right)+ pT\left(\vec{x}\_{2} \right) $
Consider the following example.
Example 2: Linear Transformation 线性变换
Let $T$ be a transformation defined by $T:\mathbb{R}^3\to\mathbb{R}^2$ is defined by $T\begin{pmatrix}x \\ y \\ z\end{pmatrix} = \begin{pmatrix}x+y \\ x-z\end{pmatrix} \mbox{ for all } \begin{pmatrix}x \\ y \\ z\end{pmatrix} \in\mathbb{R}^3 $ Show that $T$ is a linear transformation.
Solution
By Definition 1 we need to show that $T\left( k \vec{x}\_1 + p \vec{x}\_2 \right) = kT\left(\vec{x}\_1\right)+ pT\left(\vec{x}\_{2} \right)$ for all scalars $k,p$ and vectors $\vec{x}\_1, \vec{x}\_2$. Let $\vec{x}\_1 = \begin{pmatrix}x_1 \\ y_1 \\ z_1\end{pmatrix}, \vec{x}\_2 = \begin{pmatrix}x_2 \\ y_2 \\ z_2\end{pmatrix} $ Then $\begin{aligned}T\left( k \vec{x}\_1 + p \vec{x}\_2 \right) &= T \left( k \begin{pmatrix}x_1 \\ y_1 \\ z_1\end{pmatrix} + p \begin{pmatrix}x_2 \\ y_2 \\ z_2\end{pmatrix} \right) \\ &= T \left( \begin{pmatrix}kx_1 \\ ky_1 \\ kz_1\end{pmatrix} + \begin{pmatrix}px_2 \\ py_2 \\ pz_2\end{pmatrix} \right) \\ &= T \left( \begin{pmatrix}kx_1 + px_2 \\ ky_1 + py_2 \\ kz_1 + pz_2\end{pmatrix} \right) \\ &= \begin{pmatrix}(kx_1 + px_2) + (ky_1 + py_2) \\ (kx_1 + px_2)- (kz_1 + pz_2)\end{pmatrix} \\ &= \begin{pmatrix}(kx_1 + ky_1) + (px_2 + py_2) \\ (kx_1 - kz_1) + (px_2 - pz_2)\end{pmatrix} \\ &= \begin{pmatrix}kx_1 + ky_1 \\ kx_1 - kz_1\end{pmatrix} + \begin{pmatrix}px_2 + py_2 \\ px_2 - pz_2\end{pmatrix} \\ &= k \begin{pmatrix}x_1 + y_1 \\ x_1 - z_1\end{pmatrix} + p \begin{pmatrix}x_2 + y_2 \\ x_2 - z_2\end{pmatrix} \\ &= k T(\vec{x}\_1) + p T(\vec{x}\_2)\end{aligned} $ Therefore $T$ is a linear transformation.
Two important examples of linear transformations are the zero transformation and identity transformation. The zero transformation defined by $T\left( \vec{x} \right) = \vec{0}$ for all $\vec{x}$ is an example of a linear transformation. Similarly the identity transformation defined by $T\left( \vec{x} \right) = \vec{x}$ is also linear. Take the time to prove these using the method demonstrated in Example 2.
We began this section by discussing matrix transformations, where multiplication by a matrix transforms vectors. These matrix transformations are in fact linear transformations.
Theorem 1: Matrix Transformations are Linear Transformations 矩阵变换都是线性变换
Let $T:\mathbb{R}^{n}\mapsto \mathbb{R}^{m}$ be a transformation defined by $T(\vec{x}) = A\vec{x}$. Then $T$ is a linear transformation.
It turns out that every linear transformation can be expressed as a matrix transformation, and thus linear transformations are exactly the same as matrix transformations.
Outcomes 学习目标
- Find the matrix of a linear transformation with respect to the standard basis.
- Determine the action of a linear transformation on a vector in $\mathbb{R}^n$.
- 求线性变换关于标准基的矩阵。
- 确定线性变换对 $\mathbb{R}^n$ 中向量的作用。
In the above examples, the action of the linear transformations was to multiply by a matrix. It turns out that this is always the case for linear transformations. If $T$ is any linear transformation which maps $\mathbb{R}^{n}$ to $\mathbb{R}^{m},$ there is always an $m\times n$ matrix $A$ with the property that $T\left(\vec{x}\right) = A\vec{x} \label{matrixoftransf}$ for all $\vec{x} \in \mathbb{R}^{n}$.
Theorem 1: Matrix of a Linear Transformation 定理 1:线性变换的矩阵
Let $T:\mathbb{R}^{n}\mapsto \mathbb{R}^{m}$ be a linear transformation. Then we can find a matrix $A$ such that $T(\vec{x}) = A\vec{x}$. In this case, we say that $T$ is determined or induced by the matrix $A$.
Here is why. Suppose $T:\mathbb{R}^{n}\mapsto \mathbb{R}^{m}$ is a linear transformation and you want to find the matrix defined by this linear transformation as described in $\eqref{matrixoftransf}$. Note that $\vec{x} =\begin{pmatrix}x\_{1} \\ x\_{2} \\ \vdots \\ x\_{n}\end{pmatrix} = x\_{1}\begin{pmatrix}1 \\ 0 \\ \vdots \\ 0\end{pmatrix} + x\_{2}\begin{pmatrix}0 \\ 1 \\ \vdots \\ 0\end{pmatrix} +\cdots + x\_{n}\begin{pmatrix}0 \\ 0 \\ \vdots \\ 1\end{pmatrix} = \sum\_{i=1}^{n}x\_{i}\vec{e}\_{i} $ where $\vec{e}\_{i}$ is the $i^{th}$ column of $I_n$, that is the $n \times 1$ vector which has zeros in every slot but the $i^{th}$ and a 1 in this slot.
Then since $T$ is linear, $\begin{aligned}T\left( \vec{x} \right)&=\sum\_{i=1}^{n}x\_{i}T\left( \vec{e}\_{i}\right) \\ &=\begin{pmatrix}\| & & \| \\ T\left( \vec{e}\_{1}\right) & \cdots & T\left( \vec{e}\_{n}\right) \\ \| & & \|\end{pmatrix} \begin{pmatrix}x\_{1} \\ \vdots \\ x\_{n}\end{pmatrix} \\ &= A\begin{pmatrix}x\_{1} \\ \vdots \\ x\_{n}\end{pmatrix}\end{aligned}$ The desired matrix is obtained from constructing the $i^{th}$ column as $T\left( \vec{e}\_{i}\right) .$ Recall that the set $\left\{ \vec{e}\_1, \vec{e}\_2, \cdots, \vec{e}\_n \right\}$ is called the standard basis of $\mathbb{R}^n$. Therefore the matrix of $T$ is found by applying $T$ to the standard basis. We state this formally as the following theorem.
Theorem 2: Matrix of a Linear Transformation 定理 2:线性变换的矩阵
Let $T: \mathbb{R}^{n} \mapsto \mathbb{R}^{m}$ be a linear transformation. Then the matrix $A$ satisfying $T\left(\vec{x}\right)=A\vec{x}$ is given by $A= \begin{pmatrix}\| & & \| \\ T\left( \vec{e}\_{1}\right) & \cdots & T\left( \vec{e}\_{n}\right) \\ \| & & \|\end{pmatrix} $ where $\vec{e}\_{i}$ is the $i^{th}$ column of $I_n$, and then $T\left( \vec{e}\_{i} \right)$ is the $i^{th}$ column of $A$.
The following Corollary is an essential result.
Corollary 1: Matrix and Linear Transformation 推论 1:矩阵与线性变换
A transformation $T:\mathbb{R}^n\rightarrow \mathbb{R}^m$ is a linear transformation if and only if it is a matrix transformation.
Consider the following example.
Example 1: The Matrix of a Linear Transformation 示例 1:线性变换的矩阵
Suppose $T$ is a linear transformation, $T:\mathbb{R}^{3}\rightarrow \mathbb{ R}^{2}$ where $T\begin{pmatrix}1 \\ 0 \\ 0\end{pmatrix} =\begin{pmatrix}1 \\ 2\end{pmatrix} ,$ T\begin{pmatrix}0 \\ 1 \\ 0\end{pmatrix} =\begin{pmatrix}9 \\ -3\end{pmatrix} ,$ T\begin{pmatrix}0 \\ 0 \\ 1\end{pmatrix} =\begin{pmatrix}1 \\ 1\end{pmatrix} $ Find the matrix $A$ of $T$ such that $T \left( \vec{x} \right)=A\vec{x}$ for all $\vec{x}$.
Solution. By Theorem 2 we construct $A$ as follows: $A = \begin{pmatrix}\| & & \| \\ T\left( \vec{e}\_{1}\right) & \cdots & T\left( \vec{e}\_{n}\right) \\ \| & & \|\end{pmatrix} $ In this case, $A$ will be a $2 \times 3$ matrix, so we need to find $T \left(\vec{e}\_1 \right), T \left(\vec{e}\_2 \right),$ and $T \left(\vec{e}\_3 \right)$. Luckily, we have been given these values so we can fill in $A$ as needed, using these vectors as the columns of $A$. Hence, $A=\begin{pmatrix}1 & 9 & 1 \\ 2 & -3 & 1\end{pmatrix}$
In this example, we were given the resulting vectors of $T \left(\vec{e}\_1 \right), T \left(\vec{e}\_2 \right),$ and $T \left(\vec{e}\_3 \right)$. Constructing the matrix $A$ was simple, as we could simply use these vectors as the columns of $A$. The next example shows how to find $A$ when we are not given the $T \left(\vec{e}\_i \right)$ so clearly.
Example 2: The Matrix of Linear Transformation: Inconveniently Defined 示例 2:线性变换的矩阵——不便定义的情况
Suppose $T$ is a linear transformation, $T:\mathbb{R}^{2}\rightarrow \mathbb{R}^{2}$ and $T\begin{pmatrix}1 \\ 1\end{pmatrix} =\begin{pmatrix}1 \\ 2\end{pmatrix} ,$ $T\begin{pmatrix}0 \\ -1\end{pmatrix} =\begin{pmatrix}3 \\ 2\end{pmatrix} $ Find the matrix $A$ of $T$ such that $T \left( \vec{x} \right)=A\vec{x}$ for all $\vec{x}$.
Solution
By Theorem 2 to find this matrix, we need to determine the action of $T$ on $\vec{e}\_{1}$ and $\vec{e}\_{2}$. In Example 9.9.2, we were given these resulting vectors. However, in this example, we have been given $T$ of two different vectors. How can we find out the action of $T$ on $\vec{e}\_{1}$ and $\vec{e}\_{2}$? In particular for $\vec{e}\_{1}$, suppose there exist $x$ and $y$ such that $\begin{pmatrix}1 \\ 0\end{pmatrix} = x\begin{pmatrix}1\\ 1\end{pmatrix} +y\begin{pmatrix}0 \\ -1\end{pmatrix} \label{matrixvalues}$
Then, since $T$ is linear, $T\begin{pmatrix}1 \\ 0\end{pmatrix} = x T\begin{pmatrix}1 \\ 1\end{pmatrix} +y T\begin{pmatrix}0 \\ -1\end{pmatrix} $
Substituting in values, this sum becomes $T\begin{pmatrix}1 \\ 0\end{pmatrix} = x\begin{pmatrix}1 \\ 2\end{pmatrix} +y\begin{pmatrix}3 \\ 2\end{pmatrix} \label{matrixvalues2}$
Therefore, if we know the values of $x$ and $y$ which satisfy $\eqref{matrixvalues}$, we can substitute these into equation $\eqref{matrixvalues2}$. By doing so, we find $T\left(\vec{e}\_1\right)$ which is the first column of the matrix $A$.
We proceed to find $x$ and $y$. We do so by solving $\eqref{matrixvalues}$, which can be done by solving the system $\begin{array}{c} x = 1 x - y = 0 \end{array}$
We see that $x=1$ and $y=1$ is the solution to this system. Substituting these values into equation $\eqref{matrixvalues2}$, we have $T\begin{pmatrix}1 \\ 0\end{pmatrix} = 1 \begin{pmatrix}1 \\ 2\end{pmatrix} + 1 \begin{pmatrix}3 \\ 2\end{pmatrix} = \begin{pmatrix}1 \\ 2\end{pmatrix} + \begin{pmatrix}3 \\ 2\end{pmatrix} = \begin{pmatrix}4 \\ 4\end{pmatrix} $
Therefore $\begin{pmatrix}4 \\ 4\end{pmatrix}$ is the first column of $A$.
Computing the second column is done in the same way, and is left as an exercise.
The resulting matrix $A$ is given by $A = \begin{pmatrix}4 & -3 \\ 4 & -2\end{pmatrix}$
This example illustrates a very long procedure for finding the matrix of $A$. While this method is reliable and will always result in the correct matrix $A$, the following procedure provides an alternative method.
Procedure 1: Finding the Matrix of Inconveniently Defined Linear Transformation 步骤 1:求不便定义的线性变换的矩阵
Suppose $T:\mathbb{R}^{n}\rightarrow \mathbb{R}^{m}$ is a linear transformation. Suppose there exist vectors $\left\{ \vec{a}\_{1},\cdots ,\vec{a}\_{n}\right\}$ in $\mathbb {R}^{n}$ such that $\begin{pmatrix}\vec{a}\_{1} & \cdots & \vec{a}\_{n}\end{pmatrix} ^{-1}$ exists, and $T \left(\vec{a}\_{i}\right)=\vec{b}\_{i} $ Then the matrix of $T$ must be of the form $\begin{pmatrix}\vec{b}\_{1} & \cdots & \vec{b}\_{n}\end{pmatrix} \begin{pmatrix}\vec{a}\_{1} & \cdots & \vec{a}\_{n}\end{pmatrix} ^{-1}$
We will illustrate this procedure in the following example. You may also find it useful to work through Example 2 using this procedure.
Example 3: Matrix of a Linear Transformation Given Inconveniently 示例 3:不便给出的线性变换的矩阵
Suppose $T:\mathbb{R}^{3}\rightarrow \mathbb{R}^{3}$ is a linear transformation and $T\begin{pmatrix}1 \\ 3 \\ 1\end{pmatrix} =\begin{pmatrix}0 \\ 1 \\ 1\end{pmatrix} ,T\begin{pmatrix}0 \\ 1 \\ 1\end{pmatrix} =\begin{pmatrix}2 \\ 1 \\ 3\end{pmatrix} ,T\begin{pmatrix}1 \\ 1 \\ 0\end{pmatrix} =\begin{pmatrix}0 \\ 0 \\ 1\end{pmatrix} $ Find the matrix of this linear transformation.
Solution
By Procedure 1, $A= \begin{pmatrix}1 & 0 & 1 \\ 3 & 1 & 1 \\ 1 & 1 & 0\end{pmatrix} ^{-1}$ and $B=\begin{pmatrix}0 & 2 & 0 \\ 1 & 1 & 0 \\ 1 & 3 & 1\end{pmatrix}$
Then, Procedure 1 claims that the matrix of $T$ is $C= BA^{-1} =\begin{pmatrix}2 & -2 & 4 \\ 0 & 0 & 1 \\ 4 & -3 & 6\end{pmatrix} $
Indeed you can first verify that $T(\vec{x})=C\vec{x}$ for the 3 vectors above:
$$\begin{pmatrix}2 & -2 & 4 \\ 0 & 0 & 1 \\ 4 & -3 & 6\end{pmatrix} \begin{pmatrix}1 \\ 3 \\ 1\end{pmatrix} =\begin{pmatrix}0 \\ 1 \\ 1\end{pmatrix} ,\\ \begin{pmatrix}2 & -2 & 4 \\ 0 & 0 & 1 \\ 4 & -3 & 6\end{pmatrix} \begin{pmatrix}0 \\ 1 \\ 1\end{pmatrix} =\begin{pmatrix}2 \\ 1 \\ 3\end{pmatrix} \\ \\\begin{pmatrix}2 & -2 & 4 \\ 0 & 0 & 1 \\ 4 & -3 & 6\end{pmatrix} \begin{pmatrix}1 \\ 1 \\ 0\end{pmatrix} =\begin{pmatrix}0 \\ 0 \\ 1\end{pmatrix}$$
But more generally $T(\vec{x})= C\vec{x}$ for any $\vec{x}$. To see this, let $\vec{y}=A^{-1}\vec{x}$ and then using linearity of $T$: $T(\vec{x})= T(A\vec{y}) = T \left( \sum_i \vec{y}\_i\vec{a}\_i \right) = \sum \vec{y}\_i T(\vec{a}\_i) \sum \vec{y}\_i \vec{b}\_i = B\vec{y} = BA^{-1}\vec{x} = C\vec{x} $
Recall the dot product discussed earlier. Consider the map $\vec{v}$$\mapsto$ $\mathrm{proj}\_{\vec{u}}\left( \vec{v}\right)$ which takes a vector a transforms it to its projection onto a given vector $\vec{u}$. It turns out that this map is linear, a result which follows from the properties of the dot product. This is shown as follows. $\begin{aligned}\mathrm{proj}\_{\vec{u}}\left( k \vec{v}+ p \vec{w}\right) &=\left( \frac{(k \vec{v}+ p \vec{w})\bullet \vec{u}}{ \vec{u}\bullet \vec{u}}\right) \vec{u} \\ &= k \left( \frac{ \vec{v}\bullet \vec{u}}{\vec{u}\bullet \vec{u}}\right) \vec{u}+p \left( { 0.05in}\frac{\vec{w}\bullet \vec{u}}{\vec{u}\bullet \vec{u}}\right) \vec{u} \\ &= k \\ \mathrm{proj}\_{\vec{u}}\left( \vec{v}\right) +p \\ \mathrm{proj} \_{\vec{u}}\left( \vec{w}\right)\end{aligned}$
Consider the following example.
Example 4: Matrix of a Projection Map 示例 4:投影映射的矩阵
Let $\vec{u} = \begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix}$ and let $T$ be the projection map $T: \mathbb{R}^3 \mapsto \mathbb{R}^3$ defined by $T(\vec{v}) = \mathrm{proj}\_{\vec{u}}\left( \vec{v}\right) $ for any $\vec{v} \in \mathbb{R}^3$.
- Does this transformation come from multiplication by a matrix?
- If so, what is the matrix?
- 这个变换是否来自乘以某个矩阵?
- 如果是,该矩阵是什么?
Solution
- First, we have just seen that $T (\vec{v}) = \mathrm{proj}\_{\vec{u}}\left( \vec{v}\right)$ is linear. Therefore by Theorem 1, we can find a matrix $A$ such that $T(\vec{x}) = A\vec{x}$.
- The columns of the matrix for $T$ are defined above as $T(\vec{e}\_{i})$. It follows that $T(\vec{e}\_{i}) = \mathrm{proj} \_{\vec{u}}\left( \vec{e}\_{i}\right)$ gives the $i^{th}$ column of the desired matrix. Therefore, we need to find $\mathrm{proj}\_{\vec{u}}\left( \vec{e}\_{i}\right) = \left( \frac{\vec{e}\_{i}\bullet \vec{u}}{\vec{u}\bullet \vec{u}}\right) \vec{u} $ For the given vector $\vec{u}$, this implies the columns of the desired matrix are $ \frac{1}{14}\begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix} , \frac{2}{14}\begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix} , \frac{3}{14}\begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix} $ which you can verify. Hence the matrix of $T$ is $ \frac{1}{14}\begin{pmatrix}1 & 2 & 3 \\ 2 & 4 & 6 \\ 3 & 6 & 9\end{pmatrix}$
- 首先,我们刚才已经看到 $T (\vec{v}) = \mathrm{proj}\_{\vec{u}}\left( \vec{v}\right)$ 是线性的。因此,根据 定理 1,我们可以找到一个矩阵 $A$,使得 $T(\vec{x}) = A\vec{x}$。
- 矩阵 $T$ 的列如上定义为 $T(\vec{e}\_{i})$。由此可知,$T(\vec{e}\_{i}) = \mathrm{proj} \_{\vec{u}}\left( \vec{e}\_{i}\right)$ 给出所求矩阵的第 $i^{th}$ 列。因此,我们需要求 $\mathrm{proj}\_{\vec{u}}\left( \vec{e}\_{i}\right) = \left( \frac{\vec{e}\_{i}\bullet \vec{u}}{\vec{u}\bullet \vec{u}}\right) \vec{u} $。对于给定的向量 $\vec{u}$,这意味着所求矩阵的各列为 $ \frac{1}{14}\begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix} , \frac{2}{14}\begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix} , \frac{3}{14}\begin{pmatrix}1 \\ 2 \\ 3\end{pmatrix} $(你可以验证)。于是 $T$ 的矩阵为 $ \frac{1}{14}\begin{pmatrix}1 & 2 & 3 \\ 2 & 4 & 6 \\ 3 & 6 & 9\end{pmatrix}$
Outcomes 学习目标
- Use properties of linear transformations to solve problems.
- Find the composite of transformations and the inverse of a transformation.
- 利用线性变换的性质解决问题。
- 求变换的复合与变换的逆。
Let $T: \mathbb{R}^n \mapsto \mathbb{R}^m$ be a linear transformation. Then there are some important properties of $T$ which will be examined in this section. Consider the following theorem.
Theorem 1: Properties of Linear Transformations 线性变换的性质
Properties of Linear Transformationsproperties Let $T: \mathbb{R}^n \mapsto \mathbb{R}^m$ be a linear transformation and let $\vec{x} \in \mathbb{R}^n$.
- $T$ preserves the zero vector. $T(0\vec{x}) = 0 T(\vec{x}). \mbox{ Hence }T(\vec{0}) = \vec{0}$
- $T$ preserves the negative of a vector: $T( (-1)\vec{x})=(-1)T(\vec{x}). \mbox{ Hence }T(-\vec{x}) = -T(\vec{x}).$
- $T$ preserves linear combinations: $\mbox{Let }\vec{x}\_1, ..., \vec{x}\_k \in \mathbb{R}^n \mbox{ and }a_1, ..., a_k \in \mathbb{R}.$ $\mbox{Then if }\vec{y} = a_1\vec{x}\_1 + a_2\vec{x}\_2 + ...+a_k \vec{x}\_k, \mbox{it follows that }$ $T(\vec{y}) = T(a_1\vec{x}\_1 + a_2\vec{x}\_2 + ...+a_k \vec{x}\_k) = a_1T(\vec{x}\_1) + a_2T(\vec{x}\_2) + ...+a_k T(\vec{x}\_k).$
- $T$ 保持零向量:$T(0\vec{x}) = 0 T(\vec{x}). \mbox{ Hence }T(\vec{0}) = \vec{0}$
- $T$ 保持向量的负:$T( (-1)\vec{x})=(-1)T(\vec{x}). \mbox{ Hence }T(-\vec{x}) = -T(\vec{x}).$
- $T$ 保持线性组合:若 $\mbox{Let }\vec{x}\_1, ..., \vec{x}\_k \in \mathbb{R}^n \mbox{ and }a_1, ..., a_k \in \mathbb{R}.$ 且 $\mbox{Then if }\vec{y} = a_1\vec{x}\_1 + a_2\vec{x}\_2 + ...+a_k \vec{x}\_k, \mbox{it follows that }$ 则 $T(\vec{y}) = T(a_1\vec{x}\_1 + a_2\vec{x}\_2 + ...+a_k \vec{x}\_k) = a_1T(\vec{x}\_1) + a_2T(\vec{x}\_2) + ...+a_k T(\vec{x}\_k).$
These properties are useful in determining the action of a transformation on a given vector. Consider the following example.
Example 1: Linear Combination 线性组合
Let $T:\mathbb{R}^3 \mapsto \mathbb{R}^4$ be a linear transformation such that $T \begin{pmatrix}1 \\ 3 \\ 1\end{pmatrix} = \begin{pmatrix}4 \\ 4 \\ 0 \\ -2\end{pmatrix}, T \begin{pmatrix}4 \\ 0 \\ 5\end{pmatrix} = \begin{pmatrix}4 \\ 5 \\ -1 \\ 5\end{pmatrix}$ Find $T \begin{pmatrix}-7 \\ 3 \\ -9\end{pmatrix}$.
Solution
Using the third property in Theorem 9.6.1, we can find $T \begin{pmatrix}-7 \\ 3 \\ -9\end{pmatrix}$ by writing $\begin{pmatrix}-7 \\ 3 \\ -9\end{pmatrix}$ as a linear combination of $\begin{pmatrix}1 \\ 3 \\ 1\end{pmatrix}$ and $\begin{pmatrix}4 \\ 0 \\ 5\end{pmatrix}$.
Therefore we want to find $a,b \in \mathbb{R}$ such that $\begin{pmatrix}-7 \\ 3 \\ -9\end{pmatrix} = a \begin{pmatrix}1 \\ 3 \\ 1\end{pmatrix} + b \begin{pmatrix}4 \\ 0 \\ 5\end{pmatrix} $
The necessary augmented matrix and resulting reduced row-echelon form are given by: $\left[\begin{array}{rr\|r}1 & 4 & -7 \\ 3 & 0 & 3 \\ 1 & 5 & -9\end{array}\right] \rightarrow \cdots \rightarrow \left[\begin{array}{rr\|r}1 & 0 & 1 \\ 0 & 1 & -2 \\ 0 & 0 & 0\end{array}\right] $
Hence $a = 1, b = -2$ and $\begin{pmatrix}-7 \\ 3 \\ -9\end{pmatrix} = 1 \begin{pmatrix}1 \\ 3 \\ 1\end{pmatrix} + (-2) \begin{pmatrix}4 \\ 0 \\ 5\end{pmatrix} $
Now, using the third property above, we have $\begin{aligned}T \begin{pmatrix}-7 \\ 3 \\ -9\end{pmatrix} &=T \left( 1 \begin{pmatrix}1 \\ 3 \\ 1\end{pmatrix} + (-2) \begin{pmatrix}4 \\ 0 \\ 5\end{pmatrix} \right) \\ &= 1T \begin{pmatrix}1 \\ 3 \\ 1\end{pmatrix} -2T \begin{pmatrix}4 \\ 0 \\ 5\end{pmatrix} \\ &= \begin{pmatrix}4 \\ 4 \\ 0 \\ -2\end{pmatrix} -2 \begin{pmatrix}4 \\ 5 \\ -1 \\ 5\end{pmatrix} \\ &= \begin{pmatrix}-4 \\ -6 \\ 2 \\ -12\end{pmatrix}\end{aligned}$
Therefore, $T \begin{pmatrix}-7 \\ 3 \\ -9\end{pmatrix} = \begin{pmatrix}-4 \\ -6 \\ 2 \\ -12\end{pmatrix}$.$
Suppose two linear transformations act in the same way on $\vec{x}$ for all vectors. Then we say that these transformations are equal.
Definition 1: Equal Transformations 相等变换
Let $S$ and $T$ be linear transformations from $\mathbb{R}^n$ to $\mathbb{R}^m$. Then $S = T$ if and only if for every $\vec{x} \in \mathbb{R}^n$, $S \left( \vec{x} \right) = T \left( \vec{x} \right) $
Suppose two linear transformations act on the same vector $\vec{x}$, first the transformation $T$ and then a second transformation given by $S$. We can find the composite transformation that results from applying both transformations.
Definition 2: Composition of Linear Transformations 线性变换的复合
Let $T: \mathbb{R}^k \mapsto \mathbb{R}^n$ and $S: \mathbb{R}^n \mapsto \mathbb{R}^m$ be linear transformations. Then the composite of $S$ and $T$ is $S \circ T: \mathbb{R}^k \mapsto \mathbb{R}^m$ The action of $S \circ T$ is given by \$S \circ T) (\vec{x}) = S(T(\vec{x})) $ \mbox{for all} $ \vec{x} \in \mathbb{R}^k$$
Notice that the resulting vector will be in $\mathbb{R}^m$. Be careful to observe the order of transformations. We write $S \circ T$ but apply the transformation $T$ first, followed by $S$.
Theorem 2: Composition of Transformations 变换的复合
Let $T: \mathbb{R}^k \mapsto \mathbb{R}^n$ and $S: \mathbb{R}^n \mapsto \mathbb{R}^m$ be linear transformations such that $T$ is induced by the matrix $A$ and $S$ is induced by the matrix $B$. Then $S \circ T$ is a linear transformation which is induced by the matrix $BA$.
Consider the following example.
Example 2: Composition of Transformations 变换的复合
Let $T$ be a linear transformation induced by the matrix $A = \begin{pmatrix}1 & 2 \\ 2 & 0\end{pmatrix} $ and $S$ a linear transformation induced by the matrix $B = \begin{pmatrix}2 & 3 \\ 0 & 1\end{pmatrix} $ Find the matrix of the composite transformation $S \circ T$. Then, find \$S \circ T)(\vec{x})$ for $\vec{x} = \begin{pmatrix}1 \\ 4\end{pmatrix}$.
Solution
By Theorem 2, the matrix of $S \circ T$ is given by $BA$. $BA = \begin{pmatrix}2 & 3 \\ 0 & 1\end{pmatrix} \begin{pmatrix}1 & 2 \\ 2 & 0\end{pmatrix} = \begin{pmatrix}8 & 4 \\ 2 & 0\end{pmatrix} $$
To find \$S \circ T)(\vec{x})$, multiply $\vec{x}$ by $BA$ as follows $\begin{pmatrix}8 & 4 \\ 2 & 0\end{pmatrix} \begin{pmatrix}1 \\ 4\end{pmatrix} = \begin{pmatrix}24 \\ 2\end{pmatrix} $
To check, first determine $T(\vec{x})$: $\begin{pmatrix}1 & 2 \\ 2 & 0\end{pmatrix} \begin{pmatrix}1 \\ 4\end{pmatrix} = \begin{pmatrix}9 \\ 2\end{pmatrix} $$
Then, compute $S(T(\vec{x}))$ as follows: $\begin{pmatrix}2 & 3 \\ 0 & 1\end{pmatrix} \begin{pmatrix}9 \\ 2\end{pmatrix} = \begin{pmatrix}24 \\ 2\end{pmatrix} $$
Consider a composite transformation $S \circ T$, and suppose that this transformation acted such that \$S \circ T) (\vec{x}) = \vec{x}$. That is, the transformation $S$ took the vector $T(\vec{x})$ and returned it to $\vec{x}$. In this case, $S$ and $T$ are inverses of each other. Consider the following definition.$
Definition 3: Inverse of a Transformation 变换的逆
Let $T: \mathbb{R}^n \mapsto \mathbb{R}^n$ and $S:\mathbb{R}^n \mapsto \mathbb{R}^n$ be linear transformations. Suppose that for each $\vec{x} \in \mathbb{R}^n$, \$S \circ T)(\vec{x}) = \vec{x} $ and \$T \circ S)(\vec{x}) = \vec{x} $ Then, $S$ is called an inverse of $T$ and $T$ is called an inverse of $S$. Geometrically, they reverse the action of each other.
The following theorem is crucial, as it claims that the above inverse transformations are unique.
Theorem 3: Inverse of a Transformation 变换的逆
Let $T:\mathbb{R}^n \mapsto \mathbb{R}^n$ be a linear transformation induced by the matrix $A$. Then $T$ has an inverse transformation if and only if the matrix $A$ is invertible. In this case, the inverse transformation is unique and denoted $T^{-1}: \mathbb{R}^n \mapsto \mathbb{R}^n$. $T^{-1}$ is induced by the matrix $A^{-1}$.
Consider the following example.
Example 3: Inverse of a Transformation 变换的逆
Let $T: \mathbb{R}^2 \mapsto \mathbb{R}^2$ be a linear transformation induced by the matrix $A = \begin{pmatrix}2 & 3 \\ 3 & 4\end{pmatrix}$ Show that $T^{-1}$ exists and find the matrix $B$ which it is induced by.$
Solution
Since the matrix $A$ is invertible, it follows that the transformation $T$ is invertible. Therefore, $T^{-1}$ exists.
You can verify that $A^{-1}$ is given by: $A^{-1} = \begin{pmatrix}-4 & 3 \\ 3 & -2\end{pmatrix} $ Therefore the linear transformation $T^{-1}$ is induced by the matrix $A^{-1}$.$
Outcomes 学习目标
- Find the matrix of rotations and reflections in $\mathbb{R}^2$ and determine the action of each on a vector in $\mathbb{R}^2$.
- 求出 $\mathbb{R}^2$ 中旋转与反射的矩阵,并确定各自对 $\mathbb{R}^2$ 中向量的作用。
In this section, we will examine some special examples of linear transformations in $\mathbb{R}^2$ including rotations and reflections. We will use the geometric descriptions of vector addition and scalar multiplication discussed earlier to show that a rotation of vectors through an angle and reflection of a vector across a line are examples of linear transformations.
More generally, denote a transformation given by a rotation by $T$. Why is such a transformation linear? Consider the following picture which illustrates a rotation. Let $\vec{u},\vec{v}$ denote vectors.
[figure]
Let’s consider how to obtain $T\left( \vec{u}+\vec{v}\right)$. Simply, you add $T (\vec{u})$ and $T(\vec{v})$. Here is why. If you add $T(\vec{u})$ to $T(\vec{v})$ you get the diagonal of the parallelogram determined by $T(\vec{u})$ and $T(\vec{v})$, as this action is our usual vector addition. Now, suppose we first add $\vec{u}$ and $\vec{v}$, and then apply the transformation $T$ to $\vec{u}+\vec{v}$. Hence, we find $T( \vec{u}+\vec{v})$. As shown in the diagram, this will result in the same vector. In other words, $T(\vec{u}+\vec{v}) = T(\vec{u}) + T(\vec{v})$.
This is because the rotation preserves all angles between the vectors as well as their lengths. In particular, it preserves the shape of this parallelogram. Thus both $T\left( \vec{u}\right)+T\left( \vec{v}\right)$ and $T\left( \vec{u}+\vec{v}\right)$ give the same vector. It follows that $T$ distributes across addition of the vectors of $\mathbb{R}^{2}$.
Similarly, if $k$ is a scalar, it follows that $T\left( k\vec{u}\right)=kT\left( \vec{u}\right)$. Thus rotations are an example of a linear transformation by Definition 9.6.1.
The following theorem gives the matrix of a linear transformation which rotates all vectors through an angle of $\theta$.
Theorem 1: Rotation 旋转
$$ \begin{pmatrix}\cos \left( \theta \right) & -\sin \left( \theta \right) \\ \sin \left( \theta \right) & \cos \left( \theta \right) \end{pmatrix} $$
Proof
Let $\vec{e}\_{1} = \begin{pmatrix}1 \\ 0\end{pmatrix}$ and $\vec{e}\_{2} = \begin{pmatrix}0 \\ 1\end{pmatrix} .$ These identify the geometric vectors which point along the positive $x$ axis and positive $y$ axis as shown.
[figure]
From Theorem 5.2.2, we need to find $R\_{\theta}(\vec{e}\_{1})$ and $R\_{\theta}(\vec{e}\_{2}),$ and use these as the columns of the matrix $A$ of $T$. We can use $\cos, \sin$ of the angle $\theta$ to find the coordinates of $R\_{\theta}(\vec{e}\_{1})$ as shown in the above picture. The coordinates of $R\_{\theta}(\vec{e}\_{2})$ also follow from trigonometry. Thus $R\_{\theta}(\vec{e}\_{1})=\begin{pmatrix}\cos \theta \\ \sin \theta\end{pmatrix} ,R\_{\theta}(\vec{e}\_{2})=\begin{pmatrix}-\sin \theta \\ \cos \theta\end{pmatrix} $ Therefore, from Theorem 5.2.2, $$A=\begin{pmatrix}\cos \theta & -\sin \theta \\ \sin \theta & \cos \theta\end{pmatrix} $$
The definition of $\left( \cos \left( \theta \right) ,\sin \left( \theta \right) \right)$ is as the coordinates of the point of $R\_{\theta}(\vec{e}\_{1})$. Now the point of the vector $\vec{e}\_{2}$ is exactly $\pi /2$ further along the unit circle from the point of $\vec{e}\_{1}$, and therefore after rotation through an angle of $\theta$ the coordinates $x$ and $y$ of the point of $R\_{\theta}(\vec{e}\_{2})$ are given by $\left( x,y\right) =\left( \cos \left( \theta +\pi /2\right) ,\sin \left( \theta +\pi /2\right) \right) =\left( -\sin \theta ,\cos \theta \right) $
Consider the following example.
Example 1: Rotation in $\mathbb{R}^2$ 在 $\mathbb{R}^2$ 中的旋转
Let $R\_{\frac{\pi}{2}}: \mathbb{R}^2 \to \mathbb{R}^2$ denote rotation through $\pi/2$. Find the matrix of $R\_{\frac{\pi}{2}}$. Then, find $R\_{\frac{\pi}{2}} (\vec{x})$ where $\vec{x} = \begin{pmatrix}1 \\ -2\end{pmatrix}$.
Solution
By Theorem 1, the matrix of $R\_{\frac{\pi}{2}}$ is given by $$ \begin{pmatrix}\cos \left( \theta \right) & -\sin \left( \theta \right) \\ \sin \left( \theta \right) & \cos \left( \theta \right) \end{pmatrix} = \begin{pmatrix}\cos \left( \pi/2 \right) & -\sin \left( \pi/2 \right) \\ \sin \left( \pi/2 \right) & \cos \left( \pi/2 \right) \end{pmatrix} = \begin{pmatrix}0 & -1 \\ 1 & 0\end{pmatrix} $$
To find $R\_{\frac{\pi}{2}} (\vec{x})$, we multiply the matrix of $R\_{\frac{\pi}{2}}$ by $\vec{x}$ as follows $$ \begin{pmatrix}0 & -1 \\ 1 & 0\end{pmatrix} \begin{pmatrix}1 \\ -2\end{pmatrix} = \begin{pmatrix}2 \\ 1\end{pmatrix} $$
We now look at an example of a linear transformation involving two angles.
Example 2: The Rotation Matrix of the Sum of Two Angles 两个角度之和的旋转矩阵
Find the matrix of the linear transformation which is obtained by first rotating all vectors through an angle of $\phi$ and then through an angle $\theta .$ Hence the linear transformation rotates all vectors through an angle of $\theta +\phi .$
Solution
Let $R\_{\theta +\phi }$ denote the linear transformation which rotates every vector through an angle of $\theta +\phi .$ Then to obtain $R\_{\theta +\phi },$ we first apply $R\_{\phi }$ and then $R\_{\theta }$ where $R\_{\phi }$ is the linear transformation which rotates through an angle of $\phi$ and $R\_{\theta }$ is the linear transformation which rotates through an angle of $\theta$. Denoting the corresponding matrices by $A\_{\theta +\phi }$, $A\_{\phi },$ and $A\_{\theta },$ it follows that for every $\vec{u}$ $R\_{\theta +\phi }\left( \vec{u}\right)=A\_{\theta +\phi }\vec{u}=A\_{\theta }A\_{\phi }\vec{u} = R\_{\theta }R\_{\phi } \left( \vec{u}\right) $ Notice the order of the matrices here!
Consequently, you must have $$ \begin{aligned}A\_{\theta +\phi } &=\begin{pmatrix}\cos \left( \theta +\phi \right) & -\sin \left( \theta +\phi \right) \\ \sin \left( \theta +\phi \right) & \cos \left( \theta +\phi \right) \end{pmatrix}\\ &=\begin{pmatrix}\cos \theta & -\sin \theta \\ \sin \theta & \cos \theta\end{pmatrix} \begin{pmatrix}\cos \phi & -\sin \phi \\ \sin \phi & \cos \phi\end{pmatrix} =A\_{\theta }A\_{\phi }\end{aligned} $$
The usual matrix multiplication yields $$ \begin{aligned}A\_{\theta +\phi } &= \begin{pmatrix}\cos \left( \theta +\phi \right) & -\sin \left( \theta +\phi \right) \\ \sin \left( \theta +\phi \right) & \cos \left( \theta +\phi \right) \end{pmatrix} \\ &=\begin{pmatrix}\cos \theta \cos \phi -\sin \theta \sin \phi & -\cos \theta \sin \phi -\sin \theta \cos \phi \\ \sin \theta \cos \phi +\cos \theta \sin \phi & \cos \theta \cos \phi -\sin \theta \sin \phi\end{pmatrix} \\ &= A\_{\theta }A\_{\phi }\end{aligned} $$
Don’t these look familiar? They are the usual trigonometric identities for the sum of two angles derived here using linear algebra concepts.
Here we have focused on rotations in two dimensions. However, you can consider rotations and other geometric concepts in any number of dimensions. This is one of the major advantages of linear algebra. You can break down a difficult geometrical procedure into small steps, each corresponding to multiplication by an appropriate matrix. Then by multiplying the matrices, you can obtain a single matrix which can give you numerical information on the results of applying the given sequence of simple procedures.
Linear transformations which reflect vectors across a line are a second important type of transformations in $\mathbb{R}^2$. Consider the following theorem.
Theorem 2: Reflection 反射
Let $Q_m: \mathbb{R}^2 \to \mathbb{R}^2$ be a linear transformation given by reflecting vectors over the line $\vec{y}=m\vec{x}$. Then the matrix of $Q_m$ is given by $$ \frac{1}{1+m^2} \begin{pmatrix}1-m^2 & 2m \\ 2m & m^2-1\end{pmatrix} $$
Consider the following example.
Example 3: Reflection in $\mathbb{R}^2$ 在 $\mathbb{R}^2$ 中的反射
Let $Q_2: \mathbb{R}^2 \to \mathbb{R}^2$ denote reflection over the line $\vec{y}=2\vec{x}$. Then $Q_2$ is a linear transformation. Find the matrix of $Q_2$. Then, find $Q_2 (\vec{x})$ where $\vec{x} = \begin{pmatrix}1 \\ -2\end{pmatrix}$.
Solution
By Theorem 2, the matrix of $Q_2$ is given by $$ \frac{1}{1+m^2} \begin{pmatrix}1-m^2 & 2m \\ 2m & m^2-1\end{pmatrix} = \frac{1}{1+(2)^2} \begin{pmatrix}1-(2)^2 & 2(2) \\ 2(2) & (2)^2-1\end{pmatrix} = \frac{1}{5} \begin{pmatrix}-3 & 8 \\ 8 & 3\end{pmatrix} $$
To find $Q_2(\vec{x})$ we multiply $\vec{x}$ by the matrix of $Q_2$ as follows: $$ \frac{1}{5} \begin{pmatrix}-3 & 8 \\ 8 & 3\end{pmatrix} \begin{pmatrix}1 \\ -2\end{pmatrix} = \begin{pmatrix}- \frac{19}{5} \\ \frac{2}{5}\end{pmatrix} $$
Consider the following example which incorporates a reflection as well as a rotation of vectors.
Example 4: Rotation Followed by a Reflection 先旋转后反射
Find the matrix of the linear transformation which is obtained by first rotating all vectors through an angle of $\pi /6$ and then reflecting through the $x$ axis.
Solution
By Theorem 1, the matrix of the transformation which involves rotating through an angle of $\pi /6$ is $$ \begin{pmatrix}\cos \left( \pi /6\right) & -\sin \left( \pi /6\right) \\ \sin \left( \pi /6\right) & \cos \left( \pi /6\right) \end{pmatrix} =\begin{pmatrix}\frac{1}{2}\sqrt{3} & - \frac{1}{2} \\ \frac{1}{2} & \frac{1}{2}\sqrt{3}\end{pmatrix} $$
Reflecting across the $x$ axis is the same action as reflecting vectors over the line $\vec{y}=m\vec{x}$ with $m=0$. By Theorem 2, the matrix for the transformation which reflects all vectors through the $x$ axis is $$ \frac{1}{1+m^2} \begin{pmatrix}1-m^2 & 2m \\ 2m & m^2-1\end{pmatrix} = \frac{1}{1+(0)^2} \begin{pmatrix}1-(0)^2 & 2(0) \\ 2(0) & (0)^2-1\end{pmatrix} = \begin{pmatrix}1 & 0 \\ 0 & -1\end{pmatrix} $$
Therefore, the matrix of the linear transformation which first rotates through $\pi /6$ and then reflects through the $x$ axis is given by $$ \begin{pmatrix}1 & 0 \\ 0 & -1\end{pmatrix} \begin{pmatrix}\frac{1}{2}\sqrt{3} & - \frac{1}{2} \\ \frac{1}{2} & \frac{1}{2}\sqrt{3}\end{pmatrix} = \begin{pmatrix}\frac{1}{2}\sqrt{3} & - \frac{1}{2} \\ - \frac{1}{2} & - \frac{1}{2}\sqrt{3}\end{pmatrix} $$
Outcomes 学习目标
- Determine if a linear transformation is onto or one to one.
- 判断一个线性变换是满射还是单射。
Let $T: \mathbb{R}^n \mapsto \mathbb{R}^m$ be a linear transformation. We define the range or image of $T$ as the set of vectors of $\mathbb{R}^{m}$ which are of the form $T \left(\vec{x}\right)$ (equivalently, $A\vec{x}$ for some $\vec{x}\in \mathbb{R}^{n}$. It is common to write $T\mathbb{R}^{n}$, $T\left( \mathbb{R}^{n}\right)$, or $\mathrm{Im}\left( T\right)$ to denote these vectors.
Lemma 1: Range of a Matrix Transformation 引理 1:矩阵变换的值域
Let $A$ be an $m\times n$ matrix where $A\_{1},\cdots , A\_{n}$ denote the columns of $A.$ Then, for a vector $\vec{x}=\begin{pmatrix}x\_{1} \\ \vdots \\ x\_{n}\end{pmatrix}$ in $\mathbb{R}^n$,
Therefore, $A \left( \mathbb{R}^n \right)$ is the collection of all linear combinations of these products.
Proof
This follows from the definition of matrix multiplication.
This section is devoted to studying two important characterizations of linear transformations, called one to one and onto. We define them now.
Definition 1: One to One 定义 1:单射
Suppose $\vec{x}\_1$ and $\vec{x}\_2$ are vectors in $\mathbb{R}^n$. A linear transformation $T: \mathbb{R}^n \mapsto \mathbb{R}^m$ is called one to one (often written as $1-1)$ if whenever $\vec{x}\_1 \neq \vec{x}\_2$ it follows that : $T\left( \vec{x}\_1 \right) \neq T \left(\vec{x}\_2\right) $
Equivalently, if $T\left( \vec{x}\_1 \right) =T\left( \vec{x}\_2\right) ,$ then $\vec{x}\_1 = \vec{x}\_2$. Thus, $T$ is one to one if it never takes two different vectors to the same vector.
The second important characterization is called onto.
Definition 2: Onto 定义 2:满射
Let $T: \mathbb{R}^n \mapsto \mathbb{R}^m$ be a linear transformation. Then $T$ is called onto if whenever $\vec{x}\_2 \in \mathbb{R}^{m}$ there exists $\vec{x}\_1 \in \mathbb{R}^{n}$ such that $T\left( \vec{x}\_1\right) = \vec{x}\_2.$
We often call a linear transformation which is one-to-one an injection. Similarly, a linear transformation which is onto is often called a surjection.
The following proposition is an important result.
Proposition 1: One to One 命题 1:单射
Let $T:\mathbb{R}^n \mapsto \mathbb{R}^m$ be a linear transformation. Then $T$ is one to one if and only if $T(\vec{x}) = \vec{0}$ implies $\vec{x}=\vec{0}$.
Proof
We need to prove two things here. First, we will prove that if $T$ is one to one, then $T(\vec{x}) = \vec{0}$ implies that $\vec{x}=\vec{0}$. Second, we will show that if $T(\vec{x})=\vec{0}$ implies that $\vec{x}=\vec{0}$, then it follows that $T$ is one to one. Recall that a linear transformation has the property that $T(\vec{0}) = \vec{0}$.
Suppose first that $T$ is one to one and consider $T(\vec{0})$. $T(\vec{0})=T\left( \vec{0}+\vec{0}\right) =T(\vec{0})+T(\vec{0}) $ and so, adding the additive inverse of $T(\vec{0})$ to both sides, one sees that $T(\vec{0})=\vec{0}$. If $T(\vec{x})=\vec{0}$ it must be the case that $\vec{x}=\vec{0}$ because it was just shown that $T(\vec{0})=\vec{0}$ and $T$ is assumed to be one to one.
Now assume that if $T(\vec{x})=\vec{0},$ then it follows that $\vec{x}=\vec{0}.$ If $T(\vec{v})=T(\vec{u}),$ then $T(\vec{v})-T(\vec{u})=T\left( \vec{v}-\vec{u}\right) =\vec{0} $ which shows that $\vec{v}-\vec{u}=0$. In other words, $\vec{v}=\vec{u}$, and $T$ is one to one.
Note that this proposition says that if $A=\begin{pmatrix}A\_{1} & \cdots & A\_{n}\end{pmatrix}$ then $A$ is one to one if and only if whenever $0 = \sum\_{k=1}^{n}c\_{k}A\_{k} $ it follows that each scalar $c\_{k}=0$.
We will now take a look at an example of a one to one and onto linear transformation.
Example 1: A One to One and Onto Linear Transformation 示例 1:一个单射且满射的线性变换
Suppose $T\begin{pmatrix}x \\ y\end{pmatrix} =\begin{pmatrix}1 & 1 \\ 1 & 2\end{pmatrix} \begin{pmatrix}x \\ y\end{pmatrix} $. Then, $T:\mathbb{R}^{2}\rightarrow \mathbb{R}^{2}$ is a linear transformation. Is $T$ onto? Is it one to one?
Solution
Recall that because $T$ can be expressed as matrix multiplication, we know that $T$ is a linear transformation. We will start by looking at onto. So suppose $\begin{pmatrix}a \\ b\end{pmatrix} \in \mathbb{R}^{2}.$ Does there exist $\begin{pmatrix}x \\ y\end{pmatrix} \in \mathbb{R}^2$ such that $T\begin{pmatrix}x \\ y\end{pmatrix} =\begin{pmatrix}a \\ b\end{pmatrix} ?$ If so, then since $\begin{pmatrix}a \\ b\end{pmatrix}$ is an arbitrary vector in $\mathbb{R}^{2},$ it will follow that $T$ is onto.
This question is familiar to you. It is asking whether there is a solution to the equation $\begin{pmatrix}1 & 1 \\ 1 & 2\end{pmatrix} \begin{pmatrix}x \\ y\end{pmatrix} =\begin{pmatrix}a \\ b\end{pmatrix} $ This is the same thing as asking for a solution to the following system of equations. $\begin{array}{c} x+y=a \\ x+2y=b \end{array} $ Set up the augmented matrix and row reduce. $\left[\begin{array}{rr\|r}1 & 1 & a \\ 1 & 2 & b\end{array}\right] \rightarrow \left[\begin{array}{rr\|r}1 & 0 & 2a-b \\ 0 & 1 & b-a\end{array}\right] \label{ontomatrix}$ You can see from this point that the system has a solution. Therefore, we have shown that for any $a, b$, there is a $\begin{pmatrix}x \\ y\end{pmatrix}$ such that $T\begin{pmatrix}x \\ y\end{pmatrix} =\begin{pmatrix}a \\ b\end{pmatrix}$. Thus $T$ is onto.
Now we want to know if $T$ is one to one. By Proposition 1 it is enough to show that $A\vec{x}=0$ implies $\vec{x}=0$. Consider the system $A\vec{x}=0$ given by: $\begin{pmatrix}1 & 1 \\ 1 & 2\\\end{pmatrix} \begin{pmatrix}x\\ y\end{pmatrix} = \begin{pmatrix}0 \\ 0\end{pmatrix} $
This is the same as the system given by
We need to show that the solution to this system is $x = 0$ and $y = 0$. By setting up the augmented matrix and row reducing, we end up with $\left[\begin{array}{rr\|r}1 & 0 & 0 \\ 0 & 1 & 0\end{array}\right]$
This tells us that $x = 0$ and $y = 0$. Returning to the original system, this says that if
then $\begin{pmatrix}x \\ y\end{pmatrix} = \begin{pmatrix}0 \\ 0\end{pmatrix} $
In other words, $A\vec{x}=0$ implies that $\vec{x}=0$. By Proposition 1, $A$ is one to one, and so $T$ is also one to one.
We also could have seen that $T$ is one to one from our above solution for onto. By looking at the matrix given by $\eqref{ontomatrix}$, you can see that there is a unique solution given by $x=2a-b$ and $y=b-a$. Therefore, there is only one vector, specifically $\begin{pmatrix}x \\ y\end{pmatrix} = \begin{pmatrix}2a-b\\ b-a\end{pmatrix}$ such that $T\begin{pmatrix}x \\ y\end{pmatrix} =\begin{pmatrix}a \\ b\end{pmatrix}$. Hence by Definition 1, $T$ is one to one.
Example 2: An Onto Transformation 示例 2:一个满射变换
Let $T: \mathbb{R}^4 \mapsto \mathbb{R}^2$ be a linear transformation defined by $T \begin{pmatrix}a \\ b \\ c \\ d\end{pmatrix} = \begin{pmatrix}a + d \\ b + c\end{pmatrix} \mbox{ for all } \begin{pmatrix}a \\ b \\ c \\ d\end{pmatrix} \in \mathbb{R}^4 $ Prove that $T$ is onto but not one to one.
Solution
You can prove that $T$ is in fact linear.
To show that $T$ is onto, let $\begin{pmatrix}x \\ y\end{pmatrix}$ be an arbitrary vector in $\mathbb{R}^2$. Taking the vector $\begin{pmatrix}x \\ y \\ 0 \\ 0\end{pmatrix} \in \mathbb{R}^4$ we have $T \begin{pmatrix}x \\ y \\ 0 \\ 0\end{pmatrix} = \begin{pmatrix}x + 0 \\ y + 0\end{pmatrix} = \begin{pmatrix}x \\ y\end{pmatrix} $ This shows that $T$ is onto.
By Proposition 1 $T$ is one to one if and only if $T(\vec{x}) = \vec{0}$ implies that $\vec{x} = \vec{0}$. Observe that $T \begin{pmatrix}1 \\ 0 \\ 0 \\ -1\end{pmatrix} = \begin{pmatrix}1 + -1 \\ 0 + 0\end{pmatrix} = \begin{pmatrix}0 \\ 0\end{pmatrix} $ There exists a nonzero vector $\vec{x}$ in $\mathbb{R}^4$ such that $T(\vec{x}) = \vec{0}$. It follows that $T$ is not one to one.
The above examples demonstrate a method to determine if a linear transformation $T$ is one to one or onto. It turns out that the matrix $A$ of $T$ can provide this information.
Theorem 1: Matrix of a One to One or Onto Transformation 定理 1:单射或满射变换的矩阵
Let $T: \mathbb{R}^n \mapsto \mathbb{R}^m$ be a linear transformation induced by the $m \times n$ matrix $A$. Then $T$ is one to one if and only if the rank of $A$ is $n$. $T$ is onto if and only if the rank of $A$ is $m$.
Consider Example 2. Above we showed that $T$ was onto but not one to one. We can now use this theorem to determine this fact about $T$.
Example 3: An Onto Transformation 示例 3:一个满射变换
Let $T: \mathbb{R}^4 \mapsto \mathbb{R}^2$ be a linear transformation defined by $T \begin{pmatrix}a \\ b \\ c \\ d\end{pmatrix} = \begin{pmatrix}a + d \\ b + c\end{pmatrix} \mbox{ for all } \begin{pmatrix}a \\ b \\ c \\ d\end{pmatrix} \in \mathbb{R}^4 $ Prove that $T$ is onto but not one to one.
Solution
Using Theorem 1 we can show that $T$ is onto but not one to one from the matrix of $T$. Recall that to find the matrix $A$ of $T$, we apply $T$ to each of the standard basis vectors $\vec{e}\_i$ of $\mathbb{R}^4$. The result is the $2 \times 4$ matrix A given by $A = \begin{pmatrix}1 & 0 & 0 & 1 \\ 0 & 1 & 1 & 0\end{pmatrix} $ Fortunately, this matrix is already in reduced row-echelon form. The rank of $A$ is $2$. Therefore by the above theorem $T$ is onto but not one to one.
Recall that if $S$ and $T$ are linear transformations, we can discuss their composite denoted $S \circ T$. The following examines what happens if both $S$ and $T$ are onto.
Example 4: Composite of Onto Transformations 示例 4:满射变换的复合
Let $T: \mathbb{R}^k \mapsto \mathbb{R}^n$ and $S: \mathbb{R}^n \mapsto \mathbb{R}^m$ be linear transformations. If $T$ and $S$ are onto, then $S \circ T$ is onto.
Solution
Let $\vec{z}\in \mathbb{R}^m$. Since $S$ is onto, there exists a vector $\vec{y}\in \mathbb{R}^n$ such that $S(\vec{y})=\vec{z}$. Furthermore, since $T$ is onto, there exists a vector $\vec{x}\in \mathbb{R}^k$ such that $T(\vec{x})=\vec{y}$. Thus $\vec{z} = S(\vec{y}) = S(T(\vec{x})) = (ST)(\vec{x}), $ showing that for each $\vec{z}\in \mathbb{R}^m$ there exists and $\vec{x}\in \mathbb{R}^k$ such that $(ST)(\vec{x})=\vec{z}$. Therefore, $S \circ T$ is onto.
The next example shows the same concept with regards to one-to-one transformations.
Example 5: Composite of One to One Transformations 示例 5:单射变换的复合
Let $T: \mathbb{R}^k \mapsto \mathbb{R}^n$ and $S: \mathbb{R}^n \mapsto \mathbb{R}^m$ be linear transformations. Prove that if $T$ and $S$ are one to one, then $S \circ T$ is one-to-one.
Solution
To prove that $S \circ T$ is one to one, we need to show that if $S(T (\vec{v})) = \vec{0}$ it follows that $\vec{v} = \vec{0}$. Suppose that $S(T (\vec{v})) = \vec{0}$. Since $S$ is one to one, it follows that $T (\vec{v}) = \vec{0}$. Similarly, since $T$ is one to one, it follows that $\vec{v} = \vec{0}$. Hence $S \circ T$ is one to one.
Outcomes 学习目标
- Determine if a linear transformation is an isomorphism.
- Determine if two subspaces of $\mathbb{R}^n$ are isomorphic.
- 判断一个线性变换是否为同构。
- 判断 $\mathbb{R}^n$ 的两个子空间是否同构。
Recall the definition of a linear transformation. Let $V$ and $W$ be two subspaces of $\mathbb{R}^{n}$ and $\mathbb{R}^{m}$ respectively. A mapping $T:V\rightarrow W$ is called a linear transformation or linear map if it preserves the algebraic operations of addition and scalar multiplication. Specifically, if $a,b$ are scalars and $\vec{x},\vec{y}$ are vectors,
$$T\left( a\vec{x}+b\vec{y}\right) =aT(\vec{x})+bT(\vec{y})$$
Consider the following important definition.
Definition 1: Isomorphism 同构
A linear map $T$ is called an isomorphism if the following two conditions are satisfied.
- $T$ is one to one. That is, if $T(\vec{x})=T(\vec{y}),$ then $\vec{x}=\vec{y}.$
- $T$ is onto. That is, if $\vec{w}\in W,$ there exists $\vec{v}\in V$ such that $T(\vec{v})=\vec{w}$.
- $T$ 是单射。即若 $T(\vec{x})=T(\vec{y}),$ 则 $\vec{x}=\vec{y}.$
- $T$ 是满射。即若 $\vec{w}\in W,$ 则存在 $\vec{v}\in V$ 使得 $T(\vec{v})=\vec{w}$。
Two such subspaces which have an isomorphism as described above are said to be isomorphic.
Consider the following example of an isomorphism.
Example 1: Isomorphism 同构
Let $T: \mathbb{R}^2 \mapsto \mathbb{R}^2$ be defined by $T \begin{pmatrix}x \\ y\end{pmatrix} = \begin{pmatrix}x + y \\ x - y\end{pmatrix}$ Show that $T$ is an isomorphism.
Solution 解答
To prove that $T$ is an isomorphism we must show
- $T$ is a linear transformation;
- $T$ is one to one;
- $T$ is onto.
- $T$ 是线性变换;
- $T$ 是单射;
- $T$ 是满射。
We proceed as follows.
1. $T$ is a linear transformation:
$\begin{aligned}T \left( k \begin{pmatrix}x_1 \\ y_1\end{pmatrix} + p \begin{pmatrix}x_2 \\ y_2\end{pmatrix} \right) &= T \left( \begin{pmatrix}kx_1 \\ ky_1\end{pmatrix} + \begin{pmatrix}px_2 \\ py_2\end{pmatrix} \right) \\ &= T \left( \begin{pmatrix}kx_1 + px_2 \\ ky_1 + py_2\end{pmatrix} \right) \\ &= \begin{pmatrix}(kx_1 + px_2) + (ky_1 + py_2) \\ (kx_1 + px_2) - (ky_1 + py_2)\end{pmatrix} \\ &= \begin{pmatrix}(kx_1 + ky_1) + (px_2 + py_2) \\ (kx_1 - ky_1) + (px_2 - py_2)\end{pmatrix} \\ &= \begin{pmatrix}kx_1 + ky_1 \\ kx_1 - ky_1\end{pmatrix} + \begin{pmatrix}px_2 + py_2 \\ px_2 - py_2\end{pmatrix} \\ &= k \begin{pmatrix}x_1 + y_1 \\ x_1 - y_1\end{pmatrix} + p \begin{pmatrix}x_2 + y_2 \\ x_2 - y_2\end{pmatrix} \\ &= k T \left( \begin{pmatrix}x_1 \\ y_1\end{pmatrix} \right) + p T \left( \begin{pmatrix}x_2 \\ y_2\end{pmatrix} \right)\end{aligned}$
Therefore $T$ is linear.
2. $T$ is one to one:
We need to show that if $T (\vec{x}) = \vec{0}$ for a vector $\vec{x} \in \mathbb{R}^2$, then it follows that $\vec{x} = \vec{0}$. Let $\vec{x} = \begin{pmatrix}x \\ y\end{pmatrix}$.
$T \left( \begin{pmatrix}x \\ y\end{pmatrix} \right) = \begin{pmatrix}x + y\\ x - y\end{pmatrix} = \begin{pmatrix}0 \\ 0\end{pmatrix} $ This provides a system of equations given by $\begin{aligned}x + y &= 0\\ x - y &= 0\end{aligned}$ You can verify that the solution to this system if $x = y =0$. Therefore $\vec{x} = \begin{pmatrix}x \\ y\end{pmatrix} = \begin{pmatrix}0 \\ 0\end{pmatrix} $ and $T$ is one to one.
3. $T$ is onto:
Let $a,b$ be scalars. We want to check if there is always a solution to $T \left( \begin{pmatrix}x \\ y\end{pmatrix} \right) = \begin{pmatrix}x + y\\ x - y\end{pmatrix} = \begin{pmatrix}a \\ b\end{pmatrix}$
This can be represented as the system of equations $\begin{aligned}x + y &= a\\ x - y &= b\end{aligned}$
Setting up the augmented matrix and row reducing gives $\left[\begin{array}{cc\|c}1 & 1 & a \\ 1 & -1 & b\end{array}\right] \rightarrow \cdots \rightarrow \left[\begin{array}{cc\|c}1 & 0 & \frac{a+b}{2} \\ 0 & 1 & \frac{a-b}{2}\end{array}\right]$ This has a solution for all $a,b$ and therefore $T$ is onto.
Therefore $T$ is an isomorphism.
An important property of isomorphisms is that its inverse is also an isomorphism.
Proposition 1: Inverse of an Isomorphism 同构的逆
Let $T:V\rightarrow W$ be an isomorphism and $V,W$ be subspaces of $\mathbb{R}^n$. Then $T^{-1}:W\rightarrow V$ is also an isomorphism.
Proof
Let $T$ be an isomorphism. Since $T$ is onto, a typical vector in $W$ is of the form $T(\vec{v})$ where $\vec{v} \in V$. Consider then for $a,b$ scalars, $T^{-1}\left( aT(\vec{v}\_{1})+bT(\vec{v}\_{2})\right)$ where $\vec{v}\_{1}, \vec{v}\_2 \in V$. Is this equal to $aT^{-1}\left( T (\vec{v}\_{1})\right) +bT^{-1}\left( T(\vec{v}\_{2})\right) =a\vec{v}\_{1}+b\vec{v}\_{2}?$ Since $T$ is one to one, this will be so if $T\left( a\vec{v}\_{1}+b\vec{v}\_{2}\right) =T\left( T^{-1}\left( aT(\vec{v}\_{1})+bT(\vec{v}\_{2})\right) \right) =aT(\vec{v}\_{1})+bT(\vec{v}\_{2}).$ However, the above statement is just the condition that $T$ is a linear map. Thus $T^{-1}$ is indeed a linear map. If $\vec{v} \in V$ is given, then $\vec{v}=T^{-1}\left( T(\vec{v})\right)$ and so $T^{-1}$ is onto. If $T^{-1} (\vec{v})=0,$ then $\vec{v}=T\left( T^{-1}(\vec{v})\right) =T(\vec{0})=\vec{0}$ and so $T^{-1}$ is one to one.
Another important result is that the composition of multiple isomorphisms is also an isomorphism.
Proposition 2: Composition of Isomorphisms 同构的复合
Let $T:V\rightarrow W$ and $S:W\rightarrow Z$ be isomorphisms where $V,W,Z$ are subspaces of $\mathbb{R}^n$. Then $S\circ T$ defined by $\left( S\circ T\right) \left( \vec{v} \right) = S\left( T\left( \vec{v} \right) \right)$ is also an isomorphism.
Proof
Suppose $T:V\rightarrow W$ and $S:W\rightarrow Z$ are isomorphisms. Why is $S\circ T$ a linear map? For $a,b$ scalars,
$$\begin{aligned}S\circ T\left( a\vec{v}\_{1}+b(\vec{v}\_{2})\right) &= S\left( T\left(a\vec{v}\_{1}+b\vec{v}\_{2}\right) \right) =S\left( aT\vec{v}\_{1}+bT\vec{v}\_{2}\right) \\ &=aS\left( T\vec{v}\_{1}\right) +bS\left( T\vec{v}\_{2}\right) = a\left( S\circ T\right) \left( \vec{v}\_{1}\right) +b\left( S\circ T\right) \left( \vec{v}\_{2}\right)\end{aligned}$$
Hence $S\circ T$ is a linear map. If $\left( S\circ T\right) \left( \vec{v} \right) =0,$ then $S\left( T\left( \vec{v} \right) \right) =0$ and it follows that $T(\vec{v})=\vec{0}$ and hence by this lemma again, $\vec{v}=\vec{0}$. Thus $S\circ T$ is one to one. It remains to verify that it is onto. Let $\vec{z} \in Z$. Then since $S$ is onto, there exists $\vec{w} \in W$ such that $S(\vec{w})=\vec{z}.$ Also, since $T$ is onto, there exists $\vec{v}\in V$ such that $T(\vec{v})=\vec{w}.$ It follows that $S\left( T\left( \vec{v}\right) \right) =\vec{z}$ and so $S\circ T$ is also onto.
Consider two subspaces $V$ and $W$, and suppose there exists an isomorphism mapping one to the other. In this way the two subspaces are related, which we can write as $V \sim W$. Then the previous two propositions together claim that $\sim$ is an equivalence relation. That is: $\sim$ satisfies the following conditions:
- $V\sim V$
- If $V\sim W,$ it follows that $W\sim V$
- If $V\sim W$ and $W\sim Z,$ then $V\sim Z$
- $V\sim V$
- 若 $V\sim W,$ 则 $W\sim V$
- 若 $V\sim W$ 且 $W\sim Z,$ 则 $V\sim Z$
We leave the verification of these conditions as an exercise.
Consider the following example.
Example 2: Matrix Isomorphism 矩阵同构
Let $T:\mathbb{R}^{n}\rightarrow \mathbb{R}^{n}$ be defined by $T(\vec{x}) = A(\vec{x})$ where $A$ is an invertible $n\times n$ matrix. Then $T$ is an isomorphism.
Solution 解答
The reason for this is that, since $A$ is invertible, the only vector it sends to $\vec{0}$ is the zero vector. Hence if $A(\vec{x})=A(\vec{y}),$ then $A\left( \vec{x}-\vec{y}\right) =\vec{0}$ and so $\vec{x}=\vec{y}$. It is onto because if
$$\vec{y}\in \mathbb{R}^{n},A\left( A^{-1} (\vec{y})\right) =\left( AA^{-1}\right) (\vec{y}) =\vec{y}.$$
In fact, all isomorphisms from $\mathbb{R}^{n}$ to $\mathbb{R}^{n}$ can be expressed as $T(\vec{x}) = A(\vec{x})$ where $A$ is an invertible $n \times n$ matrix. One simply considers the matrix whose $i^{th}$ column is $T\vec{e}\_{i}$.
Recall that a basis of a subspace $V$ is a set of linearly independent vectors which span $V$. The following fundamental lemma describes the relation between bases and isomorphisms.
Lemma 1: Mapping Bases 映射基
Let $T:V\rightarrow W$ be a linear transformation where $V,W$ are subspaces of $\mathbb{R}^n$. If $T$ is one to one, then it has the property that if $\left\{ \vec{u}\_{1},\cdots ,\vec{u}\_{k}\right\}$ is linearly independent, so is $\left\{ T(\vec{u}\_{1}),\cdots ,T(\vec{u}\_{k})\right\}$.
More generally, $T$ is an isomorphism if and only if whenever $\left\{ \vec{v}\_{1},\cdots ,\vec{v}\_{n}\right\}$ is a basis for $V,$ it follows that $\left\{ T (\vec{v}\_{1}),\cdots ,T(\vec{v}\_{n})\right\}$ is a basis for $W$.
Proof
First suppose that $T$ is a linear transformation and is one to one and $\left\{ \vec{u}\_{1},\cdots ,\vec{u}\_{k}\right\}$ is linearly independent. It is required to show that $\left\{ T(\vec{u}\_{1}),\cdots ,T(\vec{ u}\_{k})\right\}$ is also linearly independent. Suppose then that $\sum\_{i=1}^{k}c\_{i}T(\vec{u}\_{i})=\vec{0}$ Then, since $T$ is linear, $T\left( \sum\_{i=1}^{n}c\_{i}\vec{u}\_{i}\right) =\vec{0}$ Since $T$ is one to one, it follows that $\sum\_{i=1}^{n}c\_{i}\vec{u}\_{i}=0$ Now the fact that $\left\{ \vec{u}\_{1},\cdots ,\vec{u}\_{n}\right\}$ is linearly independent implies that each $c\_{i}=0$. Hence $\left\{ T(\vec{u} \_{1}),\cdots ,T(\vec{u}\_{n})\right\}$ is linearly independent.
Now suppose that $T$ is an isomorphism and $\left\{ \vec{v}\_{1},\cdots ,\vec{ v}\_{n}\right\}$ is a basis for $V$. It was just shown that $\left\{ T(\vec{v} \_{1}),\cdots ,T(\vec{v}\_{n})\right\}$ is linearly independent. It remains to verify that span$\left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v}\_{n})\right\}=W$. If $\vec{w}\in W,$ then since $T$ is onto there exists $\vec{v}\in V$ such that $T(\vec{v})=\vec{w}$. Since $\left\{ \vec{v} \_{1},\cdots ,\vec{v}\_{n}\right\}$ is a basis, it follows that there exists scalars $\left\{ c\_{i}\right\} \_{i=1}^{n}$ such that $\sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}=\vec{v}. $ Hence, $\vec{w}=T(\vec{v})=T\left( \sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}\right) =\sum\_{i=1}^{n}c\_{i}T(\vec{v}\_{i}) $ It follows that span$\left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v}\_{n})\right\} =W$ showing that this set of vectors is a basis for $W$.
Next suppose that $T$ is a linear transformation which takes a basis to a basis. This means that if $\left\{ \vec{v}\_{1},\cdots ,\vec{v}\_{n}\right\}$ is a basis for $V,$ it follows $\left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v}\_{n})\right\}$ is a basis for $W.$ Then if $w\in W,$ there exist scalars $c\_{i}$ such that $w=\sum\_{i=1}^{n}c\_{i}T(\vec{v}\_{i})=T\left( \sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}\right)$ showing that $T$ is onto. If $T\left( \sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}\right) =\vec{0}$ then $\sum\_{i=1}^{n}c\_{i}T(\vec{v}\_{i})=\vec{0}$ and since the vectors $\left\{ T(\vec{v} \_{1}),\cdots ,T(\vec{v}\_{n})\right\}$ are linearly independent, it follows that each $c\_{i}=0.$ Since $\sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}$ is a typical vector in $V$, this has shown that if $T(\vec{v})=\vec{0}$ then $\vec{v}=\vec{0}$ and so $T$ is also one to one. Thus $T$ is an isomorphism.$
The following theorem illustrates a very useful idea for defining an isomorphism. Basically, if you know what it does to a basis, then you can construct the isomorphism.
Theorem 1: Isomorphic Subspaces 同构的子空间
Suppose $V$ and $W$ are two subspaces of $\mathbb{R}^n$. Then the two subspaces are isomorphic if and only if they have the same dimension. In the case that the two subspaces have the same dimension, then for a linear map $T:V\rightarrow W$, the following are equivalent.
- $T$ is one to one.
- $T$ is onto.
- $T$ is an isomorphism.
- $T$ 是单射。
- $T$ 是满射。
- $T$ 是同构。
Proof
Suppose first that these two subspaces have the same dimension. Let a basis for $V$ be $\left\{ \vec{v}\_{1},\cdots ,\vec{v}\_{n}\right\}$ and let a basis for $W$ be $\left\{ \vec{w}\_{1},\cdots ,\vec{w}\_{n}\right\}$. Now define $T$ as follows. $T(\vec{v}\_{i})=\vec{w}\_{i}$ for $\sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}$ an arbitrary vector of $V,$ $T\left( \sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}\right) = \sum\_{i=1}^{n}c\_{i}T \vec{v}\_{i}=\sum\_{i=1}^{n}c\_{i}\vec{w}\_{i}.$ It is necessary to verify that this is well defined. Suppose then that $\sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}=\sum\_{i=1}^{n}\hat{c}\_{i}\vec{v}\_{i}$ Then $\sum\_{i=1}^{n}\left( c\_{i}-\hat{c}\_{i}\right) \vec{v}\_{i}=\vec{0}$ and since $\left\{ \vec{v}\_{1},\cdots ,\vec{v}\_{n}\right\}$ is a basis, $c\_{i}=\hat{c}\_{i}$ for each $i$. Hence $\sum\_{i=1}^{n}c\_{i}\vec{w}\_{i}=\sum\_{i=1}^{n}\hat{c}\_{i}\vec{w}\_{i}$ and so the mapping is well defined. Also if $a,b$ are scalars, $\begin{aligned}T\left( a\sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}+b\sum\_{i=1}^{n}\hat{c}\_{i}\vec{v}\_{i}\right) &=T\left( \sum\_{i=1}^{n}\left( ac\_{i}+b\hat{c}\_{i}\right) \vec{v}\_{i}\right) =\sum\_{i=1}^{n}\left( ac\_{i}+b\hat{c}\_{i}\right) \vec{w}\_{i} \\ &=a\sum\_{i=1}^{n}c\_{i}\vec{w}\_{i}+b\sum\_{i=1}^{n}\hat{c}\_{i}\vec{w}\_{i} \\ &=aT\left( \sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}\right) +bT\left( \sum\_{i=1}^{n} \hat{c}\_{i}\vec{v}\_{i}\right)\end{aligned}$ Thus $T$ is a linear transformation.$
Now if $T\left( \sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}\right) =\sum\_{i=1}^{n}c\_{i}\vec{w}\_{i}=\vec{0}, $ then since the $\left\{ \vec{w}\_{1},\cdots ,\vec{w}\_{n}\right\}$ are independent, each $c\_{i}=0$ and so $\sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}=\vec{0}$ also. Hence $T$ is one to one. If $\sum\_{i=1}^{n}c\_{i}\vec{w}\_{i}$ is a vector in $W,$ then it equals $\sum\_{i=1}^{n}c\_{i}T(\vec{v}\_{i})=T\left( \sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}\right) $ showing that $T$ is also onto. Hence $T$ is an isomorphism and so $V$ and $W$ are isomorphic.$
Next suppose $T:V \mapsto W$ is an isomorphism, so these two subspaces are isomorphic. Then for $\left\{ \vec{v}\_{1},\cdots ,\vec{v} \_{n}\right\}$ a basis for $V$, it follows that a basis for $W$ is $\left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v}\_{n})\right\}$ showing that the two subspaces have the same dimension.
Now suppose the two subspaces have the same dimension. Consider the three claimed equivalences.
First consider the claim that $1.)\Rightarrow 2.).$ If $T$ is one to one and if $\left\{ \vec{v}\_{1},\cdots ,\vec{v} \_{n}\right\}$ is a basis for $V,$ then $\left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v }\_{n})\right\}$ is linearly independent. If it is not a basis, then it must fail to span $W$. But then there would exist $\vec{w}\notin \mathrm{span} \left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v}\_{n})\right\}$ and it follows that $\left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v}\_{n}),\vec{w} \right\}$ would be linearly independent which is impossible because there exists a basis for $W$ of $n$ vectors.
Hence $\mathrm{span}\left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v}\_{n})\right\} =W$ and so $\left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v}\_{n})\right\}$ is a basis. If $\vec{w}\in W,$ there exist scalars $c\_{i}$ such that $\vec{w}=\sum\_{i=1}^{n}c\_{i}T(\vec{v}\_{i})=T\left( \sum\_{i=1}^{n}c\_{i}\vec{v} \_{i}\right) $ showing that $T$ is onto. This shows that $1.)\Rightarrow 2.).$
Next consider the claim that $2.)\Rightarrow 3.).$ Since $2.)$ holds, it follows that $T$ is onto. It remains to verify that $T$ is one to one. Since $T$ is onto, there exists a basis of the form $\left\{ T(\vec{v}\_{i}),\cdots ,T(\vec{v}\_{n})\right\} .$ Then it follows that $\left\{ \vec{v}\_{1},\cdots , \vec{v}\_{n}\right\}$ is linearly independent. Suppose $\sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}=\vec{0}$ Then $\sum\_{i=1}^{n}c\_{i}T(\vec{v}\_{i})=\vec{0}$ Hence each $c\_{i}=0$ and so, $\left\{ \vec{v}\_{1},\cdots ,\vec{v} \_{n}\right\}$ is a basis for $V$. Now it follows that a typical vector in $V$ is of the form $\sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}$. If $T\left( \sum\_{i=1}^{n}c\_{i}\vec{v}\_{i}\right) =\vec{0},$ it follows that $\sum\_{i=1}^{n}c\_{i}T(\vec{v}\_{i})=\vec{0}$ and so, since $\left\{ T(\vec{v}\_{i}),\cdots ,T(\vec{v}\_{n})\right\}$ is independent, it follows each $c\_{i}=0$ and hence $\sum\_{i=1}^{n}c\_{i}\vec{v} \_{i}=\vec{0}$. Thus $T$ is one to one as well as onto and so it is an isomorphism.$
If $T$ is an isomorphism, it is both one to one and onto by definition so $3.)$ implies both $1.)$ and $2.)$.
Note the interesting way of defining a linear transformation in the first part of the argument by describing what it does to a basis and then “extending it linearly” to the entire subspace.
Example 4: Isomorphic Subspaces 同构的子空间
Let $V=\mathbb{R}^{3}$ and let $W$ denote $\mathrm{span}\left\{ \begin{pmatrix}1 \\ 2 \\ 1 \\ 1\end{pmatrix} ,\begin{pmatrix}0 \\ 1 \\ 0 \\ 1\end{pmatrix} ,\begin{pmatrix}1 \\ 1 \\ 2 \\ 0\end{pmatrix} \right\}nonumber $ Show that $V$ and $W$ are isomorphic.$
Solution 解答
First observe that these subspaces are both of dimension 3 and so they are isomorphic by Theorem 1. The three vectors which span $W$ are easily seen to be linearly independent by making them the columns of a matrix and row reducing to the reduced row-echelon form.
You can exhibit an isomorphism of these two spaces as follows. $T(\vec{e}\_{1})=\begin{pmatrix}1 \\ 2 \\ 1 \\ 1\end{pmatrix}, T(\vec{e}\_{2})=\begin{pmatrix}0 \\ 1 \\ 0 \\ 1\end{pmatrix}, T(\vec{e}\_{3})=\begin{pmatrix}1 \\ 1 \\ 2 \\ 0\end{pmatrix} $ and extend linearly. Recall that the matrix of this linear transformation is just the matrix having these vectors as columns. Thus the matrix of this isomorphism is $\begin{pmatrix}1 & 0 & 1 \\ 2 & 1 & 1 \\ 1 & 0 & 2 \\ 1 & 1 & 0\end{pmatrix} $ You should check that multiplication on the left by this matrix does reproduce the claimed effect resulting from an application by $T$.
Consider the following example.
Example 5: Finding the Matrix of an Isomorphism 求同构的矩阵
Let $V=\mathbb{R}^{3}$ and let $W$ denote
$$\mathrm{span}\left\{ \begin{pmatrix}1 \\ 2 \\ 1 \\ 1\end{pmatrix} ,\begin{pmatrix}0 \\ 1 \\ 0 \\ 1\end{pmatrix} ,\begin{pmatrix}1 \\ 1 \\ 2 \\ 0\end{pmatrix} \right\}nonumber$$
Let $T: V \mapsto W$ be defined as follows. $T\begin{pmatrix}1 \\ 1 \\ 0\end{pmatrix} =\begin{pmatrix}1 \\ 2 \\ 1 \\ 1\end{pmatrix} ,T\begin{pmatrix}0 \\ 1 \\ 1\end{pmatrix} =\begin{pmatrix}0 \\ 1 \\ 0 \\ 1\end{pmatrix} ,T\begin{pmatrix}1 \\ 1 \\ 1\end{pmatrix} =\begin{pmatrix}1 \\ 1 \\ 2 \\ 0\end{pmatrix} $ Find the matrix of this isomorphism $T$.$
Solution 解答
First note that the vectors $\begin{pmatrix}1 \\ 1 \\ 0\end{pmatrix} ,\begin{pmatrix}0 \\ 1 \\ 1\end{pmatrix} ,\begin{pmatrix}1 \\ 1 \\ 1\end{pmatrix} $ are indeed a basis for $\mathbb{R}^{3}$ as can be seen by making them the columns of a matrix and using the reduced row-echelon form.
Now recall the matrix of $T$ is a $4\times 3$ matrix $A$ which gives the same effect as $T.$ Thus, from the way we multiply matrices, $A\begin{pmatrix}1 & 0 & 1 \\ 1 & 1 & 1 \\ 0 & 1 & 1\end{pmatrix} =\begin{pmatrix}1 & 0 & 1 \\ 2 & 1 & 1 \\ 1 & 0 & 2 \\ 1 & 1 & 0\end{pmatrix} $ Hence, $A=\begin{pmatrix}1 & 0 & 1 \\ 2 & 1 & 1 \\ 1 & 0 & 2 \\ 1 & 1 & 0\end{pmatrix} \begin{pmatrix}1 & 0 & 1 \\ 1 & 1 & 1 \\ 0 & 1 & 1\end{pmatrix} ^{-1}=\begin{pmatrix}1 & 0 & 0 \\ 0 & 2 & -1 \\ 2 & -1 & 1 \\ -1 & 2 & -1\end{pmatrix} $
Note how the span of the columns of this new matrix must be the same as the span of the vectors defining $W$.
This idea of defining a linear transformation by what it does on a basis works for linear maps which are not necessarily isomorphisms.
Example 6: Finding the Matrix of an Isomorphism 求同构的矩阵
Let $V=\mathbb{R}^{3}$ and let $W$ denote $\mathrm{span}\left\{ \begin{pmatrix}1 \\ 0 \\ 1 \\ 1\end{pmatrix} ,\begin{pmatrix}0 \\ 1 \\ 0 \\ 1\end{pmatrix} ,\begin{pmatrix}1 \\ 1 \\ 1 \\ 2\end{pmatrix} \right\}nonumber $ Let $T: V \mapsto W$ be defined as follows. $T\begin{pmatrix}1 \\ 1 \\ 0\end{pmatrix} = \begin{pmatrix}1 \\ 0 \\ 1 \\ 1\end{pmatrix} ,T\begin{pmatrix}0 \\ 1 \\ 1\end{pmatrix} =\begin{pmatrix}0 \\ 1 \\ 0 \\ 1\end{pmatrix} ,T\begin{pmatrix}1 \\ 1 \\ 1\end{pmatrix} =\begin{pmatrix}1 \\ 1 \\ 1 \\ 2\end{pmatrix} $ Find the matrix of this linear transformation.
Solution 解答
Note that in this case, the three vectors which span $W$ are not linearly independent. Nevertheless the above procedure will still work. The reasoning is the same as before. If $A$ is this matrix, then $A\begin{pmatrix}1 & 0 & 1 \\ 1 & 1 & 1 \\ 0 & 1 & 1\end{pmatrix} =\begin{pmatrix}1 & 0 & 1 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \\ 1 & 1 & 2\end{pmatrix} $ and so $A=\begin{pmatrix}1 & 0 & 1 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \\ 1 & 1 & 2\end{pmatrix} \begin{pmatrix}1 & 0 & 1 \\ 1 & 1 & 1 \\ 0 & 1 & 1\end{pmatrix} ^{-1}=\begin{pmatrix}1 & 0 & 0 \\ 0 & 0 & 1 \\ 1 & 0 & 0 \\ 1 & 0 & 1\end{pmatrix} $
The columns of this last matrix are obviously not linearly independent.
Outcomes 学习目标
- Describe the kernel and image of a linear transformation, and find a basis for each.
- 描述线性变换的核与像,并求二者的一个基。
In this section we will consider the case where the linear transformation is not necessarily an isomorphism. First consider the following important definition.
Definition 1: Kernel and Image 定义 1:核与像
Let $V$ and $W$ be subspaces of $\mathbb{R}^n$ and let $T:V\mapsto W$ be a linear transformation. Then the image of $T$ denoted as $\mathrm{im}\left( T\right)$ is defined to be the set $\mathrm{im}\left( T\right) = \left\{T (\vec{v}):\vec{v}\in V\right\}nonumber $ In words, it consists of all vectors in $W$ which equal $T(\vec{v})$ for some $\vec{v}\in V$.
The kernel of $T$, written $\ker \left( T\right)$, consists of all $\vec{v}\in V$ such that $T(\vec{v})=\vec{0}$. That is, $\ker \left( T\right) =\left\{ \vec{v}\in V:T(\vec{v})=\vec{0}\right\}nonumber $
It follows that $\mathrm{im}\left( T\right)$ and $\ker \left( T\right)$ are subspaces of $W$ and $V$ respectively.
Proposition 1: Kernel and Image as Subspaces 命题 1:作为子空间的核与像
Let $V, W$ be subspaces of $\mathbb{R}^n$ and let $T:V\rightarrow W$ be a linear transformation. Then $\ker \left( T\right)$ is a subspace of $V$ and $\mathrm{im}\left( T\right)$ is a subspace of $W$.
Proof
First consider $\ker \left( T\right) .$ It is necessary to show that if $\vec{v}\_{1},\vec{v}\_{2}$ are vectors in $\ker \left( T\right)$ and if $a,b$ are scalars, then $a\vec{v}\_{1}+b\vec{v}\_{2}$ is also in $\ker \left( T\right) .$ But $T\left( a\vec{v}\_{1}+b\vec{v}\_{2}\right) =aT(\vec{v}\_{1})+bT(\vec{v}\_{2})=a\vec{0}+b\vec{0}=\vec{0} $
Thus $\ker \left( T\right)$ is a subspace of $V$.
Next suppose $T(\vec{v}\_{1}),T(\vec{v}\_{2})$ are two vectors in $\mathrm{im}\left( T\right) .$ Then if $a,b$ are scalars, $aT(\vec{v}\_{2})+bT(\vec{v}\_{2})=T\left( a\vec{v}\_{1}+b\vec{v}\_{2}\right)$ and this last vector is in $\mathrm{im}\left( T\right)$ by definition.
We will now examine how to find the kernel and image of a linear transformation and describe the basis of each.
Example 1: Kernel and Image of a Linear Transformation 示例 1:一个线性变换的核与像
Let $T: \mathbb{R}^4 \mapsto \mathbb{R}^2$ be defined by
$$T \begin{pmatrix}a \\ b \\ c \\ d\end{pmatrix} = \begin{pmatrix}a - b \\ c + d\end{pmatrix}$$
Then $T$ is a linear transformation. Find a basis for $\mathrm{ker}(T)$ and $\mathrm{im}(T)$.
Solution
You can verify that $T$ is a linear transformation.
First we will find a basis for $\mathrm{ker}(T)$. To do so, we want to find a way to describe all vectors $\vec{x} \in \mathbb{R}^4$ such that $T(\vec{x}) = \vec{0}$. Let $\vec{x} = \begin{pmatrix}a \\ b \\ c \\ d\end{pmatrix}$ be such a vector. Then$
$$T \begin{pmatrix}a \\ b \\ c \\ d\end{pmatrix} = \begin{pmatrix}a - b \\ c + d\end{pmatrix} = \left ( \begin{array}{c} 0 \\ 0 \end{array} \right )$$
The values of $a, b, c, d$ that make this true are given by solutions to the system
$$\begin{aligned}a - b &= 0 \\ c + d &= 0\end{aligned}$$
The solution to this system is $a = s, b = s, c = t, d = -t$ where $s, t$ are scalars. We can describe $\mathrm{ker}(T)$ as follows.
$$\mathrm{ker}(T) = \left\{ \begin{pmatrix}s \\ s \\ t \\ -t\end{pmatrix} \right\} = \mathrm{span} \left\{ \begin{pmatrix}1 \\ 1 \\ 0 \\ 0\end{pmatrix}, \begin{pmatrix}0 \\ 0 \\ 1 \\ -1\end{pmatrix} \right\}$$
Notice that this set is linearly independent and therefore forms a basis for $\mathrm{ker}(T)$.
We move on to finding a basis for $\mathrm{im}(T)$. We can write the image of $T$ as $\mathrm{im}(T) = \left\{ \begin{pmatrix}a - b \\ c + d\end{pmatrix} \right\}$$
We can write this in the form $\mathrm{span} = \left\{ \begin{pmatrix}1 \\ 0\end{pmatrix}, \begin{pmatrix}-1 \\ 0\end{pmatrix}, \begin{pmatrix}0 \\ 1\end{pmatrix}, \begin{pmatrix}0 \\ 1\end{pmatrix} \right\}nonumber$
This set is clearly not linearly independent. By removing unnecessary vectors from the set we can create a linearly independent set with the same span. This gives a basis for $\mathrm{im}(T)$ as $\mathrm{im}(T) = \mathrm{span} \left\{ \begin{pmatrix}1 \\ 0\end{pmatrix}, \begin{pmatrix}0 \\ 1\end{pmatrix} \right\}nonumber$
Recall that a linear transformation $T$ is called one to one if and only if $T(\vec{x}) = \vec{0}$ implies $\vec{x} = \vec{0}$. Using the concept of kernel, we can state this theorem in another way.
Theorem 1: One to One and Kernel 定理 1:单射与核
Let $T$ be a linear transformation where $\mathrm{ker}(T)$ is the kernel of $T$. Then $T$ is one to one if and only if $\mathrm{ker}(T)$ consists of only the zero vector.
A major result is the relation between the dimension of the kernel and dimension of the image of a linear transformation. In the previous example $\mathrm{ker}(T)$ had dimension $2$, and $\mathrm{im}(T)$ also had dimension of $2$. Is it a coincidence that the dimension of $\mathbb{M}\_{22}$ is $4 = 2 + 2$? Consider the following theorem.
Theorem 2: Dimension of Kernel and Image 定理 2:核与像的维数
Let $T:V\rightarrow W$ be a linear transformation where $V,W$ are subspaces of $\mathbb{R}^n$. Suppose the dimension of $V$ is $m$. Then $m=\dim \left( \ker \left( T\right) \right) +\dim \left( \mathrm{im}\left( T\right) \right) $
Proof
From Proposition 1, $\mathrm{im}\left( T\right)$ is a subspace of $W.$ We know that there exists a basis for $\mathrm{im}\left( T\right)$, $\left\{ T(\vec{v} \_{1}),\cdots ,T(\vec{v}\_{r})\right\} .$ Similarly, there is a basis for $\ker \left( T\right) ,\left\{ \vec{u}\_{1},\cdots ,\vec{u}\_{s}\right\}. Then if $\vec{v}\in V,$ there exist scalars $c\_{i}$ such that $T(\vec{v})=\sum\_{i=1}^{r}c\_{i}T(\vec{v}\_{i}) $ Hence $T\left( \vec{v}-\sum\_{i=1}^{r}c\_{i}\vec{v}\_{i}\right) =0.$ It follows that $\vec{v}-\sum\_{i=1}^{r}c\_{i}\vec{v}\_{i}$ is in $\ker \left( T\right)$. Hence there are scalars $a\_{i}$ such that $\vec{v}-\sum\_{i=1}^{r}c\_{i}\vec{v}\_{i}=\sum\_{j=1}^{s}a\_{j}\vec{u}\_{j} $ Hence $\vec{v}=\sum\_{i=1}^{r}c\_{i}\vec{v}\_{i}+\sum\_{j=1}^{s}a\_{j}\vec{u} \_{j}.$ Since $\vec{v}$ is arbitrary, it follows that $V=\mathrm{span}\left\{ \vec{u}\_{1},\cdots ,\vec{u}\_{s},\vec{v}\_{1},\cdots , \vec{v}\_{r}\right\}nonumber$$
If the vectors $\left\{ \vec{u}\_{1},\cdots ,\vec{u}\_{s},\vec{v}\_{1},\cdots , \vec{v}\_{r}\right\} are linearly independent, then it will follow that this set is a basis. Suppose then that $\sum\_{i=1}^{r}c\_{i}\vec{v}\_{i}+\sum\_{j=1}^{s}a\_{j}\vec{u}\_{j}=0 $ Apply $T$ to both sides to obtain $\sum\_{i=1}^{r}c\_{i}T(\vec{v}\_{i})+\sum\_{j=1}^{s}a\_{j}T(\vec{u}) \_{j}=\sum\_{i=1}^{r}c\_{i}T(\vec{v}\_{i})=0 $ Since $\left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v}\_{r})\right\} is linearly independent, it follows that each $c\_{i}=0.$ Hence $\sum\_{j=1}^{s}a\_{j}\vec{u }\_{j}=0$ and so, since the $\left\{ \vec{u}\_{1},\cdots ,\vec{u}\_{s}\right\} are linearly independent, it follows that each $a\_{j}=0$ also. Therefore $\left\{ \vec{u}\_{1},\cdots ,\vec{u}\_{s},\vec{v}\_{1},\cdots ,\vec{v} \_{r}\right\} is a basis for $V$ and so $n=s+r=\dim \left( \ker \left( T\right) \right) +\dim \left( \mathrm{im}\left( T\right) \right) $
The above theorem leads to the next corollary.
Corollary 1 推论 1
Let $T:V\rightarrow W$ be a linear transformation where $V,W$ are subspaces of $\mathbb{R}^n$. Suppose the dimension of $V$ is $m$. Then $\dim \left( \ker \left( T\right) \right) \leq m $ $\dim \left( \mathrm{im}\left( T \right) \right) \leq m $
This follows directly from the fact that $n=\dim \left( \ker \left( T\right) \right) +\dim \left( \mathrm{im}\left( T\right) \right)$.
Consider the following example.
Example 2 示例 2
Let $T:\mathbb{R}^{2}\rightarrow \mathbb{R}^{3}$ be defined by $T(\vec{x})=\begin{pmatrix}1 & 0 \\ 1 & 0 \\ 0 & 1\end{pmatrix} \vec{x} $ Then $\mathrm{im}\left( T\right) =V$ is a subspace of $\mathbb{R}^{3}$ and $T$ is an isomorphism of $\mathbb{R}^{2}$ and $V$. Find a $2\times 3$ matrix $A$ such that the restriction of multiplication by $A$ to $V=\mathrm{im}\left( T\right)$ equals $T^{-1}$.
Solution
Since the two columns of the above matrix are linearly independent, we conclude that $\mathrm{dim}(\mathrm{im}(T)) = 2$ and therefore $\mathrm{dim}(\mathrm{ker}(T)) = 2 - \mathrm{dim}(\mathrm{im}(T)) = 2-2 = 0$ by Theorem 2. Then by Theorem 1 it follows that $T$ is one to one.
Thus $T$ is an isomorphism of $\mathbb{R }^{2}$ and the two dimensional subspace of $\mathbb{R}^{3}$ which is the span of the columns of the given matrix. Now in particular, $T(\vec{e}\_{1})=\begin{pmatrix}1 \\ 1 \\ 0\end{pmatrix} ,$ T(\vec{e}\_{2})=\begin{pmatrix}0 \\ 0 \\ 1\end{pmatrix} $$
Thus $T^{-1}\begin{pmatrix}1 \\ 1 \\ 0\end{pmatrix} =\vec{e}\_{1},$ T^{-1}\begin{pmatrix}0 \\ 0 \\ 1\end{pmatrix} =\vec{e}\_{2} $$
Extend $T^{-1}$ to all of $\mathbb{R}^{3}$ by defining $T^{-1}\begin{pmatrix}0 \\ 1 \\ 0\end{pmatrix} =\vec{e}\_{1} $ Notice that the vectors $\left\{ \begin{pmatrix}1 \\ 1 \\ 0\end{pmatrix} ,\begin{pmatrix}0 \\ 0 \\ 1\end{pmatrix} ,\begin{pmatrix}0 \\ 1 \\ 0\end{pmatrix} \right\} $ are linearly independent so $T^{-1}$ can be extended linearly to yield a linear transformation defined on $\mathbb{R}^{3}$. The matrix of $T^{-1}$ denoted as $A$ needs to satisfy $A\begin{pmatrix}1 & 0 & 0 \\ 1 & 0 & 1 \\ 0 & 1 & 0\end{pmatrix} =\begin{pmatrix}1 & 0 & 1 \\ 0 & 1 & 0\end{pmatrix} $ and so $A=\begin{pmatrix}1 & 0 & 1 \\ 0 & 1 & 0\end{pmatrix} \begin{pmatrix}1 & 0 & 0 \\ 1 & 0 & 1 \\ 0 & 1 & 0\end{pmatrix}^{-1}=\begin{pmatrix}0 & 1 & 0 \\ 0 & 0 & 1\end{pmatrix} $$
Note that $\begin{pmatrix}0 & 1 & 0 \\ 0 & 0 & 1\end{pmatrix} \begin{pmatrix}1 \\ 1 \\ 0\end{pmatrix} =\begin{pmatrix}1 \\ 0\end{pmatrix} $ $\begin{pmatrix}0 & 1 & 0 \\ 0 & 0 & 1\end{pmatrix} \begin{pmatrix}0 \\ 0 \\ 1\end{pmatrix} =\begin{pmatrix}0 \\ 1\end{pmatrix} $ so the restriction to $V$ of matrix multiplication by this matrix yields $T^{-1}.$
Original page: https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_(Kuttler)/05%3A_Linear_Transformations/5.08%3A_The_Matrix_of_a_Linear_Transformation_II
Outcomes 学习目标
- Find the matrix of a linear transformation with respect to general bases.
- 求线性变换关于一般基的矩阵。
We begin this section with an important lemma.
Lemma 1: Mapping of a Basis 引理 1:基的映射
Let $T: \mathbb{R}^n \mapsto \mathbb{R}^n$ be an isomorphism. Then $T$ maps any basis of $\mathbb{R}^n$ to another basis for $\mathbb{R}^n$.
Conversely, if $T: \mathbb{R}^n \mapsto \mathbb{R}^n$ is a linear transformation which maps a basis of $\mathbb{R}^n$ to another basis of $\mathbb{R}^n$, then it is an isomorphism.
Proof
First, suppose $T:\mathbb{R}^n \mapsto \mathbb{R}^n$ is a linear transformation which is one to one and onto. Let $\left\{ \vec{v}\_{1},\cdots ,\vec{v}\_{n}\right\}$ be a basis for $\mathbb{R}^n$. We wish to show that $\left\{ T(\vec{v}\_{1}),\cdots , T(\vec{v}\_{n})\right\}$ is also a basis for $\mathbb{R}^n$.
First consider why it is linearly independent. Suppose $\sum\_{k=1}^{n}a\_{k}T(\vec{v}\_{k})=\vec{0}$. Then by linearity we have $T\left( \sum\_{k=1}^{n}a\_{k}\vec{v}\_{k}\right) =\vec{0}$ and since $T$ is one to one, it follows that $\sum\_{k=1}^{n}a\_{k}\vec{v}\_{k}=\vec{0}$. This requires that each $a\_{k}=0$ because $\left\{ \vec{v}\_{1},\cdots, \vec{v}\_{n}\right\}$ is independent, and it follows that $\left\{ T(\vec{v}\_{1}),\cdots , T(\vec{v}\_{n})\right\}$ is linearly independent.
Next take $\vec{w}\in \mathbb{R}^n.$ Since $T$ is onto, there exists $\vec{v}\in \mathbb{R}^n$ such that $T(\vec{v})=\vec{w}$. Since $\left\{ \vec{v}\_{1},\cdots ,\vec{v}\_{n}\right\}$ is a basis, in particular it is a spanning set and there are scalars $b\_{k}$ such that $T\left( \sum\_{k=1}^{n}b\_{k}\vec{v} \_{k}\right) =T\left( \vec{v}\right) =\vec{w}$. Therefore $\vec{w} =\sum\_{k=1}^{n}b\_{k}T(\vec{v}\_{k})$ which is in the $\mathrm{span}\left\{ T(\vec{v}\_{1}),\cdots , T(\vec{v}\_{n})\right\} .$ Therefore, $\left\{ T(\vec{v}\_{1}),\cdots ,T(\vec{v}\_{n}) \right\}$ is a basis as claimed.
Suppose now that $T: \mathbb{R}^n \mapsto \mathbb{R}^n$ is a linear transformation such that $T(\vec{v}\_{i})=\vec{w}\_{i}$ where $\left\{vec{v} \_{1},\cdots ,\vec{v}\_{n}\right\}$ and $\left\{ \vec{w}\_{1},\cdots , \vec{w}\_{n}\right\}$ are two bases for $\mathbb{R}^n$.
To show that $T$ is one to one, let $T\left( \sum\_{k=1}^{n}c\_{k}\vec{v}\_{k}\right) =\vec{0}$. Then $\sum\_{k=1}^{n}c\_{k}T(\vec{v}\_{k})=\sum\_{k=1}^{n}c\_{k}\vec{w}\_{k}=\vec{ 0}$. It follows that each $c\_{k} = 0$ because it is given that $\left\{ \vec{w} \_{1},\cdots,\vec{w}\_{n}\right\}$ is linearly independent. Hence $T\left( \sum\_{k=1}^{n}c\_{k}\vec{v}\_{k}\right) =\vec{0}$ implies that $\sum\_{k=1}^{n}c\_{k}\vec{v}\_{k}=\vec{0}$ and so $T$ is one to one.
To show that $T$ is onto, let $\vec{w}$ be an arbitrary vector in $\mathbb{R}^n$. This vector can be written as $\vec{w} = \sum\_{k=1}^{n}d_k\vec{w}\_k = \sum\_{k=1}^{n}d\_{k}T(\vec{v}\_{k})=T\left( \sum\_{k=1}^{n}d\_{k} \vec{v}\_{k}\right) .$ Therefore, $T$ is also onto.
Consider now an important definition.
Definition 1: Coordinate Vector 定义 1:坐标向量
Let $B = \left\{ \vec{v}\_1, \vec{v}\_2, \cdots, \vec{v}\_n \right\}$ be a basis for $\mathbb{R}^n$ and let $\vec{x}$ be an arbitrary vector in $\mathbb{R}^n$. Then $\vec{x}$ is uniquely represented as $\vec{x} = a_1\vec{v}\_1 + a_2\vec{v}\_2 + \cdots + a_n\vec{v}\_n$ for scalars $a_1, \cdots, a_n.$
The coordinate vector of $\vec{x}$ with respect to the basis $B$, written $C_B(\vec{x})$ or $\vec{x}\_B$, is given by $C_B(\vec{x}) = C_B \left( a_1\vec{v}\_1 + a_2\vec{v}\_2 + \cdots + a_n\vec{v}\_n \right) = \begin{pmatrix}a_1 \\ a_2 \\ \vdots \\ a_n\end{pmatrix} $
Consider the following example.
Example 1: Coordinate Vector 示例 1:坐标向量
Let $B = \left\{ \begin{pmatrix}1 \\ 0\end{pmatrix}, \begin{pmatrix}-1 \\ 1\end{pmatrix} \right\}$ be a basis of $\mathbb{R}^2$ and let $\vec{x} = \begin{pmatrix}3 \\ -1\end{pmatrix}$ be a vector in $\mathbb{R}^2$. Find $C_B(\vec{x})$.
Solution
First, note the order of the basis is important so label the vectors in the basis $B$ as $B = \left\{ \begin{pmatrix}1 \\ 0\end{pmatrix}, \begin{pmatrix}-1 \\ 1\end{pmatrix} \right\} = \left\{ \vec{v}\_1, \vec{v}\_2 \right\}nonumber $ Now we need to find $a_1, a_2$ such that $\vec{x} = a_1 \vec{v}\_1 + a_2 \vec{v}\_2$, that is: $\begin{pmatrix}3 \\ -1\end{pmatrix} = a_1 \begin{pmatrix}1 \\ 0\end{pmatrix} + a_2 \begin{pmatrix}-1 \\ 1\end{pmatrix} $ Solving this system gives $a_1 = 2, a_2 = -1$. Therefore the coordinate vector of $\vec{x}$ with respect to the basis $B$ is $C_B(\vec{x}) = \begin{pmatrix}a_1 \\ a_2\end{pmatrix} = \begin{pmatrix}2 \\ -1\end{pmatrix} $
Given any basis $B$, one can easily verify that the coordinate function is actually an isomorphism.
Theorem 1: $C_B$Transformation is a Linear 定理 1:坐标函数 $C_B$ 是线性变换
For any basis $B$ of $\mathbb{R}^n$, the coordinate function $C_B: \mathbb{R}^n \rightarrow \mathbb{R}^n $ is a linear transformation, and moreover an isomorphism.
We now discuss the main result of this section, that is how to represent a linear transformation with respect to different bases.
Theorem 2: The Matrix of a Linear 定理 2:线性变换的矩阵
Let $T: \mathbb{R}^n \mapsto \mathbb{R}^m$ be a linear transformation, and let $B_1$ and $B_2$ be bases of $\mathbb{R}^{n}$ and $\mathbb{R}^{m}$ respectively.
Then the following holds $C\_{B_2} T = M\_{B\_{2} B\_{1}} C\_{B_1} \label{matrixequation}$ where $M\_{B\_{2} B\_{1}}$ is a unique $m \times n$ matrix.
If the basis $B_1$ is given by $B_1 = \left\{ \vec{v}\_1, \cdots, \vec{v}\_n \right\}$ in this order, then $M\_{B\_{2} B\_{1}} = \left[ C\_{B_2}(T(\vec{v}\_1)) \quad C\_{B_2}(T(\vec{v}\_2)) \quad \cdots \quad C\_{B_2}(T(\vec{v}\_n)) \right]$
Proof
The above equation $\eqref{matrixequation}$ can be represented by the following diagram. $\begin{array}{rcl} & T & \\ \mathbb{R}^n & \rightarrow & \mathbb{R}^m \\ C_{B_{1}}\downarrow & & \downarrow C_{B_{2}} \\ \mathbb{R}^{n} & \rightarrow & \mathbb{R}^{m} \\ & M_{B_{2} B_{1}} & \end{array}$
Since $C\_{B_1}$ is an isomorphism, then the matrix we are looking for is the matrix of the linear transformation $C\_{B_2} T C^{-1}\_{B_1} : \mathbb{R}^n \mapsto \mathbb{R}^m. $ By Theorem 5.2.2, the columns are given by the image of the standard basis $\left\{ \vec{e}\_1, \vec{e}\_2, \cdots, \vec{e}\_n \right\}$ . But since $C^{-1}\_{B_1}( \vec{e}\_i) = \vec{v}\_i$, we readily obtain that $M\_{B\_{2} B\_{1}} = \left[ C\_{B_2}T C^{-1}\_{B_1} (\vec{e}\_1) \quad C\_{B_2}T C^{-1}\_{B_1} (\vec{e}\_2) \quad \cdots \quad C\_{B_2}T C^{-1}\_{B_1} (\vec{e}\_n) \right] = \left[ C\_{B_2}(T(\vec{v}\_1)) \quad C\_{B_2}(T(\vec{v}\_2)) \quad \cdots \quad C\_{B_2}(T(\vec{v}\_n)) \right]$ and this completes the proof.
Consider the following example.
Example 2: Matrix of a Linear 示例 2:线性变换的矩阵
Let $T: \mathbb{R}^2 \mapsto \mathbb{R}^2$ be a linear transformation defined by $T \left( \begin{pmatrix}a \\ b\end{pmatrix} \right) = \begin{pmatrix}b \\ a\end{pmatrix}$.
Consider the two bases $B_1 = \left\{ \vec{v}\_{1}, \vec{v}\_{2} \right\} = \left\{ \begin{pmatrix}1 \\ 0\end{pmatrix}, \begin{pmatrix}-1 \\ 1\end{pmatrix} \right\}nonumber $ and $B_2 = \left\{ \begin{pmatrix}1 \\ 1\end{pmatrix}, \begin{pmatrix}1 \\ -1\end{pmatrix} \right\}nonumber $
Find the matrix $M\_{B_2,B_1}$ of $T$ with respect to the bases $B_1$ and $B_2$.
Solution
By Theorem 2, the columns of $M\_{B\_{2} B\_{1}}$ are the coordinate vectors of $T(\vec{v}\_{1}), T(\vec{v}\_{2})$ with respect to $B_2$.
Since $T \left( \begin{pmatrix}1 \\ 0\end{pmatrix} \right) = \begin{pmatrix}0 \\ 1\end{pmatrix} , $ a standard calculation yields $\begin{pmatrix}0 \\ 1\end{pmatrix} = \left(\frac{1}{2} \right)\begin{pmatrix}1 \\ 1\end{pmatrix} + \left(-\frac{1}{2} \right) \begin{pmatrix}1 \\ -1\end{pmatrix}, $ the first column of $M\_{B\_{2} B\_{1}}$ is $\begin{pmatrix}\frac{1}{2}\\ -\frac{1}{2}\end{pmatrix}$.
The second column is found in a similar way. We have $T \left( \begin{pmatrix}-1 \\ 1\end{pmatrix} \right) = \begin{pmatrix}1 \\ -1\end{pmatrix} , $ and with respect to $B_2$ calculate: $\begin{pmatrix}1 \\ -1\end{pmatrix} = 0 \begin{pmatrix}1 \\ 1\end{pmatrix} + 1 \begin{pmatrix}1 \\ -1\end{pmatrix} $ Hence the second column of $M\_{B\_{2} B\_{1}}$ is given by $\begin{pmatrix}0 \\ 1\end{pmatrix}$. We thus obtain $M\_{B\_{2} B\_{1}} = \begin{pmatrix}\frac{1}{2} & 0 \\ -\frac{1}{2} & 1\end{pmatrix} $
We can verify that this is the correct matrix $M\_{B\_{2} B\_{1}}$ on the specific example $\vec{v} = \begin{pmatrix}3 \\ -1\end{pmatrix} $ First applying $T$ gives $T( \vec{v} ) = T \left( \begin{pmatrix}3 \\ -1\end{pmatrix} \right) = \begin{pmatrix}-1\\ 3\end{pmatrix} $ and one can compute that $C\_{B_2} \left( \begin{pmatrix}-1 \\ 3\end{pmatrix} \right) = \begin{pmatrix}1\\ -2\end{pmatrix} $
On the other hand, one compute $C\_{B_1}( \vec{v})$ as $C\_{B_1} \left( \begin{pmatrix}3 \\ -1\end{pmatrix} \right) = \begin{pmatrix}2\\ -1\end{pmatrix} , $ and finally applying $M\_{B_1 B_2}$ gives $\begin{pmatrix}\frac{1}{2} & 0 \\ -\frac{1}{2} & 1\end{pmatrix} \begin{pmatrix}2 \\ -1\end{pmatrix} = \begin{pmatrix}1 \\ -2\end{pmatrix} $ as above.
We see that the same vector results from either method, as suggested by Theorem 2.
If the bases $B_1$ and $B_2$ are equal, say $B$, then we write $M\_{B}$ instead of $M\_{B B}$. The following example illustrates how to compute such a matrix. Note that this is what we did earlier when we considered only $B_1=B_2$ to be the standard basis.
Example 3: Matrix of a Linear Transformation with respect to an Arbitrary 示例 3:关于任意基的线性变换矩阵
Consider the basis $B$ of $\mathbb{R}^3$ given by $B = \left\{ \vec{v}\_1 , \vec{v}\_2, \vec{v}\_3 \right\} = \left\{ \begin{pmatrix}1 \\ 0 \\ 1\end{pmatrix} ,\begin{pmatrix}1 \\ 1 \\ 1\end{pmatrix} ,\begin{pmatrix}-1 \\ 1 \\ 0\end{pmatrix} \right\}nonumber $ And let $T :\mathbb{R}^{3}\mapsto \mathbb{R}^{3}$ be the linear transformation defined on $B$ as: $T\begin{pmatrix}1 \\ 0 \\ 1\end{pmatrix} =\begin{pmatrix}1 \\ -1 \\ 1\end{pmatrix} ,T \begin{pmatrix}1 \\ 1 \\ 1\end{pmatrix} =\begin{pmatrix}1 \\ 2 \\ -1\end{pmatrix} ,T\begin{pmatrix}-1 \\ 1 \\ 0\end{pmatrix} =\begin{pmatrix}0 \\ 1 \\ 1\end{pmatrix} $
- Find the matrix $M\_B$ of $T$ relative to the basis $B$.
- Then find the usual matrix of $T$ with respect to the standard basis of $\mathbb{R}^{3}$.
- 求 $T$ 关于基 $B$ 的矩阵 $M\_B$。
- 再求 $T$ 关于 $\mathbb{R}^{3}$ 标准基的通常矩阵。
Solution
Equation $\eqref{matrixequation}$ gives $C_BT=M\_{B}C_B$, and thus $M\_{B} = C_BTC^{-1}\_B$.
Now $C_B(\vec{v}\_i) = \vec{e}\_i$, so the matrix of $C_B^{-1}$ (with respect to the standard basis) is given by $\left[ C_B^{-1}(\vec{e}\_1) \quad C_B^{-1}(\vec{e}\_2) \quad C_B^{-1}(\vec{e}\_2) \right] = \begin{pmatrix}1 & 1 & -1 \\ 0 & 1 & 1 \\ 1 & 1 & 0\end{pmatrix} $ Moreover the matrix of $T C_B^{-1}$ is given by $\left[ TC_B^{-1}(\vec{e}\_1) \quad TC_B^{-1}(\vec{e}\_2) \quad TC_B^{-1}(\vec{e}\_2) \right] = \begin{pmatrix}1 & 1 & 0 \\ -1 & 2 & 1 \\ 1 & -1 & 1\end{pmatrix} $ Thus $\begin{array}{rcl} M_{B} & = & C_B T C^{-1}_B = (C_B^{-1})^{-1} (T C^{-1}_B) \\ & = & \begin{pmatrix}1 & 1 & -1 \\ 0 & 1 & 1 \\ 1 & 1 & 0\end{pmatrix}^{-1}\begin{pmatrix}1 & 1 & 0 \\ -1 & 2 & 1 \\ 1 & -1 & 1\end{pmatrix} \\ & = & \begin{pmatrix}2 & -5 & 1 \\ -1 & 4 & 0 \\ 0 & -2 & 1\end{pmatrix} \end{array}$
Consider how this works. Let $\vec{b} = \begin{pmatrix}b_1 \\ b_2 \\ b_3\end{pmatrix}$ be an arbitrary vector in $\mathbb{R}^3$.
Apply $C^{-1}\_{B}$ to $\vec{b}$ to get $b_1\begin{pmatrix}1 \\ 0 \\ 1\end{pmatrix} + b_2\begin{pmatrix}1 \\ 1 \\ 1\end{pmatrix} + b_3\begin{pmatrix}-1 \\ 1 \\ 0\end{pmatrix} $ Apply $T$ to this linear combination to obtain $b_1\begin{pmatrix}1 \\ -1 \\ 1\end{pmatrix} + b_2\begin{pmatrix}1 \\ 2 \\ -1\end{pmatrix} + b_3\begin{pmatrix}0 \\ 1 \\ 1\end{pmatrix} =\begin{pmatrix}b_1+b_2 \\ -b_1 + 2b_2+ b_3 \\ b_1-b_2+b_3\end{pmatrix} $ Now take the matrix $M\_{B}$ of the transformation (as found above) and multiply it by $\vec{b}$. $\begin{pmatrix}2 & -5 & 1 \\ -1 & 4 & 0 \\ 0 & -2 & 1\end{pmatrix} \begin{pmatrix}b_1 \\ b_2 \\ b_3\end{pmatrix} =\begin{pmatrix}2b_1-5b_2+b_3 \\ -b_1 + 4b_2 \\ -2b_2 + b_3\end{pmatrix} $ Is this the coordinate vector of the above relative to the given basis? We check as follows. $\left( 2b_1-5b_2+b_3\right) \begin{pmatrix}1 \\ 0 \\ 1\end{pmatrix} +\left( -b_1 + 4b_2\right) \begin{pmatrix}1 \\ 1 \\ 1\end{pmatrix} +\left( -2b_2+b_3\right) \begin{pmatrix}-1 \\ 1 \\ 0\end{pmatrix} $ $= \begin{pmatrix}b_1+b_2 \\ -b_1 + 2b_2+b_3 \\ b_1-b_2+b_3\end{pmatrix} $ You see it is the same thing.
Now lets find the matrix of $T$ with respect to the standard basis. Let $A$ be this matrix. That is, multiplication by $A$ is the same as doing $T$. Thus $A\begin{pmatrix}1 & 1 & -1 \\ 0 & 1 & 1 \\ 1 & 1 & 0\end{pmatrix} =\begin{pmatrix}1 & 1 & 0 \\ -1 & 2 & 1 \\ 1 & -1 & 1\end{pmatrix} $ Hence $A=\begin{pmatrix}1 & 1 & 0 \\ -1 & 2 & 1 \\ 1 & -1 & 1\end{pmatrix} \begin{pmatrix}1 & 1 & -1 \\ 0 & 1 & 1 \\ 1 & 1 & 0\end{pmatrix} ^{-1}=\begin{pmatrix}0 & 0 & 1 \\ 2 & 3 & -3 \\ -3 & -2 & 4\end{pmatrix} $ Of course this is a very different matrix than the matrix of the linear transformation with respect to the non standard basis.
Outcomes 学习目标
- Use linear transformations to determine the particular solution and general solution to a system of equations.
- Find the kernel of a linear transformation.
- 利用线性变换确定方程组的特解与通解。
- 求一个线性变换的核。
Recall the definition of a linear transformation discussed above. $T$ is a linear transformation if whenever $\vec{x}, \vec{y}$ are vectors and $k,p$ are scalars, $T\left( k\vec{x}+p\vec{y}\right) =k T \left( \vec{x} \right) +p T\left(\vec{y} \right) $ Thus linear transformations distribute across addition and pass scalars to the outside.
It turns out that we can use linear transformations to solve linear systems of equations. Indeed given a system of linear equations of the form $A\vec{x}=\vec{b}$, one may rephrase this as $T(\vec{x})=\vec{b}$ where $T$ is the linear transformation $T_A$ induced by the coefficient matrix $A$. With this in mind consider the following definition.
Definition 1: Particular Solution of a System of Equations 方程组的特解
Suppose a linear system of equations can be written in the form $T\left(\vec{x}\right)=\vec{b} $ If $T\left(\vec{x}\_{p}\right)=\vec{b},$ then $\vec{x}\_{p}$ is called a particular solution of the linear system.
Recall that a system is called homogeneous if every equation in the system is equal to $0$. Suppose we represent a homogeneous system of equations by $T\left(\vec{x}\right)=0$. It turns out that the $\vec{x}$ for which $T \left(\vec{x}\right) = 0$ are part of a special set called the null space of $T$. We may also refer to the null space as the kernel of $T$, and we write $ker\left(T\right)$.
Consider the following definition.
Definition 2: Null Space or Kernel of a Linear Transformation 线性变换的零空间或核
Let $T$ be a linear transformation. Define $\ker \left( T\right) = \left\{ \vec{x}:T \left(\vec{x} \right)= \vec{0} \right\}nonumber $ The kernel, $\ker \left( T\right)$ consists of the set of all vectors $\vec{x}$ for which $T (\vec{x}) = \vec{0}$. This is also called the null space of $T$.
We may also refer to the kernel of $T$ as the solution space of the equation $T \left(\vec{x}\right) = \vec{0}$.
Consider the following example.
Example 1: The Kernel of the Derivative 导数的核
Let $\frac{d}{dx}$ denote the linear transformation defined on $f,$ the functions which are defined on $\mathbb{R}$ and have a continuous derivative. Find $\ker \left( \frac{d}{dx}\right) .$
Solution
The example asks for functions $f$ which the property that $\frac{df}{dx} =0.$ As you may know from calculus, these functions are the constant functions. Thus $\ker \left( \frac{d}{dx}\right)$ is the set of constant functions.
Definition 2 states that $\ker \left( T\right)$ is the set of solutions to the equation, $T\left( \vec{x} \right) = \vec{0}$ Since we can write $T\left( \vec{x} \right)$ as $A\vec{x}$, you have been solving such equations for quite some time.
We have spent a lot of time finding solutions to systems of equations in general, as well as homogeneous systems. Suppose we look at a system given by $A\vec{x}=\vec{b}$, and consider the related homogeneous system. By this, we mean that we replace $\vec{b}$ by $\vec{0}$ and look at $A\vec{x}=\vec{0}$. It turns out that there is a very important relationship between the solutions of the original system and the solutions of the associated homogeneous system. In the following theorem, we use linear transformations to denote a system of equations. Remember that $T\left(\vec{x}\right) = A\vec{x}$.
Theorem 1: Particular Solution and General Solution 特解与通解
Suppose $\vec{x}\_{p}$ is a solution to the linear system given by , $T\left( \vec{x} \right) = \vec{b} $ Then if $\vec{y}$ is any other solution to $T\left(\vec{x}\right)=\vec{b}$, there exists $\vec{x}\_0 \in \ker \left( T\right)$ such that $\vec{y} = \vec{x}\_{p}+ \vec{x}\_0 $ Hence, every solution to the linear system can be written as a sum of a particular solution, $\vec{x}\_p$, and a solution $\vec{x}\_0$ to the associated homogeneous system given by $T\left(\vec{x}\right)=\vec{0}$.
Proof
Consider $\vec{y} - \vec{x}\_{p}= \vec{y} + \left( -1\right) \vec{x}\_{p}.$ Then $T\left( \vec{y} - \vec{x}\_{p}\right) =T\left(\vec{y}\right) -T\left( \vec{x}\_{p} \right)$. Since $\vec{y}$ and $\vec{x}\_{p}$ are both solutions to the system, it follows that $T\left(\vec{y}\right)= \vec{b}$ and $T\left(\vec{x}\_p\right) = \vec{b}$.
Hence, $T\left(\vec{y}\right)-T\left( \vec{x}\_{p} \right) =\vec{b} - \vec{b} = \vec{0}$. Let $\vec{x}\_0 = \vec{y} - \vec{x}\_{p}$. Then, $T\left(\vec{x}\_0\right)= \vec{0}$ so $\vec{x}\_0$ is a solution to the associated homogeneous system and so is in $\ker \left(T\right)$.
Sometimes people remember the above theorem in the following form. The solutions to the system $T\left(\vec{x}\right)=\vec{b}$ are given by $\vec{x}\_{p}+\ker \left( T\right)$ where $\vec{x}\_{p}$ is a particular solution to $T\left(\vec{x}\right)=\vec{b}$.
For now, we have been speaking about the kernel or null space of a linear transformation $T$. However, we know that every linear transformation $T$ is determined by some matrix $A$. Therefore, we can also speak about the null space of a matrix. Consider the following example.
Example 2: The Null Space of a Matrix 矩阵的零空间
Let $A=\begin{pmatrix}1 & 2 & 3 & 0 \\ 2 & 1 & 1 & 2 \\ 4 & 5 & 7 & 2\end{pmatrix} $ Find $\mathrm{null} \left( A\right)$. Equivalently, find the solutions to the system of equations $A\vec{x}=\vec{0}$.
Solution
We are asked to find $\left\{ \vec{x} : A\vec{x} = \vec{0}\right\} .$ In other words we want to solve the system, $A\vec{x}=\vec{0}$. Let $\vec{x} = \begin{pmatrix}x \\ y \\ z \\ w\end{pmatrix}.$ Then this amounts to solving $\begin{pmatrix}1 & 2 & 3 & 0 \\ 2 & 1 & 1 & 2 \\ 4 & 5 & 7 & 2\end{pmatrix} \begin{pmatrix}x \\ y \\ z \\ w\end{pmatrix} =\begin{pmatrix}0 \\ 0 \\ 0\end{pmatrix} $
This is the linear system $\begin{array}{c} x+2y+3z=0 $ 2x+y+z+2w=0 $ 4x+5y+7z+2w=0 \end{array} $ To solve, set up the augmented matrix and row reduce to find the reduced row-echelon form.
$$\left[\begin{array}{rrrr\|r}1 & 2 & 3 & 0 & 0 \\ 2 & 1 & 1 & 2 & 0 \\ 4 & 5 & 7 & 2 & 0\end{array}\right] \rightarrow \cdots \rightarrow \left[\begin{array}{rrrr\|r}1 & 0 & - \frac{1}{3} & \frac{4}{3} & 0 \\ 0 & 1 & \frac{5}{3} & - \frac{2}{3} & 0 \\ 0 & 0 & 0 & 0 & 0\end{array}\right]$$
This yields $x= \frac{1}{3}z- \frac{4}{3}w$ and $y= \frac{2}{3}w- \frac{5}{3}z.$ Since $\mathrm{null} \left( A\right)$ consists of the solutions to this system, it consists vectors of the form, $\begin{pmatrix}\frac{1}{3}z- \frac{4}{3}w \\ \frac{2}{3}w- \frac{5}{3}z \\ z \\ w\end{pmatrix} =z \begin{pmatrix}\frac{1}{3} \\ - \frac{5}{3} \\ 1 \\ 0\end{pmatrix} +w \begin{pmatrix}- \frac{4}{3} \\ \frac{2}{3} \\ 0 \\ 1\end{pmatrix} $
Consider the following example.
Example 3: A General Solution 通解
The general solution of a linear system of equations is the set of all possible solutions. Find the general solution to the linear system, $\begin{pmatrix}1 & 2 & 3 & 0 \\ 2 & 1 & 1 & 2 \\ 4 & 5 & 7 & 2\end{pmatrix} \begin{pmatrix}x \\ y \\ z \\ w\end{pmatrix} =\begin{pmatrix}9 \\ 7 \\ 25\end{pmatrix} $
given that $\begin{pmatrix}x \\ y \\ z \\ w\end{pmatrix}=\begin{pmatrix}1 \\ 1 \\ 2 \\ 1\end{pmatrix}$ is one solution.
Solution
Note the matrix of this system is the same as the matrix in Example 2. Therefore, from Theorem 1, you will obtain all solutions to the above linear system by adding a particular solution $\vec{x}\_p$ to the solutions of the associated homogeneous system, $\vec{x}$. One particular solution is given above by $\vec{x}\_p = \begin{pmatrix}x \\ y \\ z \\ w\end{pmatrix}=\begin{pmatrix}1 \\ 1 \\ 2 \\ 1\end{pmatrix} $
Using this particular solution along with the solutions found in Example 2, we obtain the following solutions, $z\begin{pmatrix}\frac{1}{3} \\ - \frac{5}{3} \\ 1 \\ 0\end{pmatrix} +w\begin{pmatrix}- \frac{4}{3} \\ \frac{2}{3} \\ 0 \\ 1\end{pmatrix} +\begin{pmatrix}1 \\ 1 \\ 2 \\ 1\end{pmatrix} $
Hence, any solution to the above linear system is of this form.
Exercise 1 习题 1
Show the map $T$: $\mathbb{R}^n \to \mathbb{R}^m$ defined by $T (\vec{x}) = A\vec{x}$ where $A$ is an $m\times n$ matrix and $\vec{x}$ is an $m\times 1$ column vector is a linear transformation.
Answer This result follows from the properties of matrix multiplication.
Exercise 2 习题 2
Show that the function $T_{\vec{u}}$ defined by $T_{\vec{u}} (\vec{v}) =\vec{v}−proj_{\vec{u}} (\vec{v})$ is also a linear transformation.
Answer $$\begin{aligned}T_{\vec{u}}(a\vec{v}+b\vec{w})&=a\vec{v}+b\vec{w}-\frac{(a\vec{v}+b\vec{w}\bullet\vec{u})}{\|\vec{u}\|^2}\vec{u} \\ &=a\vec{v}-a\frac{(\vec{v}\bullet\vec{u})}{\|\vec{u}\|^2}\vec{u}+b\vec{w}-b\frac{(\vec{w}\bullet\vec{u})}{\|\vec{u}\|^2}\vec{u} \\ &=aT_{\vec{u}}(\vec{v})+bT_{\vec{u}}(\vec{w})\end{aligned}$$
Exercise 3 习题 3
Let $\vec{u}$ be a fixed vector. The function $T_{\vec{u}}$ defined by $T_{\vec{u}}\vec{v} =\vec{u}+\vec{v}$ has the effect of translating all vectors by adding $\vec{u}\neq\vec{0}$. Show this is not a linear transformation. Explain why it is not possible to represent $T_{\vec{u}}$ in $\mathbb{R}^3$ by multiplying by a $3×3$ matrix.
Answer Linear transformations take $\vec{0}$ to $\vec{0}$ which $T$ does not. Also $T_{\vec{a}} (\vec{u}+\vec{v})\neq T_{\vec{a}}\vec{u}+T_{\vec{a}}\vec{v}$.
Exercise 4 习题 4
Consider the following functions which map $\mathbb{R}^n$ to $\mathbb{R}^n$.
- $T$ multiplies the $j$th component of $\vec{x}$ by a nonzero number $b$.
- $T$ replaces the $i$th component of $\vec{x}$ with $b$ times the $j$th component added to the $i$th component.
- $T$ switches the $i$th and $j$th components.
- $T$ 将 $\vec{x}$ 的第 $j$ 个分量乘以非零数 $b$。
- $T$ 将 $\vec{x}$ 的第 $i$ 个分量替换为第 $j$ 个分量的 $b$ 倍与该第 $i$ 个分量之和。
- $T$ 交换第 $i$ 个与第 $j$ 个分量。
Show these functions are linear transformations and describe their matrices $A$ such that $T (\vec{x}) = A\vec{x}$.
Answer
- The matrix of $T$ is the elementary matrix which multiplies the $j$th diagonal entry of the identity matrix by $b$.
- The matrix of $T$ is the elementary matrix which takes $b$ times the $j$th row and adds to the $i$th row.
- The matrix of $T$ is the elementary matrix which switches the $i$th and the $j$th rows where the two components are in the $i$th and $j$th positions.
- $T$ 的矩阵是将单位矩阵第 $j$ 个对角元乘以 $b$ 所得的初等矩阵。
- $T$ 的矩阵是将第 $j$ 行的 $b$ 倍加到第 $i$ 行所得的初等矩阵。
- $T$ 的矩阵是交换第 $i$ 行与第 $j$ 行(这两个分量分别位于第 $i$、第 $j$ 个位置)的初等矩阵。
Exercise 5 习题 5
You are given a linear transformation $T$: $\mathbb{R}^n \to \mathbb{R}^m$ and you know that $T(A_i)=B_i$ where $\left(A_1\cdots a_n\right)^{-1}$ exists. Show that the matrix of $T$ is of the form $B_1\cdots B_n\left(A_1\cdots A_n\right)^{-1}$.
Answer Suppose $\begin{pmatrix}\vec{c}_1^{T} \\ \vdots \\ \vec{c}_n^T\end{pmatrix}=\begin{pmatrix}\vec{a}_1&\cdots &\vec{a}_n\end{pmatrix}^{-1}$ Thus $\vec{c}_i^T\vec{a}_j=\delta_{ij}$. Therefore $\begin{aligned}\begin{pmatrix}\vec{b}_1&\cdots&\vec{b}_n\end{pmatrix}\begin{pmatrix}\vec{a}_1&\cdots&\vec{a}_n\end{pmatrix}^{-1}\vec{a}_i&=\begin{pmatrix}\vec{b}_1&\cdots&\vec{b}_n\end{pmatrix}\begin{pmatrix}\vec{c}_1^T \\ \vdots \\ \vec{c}_n^T\end{pmatrix}\vec{a}_i\\ &=\begin{pmatrix}\vec{b}_1&\cdots&\vec{b}_n\end{pmatrix}\vec{e}_i \\ &=\vec{b}_i\end{aligned}$ Thus $T\vec{a}_i=\begin{pmatrix}\vec{b}_1&\cdots&\vec{b}_n\end{pmatrix}\begin{pmatrix}\vec{a}_1&\cdots&\vec{a}_n\end{pmatrix}^{-1}\vec{a}_i=A\vec{a}_i$. If $\vec{x}$ is arbitrary, then since the matrix $\begin{pmatrix}\vec{a}_1&\cdots&\vec{a}_n\end{pmatrix}$ is invertible, there exists a unique $\vec{y}$ such that $\begin{pmatrix}\vec{a}_1&\cdots&\vec{a}_n\end{pmatrix}\vec{y}=\vec{x}$ Hence $T\vec{x}=T\left(\sum\limits_{i=1}^n y_i\vec{a}_i\right)=\sum\limits_{i=1}^n y_iT\vec{a}_i=\sum\limits_{i=1}^n y_iA\vec{a}_i=A\left(\sum\limits_{i=1}^ny_i\vec{a}_i\right)=A\vec{x}$
Exercise 6 习题 6
Suppose $T$ is a linear transformation such that $\begin{aligned}T\begin{pmatrix}1\\2\\-6\end{pmatrix}&=\begin{pmatrix}5\\1\\3\end{pmatrix} \\ T\begin{pmatrix}-1\\-1\\5\end{pmatrix}&=\begin{pmatrix}1\\1\\5\end{pmatrix} \\ T\begin{pmatrix}0\\-1\\2\end{pmatrix}&=\begin{pmatrix}5\\3\\-2\end{pmatrix}\end{aligned}$ Find the matrix of $T$. That is find $A$ such that $T(\vec{x}) = A\vec{x}$.
Answer $$\begin{pmatrix}5&1&5\\1&1&3\\3&5&-2\end{pmatrix}\begin{pmatrix}3&2&1\\2&2&1\\4&1&1\end{pmatrix}=\begin{pmatrix}37&17&11 \\ 17&7&5\\11&14&6\end{pmatrix}$$
Exercise 7 习题 7
Suppose $T$ is a linear transformation such that $\begin{aligned}T\begin{pmatrix}1\\1\\-8\end{pmatrix}&=\begin{pmatrix}1\\3\\1\end{pmatrix} \\ T\begin{pmatrix}-1\\0\\6\end{pmatrix}&=\begin{pmatrix}2\\4\\1\end{pmatrix} \\ T\begin{pmatrix}0\\-1\\3\end{pmatrix}&=\begin{pmatrix}6\\1\\-1\end{pmatrix}\end{aligned}$ Find the matrix of $T$. That is find $A$ such that $T(\vec{x})=A\vec{x}$.
Answer $$\begin{pmatrix}1&2&6\\3&4&1\\1&1&-1\end{pmatrix}\begin{pmatrix}6&3&1\\5&3&1\\6&2&1\end{pmatrix}=\begin{pmatrix}52&21&9\\44&23&8\\5&4&1\end{pmatrix}$$
Exercise 8 习题 8
Suppose $T$ is a linear transformation such that $\begin{aligned}T\begin{pmatrix}1\\3\\-7\end{pmatrix}&=\begin{pmatrix}-3\\1\\3\end{pmatrix} \\ T\begin{pmatrix}-1\\-2\\6\end{pmatrix}&=\begin{pmatrix}1\\3\\-3\end{pmatrix} \\ T\begin{pmatrix}0\\-1\\2\end{pmatrix}&=\begin{pmatrix}5\\3\\-3\end{pmatrix}\end{aligned}$ Find the matrix of $T$. That is find $A$ such that $T(\vec{x})=A\vec{x}$.
Answer $$\begin{pmatrix}-3&1&5\\1&3&3\\3&-3&-3\end{pmatrix}\begin{pmatrix}2&2&1\\1&2&1\\4&1&1\end{pmatrix}=\begin{pmatrix}15&1&3\\17&11&7\\-9&-3&-3\end{pmatrix}$$
Exercise 9 习题 9
Suppose $T$ is a linear transformation such that $\begin{aligned}T\begin{pmatrix}1\\1\\-7\end{pmatrix}&=\begin{pmatrix}3\\3\\3\end{pmatrix} \\ T\begin{pmatrix}-1\\0\\6\end{pmatrix}&=\begin{pmatrix}1\\2\\3\end{pmatrix} \\ T\begin{pmatrix}0\\-1\\2\end{pmatrix}&=\begin{pmatrix}1\\3\\-1\end{pmatrix}\end{aligned}$ Find the matrix of $T$. That is find $A$ such that $T(\vec{x})=A\vec{x}$.
Answer $$\begin{pmatrix}3&1&1\\3&2&3\\3&3&-1\end{pmatrix}\begin{pmatrix}6&2&1\\5&2&1\\6&1&1\end{pmatrix}=\begin{pmatrix}29&9&5\\46&13&8\\27&11&5\end{pmatrix}$$
Exercise 10 习题 10
Suppose $T$ is a linear transformation such that $\begin{aligned}T\begin{pmatrix}1\\2\\-18\end{pmatrix}&=\begin{pmatrix}5\\2\\5\end{pmatrix} \\ T\begin{pmatrix}-1\\-1\\15\end{pmatrix}&=\begin{pmatrix}3\\3\\5\end{pmatrix} \\ T\begin{pmatrix}0\\-1\\4\end{pmatrix}&=\begin{pmatrix}2\\5\\-2\end{pmatrix}\end{aligned}$ Find the matrix of $T$. That is find $A$ such that $T(\vec{x})=A\vec{x}$.
Answer $$\begin{pmatrix}5&3&2\\2&3&5\\5&5&-2\end{pmatrix}\begin{pmatrix}11&4&1\\10&4&1\\12&3&1\end{pmatrix}=\begin{pmatrix}109&38&10\\112&35&10\\81&34&8\end{pmatrix}$$
Exercise 11 习题 11
Consider the following functions $T : \mathbb{R}^3 \to \mathbb{R}^2$. Show that each is a linear transformation and determine for each the matrix $A$ such that $T(\vec{x}) = A\vec{x}$.
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}x+2y+3z \\ 2y-3x+z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}7x+2y+z \\ 3x-11y+2z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}3x+2y+z \\ x+2y+6z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}2y-5x+z \\ x+y+z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}x+2y+3z \\ 2y-3x+z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}7x+2y+z \\ 3x-11y+2z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}3x+2y+z \\ x+2y+6z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}2y-5x+z \\ x+y+z\end{pmatrix}$
Exercise 12 习题 12
Consider the following functions $T : \mathbb{R}^3 \to \mathbb{R}^2$. Explain why each of these functions $T$ is not linear.
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}x+2y+3z+1 \\ 2y-3x+z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}x+2y^2+3z \\ 2y+3x+z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}\sin x+2y+3z \\ 2y+3x+z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}x+2y+3z \\ 2y+3x-\ln z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}x+2y+3z+1 \\ 2y-3x+z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}x+2y^2+3z \\ 2y+3x+z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}\sin x+2y+3z \\ 2y+3x+z\end{pmatrix}$
- $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}x+2y+3z \\ 2y+3x-\ln z\end{pmatrix}$
Exercise 13 习题 13
Suppose $\left(A_1\cdots A_n\right)^{-1}$ exists where each $A_j ∈ \mathbb{R}^n$ and let vectors $B_1,\cdots ,B_n$ in $\mathbb{R}^m$ be given. Show that there always exists a linear transformation $T$ such that $T(A_i) = B_i$.
Exercise 14 习题 14
Find the matrix for $T (\vec{w}) = proj_{\vec{v}}(\vec{w})$ where $\vec{v}=\begin{pmatrix}1&-2&3\end{pmatrix}^T$.
Answer Recall that $proj_{\vec{u}}(\vec{v})=\frac{\vec{v}\bullet\vec{u}}{\|\vec{u}\|^2}\vec{u}$ and so the desired matrix has $i$th column equal to $proj_{\vec{u}}(\vec{e}_i)$. Therefore, the matrix desired is $\frac{1}{14}\begin{pmatrix}1&-2&3\\-2&4&-6\\3&-6&9\end{pmatrix}$
Exercise 15 习题 15
Find the matrix for $T (\vec{w}) = proj_{\vec{v}}(\vec{w})$ where $\vec{v}=\begin{pmatrix}1&5&3\end{pmatrix}^T$.
Answer $$\frac{1}{35}\begin{pmatrix}1&5&3\\5&25&15\\3&15&9\end{pmatrix}$$
Exercise 16 习题 16
Find the matrix for $T (\vec{w}) = proj_{\vec{v}}(\vec{w})$ where $\vec{v}=\begin{pmatrix}1&0&3\end{pmatrix}^T$.
Answer $$\frac{1}{10}\begin{pmatrix}1&0&3\\0&0&0\\3&0&9\end{pmatrix}$$
Exercise 17 习题 17
Show that if a function $T :\mathbb{R}^n \to \mathbb{R}^m$ is linear, then it is always the case that $T(\vec{0})=\vec{0}$.
Exercise 18 习题 18
Let $T$ be a linear transformation induced by the matrix $A=\begin{pmatrix}3&1\\-1&2\end{pmatrix}$ and $S$ a linear transformation induced by $B=\begin{pmatrix}0&-2\\4&2\end{pmatrix}$. Find matrix of $S\circ T$ and find $(S\circ T)(\vec{x})$ for $\vec{x}=\begin{pmatrix}2\\-1\end{pmatrix}$.
Answer The matrix of $S\circ T$ is given by $BA$. $\begin{pmatrix}0&-2\\4&2\end{pmatrix}\begin{pmatrix}3&1\\-1&2\end{pmatrix}=\begin{pmatrix}2&-4\\10&8\end{pmatrix}$ Now, $(S\circ T)(\vec{x})=(BA)\vec{x}$. $\begin{pmatrix}2&-4\\10&8\end{pmatrix}\begin{pmatrix}2\\-1\end{pmatrix}=\begin{pmatrix}8\\12\end{pmatrix}$
Exercise 19 习题 19
Let $T$ be a linear transformation and suppose $T\left(\begin{pmatrix}1\\-4\end{pmatrix}\right)=\begin{pmatrix}2\\-3\end{pmatrix}$. Suppose $S$ is a linear transformation induced by the matrix $B=\begin{pmatrix}1&2\\-1&3\end{pmatrix}$. Find $(S\circ T)(\vec{x})$ for $\vec{x}=\begin{pmatrix}1\\-4\end{pmatrix}$.
Answer To find $(S\circ T)(\vec{x})$ we compute $S(T(\vec{x}))$. $\begin{pmatrix}1&2\\-1&3\end{pmatrix}\begin{pmatrix}2\\-3\end{pmatrix}=\begin{pmatrix}-4\\-11\end{pmatrix}$
Exercise 20 习题 20
Let $T$ be a linear transformation induced by the matrix $A=\begin{pmatrix}2&3\\1&1\end{pmatrix}$ and $S$ a linear transformation induced by $B=\begin{pmatrix}-1&3\\1&-2\end{pmatrix}$. Find matrix of $S\circ T$ and find $(S\circ T)(\vec{x})$ for $\vec{x}=\begin{pmatrix}5\\6\end{pmatrix}$.
Exercise 21 习题 21
Let $T$ be a linear transformation induced by the matrix $A=\begin{pmatrix}2&1\\5&2\end{pmatrix}$. Find the matrix of $T^{-1}$.
Answer The matrix of $T^{-1}$ is $A^{-1}$. $\begin{pmatrix}2&1\\5&2\end{pmatrix}^{-1}=\begin{pmatrix}-2&1\\5&-2\end{pmatrix}$
Exercise 22 习题 22
Let $T$ be a linear transformation induced by the matrix $A=\begin{pmatrix}4&-3\\2&-2\end{pmatrix}$. Find the matrix of $T^{-1}$.
Exercise 23 习题 23
Let $T$ be a linear transformation and suppose $T\left(\begin{pmatrix}1\\2\end{pmatrix}\right)=\begin{pmatrix}9\\8\end{pmatrix},T\left(\begin{pmatrix}0\\-1\end{pmatrix}\right)=\begin{pmatrix}-4\\-3\end{pmatrix}$. Find the matrix of $T^{-1}$.
Exercise 24 习题 24
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ through an angle of $\pi/3$.
Answer $$\begin{pmatrix}\cos\left(\frac{\pi}{3}\right)&-\sin\left(\frac{\pi}{3}\right) \\ \sin\left(\frac{\pi}{3}\right)&\cos\left(\frac{\pi}{3}\right)\end{pmatrix}=\begin{pmatrix}\frac{1}{2}&-\frac{1}{2}\sqrt{3} \\ \frac{1}{2}\sqrt{3}&\frac{1}{2}\end{pmatrix}$$
Exercise 25 习题 25
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ through an angle of $\pi/4$.
Answer $$\begin{pmatrix}\cos\left(\frac{\pi}{4}\right)&-\sin\left(\frac{\pi}{4}\right) \\ \sin\left(\frac{\pi}{4}\right)&\cos\left(\frac{\pi}{4}\right)\end{pmatrix}=\begin{pmatrix}\frac{1}{2}\sqrt{2}&-\frac{1}{2}\sqrt{2} \\ \frac{1}{2}\sqrt{2}&\frac{1}{2}\sqrt{2}\end{pmatrix}$$
Exercise 26 习题 26
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ through an angle of $-\pi/3$.
Answer $$\begin{pmatrix}\cos\left(-\frac{\pi}{3}\right)&-\sin\left(-\frac{\pi}{3}\right) \\ \sin\left(-\frac{\pi}{3}\right)&\cos\left(-\frac{\pi}{3}\right)\end{pmatrix}=\begin{pmatrix}\frac{1}{2}&\frac{1}{2}\sqrt{3} \\ -\frac{1}{2}\sqrt{3}&\frac{1}{2}\end{pmatrix}$$
Exercise 27 习题 27
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ through an angle of $2\pi/3$.
Answer $$\begin{pmatrix}\cos\left(\frac{2\pi}{3}\right)&-\sin\left(\frac{2\pi}{3}\right) \\ \sin\left(\frac{2\pi}{3}\right)&\cos\left(\frac{2\pi}{3}\right)\end{pmatrix}=\begin{pmatrix}-\frac{1}{2}&-\frac{1}{2}\sqrt{3} \\ \frac{1}{2}\sqrt{3}&-\frac{1}{2}\end{pmatrix}$$
Exercise 28 习题 28
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ through an angle of $\pi/12$. Hint: Note that $\pi /12=\pi /3-\pi /4$.
Answer $$\begin{aligned}&\begin{pmatrix}\cos\left(\frac{\pi}{3}\right)&-\sin\left(\frac{\pi}{3}\right) \\ \sin\left(\frac{\pi}{3}\right)&\cos\left(\frac{\pi}{3}\right)\end{pmatrix}\begin{pmatrix}\cos\left(-\frac{\pi}{4}\right)&-\sin\left(-\frac{\pi}{4}\right) \\ \sin\left(-\frac{\pi}{4}\right)&\cos\left(-\frac{\pi}{4}\right)\end{pmatrix} \\ =&\begin{pmatrix}\frac{1}{4}\sqrt{2}\sqrt{3}+\frac{1}{4}\sqrt{2}&\frac{1}{4}\sqrt{2}-\frac{1}{4}\sqrt{2}\sqrt{3} \\ \frac{1}{4}\sqrt{2}\sqrt{3}-\frac{1}{4}\sqrt{2}&\frac{1}{4}\sqrt{2}\sqrt{3}+\frac{1}{4}\sqrt{2}\end{pmatrix}\end{aligned}$$
Exercise 29 习题 29
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ through an angle of $2\pi/3$ and then reflects across the $x$ axis.
Answer $$\begin{pmatrix}1&0\\0&-1\end{pmatrix}\begin{pmatrix}\cos\left(\frac{2\pi}{3}\right)&-\sin\left(\frac{2\pi}{3}\right) \\ \sin\left(\frac{2\pi}{3}\right)&\cos\left(\frac{2\pi}{3}\right)\end{pmatrix}=\begin{pmatrix}-\frac{1}{2}&-\frac{1}{2}\sqrt{3}\\-\frac{1}{2}\sqrt{3}&\frac{1}{2}\end{pmatrix}$$
Exercise 30 习题 30
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ through an angle of $\pi/3$ and then reflects across the $x$ axis.
Answer $$\begin{pmatrix}1&0\\0&-1\end{pmatrix}\begin{pmatrix}\cos\left(\frac{\pi}{3}\right)&-\sin\left(\frac{\pi}{3}\right) \\ \sin\left(\frac{\pi}{3}\right)&\cos\left(\frac{\pi}{3}\right)\end{pmatrix}=\begin{pmatrix}\frac{1}{2}&-\frac{1}{2}\sqrt{3}\\-\frac{1}{2}\sqrt{3}&-\frac{1}{2}\end{pmatrix}$$
Exercise 31 习题 31
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ through an angle of $\pi/4$ and then reflects across the $x$ axis.
Answer $$\begin{pmatrix}1&0\\0&-1\end{pmatrix}\begin{pmatrix}\cos\left(\frac{\pi}{4}\right)&-\sin\left(\frac{\pi}{4}\right) \\ \sin\left(\frac{\pi}{4}\right)&\cos\left(\frac{\pi}{4}\right)\end{pmatrix}=\begin{pmatrix}\frac{1}{2}\sqrt{2}&-\frac{1}{2}\sqrt{2}\\-\frac{1}{2}\sqrt{2}&-\frac{1}{2}\sqrt{2}\end{pmatrix}$$
Exercise 32 习题 32
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ through an angle of $\pi/6$ and then reflects across the $x$ axis followed by a reflection across the $y$ axis.
Answer $$\begin{pmatrix}-1&0\\0&1\end{pmatrix}\begin{pmatrix}\cos\left(\frac{\pi}{6}\right)&-\sin\left(\frac{\pi}{6}\right) \\ \sin\left(\frac{\pi}{6}\right)&\cos\left(\frac{\pi}{6}\right)\end{pmatrix}=\begin{pmatrix}-\frac{1}{2}\sqrt{3}&\frac{1}{2}\\ \frac{1}{2}&\frac{1}{2}\sqrt{3}\end{pmatrix}$$
Exercise 33 习题 33
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ across the $x$ axis and then rotates every vector through an angle of $\pi /4$.
Answer $$\begin{pmatrix}\cos\left(\frac{\pi}{4}\right)&-\sin\left(\frac{\pi}{4}\right) \\ \sin\left(\frac{\pi}{4}\right)&\cos\left(\frac{\pi}{4}\right)\end{pmatrix}\begin{pmatrix}1&0\\0&-1\end{pmatrix}=\begin{pmatrix}\frac{1}{2}\sqrt{2}&\frac{1}{2}\sqrt{2} \\ \frac{1}{2}\sqrt{2}&-\frac{1}{2}\sqrt{2}\end{pmatrix}$$
Exercise 34 习题 34
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ across the $y$ axis and then rotates every vector through an angle of $\pi /4$.
Answer $$\begin{pmatrix}\cos\left(\frac{\pi}{4}\right)&-\sin\left(\frac{\pi}{4}\right) \\ \sin\left(\frac{\pi}{4}\right)&\cos\left(\frac{\pi}{4}\right)\end{pmatrix}\begin{pmatrix}-1&0\\0&1\end{pmatrix}=\begin{pmatrix}-\frac{1}{2}\sqrt{2}&-\frac{1}{2}\sqrt{2} \\ -\frac{1}{2}\sqrt{2}&\frac{1}{2}\sqrt{2}\end{pmatrix}$$
Exercise 35 习题 35
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ across the $x$ axis and then rotates every vector through an angle of $\pi /6$.
Answer $$\begin{pmatrix}\cos\left(\frac{\pi}{6}\right)&-\sin\left(\frac{\pi}{6}\right) \\ \sin\left(\frac{\pi}{6}\right)&\cos\left(\frac{\pi}{6}\right)\end{pmatrix}\begin{pmatrix}1&0\\0&-1\end{pmatrix}=\begin{pmatrix}\frac{1}{2}\sqrt{3}&\frac{1}{2} \\ \frac{1}{2}&-\frac{1}{2}\sqrt{3}\end{pmatrix}$$
Exercise 36 习题 36
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ across the $y$ axis and then rotates every vector through an angle of $\pi /6$.
Answer $$\begin{pmatrix}\cos\left(\frac{\pi}{6}\right)&-\sin\left(\frac{\pi}{6}\right) \\ \sin\left(\frac{\pi}{6}\right)&\cos\left(\frac{\pi}{6}\right)\end{pmatrix}\begin{pmatrix}-1&0\\0&1\end{pmatrix}=\begin{pmatrix}-\frac{1}{2}\sqrt{3}&-\frac{1}{2} \\ -\frac{1}{2}&\frac{1}{2}\sqrt{3}\end{pmatrix}$$
Exercise 37 习题 37
Find the matrix for the linear transformation which rotates every vector in $\mathbb{R}^2$ through an angle of $5\pi /12$. Hint: Note that $5\pi /12=2\pi /3-\pi /4$.
Answer $\begin{pmatrix}\cos\left(\frac{2\pi}{3}\right)&-\sin\left(\frac{2\pi}{3}\right) \\ \sin\left(\frac{2\pi}{3}\right)&\cos\left(\frac{2\pi}{3}\right)\end{pmatrix}\begin{pmatrix}\cos\left(-\frac{\pi}{4}\right)&-\sin\left(-\frac{\pi}{4}\right) \\ \sin\left(-\frac{\pi}{4}\right)&\cos\left(-\frac{\pi}{4}\right)\end{pmatrix}=$ $\begin{pmatrix}\frac{1}{4}\sqrt{2}\sqrt{3}-\frac{1}{4}\sqrt{2}&-\frac{1}{4}\sqrt{2}\sqrt{3}-\frac{1}{4}\sqrt{2} \\ \frac{1}{4}\sqrt{2}\sqrt{3}+\frac{1}{4}\sqrt{2}&\frac{1}{4}\sqrt{2}\sqrt{3}-\frac{1}{4}\sqrt{2}\end{pmatrix}$ Note that it doesn't matter about the order in this case.
Exercise 38 习题 38
Find the matrix of the linear transformation which rotates every vector in $\mathbb{R}^3$ counter clockwise about the $z$ axis when viewed from the positive $z$ axis through an angle of $30^\circ$ and then reflects through the $xy$ plane.
Answer $$\begin{pmatrix}1&0&0\\0&1&0\\0&0&-1\end{pmatrix}\begin{pmatrix}\cos\left(\frac{\pi}{6}\right)&-\sin\left(\frac{\pi}{6}\right)&0 \\ \sin\left(\frac{\pi}{6}\right)&\cos\left(\frac{\pi}{6}\right)&0 \\ 0&0&1\end{pmatrix}=\begin{pmatrix}\frac{1}{2}\sqrt{3}&-\frac{1}{2}&0\\ \frac{1}{2}&\frac{1}{2}\sqrt{3}&0\\0&0&-1\end{pmatrix}$$
Exercise 39 习题 39
Let $\vec{u}=\begin{pmatrix}a\\b\end{pmatrix}$ be a unit vector in $\mathbb{R}^2$. Find the matrix which reflects all vectors across this vector, as shown in the following picture.
[figure]
Figure 1. Hint: Notice that $\begin{pmatrix}a\\b\end{pmatrix}=\begin{pmatrix}\cos\theta \\ \sin\theta\end{pmatrix}$ for some $\theta$. First rotate through $-\theta$. Next reflect through the $x$ axis. Finally rotate through $\theta$.
Answer $$\begin{aligned}&\begin{pmatrix}\cos (\theta )&-\sin(\theta) \\ \sin(\theta)&\cos(\theta)\end{pmatrix}\begin{pmatrix}1&0\\0&-1\end{pmatrix}\begin{pmatrix}\cos(-\theta)&-\sin(\theta) \\ \sin(-\theta)&\cos(-\theta)\end{pmatrix} \\ =&\begin{pmatrix}\cos^2\theta-\sin^2\theta &2\cos\theta\sin\theta \\ 2\cos\theta\sin\theta&\sin^2\theta-\cos^2\theta\end{pmatrix}\end{aligned}$$ Now to write in terms of $a,b$, note that $a/\sqrt{a^2+b^2}=\cos\theta$, $b/\sqrt{a^2+b^2}=\sin\theta$. Now plug this in to the above. The result is $$\begin{pmatrix}\frac{a^2-b^2}{a^2+b^2}&2\frac{ab}{a^2+b^2} \\ 2\frac{ab}{a^2+b^2}&\frac{b^2-a^2}{a^2+b^2}\end{pmatrix}=\frac{1}{a^2+b^2}\begin{pmatrix}a^2-b^2&2ab \\ 2ab&b^2-a^2\end{pmatrix}$$ Since this is a unit vector, $a^2+b^2=1$ and so you get $$\begin{pmatrix}a^2-b^2&2ab \\ 2ab&b^2-a^2\end{pmatrix}$$
Exercise 40 习题 40
Let $T$ be a linear transformation given by $T\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}2&1\\0&1\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}$ Is $T$ one to one? Is $T$ onto?
Exercise 41 习题 41
Let $T$ be a linear transformation given by $T\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}-1&2\\2&1\\1&4\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}$ Is $T$ one to one? Is $T$ onto?
Exercise 42 习题 42
Let $T$ be a linear transformation given by $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}2&0&1\\1&2&-1\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}$ Is $T$ one to one? Is $T$ onto?
Exercise 43 习题 43
Let $T$ be a linear transformation given by $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}1&3&-5\\2&0&2\\2&4&-6\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}$ Is $T$ one to one? Is $T$ onto?
Exercise 44 习题 44
Give an example of a $3\times 2$ matrix with the property that the linear transformation determined by this matrix is one to one but not onto.
Answer $$\begin{pmatrix}1&0\\0&1\\0&0\end{pmatrix}$$
Exercise 45 习题 45
Suppose $A$ is an $m\times n$ matrix in which $m ≤ n$. Suppose also that the rank of $A$ equals $m$. Show that the transformation $T$ determined by $A$ maps $\mathbb{R}^n$ onto $\mathbb{R}^m$. Hint: The vectors $\vec{e}_1,\cdots ,\vec{e}_m$ occur as columns in the reduced row-echelon form for $A$.
Answer This says that the columns of $A$ have a subset of $m$ vectors which are linearly independent. Therefore, this set of vectors is a basis for $\mathbb{R}^m$. It follows that the span of the columns is all of $\mathbb{R}^m$. Thus $A$ is onto.
Exercise 46 习题 46
Suppose $A$ is an $m\times n$ matrix in which $m ≥ n$. Suppose also that the rank of $A$ equals $n$. Show that $A$ is one to one. Hint: If not, there exists a vector, $\vec{x}$ such that $A\vec{x} = 0$, and this implies at least one column of $A$ is a linear combination of the others. Show this would require the rank to be less than $n$.
Answer The columns are independent. Therefore, $A$ is one to one.
Exercise 47 习题 47
Explain why an $n\times n$ matrix $A$ is both one to one and onto if and only if its rank is $n$.
Answer The rank is $n$ is the same as saying the columns are independent which is the same as saying $A$ is one to one which is the same as saying the columns are a basis. Thus the span of the columns of $A$ is all of $\mathbb{R}^n$ and so $A$ is onto. If $A$ is onto, then the columns must be linearly independent since otherwise the span of these columns would have dimension less than $n$ and so the dimension of $\mathbb{R}^n$ would be less than $n$.
Exercise 48 习题 48
Let $V$ and $W$ be subspaces of $\mathbb{R}^n$ and $\mathbb{R}^m$ respectively and let $T : V \to W$ be a linear transformation. Suppose that $\vec{v}_1,\cdots ,\vec{v}_r$ is linearly independent. Show that it must be the case that $T\vec{v}_1,\cdots ,T\vec{v}_r$ is also linearly independent.
Answer If $\sum_i^r a_i\vec{v}_r=0$, then using linearity properties of $T$ we get $0=T(0)=T\left(\sum\limits_i^ra_i\vec{v}_r\right)=\sum\limits_i^ra_iT(\vec{v}_r)$. Since we assume that $T\vec{v}_a,\cdots ,T\vec{v}_r$ is linearly independent, we must have all $a_i = 0$, and therefore we conclude that $\vec{v}_1,\cdots ,\vec{v}_r$ is also linearly independent.
Exercise 49 习题 49
Let $V=span\left\{\begin{array}{c}1\\1\\2\\0\end{array}\right],\begin{pmatrix}0\\1\\1\\1\end{pmatrix},\begin{pmatrix}1\\1\\0\\1\end{pmatrix}\right\}$. Let $T\vec{x}=A\vec{x}$ where $A$ is the matrix $\begin{pmatrix}1&1&1&1\\0&1&1&0\\0&1&2&1\\1&1&1&2\end{pmatrix}$ Give a basis for $im(T)$.
Exercise 50 习题 50
Let $V=span\left\{\begin{array}{c}1\\0\\0\\1\end{array}\right],\begin{pmatrix}1\\1\\1\\1\end{pmatrix},\begin{pmatrix}1\\4\\4\\1\end{pmatrix}\right\}$. Let $T\vec{x}=A\vec{x}$ where $A$ is the matrix $\begin{pmatrix}1&1&1&1\\0&1&1&0\\0&1&2&1\\1&1&1&2\end{pmatrix}$ Find a basis for $im(T)$. In this case, the original vectors do not form an independent set.
Answer Since the third vector is a linear combinations of the first two, then the image of the third vector will also be a linear combinations of the image of the first two. However the image of the first two vectors are linearly independent (check!), and hence form a basis of the image. Thus a basis for $im(T)$ is: $V=span\left\{\begin{array}{c}2\\0\\1\\3\end{array}\right],\begin{pmatrix}4\\2\\4\\5\end{pmatrix}\right\}$.
Exercise 51 习题 51
If $\vec{v}_1,\cdots ,\vec{v}_r$ is linearly independent and $T$ is a one to one linear transformation, show that $T\vec{v}_1,\cdots ,T\vec{v}_r$ is also linearly independent. Give an example which shows that if $T$ is only linear, it can happen that, although $\vec{v}_1,\cdots ,\vec{v}_r$ is linearly independent, $T\vec{v}_1,\cdots ,T\vec{v}_r$ is not. In fact, show that it can happen that each of the $T\vec{v}_j$ equals $0$.
Exercise 52 习题 52
Let $V$ and $W$ be subspaces of $\mathbb{R}^n$ and $\mathbb{R}^m$ respectively and let $T : V \to W$ be a linear transformation. Show that if $T$ is onto $W$ and if $\vec{v}_1,\cdots ,\vec{v}_r$ is a basis for $V$, then $\operatorname{span}\left\{T\vec{v}_1,\cdots ,T\vec{v}_r\right\} = W$.
Exercise 53 习题 53
Define $T$: $\mathbb{R}^4\to\mathbb{R}^3$ as follows. $T\vec{x}=\begin{pmatrix}3&2&1&8\\2&2&-2&6\\1&1&-1&3\end{pmatrix}\vec{x}$ Find a basis for $im(T)$. Also find a basis for $\text{ker}(T)$.
Exercise 54 习题 54
Define $T$: $\mathbb{R}^3\to\mathbb{R}^3$ as follows. $T\vec{x}=\begin{pmatrix}1&2&0\\1&1&1\\0&1&1\end{pmatrix}\vec{x}$ where on the right, it is just matrix multiplication of the vector $\vec{x}$ which is meant. Explain why $T$ is an isomorphism of $\mathbb{R}^3$ to $\mathbb{R}^3$.
Exercise 55 习题 55
Suppose $T$: $\mathbb{R}^3\to\mathbb{R}^3$ is a linear transformation given by $T\vec{x}=A\vec{x}$ where $A$ is a $3\times 3$ matrix. Show that $T$ is an isomorphism if and only if $A$ is invertible.
Exercise 56 习题 56
Suppose $T$: $\mathbb{R}^n\to\mathbb{R}^m$ is a linear transformation given by $T\vec{x}=A\vec{x}$ where $A$ is an $m\times n$ matrix. Show that $T$ is never an ismorphism if $m\neq n$. In particular, show that if $m>n$, $T$ cannot be onto and if $m Define $T$: $\mathbb{R}^2\to\mathbb{R}^3$ as follows. $T\vec{x}=\begin{pmatrix}1&0\\1&1\\0&1\end{pmatrix}\vec{x}$ where on the right, it is just matrix multiplication of the vector $\vec{x}$ which is meant. Show that $T$ is one to one. Next let $W = im(T)$. Show that $T$ is an isomorphism of $\mathbb{R}^2$ and $im (T)$. In the above problem, find a $2\times 3$ matrix $A$ such that the restriction of $A$ to $im(T)$ gives the same result as $T^{-1}$ on $im(T)$. Hint: You might let $A$ be such that $A\begin{pmatrix}1\\1\\0\end{pmatrix}=\begin{pmatrix}1\\0\end{pmatrix},A\begin{pmatrix}0\\1\\1\end{pmatrix}=\begin{pmatrix}0\\1\end{pmatrix}$ now find another vector $\vec{v}\in\mathbb{R}^3$ such that $\left\{\begin{array}{c}1\\1\\0\end{array}\right],\begin{pmatrix}0\\1\\1\end{pmatrix},\vec{v}\right\}$ is a basis. You could pick $\vec{v}=\begin{pmatrix}0\\0\\1\end{pmatrix}$ for example. Explain why this one works or one of your choice works. Then you could define $A\vec{v}$ to equal some vector in $\mathbb{R}^2$. Explain why there will be more than one such matrix $A$ which will deliver the inverse isomorphism $T^{-1}$ on $im(T)$. Now let $V=span\left\{\begin{array}{c}1\\0\\1\end{array}\right],\begin{pmatrix}0\\1\\1\end{pmatrix}\right\}$ and let $T$: $V\to W$ be a linear transformation where $W=span\left\{\begin{array}{c}1\\0\\1\\0\end{array}\right],\begin{pmatrix}0\\1\\1\\1\end{pmatrix}\right\}$ and $T\begin{pmatrix}1\\0\\1\end{pmatrix}=\begin{pmatrix}1\\0\\1\\0\end{pmatrix},T\begin{pmatrix}0\\1\\1\end{pmatrix}=\begin{pmatrix}0\\1\\1\\1\end{pmatrix}$ Explain why $T$ is an isomorphism. Determine a matrix $A$ which, when multiplied on the left gives the same result as $T$ on $V$ and a matrix $B$ which delivers $T^{−1}$ on $W$. Hint: You need to have $A\begin{pmatrix}1&0\\0&1\\1&1\end{pmatrix}=\begin{pmatrix}1&0\\0&1\\1&1\\0&1\end{pmatrix}$ Now enlarge $\begin{pmatrix}1\\0\\1\end{pmatrix},\begin{pmatrix}0\\1\\1\end{pmatrix}$ to obtain a basis for $\mathbb{R}^3$. You could add in $\begin{pmatrix}0\\0\\1\end{pmatrix}$ for example, and then pick another vector in $\mathbb{R}^4$ and let $A\begin{pmatrix}0\\0\\1\end{pmatrix}$ equal this other vector. Then you would have $A\begin{pmatrix}1&0&0\\0&1&0\\1&1&1\end{pmatrix}=\begin{pmatrix}1&0&0\\0&1&0\\1&1&0\\0&1&1\end{pmatrix}$ This would involve picking for the new vector in $\mathbb{R}^4$ the vector $\begin{pmatrix}0&0&0&1\end{pmatrix}^T$. Then you could find $A$. You can do something similar to find a matrix for $T^{−1}$ denoted as $B$. Let $V=\mathbb{R}^3$ and let $W=span(S),\text{ where }S=\left\{\begin{array}{r}1\\-1\\1\end{array}\right],\begin{pmatrix}-2\\2\\-2\end{pmatrix},\begin{pmatrix}-1\\1\\1\end{pmatrix},\begin{pmatrix}1\\-1\\3\end{pmatrix}\right\}$. Find a basis of $W$ consisting of vectors in $S$. Answer In this case $\text{dim}(W) = 1$ and a basis for $W$ consisting of vectors in $S$ can be obtained by taking any (nonzero) vector from $S$. Let $T$ be a linear transformation given by $T\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}1&1\\1&1\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}$ Find a basis for $\text{ker}(T)$ and $im(T)$. Answer A basis for $\text{ker}(T)$ is $\left\{\begin{array}{r}1\\-1\end{array}\right\}$ and a basis for $im(T)$ is $\left\{\begin{array}{c}1\\1\end{array}\right\}$. There are many other possibilities for the specific bases, but in this case $\text{dim}(\text{ker}(T))=1$ and $\text{dim}(im(T))=1$. Let $T$ be a linear transformation given by $T\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}1&0\\1&1\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}$ Find a basis for $\text{ker}(T)$ and $im(T)$. Answer In this case $\text{ker}(T)=0$ and $im(T)=\mathbb{R}^2$ (pick any basis of $\mathbb{R}^2$). Let $V=\mathbb{R}^3$ and let $W=span\left\{\begin{array}{c}1\\1\\1\end{array}\right],\begin{pmatrix}-1\\2\\-1\end{pmatrix}\right\}$. Extend this basis of $W$ to a basis of $V$. Answer There are many possible such extensions, one is (how do we know?): $\left\{\begin{array}{c}1\\1\\1\end{array}\right],\begin{pmatrix}-1\\2\\-1\end{pmatrix},\begin{pmatrix}0\\0\\1\end{pmatrix}\right\}$. Let $T$ be a linear transformation given by $T\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}1&1&1\\1&1&1\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}$ What is $\text{dim}(\text{ker}(T))$? Answer We can easily see that $\text{dim}(im(T))=1$, and thus $\text{dim}(\text{ker}(T))=3-\text{dim}(im(T))=3-1=2$. Let $B=\left\{\begin{array}{r}2\\-1\end{array}\right],\begin{pmatrix}3\\2\end{pmatrix}\right\}$ be a basis of $\mathbb{R}^2$ and let $\vec{x}=\begin{pmatrix}5\\-7\end{pmatrix}$ be a vector in $\mathbb{R}^2$. Find $C_B(\vec{x})$. Let $B=\left\{\begin{array}{r}1\\-1\\2\end{array}\right],\begin{pmatrix}2\\1\\2\end{pmatrix},\begin{pmatrix}-1\\0\\2\end{pmatrix}\right\}$ be a basis of $\mathbb{R}^3$ and let $\vec{x}=\begin{pmatrix}5\\-1\\4\end{pmatrix}$ be a vector in $\mathbb{R}^2$. Find $C_B(\vec{x})$. Answer $$C_B(\vec{x})=\begin{pmatrix}2\\1\\-1\end{pmatrix}$$ Let $T$: $\mathbb{R}^2\to\mathbb{R}^2$ be a linear transformation defined by $T\left(\begin{pmatrix}a\\b\end{pmatrix}\right)=\begin{pmatrix}a+b\\a-b\end{pmatrix}$. Consider the two bases $B_1=\vec{v}_1,\vec{v}_2=\left\{\begin{array}{c}1\\0\end{array}\right],\begin{pmatrix}-1\\1\end{pmatrix}\right\}$ and $B_2=\left\{\begin{array}{c}1\\1\end{array}\right],\begin{pmatrix}1\\-1\end{pmatrix}\right\}$. Find the matrix $M_{B_2,B_1}$ of $T$ with respect to the bases $B_1$ and $B_2$. Answer $$M_{B_2B_1}=\begin{pmatrix}1&0\\-1&1\end{pmatrix}$$ Write the solution set of the following system as a linear combination of vectors $\begin{pmatrix}1&-1&2\\1&-2&1\\3&-4&5\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}0\\0\\0\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}-3\hat{t} \\ -\hat{t} \\ \hat{t}\end{pmatrix}$, $\hat{t}_3\in\mathbb{R}$. A basis for the solution space is $\begin{pmatrix}-3\\-1\\1\end{pmatrix}$. Using Exercise 68 find the general solution to the following linear system. $\begin{pmatrix}1&-1&2\\1&-2&1\\3&-4&5\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}1\\2\\4\end{pmatrix}$. Answer Note that this has the same matrix as the above problem. Solution is: $\begin{pmatrix}-3\hat{t}_3 \\ -\hat{t}_3 \\ \hat{t}_3\end{pmatrix}+\begin{pmatrix}0\\-1\\0\end{pmatrix}$, $\hat{t}_3\in\mathbb{R}$. Write the solution set of the following system as a linear combination of vectors $\begin{pmatrix}0&-1&2\\1&-2&1\\1&-4&5\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}0\\0\\0\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}3\hat{t} \\ 2\hat{t} \\ \hat{t}\end{pmatrix}$, A basis is $\begin{pmatrix}3\\2\\1\end{pmatrix}$. Using Exercise 70 find the general solution to the following linear system. $\begin{pmatrix}0&-1&2\\1&-2&1\\1&-4&5\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}1\\-1\\1\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}3\hat{t} \\ 2\hat{t} \\ \hat{t}\end{pmatrix} +\begin{pmatrix}-3\\-1\\0\end{pmatrix}$, $\hat{t}\in\mathbb{R}$. Write the solution set of the following system as a linear combination of vectors $\begin{pmatrix}1&-1&2\\1&-2&0\\3&-4&4\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}0\\0\\0\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}-4\hat{t} \\ -2\hat{t} \\ \hat{t}\end{pmatrix}$. A basis is $\begin{pmatrix}-4\\-2\\1\end{pmatrix}$. Using Exercise 72 find the general solution to the following linear system. $\begin{pmatrix}1&-1&2\\1&-2&0\\3&-4&4\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}1\\2\\4\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}-4\hat{t} \\ -2\hat{t} \\ \hat{t}\end{pmatrix}+\begin{pmatrix}0\\-1\\0\end{pmatrix}$, $\hat{t}\in\mathbb{R}$. Write the solution set of the following system as a linear combination of vectors $\begin{pmatrix}0&-1&2\\1&0&1\\1&-2&5\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}0\\0\\0\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}-\hat{t} \\ 2\hat{t} \\ \hat{t}\end{pmatrix}$, $\hat{t}\in\mathbb{R}$. Using Exercise 74 find the general solution to the following linear system. $\begin{pmatrix}0&-1&2\\1&0&1\\1&-2&5\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}1\\-1\\1\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}-\hat{t} \\ 2\hat{t} \\ \hat{t}\end{pmatrix}+\begin{pmatrix}-1\\-1\\0\end{pmatrix}$. Write the solution set of the following system as a linear combination of vectors $\begin{pmatrix}1&0&1&1\\1&-1&1&0\\3&-1&3&2\\3&3&0&3\end{pmatrix}\begin{pmatrix}x\\y\\z\\w\end{pmatrix}=\begin{pmatrix}0\\0\\0\\0\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}0\\ -\hat{t} \\ -\hat{t} \\ \hat{t}\end{pmatrix}$, $\hat{t}\in\mathbb{R}$. Using Exercise 76 find the general solution to the following linear system. $\begin{pmatrix}1&0&1&1\\1&-1&1&0\\3&-1&3&2\\3&3&0&3\end{pmatrix}\begin{pmatrix}x\\y\\z\\w\end{pmatrix}=\begin{pmatrix}1\\2\\4\\3\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}0\\ -\hat{t} \\ -\hat{t} \\ \hat{t}\end{pmatrix}+\begin{pmatrix}2\\-1\\-1\\0\end{pmatrix}$. Write the solution set of the following system as a linear combination of vectors $\begin{pmatrix}1&1&0&1\\2&1&1&2\\1&0&1&1\\0&0&0&0\end{pmatrix}\begin{pmatrix}x\\y\\z\\w\end{pmatrix}=\begin{pmatrix}0\\0\\0\\0\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}-s-t \\ s\\s\\t\end{pmatrix}$, $s,t\in\mathbb{R}$. A basis is $\left\{\begin{array}{r}-1\\1\\1\\0\end{array}\right],\begin{pmatrix}-1\\0\\0\\1\end{pmatrix}\right\}$. Using Exercise 78 find the general solution to the following linear system. $\begin{pmatrix}1&1&0&1\\2&1&1&2\\1&0&1&1\\0&-1&1&1\end{pmatrix}\begin{pmatrix}x\\y\\z\\w\end{pmatrix}=\begin{pmatrix}2\\-1\\-3\\0\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}-\hat{t}\\ \hat{t} \\ \hat{t}\\0\end{pmatrix}+\begin{pmatrix}-8\\5\\0\\5\end{pmatrix}$. Write the solution set of the following system as a linear combination of vectors $\begin{pmatrix}1&1&0&1\\1&-1&1&0\\3&1&1&2\\3&3&0&3\end{pmatrix}\begin{pmatrix}x\\y\\z\\w\end{pmatrix}=\begin{pmatrix}0\\0\\0\\0\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}-\frac{1}{2}s-\frac{1}{2}t \\ \frac{1}{2}s-\frac{1}{2}t \\ s\\t\end{pmatrix}$ for $s,t\in\mathbb{R}$. A basis is $\left\{\begin{array}{r}-1\\1\\2\\0\end{array}\right],\begin{pmatrix}-1\\1\\0\\1\end{pmatrix}\right\}$. Using Exercise 80 find the general solution to the following linear system. $\begin{pmatrix}1&1&0&1\\1&-1&1&0\\3&1&1&2\\3&3&0&3\end{pmatrix}\begin{pmatrix}x\\y\\z\\w\end{pmatrix}=\begin{pmatrix}1\\2\\4\\3\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}\frac{3}{2} \\ -\frac{1}{2}\\0\\0\end{pmatrix}+\begin{pmatrix}-\frac{1}{2}s-\frac{1}{2}t \\ \frac{1}{2}s-\frac{1}{2}t \\ s\\t\end{pmatrix}$. Write the solution set of the following system as a linear combination of vectors $\begin{pmatrix}1&1&0&1\\2&1&1&2\\1&0&1&1\\0&-1&1&1\end{pmatrix}\begin{pmatrix}x\\y\\z\\w\end{pmatrix}=\begin{pmatrix}0\\0\\0\\0\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}-\hat{t} \\ \hat{t} \\ \hat{t}\\0\end{pmatrix}$, a basis is $\begin{pmatrix}1\\1\\1\\0\end{pmatrix}$. Using Exercise 82 find the general solution to the following linear system. $\begin{pmatrix}1&1&0&1\\2&1&1&2\\1&0&1&1\\0&-1&1&1\end{pmatrix}\begin{pmatrix}x\\y\\z\\w\end{pmatrix}=\begin{pmatrix}2\\-1\\-3\\1\end{pmatrix}$. Answer Solution is: $\begin{pmatrix}-\hat{t} \\ \hat{t} \\ \hat{t}\\0\end{pmatrix}+\begin{pmatrix}-9\\5\\0\\6\end{pmatrix}$, $t\in\mathbb{R}$. Suppose $A\vec{x}=\vec{b}$ has a solution. Explain why the solution is unique precisely when $A\vec{x}=\vec{0}$ has only the trivial solution. Answer If not, then there would be a infintely many solutions to $A\vec{x}=\vec{0}$ and each of these added to a solution to $A\vec{x}=\vec{b}$ would be a solution to $A\vec{x}=\vec{b}$.Exercise 57 习题 57
Exercise 58 习题 58
Exercise 59 习题 59
Exercise 60 习题 60
Exercise 61 习题 61
Exercise 62 习题 62
Exercise 63 习题 63
Exercise 64 习题 64
Exercise 65 习题 65
Exercise 66 习题 66
Exercise 67 习题 67
Exercise 68 习题 68
Exercise 69 习题 69
Exercise 70 习题 70
Exercise 71 习题 71
Exercise 72 习题 72
Exercise 73 习题 73
Exercise 74 习题 74
Exercise 75 习题 75
Exercise 76 习题 76
Exercise 77 习题 77
Exercise 78 习题 78
Exercise 79 习题 79
Exercise 80 习题 80
Exercise 81 习题 81
Exercise 82 习题 82
Exercise 83 习题 83
Exercise 84 习题 84