Solving simultaneous equations with matrices
Studying this course? Keep your progress in one place.
Key facts
- Write three equations as ; if then (inverse on the left).
- If there is no unique solution: the system is either consistent (infinitely many) or inconsistent (none).
- Decide which by elimination: a true statement like means consistent; a false one like means inconsistent.
- Each equation is a plane; a unique solution is one point where three planes meet.
- Name the arrangement: a point, a line (sheaf), a triangular prism or parallel planes.
Matrix form and the inverse
Write the equations as and multiply on the left by when .
In the rows of the coefficient matrix are the coefficients, and holds the right-hand sides in the same order.
If then exists and there is a unique solution.
State clearly which side the inverse multiplies. Use a calculator for inverses only when the question allows it; otherwise use elimination.
Worked example
Solve , , , given .
- 1
Write with .
- 2
.
- 3
Check in the first equation: .
Which is correct for with ?
No unique solution
With the system has either infinitely many solutions or none; use elimination to decide.
If the matrix is singular, there is no inverse, and there is not exactly one solution. Two possibilities:
- Consistent: infinitely many solutions.
- Inconsistent: no solutions.
Combine equations. If you get a true statement for every value (such as ) the system is consistent; if a false statement (such as ), it is inconsistent.
Consistent
- Infinitely many solutions
- Elimination gives a true statement, e.g.
Inconsistent
- No solution
- Elimination gives a false statement, e.g.
Worked example
Discuss the solutions of , , .
- 1
Add the first two equations: .
- 2
If the third equation is redundant.
- 3
If the third equation contradicts .
A system has . Which is true?
Geometry of the planes
Each equation is a plane, and the way three planes meet decides the number of solutions.
Each equation is a plane. A solution is a point on all three.
Unique solution (): the three planes meet at a single point.
For , check whether any two left-hand sides are proportional. If none are, an inconsistent system is a triangular prism.
Parametrise infinite solutions with , and give all three coordinates in terms of . Name the arrangement.
One solution
- Three planes meet at one point
Infinitely many
- , consistent
- A sheaf: three planes share a line
- Or two planes coincide and the third crosses them
- Or all three coincide
No solution
- , inconsistent
- A triangular prism: three parallel lines
- Or parallel planes with a third crossing
Three planes, no two parallel, meet pairwise in three parallel lines. How many solutions are there?
Parameters in the equations
Find the determinant in terms of the letters, then treat the zero case with elimination.
Consider , , . The determinant is .
If the solution is unique. For the first two equations add to , so the third equation is redundant if , and a contradiction otherwise.
Spot the combination first: when the third left-hand side equals the sum of the first two, the right-hand sides decide everything.
- Unique solution
- Three planes meet at a point
,
- Infinitely many
- A line of solutions (sheaf)
,
- No solution
- Triangular prism
Worked example
Discuss the solutions for different and .
- 1
: unique solution. For , the solution is .
- 2
: adding the first two equations gives .
- 3
If , the third equation is redundant. With the solution is , a line.
- 4
If , there is a contradiction, so no solution. No two planes are parallel, so the planes form a triangular prism.
In the example, and . How many solutions are there?
Try an exam question
The equations , and are given. Find the values of for which there is a solution, and describe the geometrical arrangement of the three planes when there is not.
[4 marks]
- [1]Adding the first two equations gives .
- [1]If , the third equation is redundant, so there are infinitely many solutions.
- [1]If , the third equation contradicts , so there is no solution.
- [1]No two planes are parallel, so for the planes form a triangular prism.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which of the following is the matrix form of the three equations?
1 mark, marked against the mark scheme
Which of the following is the matrix form of the three equations?
1 mark, marked against the mark scheme