Finding the basis of the null space and the image of a matrix

linear algebramatrices

I have the following matrix:

\begin{bmatrix}1&0&0&3\\0&2&1&2\\-1&-1&0&-2\\-1&0&1&1\end{bmatrix}

I want to find the basis of its null space and of its image. As far as I understand, the null space is the set of all non-zero vectors that produce a $0$ when multiplying this matrix ($Ax = 0$). An image of this matrix would be the set of all vectors I can get by multiplying this matrix by a vector.

I've reduced the matrix to row echelon form:
\begin{bmatrix}1&0&0&3\\0&1&0&-1\\0&0&1&4\\0&0&0&0\end{bmatrix}
From this I get the equations: $x_1 = -3x_4, x_2 = x_4, x_3 = -4x_4$. This is where I got stuck. Does the basis of the null space only contain the vector $[-3, 1, -4, 1]$? How do I go about finding the basis for the image?

Best Answer

Your calculation for the basis of the kernel is correct.

Concerning your second question: Since the matrix has rank 3, you need three linearly independent column vectors of the matrix as a basis for the image. You can take the first three vectors, since they are linearly independent. Therefore, a basis of the image is

$$(1, 0, -1, -1), \qquad (0, 2, -1, 0), \qquad (0, 1, 0, 1).$$