IB Maths AA HL Topic 1 — Number & Algebra Paper 1 & 2 HL only ~9 min read

Systems of Linear Equations

Up until now, you’ve mostly worked with one equation in one unknown — solve for x and you’re done. But real problems usually involve several unknowns at once: how much do tickets cost at three different price levels, how many of each ingredient go into a recipe, what currents flow through the branches of an electrical circuit. To pin all those unknowns down, you need several equations linking them together — a system of linear equations. The HL syllabus covers two-variable systems (two equations, two unknowns) and three-variable systems (three equations, three unknowns). This first note introduces the language, the geometric picture, and how to solve one quickly using your GDC. The next two notes cover row reduction (the algebraic technique) and what happens when there isn’t a single, clean answer.

📘 What you need to know

What is a linear equation?

A linear equation in the variables x, y, … is one where each variable appears to the power 1 and there are no products of different variables. Constants in front are fine; nonlinear functions like squaring, square-rooting, or multiplying two unknowns together are not.

Linear ✓
2x + 3y = 5
x + y + z = 7
4a − 2b = 9
first powers only, no products
Nonlinear ✗
x2 + y = 4
xy = 6
x + y = 3
squares, products, and roots disallowed

Linear equations are special because their graphs are straight lines (in 2D) or flat planes (in 3D). That straightness is exactly what makes them solvable using elimination, substitution, or matrix methods — techniques that wouldn’t work on curved equations.

Standard form for 2×2 and 3×3 systems

The IB exam will ask you to handle either a 2×2 system (two equations, two unknowns) or a 3×3 system (three equations, three unknowns). They’re written using the same template:

2×2 system standard form a1x + b1y = c1
a2x + b2y = c2
3×3 system standard form a1x + b1y + c1z = d1
a2x + b2y + c2z = d2
a3x + b3y + c3z = d3

Whenever an equation isn’t already in this form, rearrange it before solving — push all the variable terms to the left and the constant to the right.

For example, “x + y equals z minus 4″ looks like words, but rearranging gives x + yz = −4. Now it’s in standard form, ready for the solver. Always rearrange before typing into your GDC.

What systems of linear equations look like geometrically

Here’s the picture that makes systems make sense. Each linear equation is a straight object on its own:

Each equation is a line (2D) or a plane (3D) — solutions are where they cross
2D — TWO LINES x y a₁x+b₁y=c₁ a₂x+b₂y=c₂ unique solution two lines crossing at one point — the solution (x, y) 3D — THREE PLANES plane 1 plane 2 plane 3 unique solution (x, y, z) three planes meeting at one point — the solution (x, y, z)
2×2 system → 2D
two lines in the plane
If they cross at exactly one point, that point’s (x, y) is the unique solution.
3×3 system → 3D
three planes in space
If all three meet at exactly one point, that point’s (x, y, z) is the unique solution.

🤔 Why “lines” and “planes” specifically?

Because the equations are linear. The graph of ax + by = c is always a straight line (you’ve seen this since pre-IB). And the graph of ax + by + cz = d is the natural extension — a flat plane in three dimensions. Geometric “straightness” is the defining property of linear equations.

What if they don’t cross?   If the lines are parallel (in 2D) or the planes don’t meet (in 3D), there’s no solution. If they overlap exactly, there are infinitely many. We’ll explore these special cases in the third note of this section.

Forming a system from a word problem

Most exam questions don’t hand you the equations directly — they describe a situation and expect you to translate it. The skill is twofold: introduce variables for the unknowns, then extract one equation per piece of information.

🧭 Recipe — building a system from a word problem

  1. Identify the unknowns in the problem — usually quantities, prices, ages, or rates.
  2. Assign letters (typically x, y, z) and write a one-line definition for each: “Let x = price of …”.
  3. Translate each piece of information into one linear equation. Watch for words like “twice”, “more than”, “less than”, “total”.
  4. Rearrange every equation into standard form ax + by + cz = d before solving.
  5. Solve the system (algebraically or with your GDC), then interpret the answer in context — write a sentence using the original quantities.
Watch for “hidden” equations in word problems. A phrase like “the total of A and B is twice C” gives the equation A + B = 2C, which you’d rearrange to A + B − 2C = 0. Numbers don’t need to appear on both sides — sometimes the “constant” is just zero.

Solving with your GDC

The fastest method for non-trivial systems on Paper 2 is your GDC. Most calculators have a built-in simultaneous equations solver, usually under the algebra or equation menu.

🧭 Recipe — solving with the GDC

  1. Open the simultaneous equations / system solver menu.
  2. Choose the number of equations (2 or 3).
  3. Make sure each equation is in standard form first: ax + by = c or ax + by + cz = d.
  4. Type in each coefficient in the matrix grid (use 0 for any missing variable).
  5. Press solve and read off the values of x, y, (and z).
Paper 1 vs Paper 2:   on Paper 1 (no calculator), use elimination, substitution, or row reduction by hand. On Paper 2 (calculator allowed), the GDC is your fastest tool. If the question explicitly says “use an algebraic method”, you must show working — even on Paper 2.

Worked examples

WE 1

Identify which equations are linear

State whether each of the following is a linear equation in x, y, z:
(a) 4x − 7y + 2z = 12   (b) x2 + y = 6   (c) 3xy + z = 5   (d) 8 − 5x = 2y   (e) x + 1/y = 4

(a) 4x − 7y + 2z = 12 all variables to power 1, no products → LINEAR ✓ (b) x² + y = 6 x² is a square → NONLINEAR ✗ (c) 3xy + z = 5 xy is a product of two variables → NONLINEAR ✗ (d) 8 − 5x = 2y rearrange: −5x − 2y = −8 (or 5x + 2y = 8) → LINEAR ✓ (e) x + 1/y = 4 1/y is y to the power −1, not 1 → NONLINEAR ✗ linear: (a) and (d).  Nonlinear: (b), (c), (e). “linear” means strictly first-power and no products — even reciprocals or square roots break the rule
WE 2

Set up and solve a 2×2 system

The sum of two numbers is 23, and three times the larger number minus the smaller equals 41. Write a system of linear equations and solve it.

Step 1: Define variables Let x = the larger number, y = the smaller number Step 2: Translate the two pieces of information “sum is 23”:   x + y = 23 “3 times larger minus smaller is 41”:   3x − y = 41 Step 3: Solve (add the equations to eliminate y) (x + y) + (3x − y) = 23 + 41 4x = 64 → x = 16 y = 23 − 16 = 7 larger number = 16,   smaller number = 7 check: 16 + 7 = 23 ✓  and 3(16) − 7 = 48 − 7 = 41 ✓
WE 3

Solve a 3×3 system using your GDC

Solve the system using your GDC:
   2x + yz = 1
   xy + 3z = 8
   3x + 2y + z = 10

Step 1: Confirm each equation is in standard form ax + by + cz = d ✓ all three already in correct form Step 2: Enter coefficients into the GDC’s simultaneous equation solver row 1: [2, 1, −1 | 1] row 2: [1, −1, 3 | 8] row 3: [3, 2, 1 | 10] Step 3: Read off the GDC output x = 1,   y = 2,   z = 3 verify by substitution: 2(1) + 2 − 3 = 1 ✓   1 − 2 + 9 = 8 ✓   3 + 4 + 3 = 10 ✓ — always do at least one check after reading a GDC answer
WE 4

Word problem — music store guitar picks

A music store sells three types of guitar picks: thin, medium, and thick.
• A pack of 5 thin, 4 medium, and 3 thick picks costs $22.
• A pack of 2 thin, 3 medium, and 5 thick picks costs $23.
• A medium pick costs $1 more than a thin pick.
Find the price of each type of pick.

Step 1: Define variables Let t = price of thin pick Let m = price of medium pick Let k = price of thick pick Step 2: Translate each statement into an equation 5t + 4m + 3k = 22 2t + 3m + 5k = 23 “medium $1 more than thin”: m = t + 1, rearrange: −t + m = 1 Step 3: Solve the 3×3 system on the GDC enter coefficients [5,4,3|22], [2,3,5|23], [−1,1,0|1] GDC output: t = 1, m = 2, k = 3 Step 4: Interpret in context thin = $1,   medium = $2,   thick = $3 always answer in the context’s language: “thin costs $1” — not just “x = 1”
WE 5

Word problem — finding the hidden equation

Three friends Alia, Beth, and Carla raised funds for a charity. Together they raised £180. Alia raised twice as much as Beth. Carla raised £20 less than Alia. How much did each friend raise?

Step 1: Define variables Let a = Alia’s, b = Beth’s, c = Carla’s amount in £ Step 2: Translate each piece of info “together £180”:   a + b + c = 180 “Alia twice Beth”:   a = 2b → a − 2b = 0 “Carla £20 less than Alia”:   c = a − 20 → −a + c = −20 Step 3: Solve on GDC (or by substitution) substitute a = 2b and c = a − 20 = 2b − 20 into first equation 2b + b + (2b − 20) = 180 5b − 20 = 180 5b = 200 → b = 40 a = 2(40) = 80,   c = 80 − 20 = 60 Alia raised £80, Beth raised £40, Carla raised £60 check: 80 + 40 + 60 = 180 ✓  Alia (80) = 2·Beth (40) ✓  Carla (60) = Alia (80) − 20 ✓
WE 6

Geometric interpretation

The system
   x + 2y = 5
   3xy = 8
has a unique solution. Describe what this means geometrically, and find the solution.

Step 1: Geometric interpretation each equation is a STRAIGHT LINE in the xy-plane “unique solution” means the two lines cross at exactly ONE point Step 2: Solve algebraically (multiply 2nd by 2 and add) x + 2y = 5 …① 6x − 2y = 16 …② (after multiplying by 2) add ① and ②: 7x = 21 → x = 3 substitute: 3 + 2y = 5 → y = 1 unique solution: (x, y) = (3, 1) — the lines cross at the point (3, 1) always frame the answer geometrically when the question asks for “interpretation” — coordinates of an intersection point, not just a list of x and y values

💡 Top tips

⚠ Common mistakes

Setting up systems of linear equations is a foundational skill — it shows up not just in the IB exam but in physics, economics, engineering, and chemistry. The next note shows you a more systematic technique called row reduction, which lets you solve any system algebraically without needing a GDC. After that, you’ll see what happens when a system has no solutions or infinitely many solutions — situations that come up surprisingly often, both in exam questions and in real applications.

Need help with Systems of Linear Equations?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →