The linear transformation $T:\mathbb R^4\to\mathbb R^4$ is represented by the matrix $A$, where $$
A=\begin{pmatrix}
1&-1&-2&3\\
5&-3&-4&25\\
6&-4&-6&28\\
7&-5&-8&31
\end{pmatrix}.
$$
(i) Find the rank of $A$ and a basis for the null space of $T$. [7]
(ii) Find the matrix product $A\begin{pmatrix}-1\\1\\-1\\1\end{pmatrix}$ and hence find the general solution of $$
A\mathbf x=\begin{pmatrix}3\\21\\24\\27\end{pmatrix}.
$$ [3]