Systems, Matrices, and Inequalities
Solve systems of linear and nonlinear equations and inequalities. Apply matrices and Gaussian elimination.
What you'll learn in this unit
Unit 9 develops systematic methods for solving problems that involve more than one equation or inequality simultaneously. You will solve 2×2 and 3×3 systems of linear equations using substitution, elimination, and matrix methods. The matrix approach — augmented matrices and row reduction (Gaussian elimination) — scales to any size system and is the foundation of linear algebra, which underlies computer graphics, machine learning, and engineering.
Matrices are introduced as rectangular arrays of numbers with their own arithmetic: addition, scalar multiplication, and matrix multiplication. Matrix multiplication is not commutative (AB ≠ BA in general), and the conditions for it to be defined (the inner dimensions must match) must be checked before computing. The inverse of a square matrix and its use in solving matrix equations are also covered.
The unit closes with systems of inequalities and linear programming — finding the maximum or minimum of a linear objective function subject to linear constraints. The feasible region is a polygon, and the optimal value always occurs at a vertex. This connects to real-world optimization problems in economics and operations research, and it reinforces graphing skills from Units 2 and 3.
Key formulas & ideas
Augmented matrix [A|b]Represents the system Ax = b. Row reduce to reduced row echelon form (RREF) to read off the solution.
Row operationsThree legal operations: swap two rows, multiply a row by a nonzero constant, add a multiple of one row to another.
(AB)ᵢⱼ = Σ aᵢₖ bₖⱼMatrix multiplication: entry (i, j) of AB is the dot product of row i of A with column j of B.
AA⁻¹ = A⁻¹A = IInverse matrix: A⁻¹ exists only if A is square and its determinant is nonzero. Solve Ax = b as x = A⁻¹b.
det(2×2) = ad − bcDeterminant of [[a,b],[c,d]] equals ad − bc. If det = 0, the matrix has no inverse and the system has no unique solution.
Feasible region verticesIn linear programming, the optimal value of the objective function occurs at a vertex of the feasible region. Evaluate the objective at each vertex.
Nonlinear systemsSolve by substitution: isolate one variable from the simpler equation and substitute into the other. Expect multiple solutions.
How to study this unit
Recommended study order
Work through: solving 2×2 systems by substitution and elimination → solving 3×3 systems → augmented matrices and row reduction → matrix operations (addition, multiplication) → inverse matrices → determinants → systems of inequalities → linear programming → nonlinear systems → unit review. Master row reduction before moving to matrix inverses.
Practice tips
- When row reducing, work column by column from left to right. Create a leading 1 in each pivot position, then eliminate all other entries in that column.
- For matrix multiplication, check dimensions first: an m×n matrix times an n×p matrix gives an m×p matrix. If the inner dimensions don't match, the product is undefined.
- For linear programming, graph all constraint inequalities, identify the feasible region, find all vertices (corner points), and evaluate the objective function at each vertex.
- For nonlinear systems, substitution is almost always the right approach — elimination rarely simplifies nonlinear equations.
Common mistakes to watch for
- Performing illegal row operations (multiplying a row by zero, or adding rows without a scalar multiple) — only the three standard operations are allowed.
- Reversing the order in matrix multiplication: AB and BA are generally different matrices.
- Forgetting to check whether the feasible region is bounded — an unbounded region may have no maximum (or no minimum).
- Stopping after finding one solution to a nonlinear system — always check whether additional intersection points exist.
Before the unit test — checklist
- ✓I can solve a 2×2 and 3×3 linear system using elimination and row reduction.
- ✓I can perform matrix addition, scalar multiplication, and matrix multiplication.
- ✓I can find the inverse of a 2×2 matrix and use it to solve a matrix equation.
- ✓I can compute the determinant of a 2×2 matrix and interpret it.
- ✓I can graph a system of inequalities and identify the feasible region.
- ✓I can solve a linear programming problem by evaluating the objective function at each vertex.
- ✓I can solve a nonlinear system by substitution.