4.5.9 · D1Linear Algebra (Full)

Foundations — Gaussian elimination — forward elimination, back substitution

2,762 words13 min readBack to topic

Before you can do elimination you must be fluent in a small alphabet. This page builds every letter of it from nothing. Read top to bottom — each idea is used by the next.


1. A number laid out in a grid — the matrix

The picture: think of a spreadsheet. Each number lives at a fixed street address given by (which row, which column).

Figure — Gaussian elimination — forward elimination, back substitution

2. Naming a single entry — the subscript

So is row 2, column 3 (the red-boxed entry in Figure 1). Read it as " sub two three", never "twenty-three".


3. The diagonal and what sits below it

Everything to the lower-left of that line is "below the diagonal". Forward elimination's whole job is to make all of those below-diagonal entries into zero.

Figure — Gaussian elimination — forward elimination, back substitution

4. Bold letters — the vector and

The bold font is a promise: "this is a whole stack, not one number." A plain is one number; bold is the list of all unknowns.


5. Multiplying a grid by a stack —

For row : . That sum is exactly the left-hand side of equation . (This is why the number of columns must equal the length of : each column entry needs a partner in .)


6. Packing them together — the augmented matrix


The arrow means "becomes". names "row as a whole line". The two-headed arrow means "trade places".


8. The star of the show — the pivot and the multiplier

The fraction bar here is ordinary division. We divide the entry we want to kill by the pivot, because that ratio tells us "how many pivot-rows' worth of this column sits in row ."

Figure — Gaussian elimination — forward elimination, back substitution

9. Sum shorthand — the symbol

Once forward elimination finishes, has become the upper-triangular matrix , and has become a new right-hand column we rename (because every row operation changed it too). We name the pieces of these:

So : just a compact way to write a long "" chain when we don't know in advance how many terms there are.


10. Reading the final staircase — back substitution

Using the names from Section 9, once is the staircase with new right side , the bottom row has a single unknown, so you solve it directly; then climb, each row up handing you one new unknown.

Here is the diagonal (pivot) entry in row of , are the other entries along that row, and is the transformed right-hand number. Dividing by is the final "solve for the lone unknown" step — which is exactly why must not be zero.

Recall Symbol speed-check

What does point to? ::: Row 3, column 1. What does the bar in separate? ::: Coefficients (left) from right-hand-side values (right). Why must a pivot be nonzero? ::: We divide by it in the multiplier . What do you do if the pivot ? ::: Swap in a lower row with a nonzero entry in that column; if none exists, skip the column (free variable). What is ? ::: The right-hand column after forward elimination has transformed it. What does tell to do? ::: Run from up to , adding each term.


How the foundations feed the topic

Matrix - grid of numbers

Entry a sub i k - row i col k

Main diagonal and below

Upper triangular shape U

Column vector x and b

Matrix times vector A x

System A x equals b

Augmented matrix A bar b

Three row operations

Pivot and multiplier

Sum symbol sigma

Back substitution

Gaussian Elimination


Equipment checklist

Cover the right side; you are ready for the parent note only if you can answer each.

  • I can locate entry in a grid ::: row , column — down first, then across.
  • I know what the index letters mean ::: = row (), = column (), = current pivot column.
  • I know why has length ::: has columns, one per unknown, so needs entries; has entries, one per row.
  • I know what "upper-triangular" looks like ::: all zeros below the main diagonal; nonzeros form a triangle on and above it.
  • I can turn back into ordinary equations ::: multiply each row of against and set equal to the matching entry of .
  • I know why we use the augmented matrix ::: so the right-hand side changes together with the coefficients under every row operation.
  • I can state the three legal row operations ::: swap, scale by nonzero , and replace .
  • I can derive the multiplier without memorising ::: set , solve to get .
  • I know what to do with a zero pivot ::: swap in a lower row with a nonzero entry; if none, skip the column.
  • I know the names and ::: entries of the finished upper-triangular and of the transformed right-hand column .
  • I can expand a ::: write out each term for from the start value to the end value and add them.

Connections