Augmented Matrix Calculator

Input coefficient matrices augmented with constants [A | B] and compute their RREF step-by-step. Perfect for solving systems of equations.

×

Matrix A

Step-by-Step Row Working

What is an Augmented Matrix?

An augmented matrix is a convenient way to represent a system of linear equations in a single matrix structure. Instead of writing out variables like x, y, and z repeatedly, we write only the coefficients in a grid. We then append (augment) a final column containing the constants from the right-hand side of the equal signs. A vertical bar is typically drawn in the matrix to separate the coefficients from the constants:

a11a12a13b1
a21a22a23b2
a31a32a33b3

Solving Linear Systems Using Augmented Matrices

To solve the system of equations represented by the augmented matrix, we perform Gauss-Jordan elimination on the entire matrix. Any row operation performed on the coefficient side must also be performed on the constant side. This keeps the equations balanced.

Once the augmented matrix is reduced to Reduced Row Echelon Form (RREF), the solutions can be read directly from the final column:

Augmenting is also used to compute matrix inverses by creating the matrix [A | I], where A is reduced to the identity and I becomes the inverse.

Frequently Asked Questions

What is an augmented matrix?

An augmented matrix is a matrix formed by appending the columns of two matrices. Most commonly, it represents a system of linear equations Ax = B, written as [A | B].

What does it mean if a matrix has no solution in RREF?

If the row reduction of an augmented matrix yields a row where all coefficient entries are 0 but the constant column is non-zero (e.g., [0 0 0 | 1]), the system is inconsistent and has no solution. This represents the impossible algebraic statement 0 = 1.

What are free variables in linear systems?

Free variables are variables that correspond to columns without pivots in the RREF of a coefficient matrix. Free variables can take on any arbitrary value, which leads to infinitely many solutions in a consistent system.

How do you solve Ax = B with RREF?

Write the system as [A | B], reduce to RREF. If consistent, read the solutions directly: pivot columns give values of pivot variables in terms of constants and free variables.