Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›1 Number and algebra
  4. ›1.16 Systems of linear equations

IB Mathematics: Analysis and Approaches · Topic 1 · Number and algebra

1.16 Systems of linear equations

Solve systems of up to three linear equations by elimination, and decide whether they have one, none or infinitely many solutions.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
  • HL only
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A linear system needs one set of values that fits every equation
  1. 1A linear system needs one set of values that fits every equation
  2. 2Elimination reduces three unknowns to two and then to one
  3. 3A system has one solution, none, or infinitely many
  4. 4Infinitely many solutions are written using a parameter
  5. 5A contradictory result in elimination means there is no solution
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A linear system needs one set of values that fits every equation

Suppose three items have unknown prices and each receipt gives one equation. Every price must fit every receipt at once. This is a system of linear equations: several equations in the same unknowns. Linear means each unknown appears only to the power 1, with no products of unknowns.

With two unknowns, each equation is a straight line. A solution is a point on every line. With three unknowns, each equation describes a plane, and a solution lies on all the planes together.

Exam tip

Where a calculator is allowed, use its equation solver to check your answer. Still show the working that justifies each step.

Key terms · tap one for its definition

system of linear equations

A system of linear equations is a set of linear equations in the same unknowns that must all hold together.

plane

A plane is a flat surface in three dimensions, described by a linear equation ax+by+cz=dax+by+cz=dax+by+cz=d.

Part 1 done

2

Part 2 of 5: Elimination reduces three unknowns to two and then to one

Now turn to the method. Elimination removes one unknown at a time by adding or subtracting multiples of the equations. Choose the unknown that is easiest to remove, often one with matching coefficients. Work with whole numbers where you can.

  • Eliminate one unknown from two different pairs of equations.
  • Solve the two new equations for the remaining unknowns.
  • Use back-substitution to find the last unknown.
  • Check the values in all three original equations.

Worked example

Solve a three-unknown system

Solve x+y+z=6x+y+z=6x+y+z=6 (1), 2x−y+z=32x-y+z=32x−y+z=3 (2) and x+2y−z=2x+2y-z=2x+2y−z=2 (3).
  1. 1
    Add (1) and (3) to remove zzz: 2x+3y=82x+3y=82x+3y=8. Call this (4).
  2. 2
    Subtract (2) from (1) to remove zzz: −x+2y=3-x+2y=3−x+2y=3. Call this (5).
  3. 3
    From (5), x=2y−3x=2y-3x=2y−3. Substitute into (4): 2(2y−3)+3y=82(2y-3)+3y=82(2y−3)+3y=8, so 7y=147y=147y=14 and y=2y=2y=2.
  4. 4
    Then x=2(2)−3=1x=2(2)-3=1x=2(2)−3=1.
  5. 5
    Back-substitute in (1): 1+2+z=61+2+z=61+2+z=6, so z=3z=3z=3.
  6. 6
    Check in (2): 2−2+3=32-2+3=32−2+3=3. Check in (3): 1+4−3=21+4-3=21+4−3=2. Both hold.

Answer: x=1x=1x=1, y=2y=2y=2, z=3z=3z=3.

Common mistake

Eliminate the same unknown from both pairs. Removing different unknowns leaves you with three unknowns again.

Key terms · tap one for its definition

elimination

Elimination is a method that adds or subtracts multiples of equations to remove one unknown at a time.

back-substitution

Back-substitution is the use of a value already found in an earlier equation to calculate the remaining unknown.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify what the solution represents geometrically when three linear equations in three unknowns have a unique solution.
Show answer and explanation

Answer: A · Worked explanation

Each equation describes a plane, and a unique solution is one point lying on all three. A shared line would give infinitely many solutions. Three parallel planes never meet, so they would give no solution. A shared line would appear only if a free unknown remained.
3

Part 3 of 5: A system has one solution, none, or infinitely many

Not every system behaves as neatly as that one. The two-unknown case shows the three possible outcomes clearly. Two lines may cross once, never meet, or lie on top of each other. Three planes can behave in the same three ways.

Figure 1. Two equations in two unknowns give lines that cross once, never meet, or coincide.

A system with at least one solution is consistent. A system with no solution is inconsistent. The table links each outcome to what elimination produces and to the planes.

Outcomes for three equations in three unknowns

OutcomeElimination givesPlanes
Unique solutionone value for each unknownmeet at a single point
No solutiona false statement such as 0=50=50=5no point lies on all three
Infinitely many0=00=00=0 and a free unknownshare a line, or coincide
Outcome
Unique solution
Elimination gives
one value for each unknown
Planes
meet at a single point
Outcome
No solution
Elimination gives
a false statement such as 0=50=50=5
Planes
no point lies on all three
Outcome
Infinitely many
Elimination gives
0=00=00=0 and a free unknown
Planes
share a line, or coincide

In practice, you find the outcome by reading what elimination produces. A false statement means none. A free unknown means a family of solutions.

Key terms · tap one for its definition

consistent

A consistent system of equations is one that has at least one solution.

inconsistent

An inconsistent system of equations is one that has no solution.

Part 3 done

4

Part 4 of 5: Infinitely many solutions are written using a parameter

Suppose elimination ends with 0=00=00=0. Then one unknown is free to take any value. Call it a parameter, such as λ\lambdaλ, and write the other unknowns in terms of it.

Worked example

Write a solution set with a parameter

Solve x+y+z=3x+y+z=3x+y+z=3 (1), x−y+2z=1x-y+2z=1x−y+2z=1 (2) and 2x+3z=42x+3z=42x+3z=4 (3).
  1. 1
    Add (1) and (2): 2x+3z=42x+3z=42x+3z=4. Subtract (3): 0=00=00=0.
  2. 2
    So there are infinitely many solutions. Let z=2λz=2\lambdaz=2λ to avoid fractions.
  3. 3
    From (3): 2x=4−6λ2x=4-6\lambda2x=4−6λ, so x=2−3λx=2-3\lambdax=2−3λ.
  4. 4
    From (1): y=3−x−z=3−(2−3λ)−2λ=1+λy=3-x-z=3-(2-3\lambda)-2\lambda=1+\lambday=3−x−z=3−(2−3λ)−2λ=1+λ.

Answer: x=2−3λx=2-3\lambdax=2−3λ, y=1+λy=1+\lambday=1+λ, z=2λz=2\lambdaz=2λ, for any real λ\lambdaλ.

These points form a line in three dimensions, one point for each value of λ\lambdaλ. If only one independent equation remains, two unknowns are free and two parameters are needed.

Exam tip

Test one value of λ\lambdaλ in all three equations. With λ=1\lambda=1λ=1 the point is (−1,2,2)(-1,2,2)(−1,2,2), and it fits each equation.

Key term

parameter

A parameter is an extra letter, such as λ\lambdaλ, that stands for any real value and labels each member of an infinite solution set.

Part 4 done

Quick check

One question on the part you just read

Easy

State what the result 0=70=70=7 shows when it appears during elimination.
Show answer and explanation

Answer: A · Worked explanation

The statement 0=70=70=7 is false for all values of the unknowns, so no values satisfy every equation. Infinitely many solutions would be signalled by 0=00=00=0, which is always true. Both 0=00=00=0 and a clash like 0=70=70=7 come from elimination, but only the clash signals no solution.
5

Part 5 of 5: A contradictory result in elimination means there is no solution

Now suppose elimination produces a false statement. This signals an inconsistent system. A unique solution needs three independent equations for three unknowns, with each equation giving new information.

Worked example

Detect an inconsistent system

Decide whether x+y+z=2x+y+z=2x+y+z=2 (1), 2x+2y+2z=52x+2y+2z=52x+2y+2z=5 (2) and x−y=0x-y=0x−y=0 (3) has a solution.
  1. 1
    Take (2) minus twice (1): 2x+2y+2z−2(x+y+z)=5−42x+2y+2z-2(x+y+z)=5-42x+2y+2z−2(x+y+z)=5−4.
  2. 2
    This gives 0=10=10=1, which is false.
  3. 3
    No values of xxx, yyy and zzz can satisfy both (1) and (2).

Answer: The system is inconsistent, so it has no solution.

Here the first two planes are parallel and distinct. Their left-hand sides are proportional but their right-hand sides are not. Look for this early: if one left-hand side is a multiple of another, compare the right-hand sides at once.

Common mistake

Do not confuse 0=00=00=0 with 0=50=50=5. The first means one equation is redundant. The second means there is no solution.

Note read

Check your recall[14 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[3 marks]

    State the three possible outcomes for a system of linear equations.

    Show mark schemeHide mark scheme

    Model answer

    The system may have a unique solution, no solution, or infinitely many solutions.

    • 1 mark for stating a unique solution
    • 1 mark for stating no solution
    • 1 mark for stating infinitely many solutions
  2. 2.Determine[3 marks]

    Determine the solution of x+y+z=4x+y+z=4x+y+z=4, x−y+z=2x-y+z=2x−y+z=2 and 2x+y−z=12x+y-z=12x+y−z=1.

    Show mark schemeHide mark scheme

    Model answer

    Subtract the second equation from the first: 2y=22y=22y=2, so y=1y=1y=1. Then x+z=3x+z=3x+z=3 and 2x+1−z=12x+1-z=12x+1−z=1, so z=2xz=2xz=2x. Hence 3x=33x=33x=3, giving x=1x=1x=1 and z=2z=2z=2. The solution is x=1x=1x=1, y=1y=1y=1, z=2z=2z=2.

    • 1 mark for eliminating to obtain y=1y=1y=1
    • 1 mark for forming and solving equations in xxx and zzz to obtain x=1x=1x=1
    • 1 mark for obtaining z=2z=2z=2 by back-substitution
  3. 3.Explain[2 marks]

    Explain how elimination shows that a system has no solution.

    Show mark schemeHide mark scheme

    Model answer

    Elimination produces a false statement, such as 0=50=50=5. No values of the unknowns can satisfy it, so the system is inconsistent.

    • 1 mark for stating that elimination gives a false statement such as 0=50=50=5
    • 1 mark for concluding that no values satisfy all the equations
  4. 4.Deduce[2 marks]

    Elimination leaves x−z=2x-z=2x−z=2 and y+2z=5y+2z=5y+2z=5. Deduce the solutions, using z=λz=\lambdaz=λ.

    Show mark schemeHide mark scheme

    Model answer

    x=2+λx=2+\lambdax=2+λ, y=5−2λy=5-2\lambday=5−2λ and z=λz=\lambdaz=λ, for any real λ\lambdaλ.

    • 1 mark for obtaining x=2+λx=2+\lambdax=2+λ
    • 1 mark for obtaining y=5−2λy=5-2\lambday=5−2λ
  5. 5.Describe[2 marks]

    Describe the geometric meaning of a system of three equations in three unknowns that has a unique solution.

    Show mark schemeHide mark scheme

    Model answer

    Each equation describes a plane. The three planes meet at a single point, which gives the solution.

    • 1 mark for stating that each equation describes a plane
    • 1 mark for stating that the three planes meet at a single point
  6. 6.Distinguish[2 marks]

    Distinguish between elimination reaching 0=00=00=0 and elimination reaching 0=50=50=5.

    Show mark schemeHide mark scheme

    Model answer

    Reaching 0=00=00=0 means one equation is redundant, and a free unknown may give infinitely many solutions. Reaching 0=50=50=5 is false, so the system has no solution.

    • 1 mark for stating that 0=00=00=0 means a redundant equation and infinitely many solutions
    • 1 mark for stating that 0=50=50=5 means no solution

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the name for the letter λ\lambdaλ used to label an infinite set of solutions.
Show answer and explanation

Answer: A · Worked explanation

A parameter stands for any real value and labels each member of the solution set. A coefficient multiplies an unknown, and a constant term has no unknown. Back-substitution is a method, not a letter. The letter itself is only a label, so any other letter would work.
4.

Medium·Determine[2 marks]

Determine the value of zzz in the system x+y+z=9x+y+z=9x+y+z=9, x−y+z=3x-y+z=3x−y+z=3 and 2x+y−z=32x+y-z=32x+y−z=3.
Show answer and explanation

Answer: A · Worked explanation

Subtract the second equation from the first: 2y=62y=62y=6, so y=3y=3y=3. Then x+z=6x+z=6x+z=6 and 2x+3−z=32x+3-z=32x+3−z=3, so z=2xz=2xz=2x. This gives x=2x=2x=2 and z=4z=4z=4. The value 3 is yyy, and the value 2 is xxx. Check in the third equation: 4+3−4=34+3-4=34+3−4=3.
5.

Medium·Determine[2 marks]

Determine the value of kkk for which x+y=2x+y=2x+y=2 and 2x+2y=k2x+2y=k2x+2y=k have infinitely many solutions.
Show answer and explanation

Answer: A · Worked explanation

Doubling the first equation gives 2x+2y=42x+2y=42x+2y=4. The two equations describe the same line when k=4k=4k=4. If k=2k=2k=2, the second equation gives x+y=1x+y=1x+y=1, which contradicts x+y=2x+y=2x+y=2, so the system has no solution. Check with k=4k=4k=4: both equations are multiples of x+y=2x+y=2x+y=2.
6.

Medium·Deduce[2 marks]

Elimination leaves x+z=3x+z=3x+z=3 and y−z=1y-z=1y−z=1. Deduce the general solution, using z=λz=\lambdaz=λ.
Show answer and explanation

Answer: A · Worked explanation

Rearrange to x=3−zx=3-zx=3−z and y=1+zy=1+zy=1+z, then replace zzz with λ\lambdaλ. Moving zzz across the equals sign changes its sign, so y−z=1y-z=1y−z=1 gives y=1+λy=1+\lambday=1+λ, not 1−λ1-\lambda1−λ. Check: with λ=0\lambda=0λ=0 the point is (3,1,0)(3,1,0)(3,1,0), which satisfies both equations.
7.

Medium·Determine[1 mark]

Determine how many solutions the system x+y+z=1x+y+z=1x+y+z=1, x+y+z=2x+y+z=2x+y+z=2 and x−y=0x-y=0x−y=0 has.
Show answer and explanation

Answer: A · Worked explanation

Subtracting the first equation from the second gives 0=10=10=1, which is false, so the system is inconsistent. The first two planes are parallel and distinct, so no point lies on all three. The third equation cannot repair this. The third equation does not matter once two equations contradict each other.
8.

Hard·Determine[2 marks]

Determine the value of kkk for which x+y+z=3x+y+z=3x+y+z=3, x−y+2z=1x-y+2z=1x−y+2z=1 and 2x+3z=k2x+3z=k2x+3z=k have infinitely many solutions.
Show answer and explanation

Answer: A · Worked explanation

Adding the first two equations gives 2x+3z=42x+3z=42x+3z=4. The third equation agrees with this only when k=4k=4k=4, and then it adds no new information, leaving a free unknown. Any other kkk gives a false statement. The value 2 comes from subtracting the constants instead of adding them.
9.

Hard·Deduce[2 marks]

Elimination on three equations in three unknowns leaves x+y+z=4x+y+z=4x+y+z=4, y−z=1y-z=1y−z=1 and 0=00=00=0. Deduce the nature of the solution set.
Show answer and explanation

Answer: A · Worked explanation

The statement 0=00=00=0 is always true, so it signals a redundant equation, not an inconsistent system. Two independent equations remain for three unknowns, so one unknown is free and one parameter is needed. Two parameters would need only one independent equation.
10.

Hard·Determine[2 marks]

The equations x+2y−z=4x+2y-z=4x+2y−z=4 and x−y+z=1x-y+z=1x−y+z=1 have infinitely many solutions. Determine them, using z=3μz=3\muz=3μ.
Show answer and explanation

Answer: A · Worked explanation

With z=3μz=3\muz=3μ the equations become x+2y=4+3μx+2y=4+3\mux+2y=4+3μ and x−y=1−3μx-y=1-3\mux−y=1−3μ. Subtracting gives 3y=3+6μ3y=3+6\mu3y=3+6μ, so y=1+2μy=1+2\muy=1+2μ and x=2−μx=2-\mux=2−μ. The solution with z=μz=\muz=μ fails: it gives x+2y−z=4+2μx+2y-z=4+2\mux+2y−z=4+2μ in the first equation. Check with μ=0\mu=0μ=0: the point (2,1,0)(2,1,0)(2,1,0) gives 2+2−0=42+2-0=42+2−0=4 and 2−1+0=12-1+0=12−1+0=1.

Keep going

Next topic2.1 Equations of straight linesPrevious topic1.15 Proof by induction and contradiction

More in Topic 1 · Number and algebra

  1. 1.8Infinite geometric seriesNotes · 10 questions
  2. 1.9The binomial theoremNotes · 10 questions
  3. 1.10Counting principlesNotes · 10 questions· HL only
  4. 1.11Partial fractionsNotes · 10 questions· HL only
  5. 1.12Complex numbersNotes · 10 questions· HL only
  6. 1.13Polar and Euler formNotes · 10 questions· HL only
  7. 1.14Complex roots and De Moivre's theoremNotes · 10 questions· HL only
  8. 1.15Proof by induction and contradictionNotes · 10 questions· HL only
  9. 1.16Systems of linear equationsNotes · 10 questions· HL only

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1A linear system needs one set of values that fits every equation
  2. 2Elimination reduces three unknowns to two and then to one
  3. 3A system has one solution, none, or infinitely many
  4. 4Infinitely many solutions are written using a parameter
  5. 5A contradictory result in elimination means there is no solution
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe