A matrix is a rectangular array of numbers organized in rows and columns. An m x n matrix has m rows and n columns. Matrices represent systems of linear equations in compact form: the coefficient matrix, the variable matrix, and the augmented matrix. Row operations on the augmented matrix correspond to elimination steps. This representation is the gateway to linear algebra, a cornerstone of modern mathematics and applications.
Introduce matrices as organized storage for system coefficients. Write a system of equations as an augmented matrix. Perform row operations (swap, scale, add multiples) to reduce to row echelon form. Connect each operation to an elimination step. Practice with 2x2 and 3x3 systems.
You already know how to solve systems of linear equations by elimination — adding or subtracting multiples of equations to cancel variables one at a time. A matrix is simply a more organized notation for doing exactly that work. Instead of writing out full equations with variable names every step, you strip away the variables, arrange the coefficients in a rectangular grid, and operate on the rows.
A matrix is described by its dimensions as m × n, where m is the number of rows and n is the number of columns. When you write a system of equations as an augmented matrix, each row corresponds to one equation and each column (except the last) corresponds to one variable. The final column holds the constants from the right-hand side of each equation, typically separated by a vertical bar. For example, the system 2x + 3y = 7 and x − y = 1 becomes the augmented matrix [[2, 3 | 7], [1, −1 | 1]].
Row operations on this matrix correspond exactly to the algebraic steps of elimination: you can swap two equations (swap rows), multiply an equation by a nonzero constant (scale a row), or add a multiple of one equation to another (add a scaled row to another row). Critically, none of these operations change the solution — they produce an equivalent system. This is why the method works: you are simplifying without distorting.
The goal is to reach row echelon form, where the matrix has a staircase pattern of zeros below each leading entry (called a pivot). From there, back-substitution gives you the variable values. A fully reduced form (reduced row echelon form, or RREF) makes the solution readable without any back-substitution at all.
Matrices are not just a bookkeeping shortcut for systems of equations — they are objects in their own right with algebraic operations like addition, multiplication, and inversion. The systems-solving context is where most students first meet them, but the structure you are building here — objects organized in grids, operations that preserve certain properties — extends into linear algebra, computer graphics, machine learning, and much of modern applied mathematics.