Systems of linear equations
IB Mathematics: Analysis and Approaches HLΒ· 45 min read
1. Matrix Representation and Geometric Interpretationβ β ββββ± 15 min
Augmented Matrix
For a system , the augmented matrix combines the coefficient matrix and constant vector for row operations.
Example:
For ,
Each linear equation in variables corresponds to a hyperplane in -dimensional space. For 2 and 3 variables, this translates to lines (2D) and planes (3D), where the solution set is the intersection of these shapes.
Unique solution: All shapes intersect at exactly one point
Infinite solutions: Shapes intersect along a line or coincide completely
No solution: There is no common intersection point for all equations
Describe the geometric meaning of an inconsistent 2-variable system of linear equations.
- 1
Each linear equation in 2 variables represents a straight line in 2D space.
- 2
An inconsistent system has no solutions, so no point lies on both lines.
- 3
This only occurs when the two lines are parallel and distinct, with the same gradient but different intercepts.
Exam tip:
Always link algebraic solution type to geometric interpretation when asked β this is often a separate marking point.
2. Solution Methods: Inverse Matrices and Cramer's Ruleβ β β βββ± 20 min
β Calculator OK
For square systems ( equations, variables) , if is invertible (), the system has a unique solution that can be found directly with inverse matrices or Cramer's rule.
Cramer's Rule
For a 3x3 system , replace the -th column of with to get . The solution is , for .
Solve , using Cramer's rule.
- 1
Write coefficient matrix and constant vector :
- 2
- 3
Calculate :
- 4
- 5
Create (replace column 1 with ) and (replace column 2 with ):
- 6
- 7
Calculate determinants:
- 8
- 9
Find solutions:
- 10
3. Row Reduction (Gaussian Elimination)β β β βββ± 25 min
Gaussian elimination is the most flexible method for any system, including non-square systems and systems with no or infinite solutions. It uses elementary row operations to reduce the augmented matrix to row-echelon form, followed by back substitution to find solutions.
Find all solutions of , , using Gaussian elimination.
- 1
Write the augmented matrix:
- 2
- 3
Eliminate from rows 2 and 3: , :
- 4
- 5
Eliminate from row 3: :
- 6
- 7
The last row is all zeros, so we have one free variable. Let , .
- 8
Back substitute for :
- 9
Back substitute for :
- 10
The general infinite solution set is:
- 11
Exam tip:
Always clearly state the free parameter and full general solution for infinite solution sets to earn full marks.
4. Classifying Solution Types with the RouchΓ©βCapelli Theoremβ β β β ββ± 20 min
RouchΓ©βCapelli Theorem
A system has a solution if and only if . If ranks are equal: (1) number of variables β unique solution, (2) number of variables β infinite solutions. If ranks are unequal β no solution.
Find the value of for which the system has no solution: , , .
- 1
Write the augmented matrix:
- 2
- 3
Row reduce: , , then :
- 4
- 5
For no solution, . This occurs when the coefficient of is zero, but the constant term is non-zero.
- 6
Set . For , the last row becomes , which is a contradiction, so there is no solution.
5. Common Pitfalls
Wrong move:
Applying Cramer's rule when
Why:
Cramer's rule only works for systems with unique solutions, it cannot find infinite solutions or confirm inconsistency
Correct move:
Check first, use row reduction to classify solutions when
Wrong move:
Assuming all systems with are inconsistent
Why:
only means there is no unique solution, the system can still have infinite solutions
Correct move:
Check the rank of the augmented matrix after row reduction to confirm inconsistency
Wrong move:
Not including the free parameter when writing infinite solution sets
Why:
Examiners require the full general solution, not just a single particular solution
Correct move:
Introduce a free parameter for each non-pivot column, express all variables in terms of parameters
Wrong move:
Multiplying a row by zero during row reduction
Why:
This erases all information from the row and changes the solution set of the system
Correct move:
Only multiply rows by non-zero constants when performing Gaussian elimination
Wrong move:
Skipping verification of solutions for Cramer's rule
Why:
Small sign errors when calculating determinants lead to wrong solutions that are easy to miss
Correct move:
Always substitute your solution back into the original equations to check
6. Quick Reference Cheatsheet
Solution Type | Rank Condition | 3D Geometric Meaning |
|---|---|---|
Unique solution | Three planes intersect at one point | |
Infinite solutions (line) | Three planes intersect along a common line | |
Infinite solutions (plane) | All three planes are coincident | |
No solution | At least two planes are parallel or no common intersection |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2025 Β· 1
Classify 3x3 system solution type
- 2023 Β· 2
Find parameter for no solution
What's Next
Systems of linear equations are the foundation for many further topics in IB AA HL, particularly vectors in 3D space, where you will use similar methods to find intersections of lines and planes. Solution type classification is also a core skill for problems involving eigenvalues and eigenvectors of matrices, and for solving systems of linear differential equations in later calculus units. Mastery of Gaussian elimination and rank-based classification will not only help you solve exam questions on this topic, but also save time on multi-step problems across the entire syllabus.
