Lesson 3: Gaussian elimination

Solve a system by Gaussian elimination

SkillsGaussian eliminationAugmented matrices and row operations

Worked example

  • Simple familiar
  • Technology free

Use Gaussian elimination to solve

x+y+2z=92x−y+z=33x+2y−z=4\begin{aligned} x + y + 2z &= 9 \\ 2x - y + z &= 3 \\ 3x + 2y - z &= 4 \end{aligned}
1 of 6 steps
  1. Step 1: Write the augmented matrix

    [11292−11332−14]\left[\begin{array}{ccc|c} 1 & 1 & 2 & 9 \\ 2 & -1 & 1 & 3 \\ 3 & 2 & -1 & 4 \end{array}\right]

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Write the augmented matrix.

  2. Use row 1 to clear column 1, then row 2 to clear column 2.

  3. Back-substitute from the last row up.

  4. Check in every original equation.

Watch out for

  • Using R1R_1 again to clear column 2, which brings back a non-zero entry in column 1.

  • Forgetting to apply the operation to the constant after the bar.

Save your progress with a free account