Systems of equations AA HL
A system of linear equations has one solution, infinitely many solutions or none, and the last line of your elimination tells you which. This page shows how to solve two and three equations by elimination, how to decide between the three cases, and how to write a general solution with a parameter when there are infinitely many. Work through the 2×2 section first, because the 3×3 section builds on it. Most of the working is exact, so practise it without a calculator.
Which method to use
Decide first how many equations and unknowns there are, then look at what the question asks: a single solution, the values of a letter that change the number of solutions, or a general solution.
| The question has | Use | Notes |
|---|---|---|
| Two equations, two unknowns and numbers only | Elimination: make one coefficient match, then add or subtract | Substitution also works when one equation already gives a variable. Check in the other equation |
| A letter in a coefficient and the words "no unique solution" | Eliminate one variable, then find the value of the letter that makes its remaining coefficient zero | For that value, look at the right-hand side: a non-zero number means no solution, and zero means infinitely many |
| A letter on the right-hand side, asking for no solution or infinitely many | Make the left-hand sides match, then compare the right-hand sides | The same left-hand side with different right-hand sides is a contradiction. The same on both sides gives infinitely many |
| Three equations, three unknowns and one solution wanted | Eliminate the same variable from two different pairs, solve the resulting pair, then back-substitute | Number the equations so the steps can be followed. Check the answer in all three |
| Elimination that ends in | Infinitely many solutions: let one variable equal a parameter and write the others in terms of | The general solution is a set of expressions in , one for each variable |
| Elimination that ends in a non-zero number | No solution: the system is inconsistent | Say so in words. For three planes this means they do not meet at a common point |
Section 1 of 2 AHL1.16
2×2 systems of equations
A system of two linear equations in two unknowns describes two lines, which either meet at one point, never meet or are the same line. Solve it by elimination or substitution. A false statement such as means there is no solution, and a true statement such as means there are infinitely many, which you describe with a parameter.
Reading the three cases
Elimination / substitution
Scale one equation so a variable's coefficient matches the other equation's, then add or subtract to eliminate it and solve for what remains.
Not a formula-booklet result - it's a method, usable by hand or with your calculator's simultaneous-equation solver.
No solution vs. infinitely many
If scaling makes the - and -coefficients match but the constants don't, you get a contradiction: no solution (parallel lines). If the entire scaled equation matches, every point on the line works: infinitely many solutions, written parametrically as .
Key terms
What is a unique solution?
A unique solution is exactly one pair that satisfies both equations. The two lines have different gradients and cross at a single point.
e.g. Adding and gives , so and .
What are parallel lines in a system?
Parallel lines have the same gradient but different intercepts, so they never meet and the system has no solution. Elimination ends in a false statement.
e.g. Doubling gives , which contradicts , so there is no solution.
What is a general solution?
When the equations describe the same line, every point on it is a solution. Let one variable equal a parameter , with , and write the other variable in terms of .
e.g. For and , let so that .
How do you solve by substitution?
Rearrange one equation to make a variable the subject, then substitute it into the other equation to leave one equation in one unknown.
e.g. For and : , so , and .
Worked example, step by step
The question No calculator needed [5 marks]
Consider the system of equations where is a constant.
(a) Find the value of for which the system has infinitely many solutions.
(b) For this value of , find the general solution, giving in terms of .
(c) Explain why the system has no solution when .
Worked solution: worked example
Answer: (a) (b) (c) elimination gives , a contradiction, so there is no solution
Step 1 - Eliminate .
Multiply the first equation by 2 so that the coefficients match: Subtracting gives M1 - Eliminate (and ) to obtain , or an equivalent statement
Why? Matching the coefficients of also matches those of , so both unknowns disappear at once. What is left is a statement about alone.
Step 2 - Find .
The system has infinitely many solutions exactly when is true, so . A1 -
Why? If is true the two equations say the same thing, so every point on the line satisfies both. If it is false the equations contradict each other.
Step 3 - Write the general solution.
With , only one equation is needed: . Let , so and M1 - Substitute into (or into the second equation) A1 -
Why? One variable can be chosen freely and the other follows from it. The solutions are the points for every real . Substituting gives , which satisfies both equations.
Step 4 - Explain the case .
For the elimination in step 1 gives , which is . This is false for every and , so no pair of values satisfies both equations: the system is inconsistent. R1 - is a contradiction, so there is no solution
Why? The left-hand sides are multiples of each other, so the lines are parallel, and the different right-hand sides mean they are different lines. Parallel distinct lines never meet.
M1 Eliminate (and ) to obtain , or an equivalent statement
A1
M1 Substitute into (or into the second equation)
A1
R1 is a contradiction, so there is no solution
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 18 marks
Common mistakes
- Assuming every system has a unique solution. Before diving into elimination, glance at the coefficients - if one equation looks like a multiple of the other, you're likely dealing with a no-solution or infinite-solutions case, not a single pair .
- Writing "no solution" without justifying it. You need to show the contradiction explicitly, e.g. that the scaled equations give , not just assert that the lines don't meet.
- Forgetting the parameter constraint when giving an infinite solution set. The parametric answer is incomplete without stating that ranges over all real numbers.
Section 2 of 2 AHL1.16
3×3 systems of equations
A system of three linear equations in three unknowns has one solution, infinitely many solutions or no solution, and geometrically it describes three planes. Solve it by eliminating one unknown from pairs of equations to leave two equations in two unknowns, then back-substitute, or use row reduction, matrices or a calculator.
The method
Row reduction / elimination
Systematically add or subtract multiples of the equations to eliminate variables, one at a time, until only one unknown remains.
Not a formula-booklet result - it's a method. You can do it by hand, or feed the augmented matrix into your calculator's row-reduction or simultaneous-equation tool.
Three outcomes
A 3×3 system has exactly one of: a unique solution (three planes meet at one point), infinitely many solutions (the planes share a common line), or no solution (a contradiction appears once you eliminate down).
Key terms
What is a system of linear equations?
A system is a set of equations that must all be true at the same time. A solution is a set of values of the unknowns that satisfies every equation.
e.g. The system , , has solution , , , since , and .
What does a unique solution mean?
There is exactly one set of values for the unknowns. Geometrically, the three planes meet at a single point.
e.g. The system , , meets only at the point .
What is a general solution?
When a system has infinitely many solutions, one unknown is written as a parameter and the others are expressed in terms of it. Geometrically, the planes then share a common line.
e.g. The equations , , have general solution .
What is row reduction?
Row reduction applies row operations to the coefficients and constants written as a matrix, so that unknowns are eliminated in a systematic way. Each row operation gives a system with the same solutions.
e.g. Subtracting row 1 from row 2 gives .
Worked example, step by step
The question No calculator needed [6 marks]
Consider the system of equations
(a) Show that the system has infinitely many solutions.
(b) Let . Find the general solution, giving and in terms of .
Worked solution: worked example
Answer: (a) the first two equations add to give the third, so there are infinitely many solutions (b)
Step 1 - Eliminate from the first two equations.
Adding the first two equations: M1 - Eliminate one variable from a pair of equations A1 -
Why? The terms have opposite signs, so adding removes in one step. The result is an equation in and only.
Step 2 - Compare with the third equation.
The result is exactly the third equation. So the third equation adds no new information, and there are only two independent equations for three unknowns. The system is consistent and has infinitely many solutions. R1 - This is the third equation, so the system is consistent with infinitely many solutions
Why? If the result had been for a different number , the system would have no solution. Getting the same equation back is what signals infinitely many.
Step 3 - Find in terms of .
Put in : , so M1 - Substitute into A1 -
Why? One variable is free. Choosing as the parameter, as the question says, makes follow directly.
Step 4 - Find in terms of .
From the first equation, . Substituting and : A1 -
Why? Any of the three equations could be used. Check in the second equation: , as required, for every .
M1 Eliminate one variable from a pair of equations
A1
R1 This is the third equation, so the system is consistent with infinitely many solutions
M1 Substitute into
A1
A1
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 19 marks
Calculator steps: Solve a system of equations
Common mistakes
- Sign errors when subtracting equations. Subtracting one equation from another to eliminate a variable is a common source of arithmetic slips - double-check every term, including the constants, not just the variable you're cancelling.
- Introducing a parameter but only checking two of the three equations. A parametric general solution must satisfy all three original equations, not just the two you used to derive it - always verify with the third.
- Stopping as soon as a contradiction appears without stating the conclusion. Reaching is not itself the final answer - you still need to state clearly that this means the system (or the three planes) has no solution.
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Solve a system of equations
Used in: 3×3 systems of equations
How to solve a system of equations on a TI-84 Plus CE
Simultaneous Equation Solver app (PlySmlt2) | |
Press apps and choose PlySmlt2. An information screen appears: press any key to reach the MAIN MENU, then choose Simultaneous Eqn Solver. |
|
On the mode screen choose 3 equations and 3 unknowns. Choose Dec instead of Auto if you want decimal answers rather than fractions. Choose NEXT, using the key directly below it on the screen. |
Equations: 3 Unknowns: 3 |
Enter the coefficients row by row, one row for each equation, with the constant (the number on the right of the equals sign) last. Press enter after each number to move to the next position. For a negative number use (−), not the subtraction key. Write each equation as first: a missing term has coefficient 0. |
1 2 3 10 2 -1 1 3 3 1 -2 1 |
Choose SOLVE, using the key directly below it on the screen. The solution for each unknown is shown. , and , which is , and in decimal form. |
x1=6/5 x2=7/5 x3=2 |
If the system has no solution or infinitely many solutions, the app does not show a single answer. The rref choice then shows the reduced row-echelon form, where a row of zeros followed by a non-zero number means no solution. To leave the app, go to the main menu and choose Quit App. | |
Check each solution by substituting it back into one of the original equations, in case a coefficient was typed in the wrong place.
The full guide: Solve a system of equations
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| AHL1.16 | Solutions of systems of linear equations, with a maximum of three equations in three unknowns, solved using both algebraic and technological methods (for example row reduction or matrices) - including cases with a unique solution, an infinite number of solutions, or no solution. Finding a general solution for a system with an infinite number of solutions. |
Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).
Quick questions
How do you know if a 2x2 system has no solution?
If, after scaling to match one variable's coefficients, the other coefficients also match but the constants differ, you get a contradiction - the lines are parallel and distinct, so there is no solution.
How do you solve a 3x3 system of equations by hand?
Eliminate one variable at a time by combining pairs of equations, reducing three equations in three unknowns to two in two, then one in one, before back-substituting to recover the rest.
How do you know if a 2x2 system has infinitely many solutions?
If one equation is exactly a scalar multiple of the other, they describe the same line, so every point on it is a solution - write the solution set in parametric form using a free parameter .
What does it mean if a 3x3 system has no solution?
The three planes don't share a common point. Algebraically this shows up as a contradiction, such as , once you've eliminated down to a single equation.
How do you find the value of that makes the number of solutions change?
Make the coefficients of the two equations proportional. For and , the second equation is three times the first only when , which gives infinitely many solutions; any other gives a unique solution.
Which variable should I eliminate first?
Choose the variable that is easiest to cancel, for example one with equal or opposite coefficients, and eliminate the same variable from two different pairs of equations. Subtracting from removes both and and leaves .
Can a pair of linear equations have exactly two solutions?
No. Two different lines meet at most once, so two lines that share two points are the same line, and then every point on it is a solution. The only possibilities are none, one or infinitely many.
What does it mean if elimination gives ?
A true statement such as means that one equation adds no new information. If no contradiction appears elsewhere, the system has infinitely many solutions and you should write a general solution using a parameter.
How do I check my answer to a pair of simultaneous equations?
Substitute your values into both original equations. For example, satisfies and , so it is correct for that system.
How can I check my solution to a system of three equations?
Substitute the values into all three original equations, not only the ones you used last. For example, gives , which agrees with the third equation.
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.