The planes $P_1$ and $P_2$ do not intersect and are both perpendicular to $\mathbf i+2\mathbf j+3\mathbf k$. The line $l$ intersects $P_1$ at the point $(1,6,0)$ and intersects $P_2$ at the point $(3,-6,0)$.
(a) Find Cartesian equations of $P_1$ and $P_2$. [3]
(b) Express the vector equation of $l$ in the form $$
\begin{pmatrix}x\\y\\z\end{pmatrix}
=\mathbf a+\mu\mathbf b,
$$ where $\mathbf a$ and $\mathbf b$ are vectors to be determined, and hence show that for points on $l$, $$\frac12x+\frac1{12}y=1\quad\text{and}\quad z=0.$$ [2]
The matrix $A$ is given by $$
A=\begin{pmatrix}
1&2&3\\
1&2&3\\
\frac12&\frac1{12}&0
\end{pmatrix}.
$$
(c) Show that the characteristic equation of $A$ is $$-\lambda^3+3\lambda^2+\frac74\lambda=0$$ and hence find the eigenvalues of $A$. [3]
(d) Find a matrix $P$ and a diagonal matrix $D$ such that $$A^n=PDP^{-1},$$ where $n$ is a positive integer. [6]