Skip to content
Tutorial · 6 min read
0% read

How to solve linear equations — step by step (with a worked example)

A linear equation has the form ax + b = c. To find x, undo each operation on both sides in reverse — this is called inverse operations or the balance method. Worked example: 3x + 7 = 22 → x = 5, in four steps. Suitable for Grade 7 / Year 8 algebra.

Quick answer

To solve a linear equation like 3x + 7 = 22, isolate x by doing the same operation on both sides: subtract 7, then divide by 3. The answer is x = 5.

At a glance

Summary of this tutorial
Equation3x + 7 = 22
MethodBalance method (inverse operations)
Steps4
Answerx = 5
Check3 · 5 + 7 = 22 ✓
Grade levelGrade 7 (ages 12–13)

Worked example: 3x + 7 = 22

EXAMPLE
3x+7=22

Think of x as the unknown. We will undo the “+ 7” first, then undo the “× 3”.

The 4 steps to solve a linear equation

These four steps work for any equation of the form ax + b = c.

  1. Step 1 · Start

    3x + 7 = 22
    Identify the unknown x and the target 22.
  2. Step 2 · Subtract 7

    3x = 22 − 7
    Undo the “+ 7”. Same operation on both sides keeps the balance.
  3. Step 3 · Simplify

    3x = 15
    Tidy up the right-hand side.
  4. Step 4 · Divide by 3

    x = 15 ÷ 3
    Undo the “× 3”. Now x is alone.
  5. Step 5 · Check

    x = 5
    Substitute back: 3 · 5 + 7 = 22 ✓

Why the balance method works

Every arithmetic operation has an inverse: subtraction undoes addition, division undoes multiplication. Doing the same thing to both sides of an equals sign keeps the two sides equal — the equals sign is a balance.

Practice it yourself

Frequently asked questions

End of tutorial
Cite this page: WeTeachMath, "Solving linear equations", .