RREF Calculator

Reduce a matrix to reduced row echelon form, step by step.

Matrix A
Rows
2
Columns
2

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

Try

Result

You enteredrref⁡(0110)\operatorname{rref}\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}

(1001)\displaystyle \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}

Rank

2\displaystyle 2
Show the work
  1. Gauss-Jordan elimination

    Work column by column. Make a pivot (a leading 1) with a swap or a scaling, then clear every other entry in its column by adding multiples of the pivot row.

    A=(0110)A = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}
  2. Row operation: swap two rows

    Swap R1R_1 and R2R_2 so that the entry in row 1, column 1 is not 0 and can be the next pivot.

    R1↔R2(1001)R_1 \leftrightarrow R_2 \quad \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}
  3. Result

    So rref⁡(A)=(1001)\operatorname{rref}(A) = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}. It has 2 pivots, so the rank is 2.

Worked examples