Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

kevinlui's site

7239 views
1
\documentclass{exam}
2
\usepackage{amsmath}
3
\usepackage{amsfonts}
4
\printanswers
5
\begin{document}
6
7
\begin{center}
8
Worksheet 5 - Due 11/3
9
\end{center}
10
11
\begin{questions}
12
\question
13
Extend $\{(1,-1,0,0),(1,0,-1,0)\}$ to a basis for the subspace, $W$, defined by
14
$w+x+y+z=0$. In other words, find a basis for $W$ that includes
15
$(1,-1,0,0)$ and $(1,0,-1,0)$.
16
17
\begin{solution}
18
The subspace $W$ is 3-dimensional because the associated linear system
19
has 3 free variables. $(1,0,0,-1)$ is not in the span of $(1,-1,0,0)$
20
and $(1,0,-1,0)$ so including in the set will form a basis.
21
\end{solution}
22
23
\question
24
Let $P$ be the plane given by $2x+y+z=0$ in $\mathbb{R}^3$.
25
\begin{parts}
26
\part
27
What is a normal vector to $P$?
28
\begin{solution}
29
$(2,1,1)$.
30
\end{solution}
31
\part
32
Give a basis for $\mathbb{R}^3$ that includes a normal vector to $P$
33
and 2 vectors that lie on $P$.
34
\begin{solution}
35
$\{(2,1,1),(1,-2,0),(1,0,-2)\}$.
36
\end{solution}
37
\part
38
Let $T:\mathbb{R}^3\to\mathbb{R}^3$ be the linear transform that
39
reflects all vectors across $P$. This means that $T(n)=-n$ whenver $n$
40
is normal to $P$ and $T(v)=v$ if $v$ lies on $P$. Find $A$ such that
41
$T(x)=Ax$.
42
\begin{solution}
43
We know that
44
\[
45
T(2,1,1)=(-2,-1,-1),\quad
46
T(1,-2,0)=(1,-2,0),\quad
47
T(1,0,-2)=(1,0,-2).
48
\]
49
So we can use the technique described in problem 2 of worksheet 4.
50
We know that the linear transform with associated matrix
51
\[
52
\begin{bmatrix}
53
2 & 1 & 1 \\
54
1 & -2 & 0 \\
55
1 & 0 & -2
56
\end{bmatrix}^{-1}
57
\]
58
sends $(2,1,1)$ to $e_1$, $(1,-2,0)$ to $e_2$, and $(1,0,-2)$ to
59
$e_3$. The linear transform with associated matrix
60
\[
61
\begin{bmatrix}
62
-2 & 1 & 1 \\
63
-1 & -2 & 0 \\
64
-1 & 0 & -2
65
\end{bmatrix}
66
\]
67
sends $e_1$ to $(-2,-1,-1)$, $e_2$ to $(1,-2,0)$, and $e_3$ to
68
$(1,0,-2)$. It follows that
69
\[
70
\begin{bmatrix}
71
-2 & 1 & 1 \\
72
-1 & -2 & 0 \\
73
-1 & 0 & -2
74
\end{bmatrix}
75
\begin{bmatrix}
76
2 & 1 & 1 \\
77
1 & -2 & 0 \\
78
1 & 0 & -2
79
\end{bmatrix}^{-1} =
80
\begin{bmatrix}
81
-\frac{1}{3} & -\frac{2}{3} & -\frac{2}{3} \\
82
-\frac{2}{3} & \frac{2}{3} & -\frac{1}{3} \\
83
-\frac{2}{3} & -\frac{1}{3} & \frac{2}{3}
84
\end{bmatrix}
85
\]
86
will send $(2,1,1)$ to $(-2,-1,-1)$, $(1,-2,0)$ to $(1,-2,0)$, and
87
$(1,0,-2)$ to $(1,0,-2)$.
88
\end{solution}
89
\part
90
What is the rank of $T$? What is the nullity of $T$?
91
\begin{solution}
92
The associated matrix to $T$ was defined as a product of invertible
93
matrices and is therefore invertible as well. This implies that $T$
94
has rank 3 and nullity 0.
95
\end{solution}
96
\end{parts}
97
98
\question
99
Let $T:\mathbb{R}^3 \to \mathbb{R}^2$ be the linear transform defined by
100
$T(1,1,1)=(1,0)$, $T(1,0,1)=(1,1)$, and $T(1,1,0)=(0,2)$.
101
\begin{parts}
102
\part
103
Before doing a single computation, what can you already say about the
104
rank and nullity of $T$?
105
\begin{solution}
106
It should be clear that $T$ is onto since $(1,0)$ and $(1,1)$ spans
107
the codomain. Therefore, $T$ has rank 2 and nullity 1.
108
\end{solution}
109
\part
110
Give a matrix $A$ such that $T(x)=Ax$. You may express $A$ as a product
111
of matrices and their inverses.
112
\begin{solution}
113
This is similiar to the previous problem with the reflection. We have
114
that
115
\[
116
A=
117
\begin{bmatrix}
118
1 & 1 & 0 \\
119
0 & 1 & 2
120
\end{bmatrix}
121
\begin{bmatrix}
122
1 & 1 & 1 \\
123
1 & 0 & 1 \\
124
1 & 1 & 0
125
\end{bmatrix}^{-1}.
126
\]
127
\end{solution}
128
\part
129
What is the rank and nullity of $T$?
130
\begin{solution}
131
See first part.
132
\end{solution}
133
\end{parts}
134
135
\question
136
Give an example of each of the following. If it is not possible, write NOT
137
POSSIBLE.
138
\begin{parts}
139
\part
140
Find an invertible $3\times 3$ matrix $A$ and a $3\times 3$ matrix $B$
141
such that $rank(AB)\neq rank(BA)$.
142
\begin{solution}
143
NOT POSSIBLE. This is because since $A$ is invertible, we know that
144
$rank(AB)=rank(BA)=rank(B)$.
145
146
Since $A$ is invertible, it is equivalent to the identity matrix.
147
This means that $A=E_1E_2\ldots E_m I_3$, where each $E_i$ is some
148
row operation matrix and $I_3$ is the identity matrix. We then have
149
$AB = E_1E_2\ldots E_m B$. This means that $AB$ is equivalent to
150
$B$ so $rank(AB)=rank(B)$.
151
152
To establish $rank(BA)=rank(B)$, we will take advantage of
153
tranposes. We have
154
\[
155
rank(BA) = rank((BA)^t) = rank(A^t B^t) = rank(B^t)=rank(B).
156
\]
157
The first equality is because $rank(X)=rank(X^t)$ for any matrix
158
$X$ because the dimension of the column space of $X$ is the same as
159
the dimension of the row space of $X^t$ and these are both the
160
rank. The second equality is a basic property of transposes. The
161
third equality is because since $A$ is invertible, $A^t$ is also
162
invertible so we can use the argument in the 2nd paragraph. The
163
fourth equality is the same as the first equality.
164
\end{solution}
165
\part
166
Find two $3\times 3$ matrices $A$ and $B$, each with nullity 1 such
167
that $AB$ is the zero matrix.
168
\begin{solution}
169
NOT POSSIBLE. Let $T$ be the linear transform defined by $T(x)=Ax$
170
and $S$ be the linear transform defined by $S(x)=Bx$. We know that
171
the dimension of the range of $T$ is 2 while the dimension of the
172
kernel of $S$ is 1. This means some element in the range of $T$ is
173
not in the kernel of $S$. This means that $S\circ T$ is not the
174
zero transformation. This means that $AB$ is not the zero matrix.
175
\end{solution}
176
\part
177
Find two $3\times 3$ matrices $A$ and $B$, each with rank 1 such
178
that $AB$ is the zero matrix.
179
\begin{solution}
180
Let $A$ be the matrix such that $Ax$ is the projection onto the 1st
181
coordination and $B$ be the matrix such that $Bx$ is the projection
182
onto the 2nd coordination. Since $AB$ is the zero matrix.
183
\end{solution}
184
\part
185
Find two $3\times 3$ matrices $A$ and $B$, each with nullity 2 such
186
that $AB$ is the zero matrix.
187
\begin{solution}
188
By the rank-nullity theorem, this problems in the same as part (c).
189
\end{solution}
190
\part
191
Find two $3\times 3$ matrices $A$ and $B$, each with rank 2 such
192
that $AB$ is the zero matrix.
193
\begin{solution}
194
By the rank-nullity theorem, this problems in the same as part (b).
195
\end{solution}
196
\end{parts}
197
\end{questions}
198
199
\end{document}
200
201