I've been given two subspaces, $U_1$, $U_2$, which are as follows :
$ U_1=\left\{\begin{pmatrix} a&b \\c&d\\ \end{pmatrix}: b=0\right\}$
$ U_2=\left\{\begin{pmatrix} a&b \\c&d\\ \end{pmatrix}: a=c=d\right\}$
I need to find a basis for $U_i$?
Thanks for your help!
For $U_1$: $$ \begin{pmatrix} a & 0 \\ c & d \end{pmatrix} = a\begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix} + c\begin{pmatrix} ? & ? \\ ? & ? \end{pmatrix} + d\begin{pmatrix} ? & ? \\ ? & ? \end{pmatrix} $$
For $U_2$: $$ \begin{pmatrix} a & b \\ a & a \end{pmatrix} = a\begin{pmatrix} ? & ? \\ ? & ? \end{pmatrix} + b\begin{pmatrix} ? & ? \\ ? & ? \end{pmatrix} $$