Solving Linear Equations
A linear equation looks scary until you learn the one rule behind all of them. This guide teaches the step-by-step method with three worked examples: a basic equation, one with a check, and one with x on both sides. Plus the mistakes that cost students marks.
What Is a Linear Equation?
A linear equation is an equation where x appears to the power 1 only. No x², no square roots of x. Examples: 4x − 7 = 21, 3x + 5 = 20, 2x + 3 = x + 9. The goal is always the same: get x alone on one side so you can read off its value.
The One Rule
Whatever you do to one side, do to the other. That is the entire method. To free x, undo the operations around it in reverse order: addition and subtraction first, then multiplication and division.
Worked Example 1: 4x − 7 = 21
- Undo the −7 first: add 7 to both sides. 4x = 21 + 7 = 28.
- Undo the ×4: divide both sides by 4. x = 28 ÷ 4 = 7.
- Answer: x = 7
Worked Example 2: 3x + 5 = 20
- Subtract 5 from both sides: 3x = 20 − 5 = 15.
- Divide both sides by 3: x = 15 ÷ 3 = 5.
- Answer: x = 5
When x Is on Both Sides
First collect all the x terms on one side. Subtract the smaller x term from both sides, then solve as normal.
- Subtract x from both sides to gather x on the left: 2x − x + 3 = 9, so x + 3 = 9.
- Subtract 3 from both sides: x = 9 − 3 = 6.
- Answer: x = 6
Always Check Your Answer
Put your answer back into the original equation. For 4x − 7 = 21 with x = 7: 4(7) − 7 = 28 − 7 = 21. Correct. This ten-second check catches most sign errors, and teachers give marks for it.
Common Mistakes to Avoid
Doing it to one side only. Adding 7 to the left but not the right breaks the equation. Every step must touch both sides.
Undoing in the wrong order. In 4x − 7 = 21, dividing by 4 first gives a mess. Undo addition and subtraction before multiplication and division.
Sign errors when moving terms. Moving −7 across becomes +7. Moving +5 across becomes −5. Slow down on signs; they cause most lost marks.
Stopping before the check. One wrong sign anywhere flips the answer. Plugging x back in takes seconds and proves you are right.
Quick Practice
- 2x − 9 = 11 Answer: x = 10 (2x = 20)
- 5x + 3 = 28 Answer: x = 5 (5x = 25)
- 3x − 4 = x + 8 Answer: x = 6 (2x = 12)
Frequently Asked Questions
Type any of these equations into the Equation Solver and watch each step appear.
Open Equation SolverRelated Guides
Keep learning with these step-by-step guides.

3 Comments