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⁡(1224)\operatorname{rref}\begin{pmatrix} 1 & 2 \\ 2 & 4 \end{pmatrix}

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

Rank

1\displaystyle 1
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=(1224)A = \begin{pmatrix} 1 & 2 \\ 2 & 4 \end{pmatrix}
  2. Row operation: add a multiple of one row to another

    Subtract 22 times R1R_1 from R2R_2 to turn the entry in row 2, column 1 into 0.

    R2→R2−2R1(1200)R_2 \to R_2 - 2R_1 \quad \begin{pmatrix} 1 & 2 \\ 0 & 0 \end{pmatrix}
  3. Result

    So rref⁡(A)=(1200)\operatorname{rref}(A) = \begin{pmatrix} 1 & 2 \\ 0 & 0 \end{pmatrix}. It has 1 pivot, so the rank is 1. The zero row means the original rows were not independent: one row was a combination of the others, so the rank is smaller than the number of rows.

Worked examples