In this guide
← Maths AA guides

Number & algebra · AA HL

Systems of linear equations

Solve several equations together and recognise whether they have a unique solution, no solution or infinitely many solutions.

Course focus: AA HL: this guide develops additional higher-level content; it is not required for AA SL.

Before you start: Linear equations, elimination and substitution.

Start with a small example

Build it from the beginning

HL content

A simultaneous solution must satisfy every equation at once. Each equation is a constraint, and their intersection contains the solutions. Adding or subtracting whole equations can eliminate one unknown without changing the common solution.

A first walkthrough

Solve \(x+y=7\) and \(x-y=1\).

  1. Add the equations: \(2x=8\), so \(x=4\).
  2. Substitute into \(x+y=7\) to obtain \(y=3\).
  3. Check both: \(4+3=7\) and \(4-3=1\).
Try the practice ladder after learning the methods ↓

The foundations behind the method

Understand what the symbols mean

A pair of linear equations represents two lines. One intersection means one solution; parallel distinct lines mean none; coincident lines mean infinitely many. In three variables, think of planes. Elimination changes the equations while preserving their common solutions when the row operations are reversible.

How the ideas connect

An eliminated row such as \(0=5\) is a contradiction, whereas \(0=0\) contains no new information. If a parameter appears in a prospective divisor, handle the case when it is zero before dividing. A zero determinant rules out a unique solution, but does not alone distinguish no solutions from infinitely many.

01

Start with the idea

Build your understanding

A simultaneous solution must satisfy every equation at once. Elimination turns that shared requirement into simpler equations, but special parameter values can change whether the system has one solution, many solutions or none.

Row equivalence

Adding a multiple of one equation to another preserves the common solutions. Dividing by an expression involving a parameter may not be valid for every parameter value.

Geometric interpretation

Two lines may cross, coincide or be parallel. In three dimensions, plane configurations create analogous distinctions; no individual equation supplies the full intersection.

Compare the approaches

Choose by the information in the question, rather than the formula you recognise first.

A nonzero pivot

When it helpsContinue elimination and solve the remaining unknown.

Check before using itKeep the parameter restrictions attached to any division.

A zero pivot

When it helpsReturn to the unsimplified equations for that case.

Check before using itA true identity suggests dependence; a contradiction means inconsistency.

Your method plan

  1. Eliminate without losing exceptional parameter values.
  2. Separate cases before dividing by an expression that can vanish.
  3. Substitute solutions into all original equations.
02

Learn the methods

Learn step by step

1. Eliminate systematically

Align the variables in the same order. Multiply equations to give matching coefficients, then subtract to remove one variable. For three variables, produce two equations in two variables, solve those, and substitute back. Record each operation so arithmetic errors can be traced.

Two-variable elimination

Why this formula works

Multiply the first equation by e and the second by b, then subtract. The y-terms cancel. The remaining x coefficient \(ae-bd\) determines whether that elimination fixes x uniquely.

The formula

From \(ax+by=c\) and \(dx+ey=f\), eliminating y gives \((ae-bd)x=ce-bf\). A unique solution requires \(ae-bd\ne0\).

Quick example

For \(x+y=3\) and \(2x-y=0\), elimination gives \(3x=3\), so \(x=1\) and \(y=2\). Here \(ae-bd=-3\ne 0\).

Worked example: Three unknowns

Solve \(x+y+z=6\), \(x-y+z=2\) and \(2x+y-z=3\).

  1. Subtract the second equation from the first: \(2y=4\), so \(y=2\).
  2. Substitute into the first: \(x+z=4\). Substitute into the third: \(2x-z=1\).
  3. Add the last two equations: \(3x=5\), so \(x=\frac{5}{3}\) and \(z=\frac{7}{3}\).
  4. Check all three original equations, especially the minus sign on z.

2. Parameters

If an elimination step would divide by a parameter expression, separate the zero case first. Solve the ordinary case only when the expression is nonzero, then return to the exceptional value and substitute it into the original system. That value may give inconsistency or a family of solutions.

Worked example: An exceptional parameter

Solve \(x+y=2\) and \(x+ky=3\) according to k.

  1. Subtract: \((k-1)y=1\).
  2. If \(k\ne 1\), \(y=\frac{1}{k-1}\) and \(x=2-\frac{1}{k-1}\).
  3. If \(k=1\) the equations demand both \(x+y=2\) and \(x+y=3\), so there is no solution.
Worked example: A parameter with infinitely many solutions

Classify \(x+y=2\) and \(x+ky=2\) according to k.

  1. Subtract to obtain \((k-1)y=0\).
  2. If \(k\ne 1\), \(y=0\) and \(x=2\), a unique solution.
  3. If \(k=1\) the equations are identical. The full solution is \((x,y)=(2-t,t)\), t real; do not report only \((2,0)\).

3. Geometric meaning

In two variables equations represent lines; in three variables they represent planes. A unique common point gives a unique solution. Parallel distinct lines cannot meet, while identical lines share all their points. Three planes may meet in a point, a line or no common point even when each pair meets.

Intersecting, parallel and coincident lines

One solutionNo solutionInfinitely many
Two equations may have one intersection, none, or an entire shared line of solutions. A dependent equation adds no new restriction.

4. Use technology responsibly

A numerical solver may be useful on a calculator paper, but input each equation correctly and verify the output by substitution. An error message alone is not an explanation of the number of solutions.

5. Unique, inconsistent and dependent equations

Two nonvertical lines with different slopes meet at one point. Equal slopes with different intercepts give no solution; identical equations give infinitely many. During elimination, a contradiction signals inconsistency, while an identity only shows that one equation repeats existing information. In parameter problems, do not divide by a coefficient that might vanish; separate that value and return to the original equations.

Parametric family

Why this formula works

If equations are dependent, one equation may leave a variable free. A parameter names every allowed value of that variable, giving the entire solution set instead of an arbitrary one-point example.

The formula

If one independent equation remains, choose a free variable t and express the other variables in terms of t. State t is real when appropriate.

Quick example

For \(x+y=4\), take \(y=t\) and \(x=4-t\). Each real t gives one solution; the duplicate equation \(2x+2y=8\) adds no restriction.

Unique, inconsistent and dependent equations

Why this formula works

Elimination preserves the same solution set through reversible row operations. If all variable terms cancel, the remaining constant equality decides whether the equations agree or contradict each other.

The formula

\(0=c\) with \(c\ne 0\) signals no solution; \(0=0\) signals a redundant equation, with remaining constraints still to be analysed.

Quick example

\(x+y=3\) and \(2x+2y=8\) reduce to \(0=2\) and have no solution. Replacing 8 by 6 makes the second equation redundant.

Worked example: A parameter changes the solution type

Classify \(x+y=2\) and \(2x+ky=4\) for real k.

  1. Subtract twice the first equation: \((k-2)y=0\).
  2. If \(k\ne 2\), \(y=0\) and \(x=2\), a unique solution.
  3. If \(k=2\), both equations describe the same line. All \((x,y)=(2-t,t)\), t real, solve them.
Quick formula reference

For revision once you understand the methods above. Check the conditions before using a formula.

Two-variable elimination

From \(ax+by=c\) and \(dx+ey=f\), eliminating y gives \((ae-bd)x=ce-bf\). A unique solution requires \(ae-bd\ne0\).

Return to the explanation →

Parametric family

If one independent equation remains, choose a free variable t and express the other variables in terms of t. State t is real when appropriate.

Return to the explanation →

Unique, inconsistent and dependent equations

\(0=c\) with \(c\ne 0\) signals no solution; \(0=0\) signals a redundant equation, with remaining constraints still to be analysed.

Return to the explanation →

Learn to diagnose an error

Spot the mistake

The statement below is incorrect. Identify the missing condition or reasoning before opening the explanation.

Incorrect reasoning

After elimination gives \(0=0\), set every variable equal to zero.

Explain and repair the mistake

The row imposes no restriction. For \(x+y=3\) and \(2x+2y=6\), write \(y=t,x=3-t\), with real t. The family describes the whole shared line.

03

Connect and apply

Put the ideas together

A more demanding application of this guide’s methods. This is a learning stage; any additional HL content is labelled separately.

Worked application

A parameter controls the intersection

Solve \(x+y=3\) and \(2x+ky=6\), distinguishing parameter values.

  1. Subtract twice the first equation from the second: \((k-2)y=0\). This is valid for every real \(k\).
  2. If \(k\ne2\), division gives \(y=0\), then \(x=3\). This is the unique intersection.
  3. If \(k=2\), the second equation is twice the first. Every point with \(x+y=3\) is a solution, for example \((x,y)=(3-t,t)\).
  4. If the second right-hand side were instead 7 while \(k=2\), elimination would give \(0=1\): no solution. The zero pivot alone does not identify which exceptional outcome occurs.
Pause and explain

Why can you not divide immediately by k−2?

Check your reasoning

It would exclude the exact case where the structure changes. Analyse the zero-factor case separately before giving a divided expression.

Common mistakes and how to avoid them

  • A zero coefficient requires a separate case before division.
  • \(0=0\) does not on its own prove the entire system has infinitely many solutions.
  • Always substitute your result into every original equation.
04

Practise independently

Build confidence, then apply it

Try each question before opening its hint or solution. If a method is new, return to the walkthrough, then try again. These learning stages describe the practice sequence; additional HL content is labelled separately.

  1. 1

    Build confidence

    HL extension

    Solve \(x+y=9\) and \(x-y=3\).

    Need a starting point?

    Add the equations first.

    Show the worked solution
    1. \(2x=12\), giving \(x=6\).
    2. Substitution gives \(y=3\); both original equations hold.
  2. 2

    Apply and explain

    HL extension

    Do \(x+y=4\) and \(2x+2y=10\) have a common solution?

    Need a starting point?

    Double the first equation before comparing.

    Show the worked solution
    1. The first would require \(2x+2y=8\).
    2. It cannot also equal 10, so the system has no solution.
  3. 3

    Check your understanding

    Classify \(x+y=3\) and \(2x+2y=7\).

    Show the worked solution

    Subtract twice the first equation to obtain \(0=1\). There is no common solution.

  4. 4

    Use the method

    Solve \(x+y=4\) and \(2x+2y=8\). Is the solution unique?

    Show the worked solution

    No. The second equation is twice the first. All pairs \((x,y)=(4-t,t)\), t real, solve the system.

  5. 5

    Combine the skills

    Unique, inconsistent and dependent equations

    Why does the step \(y=0\) from \((k-2)y=0\) need a case split?

    Show the worked solution

    It divides by \(k-2\). That expression is zero when \(k=2\), in which case the equation imposes no restriction on y.

Finished? Use the linked question bank below to practise selecting the method without a guide telling you which rule to use.

Using these methods in exam questions

AA Paper 1

No calculator

Practise the algebra and exact values by hand. Keep fractions, surds and multiples of π exact where required. Show the steps that justify the result.

AA Paper 2

GDC required

Use graphing, numerical solving or statistical tools when appropriate. Write the setup before giving the output, and keep extra precision until the final answer.

For this topic: Keep algebraic transformations visible. State restrictions before cancelling or taking logarithms, and check whether the question needs an exact expression or a rounded value.

HL only · GDC required

Paper 3: build a connected argument

Both AA HL and AI HL Paper 3 contain two extended problem-solving questions. A question develops a theme, so keep useful earlier results, test small cases and explain any proposed general rule. A calculator pattern can suggest a result; your mathematical reasoning must support it.

  1. Identify what the first part establishes and record the conditions under which it holds.
  2. When a later part introduces a new definition or model, connect it to methods you already know rather than assuming a new formula must have been memorised.
  3. Check the conclusion against an earlier numerical case and explain its meaning or limitation.

For the first-assessment-2021 courses. IB assessment reference ↗

Find a specific method or formula

Now practise the method

If you opened this guide from a question, return to that tab and try the method without looking at the example. Your answer stays in the question tab.

Practise this subtopic →

Want a broader practice session? Explore IB Maths AA HL practice questions →Try free IB Maths exam-style questions and worked solutions →

Core-topic coverage checked against Haese Core Topics SL (2019), chapters 1D; Haese Core Topics HL (2019), chapters 1D. The explanations, diagrams and exercises here are original Arc material.

Original Arc Practice teaching notes for Maths AA. Core and HL sections are distinguished above. These notes follow the first-assessment-2021 course and are not an official IB publication or a complete syllabus checklist. IB course reference. Report a correction.