Lecture notes · Linear Algebra · Lecture 2

Elimination with matrices

MIT 18.06 Linear Algebra, lecture 2, explained in plain English

Want this lecture to stick? In LessonBound you get checked practice questions for every part, can ask about anything you don't get, and can listen with your screen off. Free, no ads.

Learn this lecture free

Watch or read the original lecture: MIT OpenCourseWare.

Part 1 · 0:00–10:00

This part introduces elimination, the step-by-step method for solving a system of equations by turning the matrix into a simpler triangular form.

Key ideas

Words to know

elimination
A method of solving equations by removing one unknown at a time, using subtraction, until the answer is easy to find.
pivot
The key number you start with in a step. It is the number you use to clear out the numbers below it.
multiplier
The number you multiply an equation by before subtracting it, chosen so that a chosen term cancels to zero.
upper triangular
A matrix with zeros in every position below the main diagonal, so the non-zero numbers form a triangle in the upper part.

Example

Think of a set of clues where you want to find three hidden numbers. You use one clue to remove one unknown from another clue, then keep going until only one unknown is left. Elimination works the same way, removing one variable at a time so the answer becomes easy to read off.

3 checked practice questions for this part are in the app.

Part 2 · 10:00–20:00

This part explains when elimination can fail, how a row swap can rescue it, how the right-hand side is carried along, and how back substitution solves the final triangular equations.

Key ideas

Words to know

pivot
The number you use as the main anchor when you clear out the numbers below it in a column.
row exchange
Swapping two equations (rows) in a matrix, usually to move a nonzero number into the pivot spot.
augmented matrix
A matrix with the right-hand side numbers tacked on as an extra column, so the equations and their answers are kept together.
back substitution
Solving the last equation first, then plugging that answer into the equation above it, and repeating until you reach the top.

Example

Think of a set of stacked bricks where each brick must be placed on top of the one below it. If the spot you need is empty, you might swap in a different brick from below to fill it. Only if no bricks are left to swap in do you truly get stuck. Back substitution is like building from the top of the stack down to the bottom: you know the top piece first, and each piece below it then becomes easier to figure out.

3 checked practice questions for this part are in the app.

Part 3 · 20:00–30:00

This part shows how a row operation, like subtracting 3 times row one from row two, can be written as a matrix multiplication.

Key ideas

Words to know

Linear combination
A mix of things where each one is multiplied by a number and then added together, like 1 times row one plus 2 times row two.
Identity matrix
A matrix with 1s on the diagonal and 0s elsewhere. Multiplying by it leaves everything unchanged.
Elementary matrix
A simple matrix that performs one basic step of elimination, such as subtracting a multiple of one row from another.
Dot product
A way to get one number by multiplying matching entries of a row and a column, then adding those results.

Example

Think of a recipe where each row is an ingredient list. Taking 3 cups of flour away from a second recipe card is like changing one row using another row. Writing that one change as a single simple grid is what the elementary matrix does.

3 checked practice questions for this part are in the app.

Part 4 · 30:00–40:00

This part shows how a row-by-row cleanup of a matrix can be packed into one single matrix, and how row swaps are handled with a permutation matrix.

Key ideas

Words to know

elimination matrix
A matrix that performs one clearing step on another matrix, such as subtracting a multiple of one row from another row.
pivot
The number in the position you are clearing from, which is used as the base for the subtraction step.
associative law
A rule that says you can move the parentheses in a multiplication, as long as you keep the matrices in the same order.
permutation matrix
A matrix that swaps rows (or columns) of another matrix when you multiply by it.

Example

Think of a recipe made of several steps, written as a list of small instructions. You can follow the steps one by one, or you can combine them into one shorter set of instructions that gives the same finished dish. The lesson works the same way: many small elimination steps can be combined into one matrix that gives the same result.

3 checked practice questions for this part are in the app.

Part 5 · 40:00–47:23

This part explains that a matrix placed on the left of another matrix does row operations, that the order of matrices matters, and that an inverse matrix undoes a step.

Key ideas

Words to know

Inverse
A matrix that undoes what another matrix did. Multiplying a matrix by its inverse gives back the identity matrix.
Identity matrix
A square grid of numbers with 1s down the diagonal and 0s everywhere else. Multiplying by it changes nothing, like multiplying by 1.
Permutation matrix
A matrix made by rearranging the rows or columns of the identity matrix. It can swap rows or columns.
Commutative law
The rule that you can swap the order of numbers in a multiplication and get the same answer. For matrices, this rule does not hold.

Example

Think of putting on a sock, then undoing it by taking the sock off. Taking the sock off is the inverse step, because it reverses what you did. In the lesson, adding 3 times row 1 back to row 2 reverses the earlier step of subtracting it.

3 checked practice questions for this part are in the app.

← Lecture 1: The geometry of linear equations · Lecture 3: Multiplication and inverse matrices →

Notes written by AI (Claude) from the lecture's official transcript, so check anything important against the lecture. MIT OpenCourseWare · CC BY-NC-SA 4.0 · not affiliated with or endorsed by MIT. These notes are shared under the same license.

LessonBound · Free lecture notes · Privacy · Terms · New York