Solving for a variable in ax + by = c worksheets

ax + by = c has two letters and no formula to recognise, which makes it the plainest form of the question: get one letter on its own. These free printable worksheets give eight equations like 5x + 8y = 6 and name the letter to solve for — x on some questions, y on others.

Solving for a variable in ax + by = c
Solving for a variable in ax + by = c worksheet — ax + by = c, for x or for y, free printable with answer key

The answer key prints on a separate page.

What's on this sheet

The method is two moves, the same two every time. Move the other term across by subtracting it from both sides, then divide by the coefficient of the letter you want. Solving 5x + 8y = 6 for y gives 8y = 6 − 5x, then y = (6 − 5x)/8, and the key writes both lines with the fraction stacked. The common slip is dividing only part of the right-hand side — writing 6 − 5x/8 — and a stacked fraction, with all of 6 − 5x above the bar, is how the page shows that every term was divided.

Why this sheet works

Which letter is asked for changes from question to question, and every sheet asks for both. Solving 5x + 8y = 18 for x is the same two moves with the roles swapped, 5x = 18 − 8y, and a student who has only ever isolated y tends to move the wrong term. The coefficients run from 2 to 9 and are never equal, so the two letters never mirror each other.

How this one works

Solve 5x + 8y = 6 for y

5x + 8y = 6
8y = 6 − 5x
= y
y =
  1. 5x + 8y = 6 is a linear equation in two variables. To make y the subject, undo everything that is being done to it.
  2. Subtract to move the added term across. 5x + 8y = 6 becomes 8y = 6 − 5x.
  3. Divide both sides to undo the multiplication. 8y = 6 − 5x becomes = y.
  4. Write it with the letter you want on the left. = y becomes y = .