Skip to the page
Home Campus
Start free

Equations to Tidy First and Choosing a Method

Put simultaneous equations with terms on both sides, brackets, fractions or decimals into the form ax+by=cax + by = c; split the form A=B=CA = B = C; choose between substitution and elimination; and use a solution once you have it.

Before you start

  • Substitution (lesson 2.6) and elimination (lesson 2.7) both start from two equations in the form ax+by=cax + by = c.
  • To clear fractions, multiply every term by the lowest common multiple of the denominators: x2+y3=4\frac{x}{2} + \frac{y}{3} = 4 times 66 is 3x+2y=243x + 2y = 24 (Secondary 1).
  • Expanding: −3(x−y)=−3x+3y.-3(x - y) = -3x + 3y\text{.}

Tidying Each Equation First

Tidy each equation into the form ax + by = c

Terms on both sides: move the xx and yy terms to the left and the numbers to the right.

Brackets: expand them, then collect like terms.

Fractions: multiply every term by the lowest common multiple of the denominators.

Decimals: multiply every term by 1010 (or 100100) so that every coefficient is a whole number.

Then solve by substitution or elimination, and check in the equations as they were given.

Example 1: Terms on both sides

Solve 2x=3y+12x = 3y + 1 and 5x−6=4y5x - 6 = 4y.

Solution

First equation: subtract 3y3y from both sides: 2x−3y=12x - 3y = 1 \quad (1)

Second equation: subtract 4y4y and add 66: 5x−4y=65x - 4y = 6 \quad (2)

Eliminate yy (lowest common multiple 1212). (1) ×4\times 4: 8x−12y=48x - 12y = 4. (2) ×3\times 3: 15x−12y=1815x - 12y = 18.

Subtract: 7x=147x = 14, so x=2x = 2. Substitute into (1): 4−3y=14 - 3y = 1, so y=1y = 1.

Check in the given equations: 2(2)=42(2) = 4 and 3(1)+1=43(1) + 1 = 4, true; 5(2)−6=45(2) - 6 = 4 and 4(1)=44(1) = 4, true.

x=2x = 2, y=1y = 1

Example 2: Brackets

Solve 2(x+y)−3(x−y)=92(x + y) - 3(x - y) = 9 and 4(x−1)−(y+2)=−4.4(x - 1) - (y + 2) = -4\text{.}

Solution

First: 2x+2y−3x+3y=9,2x + 2y - 3x + 3y = 9\text{,} so −x+5y=9-x + 5y = 9 \quad (1)

Second: 4x−4−y−2=−44x - 4 - y - 2 = -4, so 4x−y−6=−44x - y - 6 = -4 and 4x−y=24x - y = 2 \quad (2)

The minus sign in front of (y+2)(y + 2) changes both signs: −(y+2)=−y−2-(y + 2) = -y - 2.

Eliminate xx: (1) ×4\times 4: −4x+20y=36-4x + 20y = 36. Add (2): 19y=3819y = 38, so y=2y = 2.

Substitute into (2): 4x−2=24x - 2 = 2, so x=1x = 1.

Check in the given equations: 2(1+2)−3(1−2)=6+3=9,2(1 + 2) - 3(1 - 2) = 6 + 3 = 9\text{,} true; 4(1−1)−(2+2)=0−4=−4,4(1 - 1) - (2 + 2) = 0 - 4 = -4\text{,} true.

x=1x = 1, y=2y = 2

Example 3: Fractions

Solve x2+y3=4\frac{x}{2} + \frac{y}{3} = 4 and x3−y=−1\frac{x}{3} - y = -1.

Solution

First: the lowest common multiple of 22 and 33 is 66. Multiply every term by 66: 3x+2y=243x + 2y = 24 \quad (1)

Second: multiply every term by 33: x−3y=−3x - 3y = -3 \quad (2)

In (2), xx has coefficient 11: x=3y−3x = 3y - 3. Substitute into (1): 3(3y−3)+2y=243(3y - 3) + 2y = 24, so 11y−9=2411y - 9 = 24, 11y=3311y = 33, y=3y = 3.

Then x=3(3)−3=6x = 3(3) - 3 = 6.

Check in the given equations: 62+33=3+1=4,\frac{6}{2} + \frac{3}{3} = 3 + 1 = 4\text{,} true; 63−3=2−3=−1,\frac{6}{3} - 3 = 2 - 3 = -1\text{,} true.

x=6x = 6, y=3y = 3

Example 4: Decimals

Solve 0.3x+0.2y=1.30.3x + 0.2y = 1.3 and 0.5x−0.1y=2.60.5x - 0.1y = 2.6.

Solution

Multiply every term of each equation by 1010: 3x+2y=133x + 2y = 13 \quad (1) and 5x−y=265x - y = 26 \quad (2)

From (2): y=5x−26y = 5x - 26. Substitute into (1): 3x+2(5x−26)=13,3x + 2(5x - 26) = 13\text{,} so 13x−52=1313x - 52 = 13, 13x=6513x = 65, x=5x = 5.

Then y=25−26=−1y = 25 - 26 = -1.

Check in the given equations: 0.3(5)+0.2(−1)=1.5−0.2=1.3,0.3(5) + 0.2(-1) = 1.5 - 0.2 = 1.3\text{,} true; 0.5(5)−0.1(−1)=2.5+0.1=2.6,0.5(5) - 0.1(-1) = 2.5 + 0.1 = 2.6\text{,} true.

x=5x = 5, y=−1y = -1

The Form A = B = C

Sometimes two equations are written as one line with two equals signs, such as 2x+y=x−y+5=7.2x + y = x - y + 5 = 7\text{.} It says that all three expressions are equal. Split it into two equations, each with one equals sign; any two of the three pairs will do, and the simplest choice usually uses the number on its own.

Example 5: Splitting into two equations

Solve 2x+y=x−y+5=7.2x + y = x - y + 5 = 7\text{.}

Solution

Split: 2x+y=72x + y = 7 \quad (1) and x−y+5=7x - y + 5 = 7, so x−y=2x - y = 2 \quad (2)

Add (1) and (2): 3x=93x = 9, so x=3x = 3. Then from (2), 3−y=23 - y = 2, so y=1y = 1.

Check all three expressions: 2(3)+1=72(3) + 1 = 7; 3−1+5=73 - 1 + 5 = 7; and 77. All equal.

x=3x = 3, y=1y = 1

Choosing a Method

Both methods give the same answer. Choose the one that will be quicker and safer for the pair in front of you.

If the pair looks like thisUseWhy
One equation already gives xx or yy, such as y=4−xy = 4 - xsubstitutionnothing to rearrange
A variable has coefficient 11 or −1-1, such as 2x−y=42x - y = 4substitution, or eliminationthe subject is easy to make; elimination is also quick
A variable has the same or opposite coefficients, such as 3x+4y=173x + 4y = 17 and 3x−2y=53x - 2y = 5eliminationone subtraction or addition removes it
No coefficient is 11 or −1-1, such as 4x+3y=184x + 3y = 18 and 5x+2y=195x + 2y = 19eliminationsubstitution would bring fractions

Example 6: The same pair both ways

Solve 2x+3y=122x + 3y = 12 and 2x−y=42x - y = 4 (a) by elimination, (b) by substitution.

Solution

2x+3y=122x + 3y = 12 \quad (1), \quad 2x−y=42x - y = 4 \quad (2)

(a) Both have 2x2x. Subtract (2) from (1): 3y−(−y)=12−43y - (-y) = 12 - 4, so 4y=84y = 8 and y=2y = 2. Then 2x−2=42x - 2 = 4, so x=3x = 3.

(b) From (2): y=2x−4y = 2x - 4. Substitute into (1): 2x+3(2x−4)=122x + 3(2x - 4) = 12, so 8x−12=128x - 12 = 12, 8x=248x = 24, x=3x = 3. Then y=6−4=2y = 6 - 4 = 2.

Check: 6+6=126 + 6 = 12; 6−2=46 - 2 = 4. Both methods give the same answer; here elimination took one step fewer.

x=3x = 3, y=2y = 2 by either method

Unknown Constants, and Using a Solution

If you are told the solution and the equations contain unknown constants, substitute the solution. The constants then satisfy a new pair of simultaneous equations.

Example 7: Finding a and b

x=2x = 2, y=1y = 1 is the solution of the simultaneous equations ax+by=7ax + by = 7 and ax−by=1ax - by = 1. Find aa and bb.

Solution

Substitute x=2x = 2 and y=1y = 1: 2a+b=72a + b = 7 \quad (1) and 2a−b=12a - b = 1 \quad (2)

Add: 4a=84a = 8, so a=2a = 2. Then 4+b=74 + b = 7, so b=3b = 3.

Check: the equations are 2x+3y=72x + 3y = 7 and 2x−3y=12x - 3y = 1. At (2,1)(2, 1): 4+3=74 + 3 = 7 and 4−3=14 - 3 = 1, both true.

a=2a = 2, b=3b = 3

Example 8: Using the solution

Solve 3x+y=113x + y = 11 and x−2y=−8x - 2y = -8. Hence find the value of (a) x2+yx^{2} + y, (b) 3x−y3x - y.

Solution

From the first: y=11−3xy = 11 - 3x. Substitute: x−2(11−3x)=−8,x - 2(11 - 3x) = -8\text{,} so x−22+6x=−8x - 22 + 6x = -8, 7x=147x = 14, x=2x = 2. Then y=11−6=5y = 11 - 6 = 5.

Check: 6+5=116 + 5 = 11; 2−10=−82 - 10 = -8.

(a) x2+y=22+5=4+5=9.x^{2} + y = 2^{2} + 5 = 4 + 5 = 9\text{.}

(b) 3x−y=6−5=13x - y = 6 - 5 = 1.

x=2x = 2, y=5y = 5; (a) 99 (b) 11

Common Mistakes

  • Multiplying only the fractions. x2+y3=4\frac{x}{2} + \frac{y}{3} = 4 times 66 is 3x+2y=243x + 2y = 24, not 3x+2y=43x + 2y = 4: the 44 is multiplied too.
  • A minus sign in front of a bracket. −(y+2)=−y−2-(y + 2) = -y - 2, and −3(x−y)=−3x+3y.-3(x - y) = -3x + 3y\text{.}
  • Multiplying decimals by 1010 on one side only, or by 1010 when 100100 is needed (0.05x0.05x needs 100100).
  • Splitting A=B=CA = B = C into one equation only, or into A=BA = B and A=BA = B again. You need two different equations.
  • Checking in the tidied equations only. A mistake made while tidying is caught only by the equations as they were given.

Practice Questions

Work each question on paper before you open its solution, and check in the equations as given. The questions get harder as you go.

Question 1

Solve 3x=2y+43x = 2y + 4 and x+1=yx + 1 = y.

ShowHide solution

The second already gives y=x+1y = x + 1. Substitute into the first: 3x=2(x+1)+43x = 2(x + 1) + 4, so 3x=2x+63x = 2x + 6 and x=6x = 6. Then y=7y = 7.

Check: 3(6)=183(6) = 18 and 2(7)+4=182(7) + 4 = 18; 6+1=76 + 1 = 7.

x=6x = 6, y=7y = 7

Question 2

Solve 3(x+2y)−2(x−y)=133(x + 2y) - 2(x - y) = 13 and 2(x−1)=y+72(x - 1) = y + 7.

ShowHide solution

First: 3x+6y−2x+2y=13,3x + 6y - 2x + 2y = 13\text{,} so x+8y=13x + 8y = 13. Second: 2x−2=y+72x - 2 = y + 7, so 2x−y=92x - y = 9.

From the second: y=2x−9y = 2x - 9. Substitute: x+8(2x−9)=13x + 8(2x - 9) = 13, so 17x−72=1317x - 72 = 13, 17x=8517x = 85, x=5x = 5. Then y=1y = 1.

Check: 3(7)−2(4)=21−8=13;3(7) - 2(4) = 21 - 8 = 13\text{;} 2(4)=82(4) = 8 and 1+7=81 + 7 = 8.

x=5x = 5, y=1y = 1

Question 3

Solve x3+y2=4\frac{x}{3} + \frac{y}{2} = 4 and x2−y4=2\frac{x}{2} - \frac{y}{4} = 2.

ShowHide solution

First ×6\times 6: 2x+3y=242x + 3y = 24. Second ×4\times 4: 2x−y=82x - y = 8.

Subtract: 4y=164y = 16, so y=4y = 4. Then 2x−4=82x - 4 = 8, so x=6x = 6.

Check: 2+2=42 + 2 = 4; 3−1=23 - 1 = 2.

x=6x = 6, y=4y = 4

Question 4

Solve x+12+y−13=3\frac{x + 1}{2} + \frac{y - 1}{3} = 3 and x+y7=1\frac{x + y}{7} = 1.

ShowHide solution

First ×6\times 6: 3(x+1)+2(y−1)=18,3(x + 1) + 2(y - 1) = 18\text{,} so 3x+3+2y−2=183x + 3 + 2y - 2 = 18 and 3x+2y=173x + 2y = 17.

Second ×7\times 7: x+y=7x + y = 7. Multiply by 22: 2x+2y=142x + 2y = 14. Subtract from 3x+2y=173x + 2y = 17: x=3x = 3. Then y=4y = 4.

Check: 42+33=2+1=3;\frac{4}{2} + \frac{3}{3} = 2 + 1 = 3\text{;} 77=1\frac{7}{7} = 1.

x=3x = 3, y=4y = 4

Question 5

Solve 0.2x+0.5y=1.60.2x + 0.5y = 1.6 and 0.3x−0.1y=−10.3x - 0.1y = -1.

ShowHide solution

Multiply each by 1010: 2x+5y=162x + 5y = 16 and 3x−y=−103x - y = -10.

From the second: y=3x+10y = 3x + 10. Substitute: 2x+5(3x+10)=16,2x + 5(3x + 10) = 16\text{,} so 17x+50=1617x + 50 = 16, 17x=−3417x = -34, x=−2x = -2. Then y=−6+10=4y = -6 + 10 = 4.

Check: 0.2(−2)+0.5(4)=−0.4+2=1.6;0.2(-2) + 0.5(4) = -0.4 + 2 = 1.6\text{;} 0.3(−2)−0.1(4)=−0.6−0.4=−1.0.3(-2) - 0.1(4) = -0.6 - 0.4 = -1\text{.}

x=−2x = -2, y=4y = 4

Question 6

Solve x+2y=3x−y+1=10.x + 2y = 3x - y + 1 = 10\text{.}

ShowHide solution

Split: x+2y=10x + 2y = 10 and 3x−y+1=103x - y + 1 = 10, so 3x−y=93x - y = 9.

From the second: y=3x−9y = 3x - 9. Substitute: x+2(3x−9)=10x + 2(3x - 9) = 10, so 7x−18=107x - 18 = 10, 7x=287x = 28, x=4x = 4. Then y=3y = 3.

Check: 4+6=104 + 6 = 10; 12−3+1=1012 - 3 + 1 = 10.

x=4x = 4, y=3y = 3

Question 7

For each pair, choose a method, say why, and solve. (a) x=2y+1x = 2y + 1 and 3x+4y=153x + 4y = 15 (b) 5x+2y=115x + 2y = 11 and 5x−3y=15x - 3y = 1 (c) 3x+2y=123x + 2y = 12 and 4x+5y=234x + 5y = 23

ShowHide solution

(a) Substitution: xx is already the subject. 3(2y+1)+4y=153(2y + 1) + 4y = 15, so 10y+3=1510y + 3 = 15, y=1.2y = 1.2. Then x=2(1.2)+1=3.4.x = 2(1.2) + 1 = 3.4\text{.} Check: 2(1.2)+1=3.42(1.2) + 1 = 3.4; 3(3.4)+4(1.2)=10.2+4.8=15.3(3.4) + 4(1.2) = 10.2 + 4.8 = 15\text{.}

(b) Elimination: both have 5x5x. Subtract: 2y−(−3y)=11−1,2y - (-3y) = 11 - 1\text{,} so 5y=105y = 10, y=2y = 2. Then 5x+4=115x + 4 = 11, x=1.4x = 1.4. Check: 7+4=117 + 4 = 11; 7−6=17 - 6 = 1.

(c) Elimination: no coefficient is 11. Eliminate yy: first ×5\times 5: 15x+10y=6015x + 10y = 60; second ×2\times 2: 8x+10y=468x + 10y = 46. Subtract: 7x=147x = 14, x=2x = 2. Then 6+2y=126 + 2y = 12, y=3y = 3. Check: 6+6=126 + 6 = 12; 8+15=238 + 15 = 23.

(a) x=3.4x = 3.4, y=1.2y = 1.2 (b) x=1.4x = 1.4, y=2y = 2 (c) x=2x = 2, y=3y = 3

Question 8

Solve x+3y=7x + 3y = 7 and 2x−y=72x - y = 7 by substitution and again by elimination, and show that the answers agree.

ShowHide solution

Substitution: x=7−3yx = 7 - 3y. Then 2(7−3y)−y=72(7 - 3y) - y = 7, so 14−7y=714 - 7y = 7, y=1y = 1, and x=4x = 4.

Elimination: first ×2\times 2: 2x+6y=142x + 6y = 14. Subtract 2x−y=72x - y = 7: 7y=77y = 7, y=1y = 1; then x=7−3=4x = 7 - 3 = 4.

Check: 4+3=74 + 3 = 7; 8−1=78 - 1 = 7.

x=4x = 4, y=1y = 1 both ways

Question 9

The simultaneous equations ax+by=11ax + by = 11 and bx+ay=−1bx + ay = -1 have the solution x=3x = 3, y=−1y = -1. Find aa and bb.

ShowHide solution

Substitute: 3a−b=113a - b = 11 and 3b−a=−13b - a = -1, that is −a+3b=−1-a + 3b = -1.

From the first: b=3a−11b = 3a - 11. Substitute: −a+3(3a−11)=−1,-a + 3(3a - 11) = -1\text{,} so 8a−33=−18a - 33 = -1, 8a=328a = 32, a=4a = 4. Then b=1b = 1.

Check: 4(3)+1(−1)=114(3) + 1(-1) = 11; 1(3)+4(−1)=−1.1(3) + 4(-1) = -1\text{.}

a=4a = 4, b=1b = 1

Question 10

Solve 2x+y=72x + y = 7 and x−y=5x - y = 5. Hence find the value of (a) x2+y2x^{2} + y^{2}, (b) 2x−3y2x - 3y.

ShowHide solution

Add: 3x=123x = 12, so x=4x = 4. Then y=7−8=−1y = 7 - 8 = -1. Check: 8−1=78 - 1 = 7; 4+1=54 + 1 = 5.

(a) 42+(−1)2=16+1=17.4^{2} + (-1)^{2} = 16 + 1 = 17\text{.} (b) 2(4)−3(−1)=8+3=11.2(4) - 3(-1) = 8 + 3 = 11\text{.}

x=4x = 4, y=−1y = -1; (a) 1717 (b) 1111

Question 11

Twice a number added to a third of a second number is 1717. A quarter of the first number added to the second number is 55. Find the two numbers.

ShowHide solution

Let the numbers be xx and yy: 2x+y3=172x + \frac{y}{3} = 17 and x4+y=5\frac{x}{4} + y = 5.

Clear the fractions: 6x+y=516x + y = 51 and x+4y=20x + 4y = 20.

From the first: y=51−6xy = 51 - 6x. Substitute: x+4(51−6x)=20x + 4(51 - 6x) = 20, so x+204−24x=20x + 204 - 24x = 20, −23x=−184-23x = -184, x=8x = 8. Then y=51−48=3y = 51 - 48 = 3.

Check: 16+1=1716 + 1 = 17; 2+3=52 + 3 = 5.

The numbers are 88 and 33.

Question 12

At a fruit stall, mangoes cost $1.201.20 each and apples cost $0.500.50 each. Siti buys 10 fruits and pays $7.807.80. How many of each does she buy?

ShowHide solution

Let her buy xx mangoes and yy apples: x+y=10x + y = 10 and 1.2x+0.5y=7.81.2x + 0.5y = 7.8.

Multiply the second by 1010: 12x+5y=7812x + 5y = 78. From the first, y=10−xy = 10 - x: 12x+50−5x=7812x + 50 - 5x = 78, so 7x=287x = 28, x=4x = 4. Then y=6y = 6.

Check: 4+6=104 + 6 = 10; 4(1.20)+6(0.50)=4.80+3.00=7.80.4(1.20) + 6(0.50) = 4.80 + 3.00 = 7.80\text{.}

She buys 4 mangoes and 6 apples.

Key Points

  • Tidy each equation into the form ax+by=cax + by = c before solving: collect terms, expand brackets, clear fractions and decimals.
  • Clear fractions by multiplying every term by the lowest common multiple of the denominators; clear decimals by 1010 or 100100.
  • A=B=CA = B = C gives two equations, for example A=CA = C and B=CB = C.
  • Substitution suits a pair where a variable is already, or easily, the subject; elimination suits matching or larger coefficients. Both give the same answer.
  • Given the solution, substitute it to find unknown constants: they satisfy a new pair of equations.
  • Check in the equations as they were given, not only in the tidied ones.

‹ 2.7 Solving Simultaneous Equations by Elimination 2.9 No Solution or Infinitely Many Solutions ›

All Secondary 2 (Grade 8) lessons

Home Campus has lessons, practice questions with worked solutions and worksheets for Primary 3 to Secondary 1. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 2 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.