kevinlui's site
\documentclass{exam}1\usepackage{amsmath}2\usepackage{amsfonts}3\printanswers4\begin{document}56\begin{center}7Worksheet 5 - Due 11/38\end{center}910\begin{questions}11\question12Extend $\{(1,-1,0,0),(1,0,-1,0)\}$ to a basis for the subspace, $W$, defined by13$w+x+y+z=0$. In other words, find a basis for $W$ that includes14$(1,-1,0,0)$ and $(1,0,-1,0)$.1516\begin{solution}17The subspace $W$ is 3-dimensional because the associated linear system18has 3 free variables. $(1,0,0,-1)$ is not in the span of $(1,-1,0,0)$19and $(1,0,-1,0)$ so including in the set will form a basis.20\end{solution}2122\question23Let $P$ be the plane given by $2x+y+z=0$ in $\mathbb{R}^3$.24\begin{parts}25\part26What is a normal vector to $P$?27\begin{solution}28$(2,1,1)$.29\end{solution}30\part31Give a basis for $\mathbb{R}^3$ that includes a normal vector to $P$32and 2 vectors that lie on $P$.33\begin{solution}34$\{(2,1,1),(1,-2,0),(1,0,-2)\}$.35\end{solution}36\part37Let $T:\mathbb{R}^3\to\mathbb{R}^3$ be the linear transform that38reflects all vectors across $P$. This means that $T(n)=-n$ whenver $n$39is normal to $P$ and $T(v)=v$ if $v$ lies on $P$. Find $A$ such that40$T(x)=Ax$.41\begin{solution}42We know that43\[44T(2,1,1)=(-2,-1,-1),\quad45T(1,-2,0)=(1,-2,0),\quad46T(1,0,-2)=(1,0,-2).47\]48So we can use the technique described in problem 2 of worksheet 4.49We know that the linear transform with associated matrix50\[51\begin{bmatrix}522 & 1 & 1 \\531 & -2 & 0 \\541 & 0 & -255\end{bmatrix}^{-1}56\]57sends $(2,1,1)$ to $e_1$, $(1,-2,0)$ to $e_2$, and $(1,0,-2)$ to58$e_3$. The linear transform with associated matrix59\[60\begin{bmatrix}61-2 & 1 & 1 \\62-1 & -2 & 0 \\63-1 & 0 & -264\end{bmatrix}65\]66sends $e_1$ to $(-2,-1,-1)$, $e_2$ to $(1,-2,0)$, and $e_3$ to67$(1,0,-2)$. It follows that68\[69\begin{bmatrix}70-2 & 1 & 1 \\71-1 & -2 & 0 \\72-1 & 0 & -273\end{bmatrix}74\begin{bmatrix}752 & 1 & 1 \\761 & -2 & 0 \\771 & 0 & -278\end{bmatrix}^{-1} =79\begin{bmatrix}80-\frac{1}{3} & -\frac{2}{3} & -\frac{2}{3} \\81-\frac{2}{3} & \frac{2}{3} & -\frac{1}{3} \\82-\frac{2}{3} & -\frac{1}{3} & \frac{2}{3}83\end{bmatrix}84\]85will send $(2,1,1)$ to $(-2,-1,-1)$, $(1,-2,0)$ to $(1,-2,0)$, and86$(1,0,-2)$ to $(1,0,-2)$.87\end{solution}88\part89What is the rank of $T$? What is the nullity of $T$?90\begin{solution}91The associated matrix to $T$ was defined as a product of invertible92matrices and is therefore invertible as well. This implies that $T$93has rank 3 and nullity 0.94\end{solution}95\end{parts}9697\question98Let $T:\mathbb{R}^3 \to \mathbb{R}^2$ be the linear transform defined by99$T(1,1,1)=(1,0)$, $T(1,0,1)=(1,1)$, and $T(1,1,0)=(0,2)$.100\begin{parts}101\part102Before doing a single computation, what can you already say about the103rank and nullity of $T$?104\begin{solution}105It should be clear that $T$ is onto since $(1,0)$ and $(1,1)$ spans106the codomain. Therefore, $T$ has rank 2 and nullity 1.107\end{solution}108\part109Give a matrix $A$ such that $T(x)=Ax$. You may express $A$ as a product110of matrices and their inverses.111\begin{solution}112This is similiar to the previous problem with the reflection. We have113that114\[115A=116\begin{bmatrix}1171 & 1 & 0 \\1180 & 1 & 2119\end{bmatrix}120\begin{bmatrix}1211 & 1 & 1 \\1221 & 0 & 1 \\1231 & 1 & 0124\end{bmatrix}^{-1}.125\]126\end{solution}127\part128What is the rank and nullity of $T$?129\begin{solution}130See first part.131\end{solution}132\end{parts}133134\question135Give an example of each of the following. If it is not possible, write NOT136POSSIBLE.137\begin{parts}138\part139Find an invertible $3\times 3$ matrix $A$ and a $3\times 3$ matrix $B$140such that $rank(AB)\neq rank(BA)$.141\begin{solution}142NOT POSSIBLE. This is because since $A$ is invertible, we know that143$rank(AB)=rank(BA)=rank(B)$.144145Since $A$ is invertible, it is equivalent to the identity matrix.146This means that $A=E_1E_2\ldots E_m I_3$, where each $E_i$ is some147row operation matrix and $I_3$ is the identity matrix. We then have148$AB = E_1E_2\ldots E_m B$. This means that $AB$ is equivalent to149$B$ so $rank(AB)=rank(B)$.150151To establish $rank(BA)=rank(B)$, we will take advantage of152tranposes. We have153\[154rank(BA) = rank((BA)^t) = rank(A^t B^t) = rank(B^t)=rank(B).155\]156The first equality is because $rank(X)=rank(X^t)$ for any matrix157$X$ because the dimension of the column space of $X$ is the same as158the dimension of the row space of $X^t$ and these are both the159rank. The second equality is a basic property of transposes. The160third equality is because since $A$ is invertible, $A^t$ is also161invertible so we can use the argument in the 2nd paragraph. The162fourth equality is the same as the first equality.163\end{solution}164\part165Find two $3\times 3$ matrices $A$ and $B$, each with nullity 1 such166that $AB$ is the zero matrix.167\begin{solution}168NOT POSSIBLE. Let $T$ be the linear transform defined by $T(x)=Ax$169and $S$ be the linear transform defined by $S(x)=Bx$. We know that170the dimension of the range of $T$ is 2 while the dimension of the171kernel of $S$ is 1. This means some element in the range of $T$ is172not in the kernel of $S$. This means that $S\circ T$ is not the173zero transformation. This means that $AB$ is not the zero matrix.174\end{solution}175\part176Find two $3\times 3$ matrices $A$ and $B$, each with rank 1 such177that $AB$ is the zero matrix.178\begin{solution}179Let $A$ be the matrix such that $Ax$ is the projection onto the 1st180coordination and $B$ be the matrix such that $Bx$ is the projection181onto the 2nd coordination. Since $AB$ is the zero matrix.182\end{solution}183\part184Find two $3\times 3$ matrices $A$ and $B$, each with nullity 2 such185that $AB$ is the zero matrix.186\begin{solution}187By the rank-nullity theorem, this problems in the same as part (c).188\end{solution}189\part190Find two $3\times 3$ matrices $A$ and $B$, each with rank 2 such191that $AB$ is the zero matrix.192\begin{solution}193By the rank-nullity theorem, this problems in the same as part (b).194\end{solution}195\end{parts}196\end{questions}197198\end{document}199200201