Solve systems of up to three linear equations by row reduction and with a GDC, decide whether a system has one, infinitely many or no solutions, and interpret each case as planes meeting in space.
Each is in the Maths AA glossary, with every other term in the subject.
Solving a system in triangular form by finding the unknown in the last equation first, then substituting it into the equations above it in turn.
A system of equations that has at least one solution (a unique solution or infinitely many). A system with no solution is called inconsistent.
An equation in which each unknown appears only to the first power and is multiplied only by a constant, such as .
With a free account, Augment remembers where you stopped and what you have practiced.
Solving a system of linear equations by swapping equations, multiplying an equation by a non-zero constant and adding a multiple of one equation to another, until the unknowns can be found one at a time.
A set of two or more linear equations in the same unknowns, to be satisfied at the same time. A solution is a set of values of the unknowns that satisfies every equation.
The form of a system after row reduction in which each equation has fewer unknowns than the one before, for example the last equation contains only , so the system can be solved by back substitution.
Many problems involve several unknown quantities linked by several conditions at once. A dietitian choosing amounts of three foods to meet targets for protein, carbohydrate and fat, a company working out the prices of three products from sales totals, and the search for a curve through given points all lead to a set of linear equations that must hold at the same time. Solving such a system means finding every combination of values that satisfies all the equations together.
Systems of linear equations have a clear structure. A system can have exactly one solution, infinitely many, or none, and a method called row reduction finds which case applies and what the solutions are. In three dimensions each equation describes a plane, so the three cases correspond to different ways in which three planes can sit in space.
A linear equation is one in which each unknown appears only to the first power, multiplied by a constant. There are no products of unknowns, no powers, roots or functions of them. For example, is linear, but ,
A system of linear equations is often called a set of simultaneous equations. Every system falls into exactly one of three cases: a unique solution, infinitely many solutions, or no solution. A consistent system is one in either of the first two cases. It is impossible for a linear system to have exactly two solutions, or any other finite number greater than one: once there are two solutions, every point on the line through them is also a solution.
A linear equation in and , such as , has a straight line as its graph. A solution of two such equations is a point that lies on both lines. The three cases correspond to the three ways two lines in a plane can be arranged.
Arrangement of the lines | Number of solutions | Example |
|---|---|---|
Intersecting (different gradients) | Exactly one | and |
Parallel and distinct (same gradient, different intercepts) | None |
Two equations in two unknowns can be solved by substitution or by elimination. In elimination, each equation is multiplied by a suitable constant so that adding or subtracting them removes one unknown. The same idea, applied repeatedly, solves larger systems.
The method for three equations generalises elimination. It rewrites the system step by step, using operations that do not change its set of solutions, until the unknowns can be read off one at a time. This process is called row reduction (or Gaussian elimination). Three operations are allowed.
Swap two equations.
Multiply an equation by a non-zero constant.
Replace an equation by itself plus a multiple of another equation.
None of these operations changes the solutions. Any values that satisfy the old equations also satisfy the new ones, since the new equations are built from the old ones; and each operation can be undone by another operation of the same kind, so no solutions are gained either. This is why the final, simpler system has exactly the same solutions as the original. The notation
The aim of row reduction is to reach triangular form, in which the second equation contains no and the third contains neither nor :
The last equation gives ; substituting it into the second gives ; substituting both into the first gives . Solving from the bottom up in this way is called back substitution.
The strategy is always the same: use the first equation to eliminate from the second and third, then use the new second equation to eliminate from the third.
Writing , and in every line is slow. Since only the coefficients change, the system can be written as an array of numbers, one row per equation, with a vertical bar separating the coefficients from the right-hand sides. Each row is still an equation: the row
When the first equation has no , it cannot be used to eliminate from the others. Swapping it with an equation that does contain fixes this. Equations with a missing unknown are welcome later in the process, since they are already partly reduced.
A graphic display calculator (GDC) has a simultaneous equation solver: enter the number of equations and unknowns, then the coefficients and right-hand side of each equation. It returns the solution when the solution is unique, and this is the quickest method whenever a GDC is allowed and the numbers are awkward. When the system has infinitely many solutions or none, the GDC typically shows a message rather than a solution, and some models do not say which of the two cases applies. Row reduction by hand is then needed to identify the case and find the general solution.
A mixture problem gives a typical system with awkward coefficients. The table shows the mass of each nutrient, in grams, in 100 g of three foods, A, B and C (illustrative values).
Nutrient (g per 100 g) | Food A | Food B | Food C |
|---|---|---|---|
Protein | 20 | 5 | 10 |
Carbohydrate | 5 | 60 | 20 |
Fat | 10 | 2 | 15 |
Row reduction shows which case a system is in. If the reduced system has a non-zero coefficient of in the last row, there is a unique solution. If the last row's coefficients all become zero, the right-hand side decides the case.
Last row after reduction | Meaning | Case |
|---|---|---|
with |
A row means the third equation carries no new information. Only two independent conditions remain on three unknowns, so one unknown can take any value. A row such as is a contradiction: no values of , and make it true, so the system is inconsistent.
When there are infinitely many solutions, they are described by letting one unknown equal a parameter, usually or , which can take any real value. The other unknowns are then written in terms of . The result is the general solution; each value of gives one particular solution.
The general solution can be written in more than one way. Letting instead gives and , which describes exactly the same set of solutions: substituting
If row reduction produces a row of the form with , the equations contradict each other and there is no solution. It is enough to reach this row and state the conclusion; there is nothing to solve.
The two examples differ only in one constant, or . The left-hand sides determine whether a unique solution is possible; when it is not, the right-hand sides decide between infinitely many solutions and none.
Questions often include an unknown constant, such as , in the coefficients or on the right-hand side, and ask which values of the constant give each case. The method is to row-reduce with the constant left in, until the last row has the form
Then the coefficient decides whether the solution is unique, and when the coefficient is zero the right-hand side decides between infinitely many solutions and none.
Last row | Case |
|---|---|
Unique solution, |
Not every system with a parameter has all three cases. In the next system, the right-hand side of the last row is for every , so the system is always consistent: it has either a unique solution or infinitely many, but never no solution.
In three dimensions, the set of points satisfying one linear equation (with ,
A solution of a system of three equations is a point that lies on all three planes. The cases of a unique solution, infinitely many solutions and no solution correspond to the ways in which three planes can be arranged.
When the system is consistent, the three planes have at least one point in common. They may share exactly one point, a whole line, or a whole plane.

When the planes meet in a line, the general solution is a vector equation of the line of intersection. For example, the general solution , ,
the line through with direction
If all three equations are multiples of one another, such as , and
When the system has no solution, no point lies on all three planes. This can happen in several ways.

Arrangement | How to recognise it |
|---|---|
Three parallel planes (or two coincident and one parallel to them) | All three normal vectors are parallel, and not all three equations are multiples of each other |
Two parallel planes, cut by the third | Exactly two normal vectors are parallel, with right-hand sides not in the same ratio |
Triangular prism | No two normal vectors are parallel, but row reduction gives with |
The triangular prism is the case that is easy to overlook. Every pair of planes intersects, so a check of pairs suggests nothing is wrong, but the three lines of intersection are parallel and never meet. Row reduction detects it through a row , ; comparing the normal vectors then shows that no two planes are parallel.
Solutions | Arrangement of the three planes |
|---|---|
Unique | Meet at a single point |
Infinitely many, one parameter | Meet in a line: a sheaf of three distinct planes, or two coincident planes cut by the third |
Infinitely many, two parameters | All three coincide |
None | Three parallel planes; two parallel planes cut by the third; two coincident planes and a parallel third; or a triangular prism |
A quadratic has three unknown coefficients, so three points on its graph give three linear equations in , and
In a model, the unknowns often stand for quantities that must be non-negative, or whole numbers. A system with infinitely many solutions may then have only a few that make sense. The general solution, together with the restrictions from the context, finds them all.
The general solution describes every mathematical solution, but the model only accepts some of them. Checking a solution against the context (whole numbers, positive amounts, realistic sizes) is part of judging the validity of a model.
Questions on this content usually combine row reduction with a parameter, a general solution and a geometric interpretation in a single multi-part question on Paper 1, while Paper 2 questions set up a system from a context and solve it with a GDC.
The second question is set in a context and is solved with a GDC. Its data are the following ticket sales at a theatre.
Evening | Adult | Student | Child | Income |
|---|---|---|---|---|
Friday | 120 | 85 | 60 | $3148.75 |
Saturday | 95 | 40 | 110 | $2715.00 |
Sunday | 150 | 120 | 45 | $3836.25 |
I can solve a system of three linear equations by row reduction and back substitution, writing each row operation clearly.
I can solve a system with a unique solution using a GDC.
I can recognise from a reduced system whether there is a unique solution, infinitely many solutions or no solution.
I can write the general solution of a system with infinitely many solutions in terms of a parameter.
I can find the values of a constant that give each type of solution.
I can describe the arrangement of three planes for each type of solution, including the triangular prism.
I can set up a system of linear equations from a context and check that its solutions make sense.
29 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on
Three lines have the following vector equations, where .
Determine whether and are coincident, parallel but distinct, intersecting or skew. Justify your answer.
3 marks
A mining company is digging two straight tunnels underground. A coordinate system is set up with the origin O at the entrance of the first tunnel, the -axis pointing east, the -axis pointing north and the -axis pointing vertically upwards. Distances are measured in metres and the ground is modelled by the plane .
The first tunnel follows the line
The plane has equation , where
One of 34 short multiple-choice questions on 1.16. Pick an answer to see why it's right or wrong.
For which does the system , , have infinitely many solutions?
The entries of the mathematics: analysis and approaches formula booklet that 1.16 uses. Each opens in the explained booklet.
Coincident (the same line) | Infinitely many | and |
Make the coefficients of equal in size and opposite in sign: multiply the first equation by and the second by .
Add the equations to eliminate : , so .
Substitute into the first equation: , so and .
Check in the second equation: . The solution is
Eliminate from the second and third equations using the first.
: , giving .
:
The system is now
Eliminate from the third equation.
Back substitution.
From : .
From :
Check in all three original equations: , ,
Write the system as an array and eliminate from rows 2 and 3.
Dividing row 2 by keeps the numbers small. Then eliminate from row 3.
The array is in triangular form. Back substitution:
Row 3: , so .
Row 2: , so
Check in the original third equation: . The solution is
Swap the first two equations () so that the first contains :
Row 2 already has no . Eliminate from row 3, then :
So gives ; then gives
Enter the coefficients into the GDC's simultaneous equation solver:
The meal contains about 154 g of food A, 168 g of food B and 108 g of food C. All three values are positive, so the plan is possible; a negative value would mean that the targets cannot be met with these foods.
Unique solution |
Always true: one equation was a combination of the others | Infinitely many solutions |
with | Never true: the equations contradict each other | No solution |
The last row says , which is always true, so the system is consistent with infinitely many solutions. (The third equation is the sum of the first two.)
Let , where . Then from row 2, , so
The general solution is
Check in the second equation:
The coefficients are the same as in the previous example, so the same row operations apply.
using ,
The rows and already show the problem: the same expression cannot equal both 5 and 6.
and | Infinitely many solutions |
and | No solution |
where .
(a) Find the value of for which the system has no unique solution, and show that for this value the system has no solution.
(b) Solve the system in terms of for all other values of .
(a) Row-reduce, keeping in.
The last row is . There is no unique solution when , so
(b) For : from the last row,
So the solution is
Check with : gives ,
(a) Find the value of for which the system has infinitely many solutions, and find the general solution in this case.
(b) Find the solution when the system has a unique solution.
(a) Row-reduce.
The last row is . When it becomes , so there are infinitely many solutions.
Let . Row 2: , so
The general solution is ,
(b) For , the last row gives . Then , so
(b) The system , , (the system with from the earlier example)
(c) The system , , (the system with )
(a) The normal vectors are , and . The first two are parallel, since the second is twice the first. The right-hand sides and are not in the ratio , so the first two planes are parallel and distinct. Algebraically, gives . The third plane is not parallel to them, so it cuts both: two parallel planes crossed by a third, and no solution.
(b) Row reduction gave the last row , so there is no solution. The normal vectors are
(c) Row reduction gave , so there are infinitely many solutions with one parameter. The normal vectors
Substitute each point into :
Subtracting the first equation from the second: , so .
Substituting into the second and third equations:
Subtracting: , so , and then .
The curve is . Check with :
(b) gives . There are two equations for three unknowns, so one unknown is free. Let . Then and
The general solution is , , .
(c) The numbers of items must be whole numbers, so must be a multiple of : write , . Then , and .
At least one of each price: and give ; gives , so . Hence :
($2 items) | ($5 items) | ($10 items) | Check: cost | |||
|---|---|---|---|---|
1 | 5 | 22 | 3 | |
2 | 10 | 14 | 6 | |
3 | 15 | 6 | 9 |
There are exactly three possible combinations.
where .
(a) Show that the system can be reduced to and . [3 marks]
(b) Solve the system when and . [2 marks]
(c) Write down the value of for which the system does not have a unique solution. [1 mark]
(d) For this value of , find the value of for which the system has infinitely many solutions, and find the general solution. [4 marks]
(e) For the values in part (d), describe the geometric relationship between the three planes, and state what happens geometrically when and . [3 marks]
(a) Eliminate using the first equation.
: , giving .
:
Then :
(b) With , : , so
(c) The coefficient of in the last equation is when .
(d) With the last equation becomes . For infinitely many solutions this must read , so
Let . From : . From the first equation:
Check in the third equation: .
(e) The normal vectors
(b) Find the price of each type of ticket. [2 marks]
(c) On Monday, 80 adult, 60 student and 90 child tickets are sold. Find the income from Monday's ticket sales. [2 marks]
(a)
(b) Using the GDC's simultaneous equation solver: , , . Adult tickets cost $14.50, student tickets $10.75 and child tickets $8.25.
(c) Income . The income on Monday is $2547.50.
attempt to test whether lies on M1
, giving , so the point is not on ; the lines are parallel (and not coincident) A1
Show that and intersect, and find the coordinates of the point of intersection.
4 marks
attempt to equate components M1
, ,
, A1
check in the remaining equation, e.g. and , so all three equations hold R1
A1
Note: Award R1 only for an explicit check of the third equation (or a GDC solution of all three equations stated to be consistent).
The second tunnel follows the line , where .
Find the acute angle between the directions of and .
3 marks
Show that the tunnels do not meet.
4 marks
At one point, the first tunnel passes directly above the second tunnel.
Hence find the vertical distance between the two tunnels at this point.
2 marks
The engineers decide instead to connect the tunnels with the shortest possible straight shaft , where R lies on and S lies on . The shaft is perpendicular to both tunnels.
Find the value of
Find the length of the shaft.
2 marks
The line with vector equation , where , lies in .
The plane is perpendicular to the plane with equation .
Find the value of , the value of and the value of .
6 marks
From : .
Row 1: , so .
4 marks