Lesson 1.2 · 2 of 25 lessons

Gaussian elimination

Connect row and column pictures of a system to elimination, LU, and inverse matrices.

Open the interactive animation

01 · Story

What to verify in this scene

Follow the explanations and operations, then identify the mathematical evidence that remains in the final scene.

  1. 01

    Subtract twice the first row of A from the second to create a zero below the first pivot

  2. 02

    This row operation is the same as multiplying A on the left by elementary matrix E

  3. 03

    U now has a zero below its first pivot, creating an upper-triangular structure for back substitution

02 · Notebook

The runnable notebook

This source creates the mathematical objects and controls the order of operations and animation. Read it here, then play the same scene yourself.

field board
1 1  #A
2 -1

1 0  #E
-2 1
// Subtract twice the first row of {{A}} from the second to create a zero below the first pivot
mark row(A, 2)
checkpoint Gaussian elimination

mark -
// This row operation is the same as multiplying {{A}} on the left by elementary matrix {{E}}
E * A  #U@
// {{U}} now has a zero below its first pivot, creating an **upper-triangular structure** for back substitution
mark staircase(U)
Open the interactive animation

03 · Unit 1

Lessons in this unit

Matrices & Gaussian elimination — Connect row and column pictures of a system to elimination, LU, and inverse matrices.

  1. 1.1Two views of a system
  2. 1.2Gaussian elimination
  3. 1.3Matrix columns
  4. 1.4LU factorization
  5. 1.5Inverse matrices