@Semiclassical I'm looking in my notes, but i'm not really understanding what they're doing. I've done the following so far:
$P = \begin{pmatrix}2 & 1 \\ 1 & 2\end{pmatrix}, J = \begin{pmatrix} 2 & 0 \\ 0 & -1\end{pmatrix} = P^{-1}AP$
$f(A) = Pf(J)P^{-1} = P\begin{pmatrix}f(2) & 0 \\ 0 & f(-1)\end{pmatrix}P^{-1}$
But I don't understand what i'm meant to do from here, or is this just not what I'm supposed to do?