I've been trying to understand how to solve a question in a Linear Algebra exam I've taken today, but I can't seem to understand where to even start. The question is:
Determine a linear map $\phi:\mathbb{R}^3\mapsto\mathbb{R}^3$ that maps the affine subspace spanned by the plane $x-3y+z-1=0$ to the line $\begin{cases}x+y=0\\y=z-1\end{cases}$
My greatest hurdle seems to be dealing with the fact that the plane and the line are translated. Any help is much appreciated!
The equation $x-3y+z-1=0$ can be written as
$$\langle (x,y,z), (1,-3,1)\rangle = 1. \tag{1}$$
A solution is $(x_0,y_0,z_0) = (1,0,0)$. We can hence rewrite it as
$$\langle (x,y,z) - (x_0,y_0,z_0), (1,-3,1)\rangle = 0$$
This brings to mind the plane through the origin and perpendicular to $(1,-3,1)$,
$$\langle (a,b,c), (1,-3,1)\rangle = 0. \tag{2}$$
Hence, the affine plane defined by $(1)$ is obtained from the plane through the origin defined by $(2)$ via a translation by $(x_0,y_0,z_0)$.
Similarly, let's consider the line $R$ given by equations $\begin{cases}x+y=0\\y=z-1\end{cases}$. We have two solutions in $(0,0,1)$ and $(1,-1,0)$. The line can hence be parametrized as
\begin{align} r(t) &= (0,0,1)+t\cdot\Big((1,-1,0)-(0,0,1)\Big) \\&= (0,0,1)+t\cdot(1,-1,-1). \end{align}
$R$ is hence obtained from the line $T$ through the origin and with direction $(1,-1,-1)$ via a translation by $(0,0,1)$.
A linear transformation takes a subspace to a subspace, and an affine space to an affine space. It is hence enough to require that $\phi$ takes $(x_0,y_0,z_0)$ to $(0,0,1)$ and plane $(2)$ to line $R$.
The plane $(2)$ is spanned by any two linearly independent solutions. If $(a,b,c) = (x,y,z) -$ $(x_0,y_0,z_0)$, we can easily find the linearly independent solutions
$$(a_1,b_1,c_1) = (1,0,-1)\\ (a_2,b_2,c_2) = (3,1,0).$$
We finally have everything we need. We just need to find a linear transformation $\phi$ such that
Notice that $\{(1,0,0), (1,0,-1), (3,1,0)\}$ is a linealy independent set $($and hence a basis for $\mathbb R^3)$, so indeed this uniquely determines $\phi$.
I calculate $\phi(v) = \pmatrix{0&1&-1\\0&-1&1\\1&-4&2}\,v$. If $v=(x,y,z)$ then
$$\phi(v) = (y-z, -y+z,x-4y+2z)$$
Writing $\phi(v) = (\phi_x, \phi_y, \phi_z)$, notice that $\phi_x+\phi_y=0$.
Moreover, if $x-3y+z-1=0$ $($that is, $v$ lies in the plane$)$, then $\phi_z = (x-3y+z)-y+z =$ $1 + \phi_y$, or $\phi_y = \phi_z - 1$. In other words, $\phi(v)$ satisfies our equation for the line.