IB Mathematics AA and AI · AP Precalculus review
Systems of Equations
Find where two lines meet, solve three equations without losing a variable, and tell when a system has no solution. Work through graphing, substitution, elimination and matrices, then check your method with exam-style questions.
What to study for IB Mathematics
A system is a set of equations in the same variables. A solution satisfies every equation. That means you can check an answer by putting its coordinates back into the original equations.
Analysis and Approaches
Two-variable linear systems are prior learning. In AA HL topic 1.16, solve up to three linear equations in three unknowns by hand and with technology. Row reduction is one way to connect the two methods.
Applications and Interpretation
AI topic SL 1.8 covers technology-based solutions in up to three variables. The current guide specifies a unique solution for its exam systems. AI HL topic 1.14 also uses inverse matrices to solve systems.
AP Precalculus connection. College Board lists solving systems in two and three variables as prior preparation. The same skills help you find function intersections and fit a model to data. The matrix topics in Unit 4 are course extensions.
Read the solution from a graph
Put both lines on the same coordinate plane. For a nonvertical line, rewriting the equation as lets you compare its slope and vertical intercept . Graphing helps you see the number of solutions, and algebra or labelled coordinates can give exact values.
Compare systems
The first equation stays the same. Change the case to see what happens when you change the second equation.
One solution
| Compare the equations | On the graph | Solution set |
|---|---|---|
| Different slopes | Lines cross at one point | One solution. The system is consistent and independent. |
| Same slope, different intercepts | Distinct parallel lines | No solution. The system is inconsistent. |
| Same slope and intercept | Coincident lines | Infinitely many solutions. The system is consistent and dependent. |
Vertical lines. An equation such as has no finite slope. Two vertical lines coincide if their -values match. Otherwise they are parallel. A vertical line and a nonvertical line meet once.
Check the graphing window. If two lines have close slopes, their intersection may be far outside the current window. Compare equations or solve algebraically before deciding what the graph shows.
Substitution when a variable is easy to isolate
Look for an equation with a variable already isolated or a coefficient of or . Isolate that variable, replace it in the other equation, solve, then back-substitute.
Worked example · Check the graph’s intersection
1. Isolate. The first equation gives .
2. Substitute. Put brackets around the whole expression when you replace in the second equation.
3. Find the other coordinate. Since , use . The solution is .
4. Check both equations. and .
Elimination when coefficients line up
Arrange both equations as . Add the equations if the coefficients of a variable are opposites. Subtract if those coefficients match. When scaling an equation, multiply both sides by the same nonzero number.
Worked example · Opposite coefficients
Add the equations to get , so . Substitute in the first equation.
So . The solution gives and .
Worked example · Scale first and keep fractions exact
Multiply the first equation by and the second by .
Add to get , so . Then use the original first equation to calculate .
The second equation checks the exact fractions.
This equals , as required.
Reduce a three-variable system to two variables
Choose one variable to remove from two equations. Then solve the remaining system and use one original equation to recover the third variable. Keeping the variables in the same order and labelling the rows helps you catch sign errors.
Worked example · Eliminate the same variable twice
1. Eliminate . Add equations 1 and 3 to get . Add equations 2 and 3 to get .
2. Solve the smaller system. From , write , then substitute.
3. Back-substitute and check. Since , and gives . The triple also gives and .
Use substitution on the same system
Equation 1 gives . Substitute this expression into equations 2 and 3 to get and .
Use in the second reduced equation. This gives , followed by , and . Both methods reach the same triple.
From data to equations · Fit a quadratic model
Suppose a model must pass through , and . Each point gives one equation for the same unknowns .
Substitute to get and . Subtract twice the first reduced equation from the second to find . Hence , and . Substituting each original input checks that the model fits all three points.
Write an augmented matrix and row-reduce
Use one row per equation and one column per variable, in the same order throughout. Put the constants in the final column. If an equation omits a variable, use a zero in its column.
| Operation | Notation | Meaning |
|---|---|---|
| Swap | Exchange two rows. | |
| Scale | Multiply every entry in the row by . | |
| Replace | Add times a different row to the row you are replacing. |
REF. The leading entries move right as you read down. Entries below each leading entry are zero, and any zero rows sit at the bottom. You can scale the leading entries to and use back-substitution.
RREF. Each leading entry is and is the only nonzero entry in its column. A pivot in each variable column gives a unique solution when the system is consistent.
Worked example · Read a solution from two rows
Use to make a zero below the first pivot.
Use to read . Use to clear the entry above the second pivot.
Read . Back-substitution from gives the same .
Check a three-variable solution with technology
Using the three-variable worked example, enter the coefficients and constants shown below. Use the simultaneous-equations solver or the reduced row-echelon form command on your calculator.
Read the right-hand column in variable order to get . Write the original equations or your input matrix in your working. Check how the question wants you to round the result.
Use an inverse matrix when it exists
Keep the coefficient matrix and the constants column separate for this method. If is square and invertible, multiply on the left by .
In the two-row example, the determinant is , so the inverse exists.
A zero determinant means the square coefficient matrix has no inverse. Row-reduce the augmented matrix to distinguish a contradiction from a free variable.
Tell a contradiction from a free variable
When you solve three linear equations in three variables, each nondegenerate equation represents a plane. A solution lies on all three planes at once. Use the row results to classify their common intersection.
- One solution
- Every variable has a pivot, so the planes share one point. Report an ordered triple.
- No solution
- A row like is a contradiction, so the planes have no common point. This can happen with distinct parallel planes or when all pairs intersect but share no point among all three, as in .
- Infinitely many solutions
- There is no contradiction and at least one variable is free. The planes may share a line or all coincide. A row gives no new restriction. Check the other rows before choosing the number of free variables.
Write the whole solution set
Take , and . Subtract the second equation from the first to find . The first equation then says , which is also what the third equation says.
Each real choice of gives a solution. For instance, gives , one point on the common line.
Choose the quickest clear method
| Method | When to use it | What to record |
|---|---|---|
| Graphing | See how two lines meet or estimate a solution. | Label the intersection and check both original equations. |
| Substitution | A variable is isolated or has coefficient or . | Show the expression you substituted, then find the other variables. |
| Elimination | Coefficients already match or can be matched quickly. | Show which whole equations you scaled or combined. |
| Matrices | Organise three unknowns, check a result with technology or identify free variables. | Write the column order and show the reduced rows or your calculator method. |
In word problems, define each variable with its unit and check constraints such as integer counts or nonnegative times. A mathematically valid solution still needs to make sense in the situation.
Eight practice questions with worked answers
Start with the two-variable questions. For questions 5–8, explain what the reduced equations or matrix tell you before writing the final answer.
1. Find the intersection of and .
Set the outputs equal. gives , so . Both equations give . The intersection is .
2. How many solutions do and have?
The lines are vertical and have different horizontal positions. They cannot share an -value, so the system has no solution.
3. Solve and .
The second equation is twice the first. Use . All solutions are for .
4. Solve and exactly.
Adding gives , so . Use . Check the second equation.
5. Solve the three-variable system by elimination.
Show the elimination steps
Subtract equation 1 from equation 2 to get . Add equations 1 and 3 to get . Substituting gives , so . Hence and .
6. Explain why the following system has no solution.
Show the contradiction
Subtract twice the first equation from the second. This gives . The first two equations already contradict each other.
7. Identify the free variable from this reduced matrix.
Show the solution set
The first two columns have pivots and the third is free. Set . Read and , so the solution set is for .
8. HL · Use an inverse matrix to solve and .
The coefficient matrix has determinant . Multiply the inverse by the constants column.
Check and .
Exam papers and further practice
For AA, practise exact algebra without a calculator and check a three-variable system with technology on calculator-permitted papers. For AI, practise entering the coefficient rows and interpreting the solution in context. Check how the markscheme credits setting up the equations as well as solving them.
- IB Math AA specimen papers and markschemes (PDF)
- IB Math AI specimen papers and markschemes (PDF)
- IB Mathematics AA subject guide (PDF) and IB Mathematics AI subject guide (PDF)
- College Board AP Precalculus released FRQs and scoring guidelines
Get help with systems of equations
Bring a system you found difficult to a NUM8ERS tutoring consultation. A tutor can work through your setup and help you choose a method for IB Mathematics or AP Precalculus.
Book a free consultationStudy notes and original practice by NUM8ERS.