Systems of Equations · Topic 1 of 1
1. Gaussian Elimination
Theory
A system of three equations in three unknowns can be solved by writing an augmented matrix and using row operations to reach upper-triangular form, then back-substituting. The permitted row operations are: swap two rows, multiply a row by a non-zero constant, and add a multiple of one row to another.
Reducing a system leads to one of three outcomes:
- Unique solution — the matrix reduces fully; solve by back-substitution.
- Redundancy — a row becomes , giving infinitely many solutions described by a parameter.
- Inconsistency — a row becomes with , which is impossible, so there is no solution.
A related idea is ill-conditioning: a system where a tiny change in a coefficient or constant produces a large change in the solution (geometrically, the lines or planes are nearly parallel).
The Golden Rule: use row operations only, never column operations, and show each operation (e.g. ). Read the final row carefully: means redundant, means inconsistent.
⚠️ Common Examiner Traps
- Redundant vs inconsistent: a final row of is infinitely many solutions; () is none.
- Arithmetic under pressure: keep the augmented bar aligned and state each row operation so slips are easy to spot and recover.
- Column operations: only row operations are valid — never operate on columns.
Worked examples
Example 1
Unique solution. Use Gaussian elimination to solve:
Step 1: Write the augmented matrix and eliminate the first column:
Step 2: Eliminate the second column below the pivot:
Step 3: Back-substitute: ; then ; then .
Example 2
Redundancy. Solve the system:
Step 1: Eliminate the first column:
Step 2: Eliminate the second column:
Step 3: The final row is , so the system is redundant with infinitely many solutions. Let . Then and :
Example 3
Inconsistency. Show that the following system has no solution:
Step 1: Eliminate the first column:
Step 2: Eliminate the second column:
Step 3: The final row reads , which is impossible. The system is inconsistent and has no solution.
Example 4
Ill-conditioning. Solve . Then re-solve with the second constant changed to , and comment.
Step 1: Subtracting the first equation from the second gives , so and . Solution .
Step 2: With the constant changed to , subtracting gives , so and . Solution .
Step 3: A change of just in one constant moved the solution from to . The system is ill-conditioned — the two lines are almost parallel, so the solution is highly sensitive to small changes.
Example 5
Show that the system below has infinitely many solutions, give the general solution in terms of a parameter , and state the particular solution when .
The system is , , .
Step 1: Write the augmented matrix:
Step 2: Clear the first column with and :
Step 3: Rows 2 and 3 are now identical, so produces a row of zeros:
The line is always true, so the third equation was redundant — it carried no new information. Two equations cannot pin down three unknowns, so there are infinitely many solutions.
Step 4: Introduce a parameter for the free variable. Let . From row 2:
Step 5: Back-substitute into row 1:
Step 6: The general solution is:
Step 7: Setting gives the particular solution .
Check: in the second equation, ✓
Example 6
A parabola with equation passes through the points , and . Form a system of equations and solve it to find the equation of the parabola.
Step 1: Substitute each point into . Each one gives a linear equation in the three unknowns:
Step 2: Eliminate by subtracting consecutive equations:
Step 3: Subtract these two to find :
Step 4: Back-substitute for , then :
Step 5: The parabola is:
Check: at , ✓