It is given that $\mathbf e$ is an eigenvector of the matrix $A$ with corresponding eigenvalue $\lambda$.
(i) Show that $\mathbf e$ is an eigenvector of $A^3$ and state the corresponding eigenvalue. [3]
It is given that $$
A=\begin{pmatrix}2&0\\-1&3\end{pmatrix}.
$$
(ii) Find a matrix $P$ and a diagonal matrix $D$ such that $$A^3+I=PDP^{-1},$$ where $I$ is the $2\times2$ identity matrix. [5]