Wize Engineering Mathematics Textbook > Linear Algebra

Solving Systems of Linear Equations by Reduced Row Echelon Form

Solving Linear Systems with RREF

An augmented matrix records the coefficients and constants of a linear system while suppressing variable names. Variable order must remain fixed from column to column. Row operations preserve the solution set because they correspond to reversible operations on equations.

A repeatable pivot workflow for reducing an augmented matrix without changing its solution set.

A repeatable pivot workflow for reducing an augmented matrix without changing its solution set.


The three elementary row operations are swapping two rows, multiplying one row by a nonzero constant, and adding a multiple of one row to another. Never multiply a row by zero, and always apply an operation to every entry in the row, including the augmented column.

Two equations represented as straight lines

Two equations represented as straight lines

Reduced row echelon form

A matrix is in RREF when every nonzero row has a leading 11, each leading 11 is the only nonzero entry in its column, leading entries move rightward down the rows, and all zero rows are at the bottom. Columns containing leading ones are pivot columns. Nonpivot variable columns correspond to free variables.


A reliable procedure is to choose the leftmost available pivot, swap it into position if needed, scale its row to make the pivot one, clear every other entry in that column, and then move down and right. Fractions are exact and should not be rounded.


Worked example: Consider 2x+y=1/22x+y=1/2 and x−y=4x-y=4. Start with [211/21−14]\left[\begin{array}{cc|c}2&1&1/2\\1&-1&4\end{array}\right]. Swap the rows, then replace the second row by itself minus twice the first. Scaling the second row and clearing the entry above its pivot produces [103/201−5/2]\left[\begin{array}{cc|c}1&0&3/2\\0&1&-5/2\end{array}\right]. Therefore x=3/2x=3/2 and y=−5/2y=-5/2.


A row [0 ⋯ 0∣c][0\ \cdots\ 0\mid c] with c≠0c\ne0 encodes a contradiction. A zero row adds no constraint. These patterns should be interpreted only after all entries, including the augmentation, have been tracked correctly.


A common mistake is performing an operation on the coefficient entries but not the constant. Another is stopping at row echelon form when the question asks for RREF; entries above pivots must also be cleared.

Which is a valid elementary row operation for the workflow shown in the figure?

A repeatable pivot workflow for reducing an augmented matrix without changing its solution set.

A repeatable pivot workflow for reducing an augmented matrix without changing its solution set.

Two equations represented as straight lines

Two equations represented as straight lines

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Use row reduction to solve x+2y=8x+2y=8 and 3x−y=33x-y=3. Enter 4x+5y4x+5y.

Give your answer as a number.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

The graph represents −2x+y=1-2x+y=1 and x+y=7x+y=7. What must be true of the coefficient portion after the augmented matrix is reduced?

A repeatable pivot workflow for reducing an augmented matrix without changing its solution set.

A repeatable pivot workflow for reducing an augmented matrix without changing its solution set.

Two equations represented as straight lines

Two equations represented as straight lines

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors