Augmented Matrices
An augmented matrix is a system with the letters stripped off: just the numbers, one row per equation. Row operations are elimination done on those rows, and they tidy the matrix until you can read off the answer.
Explanation
An augmented matrix is simply a system of equations written as a grid of its numbers, with the letters left out. A matrix is any rectangular grid of numbers; "augmented" means "added to," because the right-hand sides are tacked on as an extra column after the bar. All we're really doing is elimination, same as the last two lessons, but without writing , and over and over. The bracket up top looks new, but read it piece by piece: each row (one equation), each column (one variable's coefficients), and the bar (where the equals sign used to be). Nothing else has changed. It's honestly less writing, not more.
Row operations. When you did elimination by hand, you only ever did three things to equations. Here they are again, now as things you do to rows:
- Swap two rows.
- Multiply a row by a nonzero number.
- Add a multiple of one row to another: .
None of these change the solutions. Swapping just reorders the list. Multiplying both sides of an equation by a nonzero number keeps it true. And adding a multiple of one true equation to another gives another true equation, which is exactly why elimination worked.
The goal is row-echelon form: 1s down the diagonal and 0s below. The bottom row then has just one variable, so you solve it and back-substitute upward. If you keep going and get 0s above the diagonal too (reduced row-echelon form), the solution is sitting right there in the last column.
Reading special rows. Remember the two strange endings from elimination? They show up here too.
- with means : no solution.
- A row of all zeros means one equation was redundant: often infinitely many solutions.
This is exactly how computers solve systems, and it's where linear algebra begins.
See it
Worked examples
Solve , with an augmented matrix.
- 1
Clear the 3 below the first 1 with : .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Solve the system with augmented matrix . Enter , .
Apply to that matrix. Enter the new second row's three entries.
Back-substitute in . Enter , , .
A row reduces to . What does that mean?
A two-variable system reduces to . How many solutions?
Food A has 2 g of protein and 1 g of fat per serving; food B has 1 g of protein and 3 g of fat. How many servings of each give exactly 7 g of protein and 11 g of fat? Enter A, then B.
In , apply and . Enter the new third row's four entries.
The hardest one here. Get it, and you've got this lesson.
Solve by row reduction: , , . Enter , , .
Where it's used
Circuit analysis, structural engineering, computer graphics and machine learning all reduce to large linear systems solved by row reduction.