Grade 12 · Mathematics · Algebra

Simultaneous equations

Solve linear simultaneous equations by elimination and substitution, and solve a linear equation with a quadratic one, with worked examples and practice questions.

By David K. Mvula Updated 19 September 2026 10 min read

By the end of this lesson you should be able to

  • Solve pairs of linear simultaneous equations by elimination and by substitution
  • Solve a linear equation and a quadratic equation together
  • Form simultaneous equations from word problems

What are simultaneous equations?

Simultaneous equations are two or more equations that must be true at the same time. When there are two unknowns, such as xx and yy, you need two equations to find them both.

Graphically, each linear equation is a straight line. The solution is the point where the lines cross. That picture explains the three possible outcomes:

  • One solution: the lines cross at a single point.
  • No solution: the lines are parallel, so they never meet.
  • Infinitely many solutions: both equations describe the same line.

Method 1: elimination

Make the coefficients of one unknown equal (ignoring signs), then add or subtract the equations to remove it.

  • If the equal terms have different signs, add the equations.
  • If the equal terms have the same sign, subtract the equations.

Example 1. Solve 3x+2y=163x + 2y = 16 and 5x2y=165x - 2y = 16.

The yy terms are +2y+2y and 2y-2y, so add the equations:

8x=32x=48x = 32 \quad\Rightarrow\quad x = 4

Substitute into the first equation: 3(4)+2y=163(4) + 2y = 16, so 2y=42y = 4 and y=2y = 2.

Check in the second equation: 5(4)2(2)=165(4) - 2(2) = 16. ✓

Example 2. Solve 2x+3y=72x + 3y = 7 and 3x2y=43x - 2y = 4.

No coefficients match, so make the yy coefficients equal. Multiply the first equation by 22 and the second by 33:

4x+6y=149x6y=124x + 6y = 14 \qquad 9x - 6y = 12

The yy terms have opposite signs, so add:

13x=26x=213x = 26 \quad\Rightarrow\quad x = 2

Substitute into 2x+3y=72x + 3y = 7: 4+3y=74 + 3y = 7, so y=1y = 1.

Check in the second original equation: 3(2)2(1)=43(2) - 2(1) = 4. ✓

Method 2: substitution

Use this method when one equation already gives one unknown in terms of the other.

Example 3. Solve y=2x1y = 2x - 1 and 3x+y=93x + y = 9.

Replace yy in the second equation with 2x12x - 1:

3x+(2x1)=95x=10x=23x + (2x - 1) = 9 \quad\Rightarrow\quad 5x = 10 \quad\Rightarrow\quad x = 2

Then y=2(2)1=3y = 2(2) - 1 = 3.

A linear equation and a quadratic equation

When one equation is quadratic, such as a circle x2+y2=25x^2 + y^2 = 25, always substitute the linear equation into the quadratic one. This leaves a quadratic equation in one unknown, which gives two values. Then find the matching yy for each xx.

Example 4. Solve y=x+1y = x + 1 and x2+y2=25x^2 + y^2 = 25.

Substitute y=x+1y = x + 1:

x2+(x+1)2=252x2+2x+1=25x2+x12=0x^2 + (x + 1)^2 = 25 \quad\Rightarrow\quad 2x^2 + 2x + 1 = 25 \quad\Rightarrow\quad x^2 + x - 12 = 0 (x+4)(x3)=0x=4 or x=3(x + 4)(x - 3) = 0 \quad\Rightarrow\quad x = -4 \text{ or } x = 3

Use y=x+1y = x + 1 to find each yy: when x=4x = -4, y=3y = -3; when x=3x = 3, y=4y = 4.

The solutions are (4,3)(-4, -3) and (3,4)(3, 4). Check: 16+9=2516 + 9 = 25 and 9+16=259 + 16 = 25. ✓

Word problems

Choose letters for the two unknown quantities, write two equations from the information, then solve.

Example 5. Three pens and two books cost K34. Two pens and one book cost K19. Find the cost of one pen and one book.

Let a pen cost Kpp and a book cost Kbb.

3p+2b=342p+b=193p + 2b = 34 \qquad 2p + b = 19

From the second equation, b=192pb = 19 - 2p. Substitute into the first:

3p+2(192p)=343p+384p=34p=43p + 2(19 - 2p) = 34 \quad\Rightarrow\quad 3p + 38 - 4p = 34 \quad\Rightarrow\quad p = 4

Then b=198=11b = 19 - 8 = 11. A pen costs K4 and a book costs K11.

Check: 3(4)+2(11)=343(4) + 2(11) = 34. ✓

Common mistakes

Subtracting when you should add. When the terms to eliminate have opposite signs, add. Mixing this up is the most common error in elimination.

Multiplying only one term. When you multiply an equation, multiply every term, including the number on the right-hand side.

Stopping after finding one unknown. A solution is a pair of values. Always find both, then check them in the original equations.

Substituting into the wrong place in a linear-quadratic pair. Substitute the linear equation into the quadratic one, not the other way round. Remember that (x+1)2=x2+2x+1(x + 1)^2 = x^2 + 2x + 1, not x2+1x^2 + 1.

Practice questions

  1. Solve x+y=10x + y = 10 and xy=4x - y = 4.
  2. Solve 2x+y=112x + y = 11 and xy=1x - y = 1.
  3. Solve 3x2y=13x - 2y = 1 and 2x+3y=182x + 3y = 18.
  4. Solve y=3x2y = 3x - 2 and 2x+y=132x + y = 13.
  5. Solve 5x+2y=15x + 2y = 1 and 3x+4y=53x + 4y = -5.
  6. Solve y=x2y = x - 2 and x2+y2=20x^2 + y^2 = 20.
  7. Two adults and three children pay K130 to enter a show. One adult and two children pay K75. Find the price of an adult ticket and of a child ticket.
  8. How many solutions do 2x+y=42x + y = 4 and 4x+2y=94x + 2y = 9 have? Give a reason.
Show answers
  1. Adding gives 2x=142x = 14, so x=7x = 7 and y=3y = 3.
  2. Adding gives 3x=123x = 12, so x=4x = 4 and y=3y = 3.
  3. Multiply the first by 33 and the second by 22: 9x6y=39x - 6y = 3 and 4x+6y=364x + 6y = 36. Adding gives 13x=3913x = 39, so x=3x = 3 and y=4y = 4.
  4. 2x+3x2=132x + 3x - 2 = 13, so 5x=155x = 15, giving x=3x = 3 and y=7y = 7.
  5. Multiply the first by 22: 10x+4y=210x + 4y = 2. Subtract the second equation: 7x=77x = 7, so x=1x = 1 and y=2y = -2.
  6. x2+(x2)2=20x^2 + (x - 2)^2 = 20 gives x22x8=0x^2 - 2x - 8 = 0, so (x4)(x+2)=0(x - 4)(x + 2) = 0. The solutions are (4,2)(4, 2) and (2,4)(-2, -4).
  7. Let an adult ticket cost Kaa and a child ticket Kcc. Then 2a+3c=1302a + 3c = 130 and a+2c=75a + 2c = 75. From the second, a=752ca = 75 - 2c, so 1504c+3c=130150 - 4c + 3c = 130, giving c=20c = 20 and a=35a = 35. An adult ticket is K35 and a child ticket is K20.
  8. None. Doubling the first equation gives 4x+2y=84x + 2y = 8, which contradicts 4x+2y=94x + 2y = 9. The lines are parallel, so they never meet.

Summary

  • Elimination works well when both equations are in the form ax+by=cax + by = c. Substitution works well when one unknown is already isolated.
  • Add the equations when the signs of the terms to eliminate differ, and subtract when they are the same.
  • For a linear and a quadratic equation, substitute the linear one into the quadratic, solve, then find both yy values.
  • Always check your pair of values in the original equations.

Now practise this topic

Real questions show you what still needs work. Try a past paper under timed conditions, or take a short quiz.