KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesGaussian Elimination and Row-Echelon FormEngineering · Engineering MathematicsLesson 1/6← PrevNext →
GuidePublished 15 Aug 20264 min readBy Kevin Jogingaussian eliminationaugmented matrixrow echelon formrow operations
On this page

Ask about this page

KEVOS AIGaussian Elimination and Row-Echelon Form

KEVOS knowledge first · trusted web sources when needed

Matrices and Determinants

Gaussian Elimination and Row-Echelon Form

Detaching the coefficients into an augmented matrix, the three legitimate row operations, and reducing to row-echelon form.

Category Engineering / MathematicsStream Matrices and DeterminantsLevel CoreReading 5 minSource Week 11, pages 3-6; supplementary notes

What this page covers

  • Write a system as an augmented matrix
  • State the three permitted row operations
  • Reduce a matrix to row-echelon form
  • Recover the solution by back-substitution
On this page
  1. The augmented matrix
  2. The three row operations
  3. Row-echelon form
  4. Worked example: three variables
  5. Recognising the outcome
  6. Common mistakes
  7. Frequently asked questions

The augmented matrix

During elimination the variable names never change and never affect the arithmetic. Dropping them leaves the coefficients in a grid, with the constants separated by a rule.

Forming the matrix — the source's example

The system x - 3y = 4, 2x + y = 1 becomes

1-34
211
Source, Week 11, page 3. The rule marks where the equals signs were

Each row is an equation, each column a variable, and the column after the rule holds the constants. The typed notes describe the whole method as row operations followed by back substitution.

Standard form first

The system must be in standard form, with variables in the same order in every equation and constants on the right. A missing variable needs an explicit zero — omitting it misaligns every subsequent column.

The three row operations

What is permitted

The source lists exactly three, and the typed notes give the same list:

The three legitimate operations
OperationEffect on the systemWhy it is safe
Multiply a row by a non-zero constantMultiplies an equation throughAn equation multiplied by a non-zero number has the same solutions
Interchange two rowsReorders the equationsOrder never affected the solution set
Add a multiple of one row to anotherReplaces an equation by a combinationThis is exactly elimination
Watch out

The constant in the first operation must be non-zero. Multiplying a row by zero destroys the equation entirely and changes the solution set.

Row-echelon form

Row-echelon form

Each row's leading entry is 1 and sits strictly to the right of the leading entry of the row above, with zeros beneath every leading 1. The result is a triangular arrangement.

  1. Choose the pivot. The leading entry of the current row.
  2. Make it 1 by dividing the row through.
  3. Clear below it by subtracting multiples of the pivot row from the rows underneath.
  4. Move down and right and repeat.
  5. Back-substitute from the bottom row upward.

Worked example — the source's 2×2 case

Reduce the matrix for x - 3y = 4, 2x + y = 1.

1-34
211
The pivot is the 1 in the top left

Subtract twice the first row from the second:

1-34
07-7
Column cleared

Divide the second row by 7:

1-34
01-1
Source, Week 11, page 4. Row-echelon form

Back-substitution: the second row says y = -1; the first says x - 3y = 4, so x = 4 + 3(-1) = 1.

x = 1, y = -1Source result
Check

1 - 3(-1) = 4 ✓ and 2(1) + (-1) = 1 ✓.

Worked example: three variables

The source's 3×3 system

For x + y + z = 5, x - 4y - 3z = 11, -2x + 2y + 5z = -30:

1115
1-4-311
-225-30
Source, Week 11, page 6

Clear the first column: subtract row 1 from row 2, and add twice row 1 to row 3.

1115
0-5-46
047-20
Source

Divide row 2 by -5 to make the pivot 1:

1115
014/5-6/5
047-20
Source

Subtract 4 times row 2 from row 3:

1115
014/5-6/5
0019/5-76/5
Source

Divide row 3 by 195:

1115
014/5-6/5
001-4
Source, Week 11, page 6. Row-echelon form

Back-substituting: z = -4; then y + 45(-4) = -65 gives y = 2; then x + 2 - 4 = 5 gives x = 7.

The source's check

In the third original equation: -2(7) + 2(2) + 5(-4) = -30 ✓.

Recognising the outcome

The reduced matrix announces which of the three cases has occurred, without any back-substitution.

Reading the bottom row
Bottom rowReads asOutcome
[0  0  1 | k]z = kUnique solution
[0  0  0 | k], k ≠ 00 = k, falseInconsistent — no solution
[0  0  0 | 0]0 = 0, trueDependent — infinitely many

The source's inconsistent example ends with a row reading [0  0  0 | 4] and is annotated inconsistent, no solution. Its consistent example ends with a zero row and is marked consistent system with solution y = 0, x = 4.

Interchange when a pivot is zero

If the pivot position holds a zero, swap with a lower row that has a non-zero entry there. The typed notes do exactly this in one example, interchanging the second and third rows to bring a non-zero pivot into position.

Common mistakes

Errors and checks
MistakeCorrectWhy
Omitting a zero for a missing variableWrite the zero explicitlyColumns must align
Operating on columnsOnly row operations are permittedA column operation mixes different variables
Multiplying a row by zeroThe constant must be non-zeroIt destroys the equation
Clearing above the pivot too soonRow-echelon form clears only belowThat is Gauss-Jordan
Forgetting the augmented columnEvery operation applies to the whole rowThe constants must travel with the coefficients
Back-substituting from the topStart at the bottomThe last row has one unknown

Frequently asked questions

Why detach the coefficients?

Because the variable names carry no information during the elimination. Writing only the numbers is faster, less error-prone and is what a computer does.

What is a pivot?

The leading entry in a row, the one used to clear the entries below it. The typed notes circle each pivot as it is chosen.

Must the pivot be 1?

Not for row-echelon form in the loosest sense, but making it 1 simplifies every subsequent step. The typed notes reduce each pivot to 1 before clearing the column.

What if a pivot position holds a zero?

Swap that row with a lower one having a non-zero entry there. Row interchange is one of the three permitted operations for exactly this reason.

Related pages

  • Gauss-Jordan Reduction
  • Systems in Three Variables
  • Consistent, Inconsistent and Dependent Systems
  • Matrix Inverses and Solving Linear Systems

Source. Handwritten teaching notes, Week 11, pages 3-6, with the typed supplementary notes on Gaussian elimination.

This page is an original exposition prepared for the KEVOS® knowledge library. It restates, reorganises and verifies the mathematics of the supplied teaching notes; it is not a reproduction of them. Numerical values taken from the notes are identified as source examples and are not presented as engineering standards.

Continue learning

NEXT LESSON →Gauss-Jordan ReductionGuide · Engineering MathematicsMatrices: Order, Equality, Addition and Scalar MultiplicationGuide · Engineering MathematicsMatrix Multiplication and Matrix AlgebraGuide · Engineering MathematicsMatrix Inverses and Solving Linear SystemsGuide · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®