Let the real vector $P_2(\mathbb{R})$ consisting of real polynomials of degree $\le1$. In the following we define $P_2(\mathbb{R})$ as an inner product space by the inner product
$$ \langle p,q \rangle = p(0)q(0)+p(1)q(1)$$
for $p,q\in P_2(\mathbb{R})$. Let the mapping be:
$$L: P_2(\mathbb{R}) \to P_2(\mathbb{R})$$ defined by
$$ L(\alpha+\beta X) = (8\alpha + 2\beta)+(\beta-3\alpha)X$$ for $\alpha, \beta \in \mathbb{R}.$
1) Show that L is self-adjoint.
2) Explain why $L$ is orthonormal diagonalizable and find all eigenvalues for $L$ and all the basis for the corresponding eigenspace.
1) In order to show that the linear operator is self-adjoint it must be shown that $\langle v,L(w)\rangle = \langle L(v),w \rangle$. Now let $v = (\alpha+\beta X)$ and let $w = (c+dX)$.
\begin{align*}\langle v,L(w)\rangle &= \langle (\alpha + \beta X),(8c + 2d) + (d-3c)X \rangle \\&= 8c\alpha + 2d\alpha + 8c\alpha + 2d\alpha + d\alpha - 3c\alpha + 8c\beta + 2d\beta + d\beta -3c\beta \\&= 13c\alpha +5d\alpha + 5c\beta + 3d\beta\end{align*}
\begin{align*}\langle L(v),w \rangle &= \langle (8\alpha + 2\beta)+(\beta-3\alpha)X,(c+dX)\rangle \\&= 8c\alpha + 2c\beta+ 8c\alpha + 8d\alpha + 2c\beta + 2d\beta+c\beta+d\beta-3c\alpha-3d\alpha \\&= 13c\alpha+5d\alpha+5c\beta+3d\beta\end{align*}
This proves that $L$ is a self-adjoint operator.
2) I guess that when I have to prove that $L$ is orthonormal diagonalizable, I can use the spectral theorem, since $L$ is self-adjoint by 1) there exists an orthonormal basis for $V$ consisting of eigenvectors for $L$ with real values, which implies that $L$ is orthonormal diagonalizable.
However, how do I find all eigenvalues of $L$ and all the basis for the corresponding eigenspace?