Linear algebra, made clearer

Solve the system. Understand the answer.

Enter coefficients and constants. See the reduced matrix, solution type, and free variables.

Calculated in your browser

E-mail: advertise@primescopemedia.io

02RREF result

Example result

Reduced row echelon form

RREF result matrix
1015/3
01−12/3
0000
Rank of A
2
Rank of [A | b]
2
Free variables
1

Infinitely many solutions

  • x1 = 5/3 − 1·t1
  • x2 = 2/3 + 1·t1
  • x3 = t1

Each t is an arbitrary real parameter.

The working, step by step.

5 operations · exact values
  1. 01R2 ← R2 + (−2) R1

    Clear the entry below the pivot: add −2 × row 1 to row 2 so column 1 becomes 0 there.

    Matrix after step 1
    12−13
    0−33−2
    3307
  2. 02R3 ← R3 + (−3) R1

    Clear the entry below the pivot: add −3 × row 1 to row 3 so column 1 becomes 0 there.

    Matrix after step 2
    12−13
    0−33−2
    0−33−2
  3. 03R2 ← (−1/3) R2

    Multiply row 2 by −1/3 so its pivot in column 2 becomes 1.

    Matrix after step 3
    12−13
    01−12/3
    0−33−2
  4. 04R1 ← R1 + (−2) R2

    Clear the entry above the pivot: add −2 × row 2 to row 1 so column 2 becomes 0 there. Clearing above pivots is what turns REF into RREF.

    Matrix after step 4
    1015/3
    01−12/3
    0−33−2
  5. 05R3 ← R3 + (3) R2

    Clear the entry below the pivot: add 3 × row 2 to row 3 so column 2 becomes 0 there.

    Matrix after step 5
    1015/3
    01−12/3
    0000

Shaded row: the row that changed. Outlined entry: the pivot used.

Reading the answer

How to read an augmented matrix RREF result.

An augmented matrix [A | b] stores a linear system. Each row is one equation, the columns before the divider hold the coefficients of x₁, x₂ and so on, and the last column holds the constants b. Row operations change the matrix but never the solution set, so the reduced matrix answers the original system.

Rank of A and rank of [A | b]

The rank of A counts pivots among the coefficient columns. The rank of [A | b] counts every pivot, including one in the constants column. Pivots are found by the same row operations as for any matrix, shown one at a time in how to find RREF. If the two ranks differ, the system is inconsistent. If they match and equal the number of variables, the solution is unique. If they match but are smaller, the system has infinitely many solutions with one free variable for each coefficient column without a pivot.

Unique, infinite, or no solution

One unique solution

x₁ + x₂ = 3
x₁ − x₂ = 1

RREF of [A | b]
Reduced augmented matrix, one unique solution
102
011
  • x1 = 2
  • x2 = 1

Every coefficient column has a pivot and the constants column does not. Rank of A equals rank of [A | b] equals the number of variables.

Infinitely many solutions

x₁ + 2x₂ − x₃ = 3
2x₁ + x₂ + x₃ = 4
3x₁ + 3x₂ = 7

RREF of [A | b]
Reduced augmented matrix, infinitely many solutions
1015/3
01−12/3
0000
  • x1 = 5/3 − 1·t1
  • x2 = 2/3 + 1·t1
  • x3 = t1

Both ranks are 2, but there are 3 variables. Column 3 has no pivot, so x₃ becomes the free parameter t₁.

No solution

x₁ + x₂ = 2
x₁ + x₂ = 3

RREF of [A | b]
Reduced augmented matrix, no solution
110
001

The last row reads 0 = 1. The constants column has a pivot, so rank of [A | b] is larger than rank of A.

Free variables and parametric form

A coefficient column without a pivot becomes a free variable. The augmented matrix calculator names these parameters t₁, t₂ and so on and writes every pivot variable in terms of them, which is the parametric form of the solution. The constants column is never a free variable.

Tips for entering a system

  • Move every variable to the left side and every constant to the right before you enter the rows.
  • Enter 0 for a variable that does not appear in an equation. Blank cells are reported as errors.
  • Use one row per equation and keep the variables in the same column order in every row.
  • Choose “Columns incl. b” as the number of variables plus one.

The why behind the answer

Make the next step make sense.

Browse all row reduction guides

Augmented matrix calculator questions.

Does it show the RREF steps for an augmented matrix?

Yes. Every swap, scaling and row replacement is listed with the exact matrix it produces, including the constants column.

Can it solve a system with more equations than variables?

Yes. Enter up to 10 equations in up to 10 unknowns. Extra dependent equations become zero rows; a contradictory equation produces a row that reads 0 = nonzero and the calculator reports no solution.

Does it explain why each row operation is done?

Yes. Each step says what it achieves, such as swapping in a nonzero pivot or clearing the entry above a pivot, and the step matrix shades the row that changed.

Can I share a system or copy the working?

Use “Copy share link” to get a link that reopens the same system; the matrix is kept after the # in the link, which browsers never send to a server. “Copy LaTeX with steps” copies every row operation for your notes or homework.

Can it give the solution in vector form?

Not yet. Solutions are written as equations in free parameters, such as x₃ = t₁. Vector-form output is not part of this calculator.

What about an ordinary matrix that is not a system?

Use the RREF matrix calculator. It reduces any matrix without treating the last column as constants and also supports REF.

Choose which optional categories rrefcalculator.io may use. Strictly necessary storage is always on. You can change your choice at any time from the Cookie settings link in the footer.