Solution (source code)

= Solution

The reduced homogeneous system is $x_1+x_4=0$, $x_2-x_4=0$, $x_3+x_4=0$. Set $x_4=t$ to obtain
$$
\boxed{\ker A=\operatorname{span}\left\{\begin{pmatrix}-1\\1\\-1\\1\end{pmatrix}\right\},\qquad\dim\ker A=1.}
$$
The <rank-nullity theorem> confirms $3+1=4$, and substitution verifies that the displayed vector is annihilated by $A$.