IB Diploma Mathematics AA · Number and algebra
Systems of linear equations (HL)
1Three equations in three unknowns
A system of linear equations is a set of equations that must all be true together. With three unknowns, $x$, $y$ and $z$, each equation is a plane in three dimensions.
A system can have:
- one unique solution: the three planes meet at a single point;
- no solution: the system is inconsistent;
- infinitely many solutions: the planes share a line or a plane.
Check yourself
What does each linear equation in x, y and z represent?
Show the answer
A plane
Three planes can meet at a point, along a line, or not at all.
2Row reduction
The standard method is elimination, set out with an augmented matrix: the coefficients and the constants written in a grid.
Three row operations do not change the solutions:
- swap two rows;
- multiply a row by a non-zero number;
- add a multiple of one row to another.
The aim is row echelon form: zeros below the leading diagonal. Then solve from the bottom up. This is back-substitution.
A unique solution
- Solve: $x + y + z = 6$, $\ 2x - y + z = 3$, $\ x + 2y - z = 2$.
- Row 2 − 2 × Row 1: $-3y - z = -9$. Row 3 − Row 1: $y - 2z = -4$.
- From the second of these, $y = 2z - 4$. Substitute: $-3(2z - 4) - z = -9$, so $-7z = -21$ and $z = 3$.
- $y = 2(3) - 4 = 2$. Then $x = 6 - 2 - 3 = 1$.
- Solution: $x = 1$, $y = 2$, $z = 3$. Check in the third equation: $1 + 4 - 3 = 2$. Correct.
Check yourself
What is the aim of row reduction?
Show the answer
To get zeros below the leading diagonal
The system can then be solved from the bottom up.
3No solution, or infinitely many
After row reduction, look at the last row.
- A row such as $0\ 0\ 0\ |\ 5$ says $0 = 5$, which is impossible. The system is inconsistent: no solution.
- A row such as $0\ 0\ 0\ |\ 0$ says $0 = 0$, which gives no information. There are infinitely many solutions. Let one unknown equal a parameter, such as $z = \lambda$, and write the others in terms of it.
Infinitely many solutions
- Suppose row reduction gives $x + y + z = 4$, $\ y - z = 1$, and $0 = 0$.
- Let $z = \lambda$. Then $y = 1 + \lambda$.
- $x = 4 - y - z = 4 - (1 + \lambda) - \lambda = 3 - 2\lambda$.
- Solution: $x = 3 - 2\lambda$, $y = 1 + \lambda$, $z = \lambda$. Every value of $\lambda$ gives a solution: together they form a line.
Finding a value of a constant
- A system reduces to a last row of $0\ 0\ 0\ |\ k - 2$.
- If $k \neq 2$, the row says $0 =$ a non-zero number: no solution.
- If $k = 2$, the row says $0 = 0$: infinitely many solutions.
Check yourself
After row reduction, the last row reads 0 0 0 | 4. What does this mean?
Show the answer
The system has no solution
It says 0 = 4, which is impossible.
4Geometric meaning of solutions
Each equation in three unknowns represents a plane.
- Unique solution: the three planes meet at a single point.
- Infinitely many solutions: the planes meet along a line (or are the same plane).
- No solution: the planes have no common point, for example two parallel planes, or three planes forming a triangular prism.
Check yourself
What does a unique solution to three equations in three unknowns represent?
Show the answer
Three planes meeting at a single point
One point.
5Solving with a parameter
Find $k$ for which the system has infinitely many solutions
$x + y + z = 3$, $2x + y - z = 1$, $3x + 2y + kz = 4$.
- Equation 3 minus (equation 1 plus equation 2): $(3x + 2y + kz) - (3x + 2y + 0z) = 4 - 4$.
- So $kz = 0$ for all solutions, which is automatically true when $k = 0$.
- With $k = 0$, equation 3 is the sum of the first two, so it adds no new information.
- Two independent equations in three unknowns give infinitely many solutions, along a line.
Check yourself
If one equation is a combination of the others, what happens?
Show the answer
It adds no new information, so there may be infinitely many solutions
Dependent equations.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera