A linear equation has the unknown to the power one only, so it can always be solved by undoing operations in the right order. Type yours below and the working is written out the way an examiner expects to see it.
An equation is a balance: whatever you do to one side you must do to the other. Undo the operations in the reverse order to how they were applied until the unknown is on its own, expanding brackets with expanding a single bracket and combining terms with collecting like terms first.
A linear equation says two expressions are equal, with the unknown only to the power one. Solving it means finding the one value that keeps the balance.
Comparing two prices or plans to find when they cost the same.
Finding an unknown length, angle or amount from a problem written in words.
Working backwards from a total, such as “I spent £7 and have £12 left”.
How to solve it
Expand any brackets first, and collect like terms on each side.
Move the unknown terms to one side by adding or subtracting the same thing from both sides.
Move the plain numbers to the other side in the same way.
Divide both sides by the number multiplying the unknown.
Substitute your answer back into the original equation to check that both sides match.
Worked examples
The examples marked with a button were worked out by the solver on this page. You can try each one yourself.
Example 1: 2x + 3 = 11
Worked out by the solver on this page. Press the button to try it yourself.
Linear equationAnswer checked
Answer
x=4
The equation
Solving for x.
2x+3=11
Move everything to one side
2x+3−(11)=0
Simplify
2x−8=0
Isolate x
Subtract the constant from both sides.
2x=8
Divide both sides by 2
x=4
Check by substituting back
x=4 ✓
Example 2: 5x - 7 = 2x + 8
Worked out by the solver on this page. Press the button to try it yourself.
Linear equationAnswer checked
Answer
x=5
The equation
Solving for x.
5x−7=2x+8
Move everything to one side
5x−7−(2x+8)=0
Simplify
3x−15=0
Isolate x
Subtract the constant from both sides.
3x=15
Divide both sides by 3
x=5
Check by substituting back
x=5 ✓
Example 3: 3(x + 4) = 2x + 17
Worked out by the solver on this page. Press the button to try it yourself.
Linear equationAnswer checked
Answer
x=5
The equation
Solving for x.
3(x+4)=2x+17
Move everything to one side
3(x+4)−(2x+17)=0
Simplify
x−5=0
Isolate x
Subtract the constant from both sides.
x=5
Divide both sides by 1
x=5
Check by substituting back
x=5 ✓
Example 4: (x + 1)/3 = 4
Worked out by the solver on this page. Press the button to try it yourself.
Linear equationAnswer checked
Answer
x=11
The equation
Solving for x.
3x+1=4
Move everything to one side
3x+1−(4)=0
Simplify
3x−311=0
Isolate x
Subtract the constant from both sides.
3x=311
Divide both sides by 31
x=11
Check by substituting back
x=11 ✓
Example 5: 4 - 2x = 10
Worked out by the solver on this page. Press the button to try it yourself.
Linear equationAnswer checked
Answer
x=−3
The equation
Solving for x.
−2x+4=10
Move everything to one side
−2x+4−(10)=0
Simplify
−2x−6=0
Isolate x
Subtract the constant from both sides.
−2x=6
Divide both sides by −2
x=−3
Check by substituting back
x=−3 ✓
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
One step
x + 7 = 12: x = 5
Subtract 7 from both sides.
Two steps
2x + 3 = 11: x = 4
Subtract 3, then divide by 2.
Both sides
5x − 7 = 2x + 8: x = 5
Collect the x terms on the left.
No solution
2x + 1 = 2x + 5
The x terms cancel and 1 ≠ 5.
Word problems
To solve a linear equation, undo the operations in reverse order, doing the same to both sides each time.
Two steps
Solve 2x + 3 = 11.
Subtract 32x = 8
Divide by 2x = 4
Check: 2 × 4 + 3 = 11 ✓4
Both sides
Solve 5x − 7 = 2x + 8.
Subtract 2x3x − 7 = 8
Add 73x = 15
Divide by 3x = 5
Check: 5 × 5 − 7 = 18 = 2 × 5 + 8 ✓5
A bracket Higher
Solve 3(x + 4) = 2x + 17.
Expand3x + 12 = 2x + 17
Subtract 2x and 12x = 5
Check: 3 × 9 = 27 = 2 × 5 + 17 ✓5
A negative answer Higher
Solve 4 − 2x = 10.
Subtract 4−2x = 6
Divide by −2x = −3
Check: 4 − 2 × (−3) = 10 ✓-3
Common mistakes
Changing only one side
subtract 3 on the left only ✗
subtract 3 from both sides ✓
Both sides change together.
Not expanding every term
3(x + 4) = 3x + 4 ✗
3x + 12 ✓
Multiply every term in the bracket.
Sign error when moving a term
2x − 7 = 9 gives 2x = 2 ✗
2x = 16 ✓
Undo − 7 by adding 7.
Not checking
no substitution ✗
substitute back ✓
It catches slips.
Exam tips
Expand brackets first.
Collect like terms.
Do the same to both sides.
Divide last.
Check by substituting.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Solve 4x + 1 = 21 Foundation
5
2. Solve 3x − 2 = 13 Foundation
5
3. Solve 6x + 4 = 4x + 14 Foundation
5
4. Solve 2(x + 3) = 14 Higher
4
5. Solve 5x + 8 = −7 Higher
-3
6. Solve (x + 5)/2 = 6 Higher
7
Practice generator
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
Key terms
Linear equation
An equation where the unknown has power 1.
Unknown
The letter to find.
Coefficient
The number multiplying the unknown.
Inverse operation
Undoes another operation.
Solution
The value that makes it true.
Like terms
Terms with the same letter part.
Frequently asked questions
What is a linear equation?
One where the unknown appears only to the power one.
What do I do first?
Expand brackets and collect like terms.
What if x is on both sides?
Subtract the smaller x term from both sides; see solving ax + b = cx + d.