9.9Unit Review
Consolidate your understanding of two- and three-variable linear systems, nonlinear systems, partial fractions, matrix operations, Gaussian elimination, solving with inverses, and Cramer's Rule.
By Sang Lee · Last updated
Systems and matrices are the backbone of linear algebra, data science, and engineering. Reviewing multiple solution methods — substitution, elimination, row reduction, inverses, and determinants — gives you flexible tools for any system you encounter.
Unit 9 Summary: Systems of Equations and Matrices
9.1 Two-Variable Systems
Substitution, elimination, graphing. Unique / no solution / infinitely many.
9.2 Three-Variable Systems
Elimination to triangular form, back-substitution.
9.3 Nonlinear Systems
Substitution for curves; graph inequality regions (test a point).
9.4 Partial Fractions
4 cases (distinct linear, repeated linear, irreducible quadratic, repeated quadratic). Improper → long division first.
9.5 Matrix Operations
Add/subtract (same size), scalar mult, matrix mult (row × col). AB ≠ BA.
9.6 Gaussian Elimination
Augmented matrix [A|b], row operations, REF → back-sub, RREF → read directly.
9.7 Inverse Method
det(A) = ad−bc; A⁻¹ = (1/det)·[[d,−b],[−c,a]]; x = A⁻¹b. Gauss-Jordan for larger.
9.8 Cramer's Rule
x = Dₓ/D, y = Dᵧ/D. Replace column with constants. D = 0 → no unique solution.
Review Examples
Solve the system: 3x + 2y = 12, x − y = 1.
From eq2: x = y + 1
Substitute: 3(y+1) + 2y = 12 → 5y = 9 → y = 9/5
x = 9/5 + 1 = 14/5
Decompose: (2x + 3) / ((x+1)(x−1)).
Set up: A/(x+1) + B/(x−1)
Multiply: 2x+3 = A(x−1) + B(x+1)
x = 1: 5 = 2B; B = 5/2
x = −1: 1 = −2A; A = −1/2
Find AB where A = [[1,2],[3,4]] and B = [[2,0],[1,3]].
c₁₁ = 1·2 + 2·1 = 4
c₁₂ = 1·0 + 2·3 = 6
c₂₁ = 3·2 + 4·1 = 10
c₂₂ = 3·0 + 4·3 = 12
Solve using Gaussian elimination: x + 2y + z = 8, 2x + y − z = 3, x − y + 2z = 5.
Augmented: [[1,2,1|8],[2,1,−1|3],[1,−1,2|5]]
R₂ → R₂ − 2R₁: [[1,2,1|8],[0,−3,−3|−13],[1,−1,2|5]]
R₃ → R₃ − R₁: [[1,2,1|8],[0,−3,−3|−13],[0,−3,1|−3]]
R₃ → R₃ − R₂: [[1,2,1|8],[0,−3,−3|−13],[0,0,4|10]]
z = 10/4 = 5/2; y = (−13+3·5/2)/(−3) = (−11/2)/(−3) = 11/6; x = 8 − 2(11/6) − 5/2
Solve 4x + y = 9, 3x + 2y = 8 using Cramer's Rule.
D = det([[4,1],[3,2]]) = 8 − 3 = 5
Dₓ = det([[9,1],[8,2]]) = 18 − 8 = 10; x = 10/5 = 2
Dᵧ = det([[4,9],[3,8]]) = 32 − 27 = 5; y = 5/5 = 1
Guided Practice
Solve: 2x − y = 5, x + 3y = 7.
Hint: Use substitution or elimination. From eq1: y = 2x − 5.
Decompose: (x + 5) / (x(x + 5)).
Hint: Simplify first: (x+5)/(x(x+5)) = 1/x. No decomposition needed!
Find A⁻¹ for A = [[5,3],[2,1]].
Hint: det = 5·1 − 3·2 = −1; A⁻¹ = (1/−1)·[[1,−3],[−2,5]].
Write the augmented matrix for: 2x + y − z = 4, x − 2y + 3z = 1, 3x + y + z = 7. Then perform two row operations.
Hint: Augmented: [[2,1,−1|4],[1,−2,3|1],[3,1,1|7]]. Swap R₁ and R₂ first to get a leading 1.
Evaluate: det([[2,3,1],[0,4,−1],[1,2,3]]).
Hint: Expand along column 1 (it has a zero): 2·det([[4,−1],[2,3]]) − 0 + 1·det([[3,1],[4,−1]]).
Quick Review Quiz
Interactive Practice — 5 Questions
Which method is most efficient when solving Ax = b for 5 different b vectors with the same A?
The partial fraction form for 1/((x−1)²(x+2)) is:
A row [0 0 0 | 5] in a reduced augmented matrix means:
For A = [[3,1],[7,2]], det(A) =
Matrix multiplication AB is defined when:
Common Mistakes to Avoid
Common Mistakes
Forgetting to check det(A) before using the inverse method or Cramer's Rule
Always compute det(A) first. If det = 0, neither method works — use Gaussian elimination instead.
Using a constant numerator for an irreducible quadratic factor in partial fractions
Irreducible quadratic factors (x²+bx+c) require a LINEAR numerator Ax+B, not just a constant A.
Multiplying matrices entry-by-entry like addition
Matrix multiplication uses the row-times-column dot product. Entry cᵢⱼ = (row i of A)·(column j of B).
Applying a row operation to only part of the row (forgetting the augmented column)
Row operations apply to the ENTIRE row, including the constant column in the augmented matrix.
Assuming AB = BA for matrices
Matrix multiplication is NOT commutative. AB and BA are generally different matrices.
Key Strategies
Math Tips
Choose your method wisely: substitution/elimination for 2×2, Gaussian for 3×3+, inverse for repeated b vectors, Cramer's for one variable at a time.
For partial fractions: factor the denominator completely first, then set up the correct form based on the factor types.
Dimension check for matrix multiplication: (m×n)(n×p) = m×p. The inner dimensions must match.
In Gaussian elimination, work column by column left to right. Get a leading 1, then eliminate all entries below it.
The determinant is the key to everything: det ≠ 0 → unique solution, invertible matrix, Cramer's Rule works.
For nonlinear systems, substitution is almost always the right approach — solve one equation for one variable and substitute.