Skip to content
Tactiverge

Learning Rooms/✦ Level 5 · Research Engineer/Mathematics

2. Elimination with Matrices.

MIT OpenCourseWare · Length: see YouTube · captions on YouTube · nothing loads until you press play

By the end you can…

  • Carry out forward elimination and back substitution on a 3×3 system.
  • Record the multipliers as L and the result as U, and check A = LU.
  • Explain why partial pivoting is used, with the tiny-pivot example.
?Predict▶Watch✓Practise⚙Build

Watch it all: no segment has been checked by hand for this video yet.

1.Predict before you press play

Solve 0.0001x₁ + x₂ = 1, x₁ + x₂ = 2 rounding every result to 3 significant figures, using the first row as pivot. What does x₁ come out as?

Pick one before you press play. A wrong guess is fine: it is what makes the video stick.

2.See the idea first

Play with this diagram for a minute. It gives you something to hang the video on.

Loading the interactive…

Can't use the diagram? Read a description instead

The stepper lists each row operation in text, such as 'R2 ← R2 − (−1.5)·R1 (multiplier ℓ21 = −1.5)', and shows the matrix as a table. Options toggle partial pivoting and rounding to 3 significant figures; the readout reports the final solution.

3.Watch, actively

Gilbert Strang works through Gaussian elimination at the board, including pivots, failure cases and elimination as matrix multiplication.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

Watch for…

  • → Gilbert Strang writes each elimination step as multiplication by an elimination matrix. Watch how those combine into L.

Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.

Can't stream it? Read the idea instead

Elimination subtracts multiples of one equation from the others to clear a column below each pivot, leaving a triangular system solved by back substitution. If a pivot is zero, swap rows; if no swap helps, the matrix is singular. Recording the steps gives A = LU.

What the video covers (our own note, written when we verified it): Gilbert Strang works through Gaussian elimination at the board, including pivots, failure cases and elimination as matrix multiplication.

Written by Tactiverge in our own words, not a transcript. The full lesson below explains the idea without the video.

Read it instead

Jot down one thing that surprised you and one question you still have.

Private: saved only on this device, never sent to Tactiverge.

4.Practise what you just saw

These come from the lesson that use this video and are checked on the server. Wrong answers get a hint and another try.

Practice 1

Why does partial pivoting help?

Practice 2

You have A = LU. A new right-hand side b′ arrives. What do you do?

Practice 3

Factorising costs about (2/3)n³ operations. Roughly how many times longer does n = 2000 take than n = 1000?

Practice 4

In A = [[2, 1, −1], [−3, −1, 2], [−2, 1, 2]], what multiplier ℓ₂₁ clears the (2, 1) entry?

5.Try it yourself

No simulation models this idea yet. The lesson below has an interactive diagram instead.

6.Where engineers use it

A structural code factorises the stiffness matrix K = LU once, then solves for displacements under dozens of load cases (wind, snow, traffic) with cheap triangular solves.

From the applied view in the lesson Gaussian elimination, back substitution and LU. Checked by automated tests only.

7.Build something with it

Follow-up project

In the Code Lab, implement lu(A) without pivoting, test that L·U reproduces A on three matrices, then show it failing on [[0, 1], [1, 0]] and explain why pivoting fixes it.

Where this video lives

In the course catalogue: MATH-510 Applied linear algebra

The video is by MIT OpenCourseWare, embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.