It is given that $\lambda$ is an eigenvalue of the matrix $A$ with $\mathbf e$ as a corresponding eigenvector, and $\mu$ is an eigenvalue of the matrix $B$ for which $\mathbf e$ is also a corresponding eigenvector.
(i) Show that $\lambda+\mu$ is an eigenvalue of the matrix $A+B$ with $\mathbf e$ as a corresponding eigenvector. [2]
The matrix $A$, given by $$
A=\begin{pmatrix}
2&0&1\\
-1&2&3\\
1&0&2
\end{pmatrix},
$$ has $\begin{pmatrix}1\\2\\1\end{pmatrix}$, $\begin{pmatrix}1\\4\\-1\end{pmatrix}$ and $\begin{pmatrix}0\\1\\0\end{pmatrix}$ as eigenvectors.
(ii) Find the corresponding eigenvalues. [3]
The matrix $B$ has eigenvalues $4$, $5$ and $1$ with corresponding eigenvectors $\begin{pmatrix}1\\2\\1\end{pmatrix}$, $\begin{pmatrix}1\\4\\-1\end{pmatrix}$ and $\begin{pmatrix}0\\1\\0\end{pmatrix}$, respectively.
(iii) Find a matrix $P$ and a diagonal matrix $D$ such that $$(A+B)^3=PDP^{-1}.$$ [3]