• Foundation
  • About 17 min
  • 5 practice questions

Pairs of linear equations: substitution and elimination

Form a pair of linear equations from a word problem and solve it exactly by the substitution method or the elimination method, checking the answer in both equations.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Form a pair of linear equations in two variables from a situation with two unknowns and two conditions.
  • Solve a pair by substitution and by elimination, showing every step.
  • Check a solution in both original equations and choose the quicker method for a problem.

One linear equation in two variables has infinitely many solutions, so one condition cannot pin down two unknowns. Two conditions usually can. For example, 'two numbers add up to 25 and differ by 11' gives x + y = 25 and x − y = 11. Such equations form a pair of linear equations, and a solution of the pair is an ordered pair that satisfies both equations at once.

A pair of linear equations: a₁x + b₁y + c₁ = 0 and a₂x + b₂y + c₂ = 0. Its solution is a pair (x, y) that makes both true. Both methods below turn the pair into ONE equation in ONE variable.

The substitution method

Substitution method

  1. Pick an equation Choose the one where a variable is easiest to isolate
  2. Express one variable For example, x in terms of y
  3. Substitute Put this expression into the OTHER equation
  4. Solve for one variable You now have one equation in one variable
  5. Back-substitute and check Find the other variable; test both original equations

Worked example 1: pens and notebooks

3 pens and 2 notebooks cost ₹110. 1 pen and 3 notebooks cost ₹95. Find the price of each.

Working: let a pen cost ₹p and a notebook ₹n. Then 3p + 2n = 110 ... (1) and p + 3n = 95 ... (2). From (2), p = 95 − 3n ... (3). Substitute in (1): 3(95 − 3n) + 2n = 110, so 285 − 9n + 2n = 110, −7n = −175 and n = 25. From (3), p = 95 − 3(25) = 95 − 75 = 20. A pen costs ₹20 and a notebook ₹25. Check: 3(20) + 2(25) = 60 + 50 = 110, and 20 + 3(25) = 20 + 75 = 95.

The elimination method

Here we make the coefficients of one variable equal (or opposite) by multiplying each equation by a suitable number, then subtract (or add) the equations so that variable disappears.

Worked example 2: eliminating y

Solve 4x + 3y = 37 ... (1) and 5x − 2y = 6 ... (2).

Working: to make the y-terms opposites, multiply (1) by 2 and (2) by 3: 8x + 6y = 74 ... (3) and 15x − 6y = 18 ... (4). Add (3) and (4): 23x = 92, so x = 4. Put x = 4 in (1): 16 + 3y = 37, 3y = 21, y = 7. Solution: (4, 7). Check in (2): 5(4) − 2(7) = 20 − 14 = 6.

Worked example 3: museum tickets

A family pays ₹580 for 3 adult and 4 child tickets; another pays ₹550 for 2 adult and 5 child tickets. Find each price.

Working: let an adult ticket cost ₹a and a child ticket ₹c. 3a + 4c = 580 ... (1) and 2a + 5c = 550 ... (2). Multiply (1) by 2 and (2) by 3 to match the a-terms: 6a + 8c = 1160 and 6a + 15c = 1650. Subtract the first from the second: 7c = 490, so c = 70. From (1): 3a + 280 = 580, so 3a = 300 and a = 100. Adult ₹100, child ₹70. Check (2): 200 + 350 = 550.

Worked example 4: a digit puzzle

The digits of a two-digit number add up to 9. Reversing the digits increases the number by 27. Find the number.

Working: let the tens digit be x and the units digit y, so the number is 10x + y and the reversed number is 10y + x. Then x + y = 9 ... (1) and (10y + x) − (10x + y) = 27, which simplifies to 9y − 9x = 27, that is, y − x = 3 ... (2). Adding (1) and (2): 2y = 12, so y = 6 and x = 3. The number is 36. Check: 63 − 36 = 27 and 3 + 6 = 9.

A shortcut for swapped coefficients

When the coefficients are swapped between the equations, as in 7x + 5y = 41 and 5x + 7y = 43, add and subtract. Adding: 12x + 12y = 84, so x + y = 7. Subtracting: 2x − 2y = −2, so x − y = −1. Then 2x = 6 gives x = 3 and y = 4. Check: 21 + 20 = 41 and 15 + 28 = 43. Methods like these are very old: Indian mathematicians such as Brahmagupta worked with systems of equations in several unknowns, and ancient Chinese texts describe an elimination procedure.

Choosing a method
MethodBest whenWatch out for
SubstitutionA variable already has coefficient 1 or −1, or is given as y = ...Brackets when substituting: 3(95 − 3n), not 3 × 95 − 3n
EliminationNo coefficient is 1; numbers are largerMultiply EVERY term, including the constant

Key takeaways: two unknowns need two conditions. Substitution expresses one variable through the other and puts it into the second equation; elimination multiplies the equations so one variable cancels when you add or subtract. Always check the answer in both original equations and in the words of the problem.

Check your understanding

  1. 1. Solve x + y = 14 and x − y = 4.

    1. x = 5, y = 9
    2. x = 9, y = 5
    3. x = 10, y = 4
    4. x = 7, y = 7
    Show answer

    Answer: B. Adding the equations: 2x = 18, so x = 9. Then y = 14 − 9 = 5. Check: 9 − 5 = 4.

  2. 2. Using substitution, solve y = 2x − 1 and 3x + 2y = 12.

    1. x = 3, y = 5
    2. x = 4, y = 0
    3. x = 2, y = 3
    4. x = 1, y = 1
    Show answer

    Answer: C. Substitute y = 2x − 1: 3x + 2(2x − 1) = 12, so 3x + 4x − 2 = 12, 7x = 14 and x = 2. Then y = 2(2) − 1 = 3. Check: 6 + 6 = 12.

  3. 3. To eliminate y from 2x + 3y = 13 and 5x − 4y = −2, which step works?

    1. Multiply the first by 4 and the second by 3, then add
    2. Multiply the first by 5 and the second by 2, then add
    3. Add the two equations as they are
    4. Multiply the first by 3 and the second by 4, then subtract
    Show answer

    Answer: A. Multiplying gives 8x + 12y = 52 and 15x − 12y = −6. The y-terms are opposites, so adding removes y: 23x = 46, x = 2, and then 4 + 3y = 13 gives y = 3.

  4. 4. 2 kg of apples and 1 kg of grapes cost ₹380; 1 kg of apples and 2 kg of grapes cost ₹340. What does 1 kg of apples cost?

    1. ₹100
    2. ₹120
    3. ₹160
    4. ₹140
    Show answer

    Answer: D. Adding: 3a + 3g = 720, so a + g = 240. Subtracting: a − g = 40. Adding these: 2a = 280, so a = 140 and g = 100. Check: 2(140) + 100 = 380 and 140 + 2(100) = 340. Apples cost ₹140 per kg.

  5. 5. The ages of a mother and daughter add up to 50 years. Five years ago the mother was 7 times as old as the daughter. How old is the mother now?

    1. 40 years
    2. 35 years
    3. 45 years
    4. 42 years
    Show answer

    Answer: A. m + d = 50 and m − 5 = 7(d − 5), so m = 7d − 30. Substituting: 7d − 30 + d = 50, 8d = 80, d = 10 and m = 40. Check: five years ago they were 35 and 5, and 35 = 7 × 5.

Privacy · Terms · Refunds · Delivery