Skip to main content
Linear systems and matrices
Lesson 16 of 75
Introduction

Gaussian elimination

Objective. Solve and classify systems using row echelon form.

  1. 1. Learn
  2. 2. Worked example
  3. 3. Practice
  4. 4. Feedback
  5. 5. Continue

Learn: the key idea

Gaussian elimination solves a system of linear equations by performing row operations (swap rows, scale a row, add a multiple of one row to another) on the augmented matrix to reach row echelon form, then uses back-substitution to find the solution. The resulting pivots reveal whether a system has a unique solution, infinitely many solutions, or none, depending on whether every variable has a pivot and whether any row reduces to a contradiction like 0=5. For the system x+y=3, 2x+y=4, subtracting twice the first row from the second gives −y=−2, so y=2, then x=1. Row echelon form must have leading entries strictly to the right as you move down the rows.

Worked example

Use Gaussian elimination to solve the system x+y=3, 2x+y=4.

3 … 2
Coordinate grid with the line 3 … 2
  1. 1Write the augmented matrix [[1,1,|,3],[2,1,|,4]] and eliminate the first entry of row 2.
  2. 2Apply R2→R2−2R1: row 2 becomes [0,−1,|,−2].
  3. 3Solve the reduced equation −y=−2, giving y=2.
  4. 4Back-substitute into x+y=3: x=3−2=1.

Answer: x = 1, y = 2

Concept mastery

Based on your past attempts at this lesson — the question types to practise again come first.

Complete a practice set to see your concept breakdown here.

Practice

Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.

Start practising

Common mistake. Students perform a row operation like R2→R2−2R1 but only update some entries of R2, forgetting to apply the operation to every entry in the row including the constant term on the right-hand side.

Your progress

Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.

0 of 5 steps complete

Your place saves automatically as you read.

My dashboard