Let $A_{n\times n}$ be a real matrix then:
- if $A^4 = 8A$ then $A$ is not invertible.
- if $A$ is diagonalizable over $\mathbb R$ then $A^2-4A+8I$ is diagonalizable over $\mathbb R$.
From $A^4 = 8A$ we get that $x(x^3-8)=0$ zero $A$ so $0$ can be one of its eigenvalues but it doesn't have to be, so that's false.
we know that $A=P^{-1}DP$, where $D$ is a diagonal matrix, $P$ is an invertible matrix, plug that into $A^2-4A+8I$ and we get $P^{-1}(D^2 -4D+8I)P$, so we get that $(D^2 -4D+8I)$ is a diagonal matrix, so $A^2-4A+8I = P^{-1}(D^2 -4D+8I)P$ which means that its diagonalizable?
I wasn't sure how to conclude that $(D^2 -4D+8I)$ is similar to $A^2-4A+8I$...
If $A=P^{-1}DP$, substitute that into $A^2-4A+8I$, you get:
\begin{align*} A^2-4A+8I={}&(P^{-1}DP)^2-4P^{-1}DP+8I=(P^{-1}DP)(P^{-1}DP)-P^{-1}\cdot4D\cdot P+8I={} \\ {}={}&P^{-1}D(PP^{-1})DP-P^{-1}4DP+P^{-1}8IP=P^{-1}(D^2P-4DP+8P)={} \\ {}={}&P^{-1}(D^2-4D+8I)P. \end{align*}
This proves $A^2-4A+8I$ is similar to $D^2-4D+8I$ via the same matrix as $A$, which implies it is diagonalizable since $D^2-4D+8I$ is obviously diagonal: it is, after all, a sum of diagonal terms.