Advanced level

Systems of equations

A system of equations puts two conditions on two unknowns at once. Learn substitution and elimination, see the solution as the point where two lines cross, and learn to recognise inconsistent and dependent systems.

Before you start

This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:

All formulas

  • A system of two linear equations

    {a1x+b1y=c1a2x+b2y=c2\begin{cases} a_1x + b_1y = c_1 \\ a_2x + b_2y = c_2 \end{cases}

    the solution is a pair (x, y) satisfying both equations

  • Condition for a determinate system

    a1b2a2b10a_1 b_2 - a_2 b_1 \neq 0

    exactly one solution — the lines cross at a single point

  • Substitution method

    y=c1a1xb1    a2x+b2c1a1xb1=c2y = \frac{c_1 - a_1 x}{b_1} \;\longrightarrow\; a_2 x + b_2 \cdot \frac{c_1 - a_1 x}{b_1} = c_2

    express one unknown and put it into the other equation

  • Elimination method

    m(a1x+b1y)+n(a2x+b2y)=mc1+nc2m \cdot (a_1 x + b_1 y) + n \cdot (a_2 x + b_2 y) = m c_1 + n c_2

    choose m and n so that one unknown cancels out

  • Determinant formulas

    W=a1b2a2b1,x=WxW,y=WyWW = a_1 b_2 - a_2 b_1, \quad x = \frac{W_x}{W}, \quad y = \frac{W_y}{W}

    W_x and W_y come from W by replacing the matching column with the constant terms

  • Inconsistent system

    a1a2=b1b2c1c2\frac{a_1}{a_2} = \frac{b_1}{b_2} \neq \frac{c_1}{c_2}

    parallel lines — no solutions; when all three ratios are equal the system is dependent

A single equation in two unknowns has infinitely many solutions: x+y=5x + y = 5 is satisfied by (1,4)(1, 4), by (2,3)(2, 3) and by (10,5)(10, -5) alike. To pin down two numbers you need two conditions at once. That is a system of equations:

{a1x+b1y=c1a2x+b2y=c2\begin{cases} a_1x + b_1y = c_1 \\ a_2x + b_2y = c_2 \end{cases}

The solution of a system is a pair (x,y)(x, y) satisfying both equations simultaneously. A pair fitting only one of them is not a solution — and that is the whole difference between a system and two separate equations.

The substitution method

The idea is simple: express one unknown from one equation and put it into the other. What is left is a single equation in a single unknown — a task we already know how to finish.

Solve the system: x + y = 5 and 2x − y = 4.

Watch the bracket while substituting: the whole expression goes in, so a minus in front of it flips the sign of every term inside. This is where most signs get lost.

The elimination method

When no unknown carries a coefficient of 1, expressing one introduces fractions. It is then easier to multiply the equations so that the coefficients of one unknown become opposite, and add the equations side by side — that unknown then cancels itself out.

Solve the system: 3x + 2y = 12 and 5x − 2y = 4.

If the coefficients are not opposite to begin with, multiply the equations by suitable numbers — in the system 2x+3y=82x + 3y = 8 and 3x4y=53x - 4y = -5, multiplying the first by 33 and the second by 2-2 turns the coefficients of xx into 66 and 6-6.

Two lines on one graph

Every linear equation in two unknowns describes a line. So a system asks for the point lying on both lines at once:

−202468−6−4−202468xy(3, 2)x + y = 52x − y = 4
The solution of the system is the coordinates of the crossing point: x = 3, y = 2.

That picture explains all three possibilities at once. The lines may cross at one point (one solution), be parallel (none), or coincide (infinitely many).

Determinate, inconsistent and dependent systems

Which case you are in is decided by the coefficients alone:

a1b2a2b10— a determinate system, exactly one solutiona_1 b_2 - a_2 b_1 \neq 0 \quad \text{— a determinate system, exactly one solution}
Solve the systems: x + y = 4 and 2x + 2y = 10, then x + y = 4 and 2x + 2y = 8.

A practical hint: if both unknowns have vanished during the work, that is not a mistake — that is the answer. All that is left is to read the statement you are holding.

A system as a model

The power of systems comes from problems where two numbers are wanted at once. Two full tickets and three reduced ones cost 9696 zł, while one full and two reduced ones cost 5454 zł. What does each ticket cost?

{2n+3u=96n+2u=54\begin{cases} 2n + 3u = 96 \\ n + 2u = 54 \end{cases}

From the second equation n=542un = 54 - 2u, so:

2(542u)+3u=962(54 - 2u) + 3u = 96 108u=96108108 - u = 96 \quad \big| -108 u=12(1)-u = -12 \quad \big| \cdot (-1) u=12u = 12

Hence n=54212=30n = 54 - 2 \cdot 12 = 30. A full ticket costs 3030 zł and a reduced one 1212 zł. The hardest step is again not the arithmetic — it is writing both conditions down.

In the exercises below, enter both numbers separated by a comma, as x=2,y=3x = 2, y = 3 (a bare 2,32, 3 is accepted too).

Practice

Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.

Exercise 1 of 8Score: 0
x + 3y = 14; x + y = 8

Common mistakes

  • Substituting without a bracket — in 2x(5x)2x - (5 - x) the minus applies to both terms.
  • Checking in one equation only — the pair must fit both, otherwise it does not solve the system.
  • Adding equations whose coefficients are not opposite — multiply first, add afterwards.
  • Giving xx alone — the solution of a system is a pair of numbers, not one of them.
  • Reading vanished unknowns as an error — it is the signal of an inconsistent or dependent system.

Formula card

Topic: Systems of equations

  • A system of two linear equations

    {a1x+b1y=c1a2x+b2y=c2\begin{cases} a_1x + b_1y = c_1 \\ a_2x + b_2y = c_2 \end{cases}

    the solution is a pair (x, y) satisfying both equations

  • Condition for a determinate system

    a1b2a2b10a_1 b_2 - a_2 b_1 \neq 0

    exactly one solution — the lines cross at a single point

  • Substitution method

    y=c1a1xb1    a2x+b2c1a1xb1=c2y = \frac{c_1 - a_1 x}{b_1} \;\longrightarrow\; a_2 x + b_2 \cdot \frac{c_1 - a_1 x}{b_1} = c_2

    express one unknown and put it into the other equation

  • Elimination method

    m(a1x+b1y)+n(a2x+b2y)=mc1+nc2m \cdot (a_1 x + b_1 y) + n \cdot (a_2 x + b_2 y) = m c_1 + n c_2

    choose m and n so that one unknown cancels out

  • Determinant formulas

    W=a1b2a2b1,x=WxW,y=WyWW = a_1 b_2 - a_2 b_1, \quad x = \frac{W_x}{W}, \quad y = \frac{W_y}{W}

    W_x and W_y come from W by replacing the matching column with the constant terms

  • Inconsistent system

    a1a2=b1b2c1c2\frac{a_1}{a_2} = \frac{b_1}{b_2} \neq \frac{c_1}{c_2}

    parallel lines — no solutions; when all three ratios are equal the system is dependent

−202468−6−4−202468xy(3, 2)x + y = 52x − y = 4
The solution of x + y = 5 and 2x − y = 4 is the point where the two lines cross: (3, 2).

Frequently asked questions

Related articles