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

Number of Solutions to a System

Up to now, every system you’ve solved has had exactly one neat answer. But linear systems don’t always cooperate. Sometimes there’s no solution at all — the equations contradict each other, like saying 0 = 5. Sometimes there are infinitely many solutions — the equations all describe the same line or plane. The good news is that row reduction tells you which case you’re in straight away. The bottom row of the reduced matrix is the giveaway: a row that says “0 = nonzero” means no solution; a row that says “0 = 0” means infinitely many. Once you can spot those patterns, the geometry follows naturally — parallel lines never meet, coincident lines overlap everywhere, and three planes can intersect in a single point, in a line, or not at all.

📘 What you need to know

The three cases — unique, none, or infinite

For any system of linear equations, exactly one of the following is true:

Unique solution
consistent
one (x, y, z) satisfies every equation
No solution
inconsistent
equations contradict — no values work
Infinite solutions
consistent & dependent
a whole line or plane of solutions
There are only three cases. You can’t have a system with two solutions, or seven, or 100 — the structure of linear equations forces it to be 1, 0, or ∞. This is one of the cleanest classification results in the whole HL syllabus.

What each case looks like geometrically

For 2×2 systems (two lines in 2D), the three cases are easy to picture:

2×2 systems — three cases visualised
UNIQUE SOLUTION (x, y) two lines cross at one point NO SOLUTION parallel lines never meet INFINITE SOLUTIONS same line drawn twice — every point works

For 3×3 systems (three planes in 3D), the picture is richer but the three cases still apply:

Unique
3 planes meet at a point
one (x, y, z) shared by all three
None
no shared point
at least one plane parallel to another, or planes form a triangular prism
Infinite
share a line or all coincide
a 1-parameter family (line) or a 2-parameter family (plane)

🤔 Why “1-parameter” and “2-parameter” families?

Because the dimension of the solution set tells you how many free variables you need. If three planes share a common line, picking any value for one variable forces the other two — so you need one parameter, λ. If three planes all coincide, picking values for two variables determines the third — so you need two parameters, λ and μ.

Inconsistent systems — when row reduction hits a wall

An inconsistent system is one where the equations contradict each other — no values for the variables can make them all true at once.

Inconsistent system signature row reduction gives a row of the form   [0  0  0  |  k]   with k ≠ 0
i.e. “k = 0″ where k is non-zero — impossible

The moment you spot such a row, you can stop the row reduction immediately and conclude: no solution. There’s no point continuing the algorithm because the system has no answer to find.

Geometric meaning:   in 2D, two parallel lines that never cross. In 3D, planes arranged so no point lies on all of them — for instance, three pairwise-intersecting planes whose three intersection lines don’t meet (a “triangular prism” of intersections).

Dependent systems — when one equation is redundant

A dependent system has at least one equation that’s a combination of the others — it doesn’t add new information. After row reduction, this redundancy shows up as a row where everything is zero, including the right-hand side.

Dependent system signature row reduction gives at least one row of the form   [0  0  0  |  0]
i.e. “0 = 0” — always true, gives no extra constraint

You’d expect three constraints from a 3×3 system, but a “0 = 0” row contributes nothing. So the system is effectively underdetermined, and there are infinitely many solutions.

Writing the general solution using parameters

To express the infinite family of solutions, introduce a parameter (λ) for each missing constraint. The procedure depends on how many zero rows appear:

🧭 Recipe — finding the general solution of a dependent system

  1. Row reduce until you reach echelon form. Count the zero rows.
  2. One zero row → introduce one parameter λ. Set the variable corresponding to the zero row equal to λ.
  3. Two zero rows → introduce two parameters λ and μ. Set the two variables corresponding to the zero rows equal to λ and μ respectively.
  4. Use the remaining (non-zero) rows to express the other variables in terms of λ (and μ).
  5. Write the final answer as x = …, y = …, z = …, all in terms of the parameter(s), and state that λ ∈ ℝ (and μ ∈ ℝ if needed).
A common convention: when only one zero row appears, set z = λ and find y, x in terms of λ. The choice of which variable to parameterise is up to you, but using z usually keeps the algebra cleanest because back-substitution is already going from z upwards.

“Find the value of k” — parameter questions

A common exam style: a 3×3 system contains an unknown constant (often called k), and you’re told the system has either no solution or infinitely many. Your job is to find the value of k that makes that happen.

🧭 Recipe — find k for infinite solutions or no solution

  1. Set up the augmented matrix with k in place.
  2. Row reduce all the way to echelon form. The bottom row will end up looking like [0  0  0  |  (something involving k)].
  3. For infinite solutions: set the something equal to 0. Solve for k.
  4. For no solution: state that k is anything except the value that gave 0.
  5. If asked for the general solution, substitute that value of k back in, then apply the parameter recipe above.

Worked examples

WE 1

Identify the type of system from a row-reduced matrix

Each of the following matrices has been row-reduced. State whether the system has a unique solution, no solution, or infinitely many solutions.
(a) [1  2  1  |  4] / [0  1  3  |  5] / [0  0  1  |  2]
(b) [1  0  3  |  7] / [0  1  −2  |  1] / [0  0  0  |  4]
(c) [1  2  3  |  6] / [0  1  1  |  2] / [0  0  0  |  0]

(a) Bottom row: 0x + 0y + z = 2 → z = 2 all three rows give clean info, full staircase (a) unique solution (b) Bottom row: 0 = 4 — impossible contradictory row (b) no solution (inconsistent) (c) Bottom row: 0 = 0 — always true redundant row, only 2 real constraints on 3 unknowns (c) infinitely many solutions (dependent) always look at the BOTTOM row first — it tells you which of the three cases you’re in
WE 2

Show that a 2×2 system has no solution

Show that the following system has no solution:
   2x + 3y = 5
   4x + 6y = 13

Step 1: Augmented matrix [2  3  |  5] [4  6  |  13] Step 2: Apply r₂ − 2r₁ → r₂ row 2: [4−4, 6−6, 13−10] = [0, 0, 3] [2  3  |  5] [0  0  |  3] Step 3: Read the bottom row “0x + 0y = 3” — impossible no solution — the system is inconsistent geometric: the two equations represent parallel lines (both slope −2/3) with different intercepts, so they never cross
WE 3

Find the general solution of a dependent 2×2 system

Show that the system below has infinitely many solutions, and write the general solution using a parameter λ:
   x + 2y = 4
   3x + 6y = 12

Step 1: Augmented matrix [1  2  |  4] [3  6  |  12] Step 2: Apply r₂ − 3r₁ → r₂ row 2: [3−3, 6−6, 12−12] = [0, 0, 0] [1  2  |  4] [0  0  |  0] Step 3: “0 = 0” → infinitely many solutions only one constraint left (the top row): x + 2y = 4 Step 4: Set y = λ, find x in terms of λ x + 2λ = 4 → x = 4 − 2λ general solution: x = −2λ + 4,   y = λ,   for λ ∈ ℝ geometrically, both equations describe the SAME line — every point on it is a solution
WE 4

Show that a 3×3 system has no solution

Determine whether the following system has a solution:
   x + y + z = 6
   2x + 2y + 2z = 10
   x + 2yz = 3

Step 1: Augmented matrix [1  1  1  |  6] [2  2  2  |  10] [1  2  −1  |  3] Step 2: r₂ − 2r₁ → r₂  and  r₃ − r₁ → r₃ r₂: [0, 0, 0,  10−12] = [0, 0, 0, −2] r₃: [0, 1, −2,  3−6] = [0, 1, −2, −3] [1  1  1  |  6] [0  0  0  |  −2] [0  1  −2  |  −3] Step 3: Spot the inconsistent row row 2 reads “0 = −2” — impossible no solution — the system is inconsistent the second original equation 2x+2y+2z=10 simplifies to x+y+z=5, which contradicts the first equation x+y+z=6 — that’s the source of the conflict
WE 5

Find the general solution of a dependent 3×3 system

Show that the system below has infinitely many solutions, and find the general solution:
   x + 2y + z = 7
   x + yz = 1
   2x + 3y = 8

Step 1: Augmented matrix (note the missing z in row 3 → coefficient 0) [1  2  1  |  7] [1  1  −1  |  1] [2  3  0  |  8] Step 2: r₂ − r₁ → r₂  and  r₃ − 2r₁ → r₃ r₂: [0, −1, −2,  −6] r₃: [0, −1, −2,  −6] [1  2  1  |  7] [0  −1  −2  |  −6] [0  −1  −2  |  −6] Step 3: r₃ − r₂ → r₃ kills the third row [0, 0, 0, 0] [1  2  1  |  7] [0  −1  −2  |  −6] [0  0  0  |  0] Step 4: Negate r₂ to get a clean leading 1 [1  2  1  |  7] [0  1  2  |  6] [0  0  0  |  0] Step 5: One zero row → set z = λ y + 2z = 6 → y = 6 − 2λ x + 2y + z = 7 → x = 7 − 2(6−2λ) − λ = 7 − 12 + 4λ − λ = 3λ − 5 x = 3λ − 5,   y = −2λ + 6,   z = λ,   for λ ∈ ℝ verify with eq2: (3λ−5) + (−2λ+6) − λ = 3λ − 2λ − λ + 1 = 0λ + 1 = 1 ✓
WE 6

Find the value of k for infinite solutions, then find the general solution

The system below depends on a real constant k:
   x + y + z = 4
   x + 2yz = 3
   x + 3z = k
(a) Find the value of k for which the system has infinitely many solutions.
(b) For that value of k, find the general solution.

Part (a) — set up matrix with k in place [1  1  1  |  4] [1  2  −1  |  3] [1  0  3  |  k] Apply r₂ − r₁ → r₂  and  r₃ − r₁ → r₃ [1  1  1  |  4] [0  1  −2  |  −1] [0  −1  2  |  k − 4] Apply r₃ + r₂ → r₃ [1  1  1  |  4] [0  1  −2  |  −1] [0  0  0  |  k − 5] For infinite solutions, the bottom row must read “0 = 0” k − 5 = 0 → k = 5 (a) k = 5 Part (b) — substitute k = 5 and find general solution [1  1  1  |  4] [0  1  −2  |  −1] [0  0  0  |  0] one zero row → set z = λ y − 2z = −1 → y = 2λ − 1 x + y + z = 4 → x = 4 − (2λ − 1) − λ = 5 − 3λ (b) x = −3λ + 5,   y = 2λ − 1,   z = λ,   for λ ∈ ℝ notice for any other value of k, the bottom row reads “0 = (nonzero)” — inconsistent → no solution

💡 Top tips

⚠ Common mistakes

And with this, you’ve completed the entirety of Topic 1 — Number & Algebra for IB Maths AA HL — every section, every result, every technique. From standard form and binomial expansion all the way through proof, complex numbers, and now systems of linear equations, you’ve built up a complete algebraic toolkit. The big themes that recur — pattern, structure, generalisation — will keep showing up everywhere in the rest of the syllabus, especially in Calculus and Statistics. For now, take a moment to appreciate how far you’ve come. Topic 1 is the longest in the AA HL syllabus, and you’ve worked through all of it. Onward to Topic 2!

Need help with Number of Solutions?

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

Book Free Session →