Row Space Calculator

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

Matrix A
Rows
2
Columns
2

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

Try

Result

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

{(1,0), (0,1)}\displaystyle \left\{\left(1, 0\right),\ \left(0, 1\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.

    (1234)  ⟶  (1001)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \;\longrightarrow\; \begin{pmatrix} 1 & 0 \\ 0 & 1 \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), r2=(0,1)\mathbf{r}_{1} = \left(1, 0\right),\ \mathbf{r}_{2} = \left(0, 1\right)
  3. Result

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

    {(1,0), (0,1)}\left\{\left(1, 0\right),\ \left(0, 1\right)\right\}

Worked examples