The matrices $\mathbf{A}$ and $\mathbf{B}$ are given by
$$
\mathbf{A}=\begin{pmatrix}0&1\\1&0\end{pmatrix}
\quad\text{and}\quad
\mathbf{B}=\begin{pmatrix}\frac12&-\frac{\sqrt3}{2}\\\frac{\sqrt3}{2}&\frac12\end{pmatrix}.
$$
a. Give full details of the geometrical transformation in the $x$-$y$ plane represented by $\mathbf{A}$. [1]
b. Give full details of the geometrical transformation in the $x$-$y$ plane represented by $\mathbf{B}$. [2]
The triangle $DEF$ in the $x$-$y$ plane is transformed by $\mathbf{AB}$ onto triangle $PQR$.
c. Show that the triangles $DEF$ and $PQR$ have the same area. [3]
d. Find the matrix which transforms triangle $PQR$ onto triangle $DEF$. [2]
e. Find the equations of the invariant lines, through the origin, of the transformation in the $x$-$y$ plane represented by $\mathbf{AB}$. [5]