impera Open Impera

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?

  • A point

  • A plane

  • A line

  • A circle

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.

Worked example

A unique solution

  1. Solve: $x + y + z = 6$, $\ 2x - y + z = 3$, $\ x + 2y - z = 2$.
  2. Row 2 − 2 × Row 1: $-3y - z = -9$. Row 3 − Row 1: $y - 2z = -4$.
  3. From the second of these, $y = 2z - 4$. Substitute: $-3(2z - 4) - z = -9$, so $-7z = -21$ and $z = 3$.
  4. $y = 2(3) - 4 = 2$. Then $x = 6 - 2 - 3 = 1$.
  5. 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?

  • To make the matrix symmetric about the diagonal

  • To make every number in the matrix equal 1

  • To remove one of the equations entirely

  • To get zeros below the leading diagonal

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.
Worked example

Infinitely many solutions

  1. Suppose row reduction gives $x + y + z = 4$, $\ y - z = 1$, and $0 = 0$.
  2. Let $z = \lambda$. Then $y = 1 + \lambda$.
  3. $x = 4 - y - z = 4 - (1 + \lambda) - \lambda = 3 - 2\lambda$.
  4. Solution: $x = 3 - 2\lambda$, $y = 1 + \lambda$, $z = \lambda$. Every value of $\lambda$ gives a solution: together they form a line.
Worked example

Finding a value of a constant

  1. A system reduces to a last row of $0\ 0\ 0\ |\ k - 2$.
  2. If $k \neq 2$, the row says $0 =$ a non-zero number: no solution.
  3. 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?

  • The system has infinitely many solutions

  • The system has one solution

  • The system has no solution

  • z = 4

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?

  • Three planes meeting at a single point

  • Three planes meeting along a line

  • Three parallel planes that never meet

  • Three planes forming a triangular prism

Show the answer

Three planes meeting at a single point

One point.

5Solving with a parameter

Worked example

Find $k$ for which the system has infinitely many solutions
$x + y + z = 3$, $2x + y - z = 1$, $3x + 2y + kz = 4$.

  1. Equation 3 minus (equation 1 plus equation 2): $(3x + 2y + kz) - (3x + 2y + 0z) = 4 - 4$.
  2. So $kz = 0$ for all solutions, which is automatically true when $k = 0$.
  3. With $k = 0$, equation 3 is the sum of the first two, so it adds no new information.
  4. 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?

  • It adds no new information, so there may be infinitely many solutions

  • The system always has no solution, as the equations contradict

  • The equations become inconsistent, so the system cannot be solved

  • The system has exactly one solution, found by back-substitution

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