I am asked to find the basis of the kernel of $\beta$, where $\beta$: $\mathbb{R^3}$ $\rightarrow$ $\mathbb{R^3}$,
$$ \beta (x,y,z) = \begin{pmatrix} x+y \\ 2x+y-z \\ x-z \\ \end{pmatrix} $$
I've put the matrix $$ \beta (x,y,z) = \begin{pmatrix} 1&1&0 \\ 2&1&-1\\ 1&0&-1 \\ \end{pmatrix} $$ into row reduced echelon form and ended up with the standard 3x3 identity matrix. Is the basis therefore
$$ \beta (x,y,z) = \begin{pmatrix} 1 \\ 1\\ 1 \\ \end{pmatrix} $$
or have I done this incorrectly? I would say this is a simple example but the answer I have is different to the one given which is $(1,-1,1)$. Thanks in advance.