lesson

Updated 6 days ago Β· 2 views
Every time your phone pinpoints your location, GPS satellites solve a massive system of linear equations in a fraction of a second. They do not use messy algebraic substitutionβinstead, they strip away the variable names and work purely with number grids.
A matrix is a rectangular grid of numbers arranged in rows and columns. When we take the coefficients (the numbers multiplying the variables) and constants from a system of equations and arrange them in a grid, we create an augmented matrix.
πA clean interactive translation diagram showing a 2x2 system of linear equations converting into an augmented matrix. Equation side: '2x + y = 7' and 'x + 3y = 11'. Augmented matrix side: a 2x3 matrix with a vertical divider bar: [ [2, 1 | 7], [1, 3 | 11] ]. Visual color-coded arrows show coefficients (2, 1, 1, 3) highlighted in blue going to the left of the bar, variables x and y labeled on top columns, and constants (7, 11) highlighted in green to the right of the bar. Card layout with light gray background (#f8f9fa), dark text (#1e2945), and smooth hover highlight effects.
Stripping away the variables saves space, but how do we manipulate this grid of numbers to find the values of x and y?
The Three Legal Row Moves
Over 2,000 years ago, Chinese mathematicians in The Nine Chapters on the Mathematical Art solved equations using counting rods on a board, which Carl Friedrich Gauss formalized in the 1800s as Gaussian elimination.
Because each row represents a complete balance equation, you can perform three elementary row operations without changing the underlying solution:
πA visual cheat sheet showing the three elementary row operations. 1. Swap: Two rows swap places with a double curved arrow (R1 <-> R2). 2. Scale: Multiply every entry in a row by a non-zero constant (k * R1 -> R1). 3. Add/Subtract: Add a multiple of one row to another row (R2 - 2*R1 -> R2). Each operation has a 1-line plain English note explaining why it is legal algebraically (swapping equation order, multiplying both sides by a number, adding equations together). Modern card design, blue/amber accents, high contrast.
Our ultimate target is the identity matrix on the left side: [10β01ββ£β£βabβ], which translates directly to 1x+0y=a and 0x+1y=b.
How do we get from our starting grid to that clean identity matrix? Let's walk through an entire problem step-by-step.
Step-by-Step Row Reduction
Let's solve the system 2x+y=7 and x+3y=11. In matrix form, this starts as:
πAn animated step-by-step row reduction flow: Step 1: Start with [[2, 1 | 7], [1, 3 | 11]]. Step 2: Swap R1 <-> R2 to get a leading 1 in top-left -> [[1, 3 | 11], [2, 1 | 7]]. Step 3: Replace R2 with R2 - 2*R1 to create a 0 below the 1 -> [[1, 3 | 11], [0, -5 | -15]]. Step 4: Scale R2 by dividing by -5 -> [[1, 3 | 11], [0, 1 | 3]]. Step 5: Replace R1 with R1 - 3*R2 to eliminate the top-right entry -> [[1, 0 | 2], [0, 1 | 3]]. Final readout: x = 2, y = 3. Step indicator buttons allow clicking through or auto-playing with 2s pause.