Row Space Calculator

Enter a matrix to find a basis for its row space.

Matrix A
Rows
3
Columns
3

Write rows separated by semicolons, like 1, 2; 3, 4.

Try

Result

You enteredrow⁡((111123234))\operatorname{row}\left(\begin{pmatrix} 1 & 1 & 1 \\ 1 & 2 & 3 \\ 2 & 3 & 4 \end{pmatrix}\right)

{(1,0,−1), (0,1,2)}\displaystyle \left\{\left(1, 0, -1\right),\ \left(0, 1, 2\right)\right\}

Dimension (rank)

2\displaystyle 2
Show the work
  1. Row operations keep the row space

    Each row operation replaces a row by a combination of rows, so the span of the rows never changes. Reduce to the simplest rows.

    (111123234)  ⟶  (10−1012000)\begin{pmatrix} 1 & 1 & 1 \\ 1 & 2 & 3 \\ 2 & 3 & 4 \end{pmatrix} \;\longrightarrow\; \begin{pmatrix} 1 & 0 & -1 \\ 0 & 1 & 2 \\ 0 & 0 & 0 \end{pmatrix}
  2. The non-zero rows

    The non-zero rows of the reduced form are independent (each has a leading 1 where the others have 0) and span the row space: a basis.

    r1=(1,0,−1), r2=(0,1,2)\mathbf{r}_{1} = \left(1, 0, -1\right),\ \mathbf{r}_{2} = \left(0, 1, 2\right)
  3. Result

    A basis of the row space, of dimension 2 (the rank).

    {(1,0,−1), (0,1,2)}\left\{\left(1, 0, -1\right),\ \left(0, 1, 2\right)\right\}

Worked examples