Linear algebra and discrete math · University

Gaussian elimination

row echelon form

The idea

Systematically remove unknowns row by row until the system becomes a “staircase”.

The board

  1. Write the system as a table of coefficients.
  2. Allowed: swap rows, multiply a row by a number, add a multiple of one row to another.
  3. Zero out everything below the diagonal → row echelon form.
  4. Bottom to top: the last row gives one unknown; substitute upward.

The most common mistake

Changing a row without changing the right-hand side too. You touch the whole row.

The trick

It's the same as adding equations at school — just organized for 100 unknowns.

Problems

What is NOT allowed in Gaussian elimination?

  • adding a row to another
  • multiplying a row by 3
  • multiplying one number in a row
  • swapping two rows
Show the answer

multiplying one number in a row — Only whole rows are touched.

The goal is…

  • symmetry
  • all ones
  • zeros below the diagonal
  • det = 0
Show the answer

zeros below the diagonal — A staircase.

Take the lesson · exercises and XPFree, no sign-up needed.

You need to know

Leads to