← All guides

How to solve linear equations, step by step

Solve any linear equation in four steps: clear parentheses, collect x on one side, collect numbers on the other, divide. Worked examples and the reason each step is allowed.

Video lesson: Why we do the same to both sides (free, with subtitles)

An equation is a balance: the left side and the right side are equal. You may do anything you like to it, as long as you do the same thing to both sides, because then it stays balanced. Solving just means using that rule until x is alone.

The four steps

  1. Clear parentheses with the distributive property, and combine like terms on each side.
  2. Get every x on one side by adding or subtracting an x-term on both sides.
  3. Get every plain number on the other side the same way.
  4. Divide both sides by the number in front of x.

Worked example

Solve 3(x − 2) + 4 = 2x + 9.

Check: left side 3(11 − 2) + 4 = 27 + 4 = 31; right side 2(11) + 9 = 31. Both sides match, so x = 11 is right. Always check: it takes ten seconds and catches nearly every mistake.

A second example, with fractions

Solve x/4 + 3 = 5. Subtract 3: x/4 = 2. Multiply both sides by 4: x = 8. Check: 8/4 + 3 = 5 ✓.

Common mistakes

What if x disappears?

If you end with something always true, like 5 = 5, every number is a solution. If you end with something false, like 5 = 7, there is no solution.

Practice it free

Watch the full lesson and try questions with new numbers every time, with the worked steps shown if you get one wrong.

Practice: Why we do the same to both sides All courses