I'm trying to solve the following exercise in my book:
Find an orthonormal basis $\alpha$ for the vector space $\left(\mathbb{R},\mathbb{R}^{2 \times 2},+\right)$ (with default inner product, $ \langle A,B \rangle = Tr(A \cdot B^T $)) such that the matrix representation $L_\alpha^\alpha$ of the linear transformation $$L : \mathbb{R}^{2 \times 2} \rightarrow \mathbb{R}^{2 \times 2} : \begin{pmatrix} x & y \\ z & t\end{pmatrix} \mapsto \begin{pmatrix} x+y+t & x+y+z \\ y+z+t & x+z+t \end{pmatrix}$$ with respect to the basis $\alpha$ is a diagonal matrix.
I started out by transforming the default bases, as such: $$L(e_1) = e_1 + e_2 + e_4$$ $$L(e_2) = e_1 + e_2 + e_3$$ $$L(e_3) = e_2 + e_3 + e_4$$ $$L(e_4) = e_1 + e_3 + e_4$$
With: $$e_1 = \begin{pmatrix}1&0\\0&0\end{pmatrix}, e_2 = \begin{pmatrix}0&1\\0&0\end{pmatrix}, e_3 = \begin{pmatrix}0&0\\1&0\end{pmatrix}, e_4 = \begin{pmatrix}0&0\\0&1\end{pmatrix}$$
Can you please elaborate how to procede with such a problem. Thanks in advance!
In vector notation your transformation is:
$$ L \begin{bmatrix} x\\y\\z\\t \end{bmatrix}= \begin{bmatrix} x+y+t\\x+y+z\\y+z+t\\x+z+t \end{bmatrix} $$ so, by a simple inspection, you can see that it is represented by the matrix $$ L= \begin{bmatrix} 1&1&0&1\\1&1&1&0\\0&1&1&1\\1&0&1&1 \end{bmatrix} $$
This is a symmetric real matrix so we know that can be diagonalized as: $$ L=SDS^{-1} $$ where $S$ is an orthogonal matrix with as columns the eigenvectors of $L$ and $D$ is the diagonal matrix with the corresponding eigenvalues on the diagonal.
So, find the eigenvalues and eigenvectors of $L$ , note that these are orthogonal, normalize them and you have the searched basis, and $D$ is the diagonal matrix that represents the given transformation in this basis.