Equations with the Unknown on Both Sides
Solve equations with the variable on both sides: collect the unknowns on one side, move the numbers to the other, and check your answer, with many full worked examples.
Key takeaways
- Move all the unknown terms to one side and all the numbers to the other
- Whatever you do to one side you must do to the other to keep the balance
- To keep the unknown positive, subtract the smaller x-term from both sides
- Always check by substituting your answer into the original equation
When the unknown is on both sides
So far you may have solved equations like 3x + 2 = 14, where the unknown sits on only one side. But many equations have the unknown on both sides, for example:
5x β 3 = 2x + 9
The goal is still the same: find the value of x that makes both sides equal. The new skill is gathering all the x-terms onto one side before you finish.
If you are still building confidence with the basics, review solving linear equations first.
The balance rule still applies
An equation is a balance: the = sign means both sides are worth the same. To keep it balanced, whatever you do to one side you do to the other. This is what lets you safely subtract an x-term, or a number, from both sides at once.
A clear strategy
- (If needed) expand any brackets and collect like terms on each side.
- Choose a side for the unknowns. Remove the smaller x-term from both sides so the remaining coefficient stays positive.
- Move the numbers to the other side using inverse operations.
- Divide to leave a single
x. - Check by substituting back into the original equation.
Worked example 1
Solve 5x β 3 = 2x + 9.
The smaller x-term is 2x, so subtract 2x from both sides:
5x β 3 = 2x + 9
5x β 2x β 3 = 9 (subtract 2x from both sides)
3x β 3 = 9
3x = 9 + 3 (add 3 to both sides)
3x = 12
x = 12 Γ· 3 (divide both sides by 3)
x = 4
Check: left side 5 Γ 4 β 3 = 17; right side 2 Γ 4 + 9 = 17. Equal, so x = 4. β
Worked example 2: unknown term on the right is bigger
Solve 2x + 8 = 6x.
Here 6x is the larger x-term, so subtract the smaller 2x from both sides. This leaves the x on the right, which is fine:
2x + 8 = 6x
8 = 6x β 2x (subtract 2x from both sides)
8 = 4x
8 Γ· 4 = x (divide both sides by 4)
2 = x
So x = 2. Check: left 2 Γ 2 + 8 = 12; right 6 Γ 2 = 12. β
Worked example 3: a subtracted unknown
Solve 9 β x = 2x + 3.
The x on the left is negative (βx). Add x to both sides to make it positive:
9 β x = 2x + 3
9 = 2x + x + 3 (add x to both sides)
9 = 3x + 3
9 β 3 = 3x (subtract 3 from both sides)
6 = 3x
2 = x
Check: left 9 β 2 = 7; right 2 Γ 2 + 3 = 7. β
Worked example 4: tidy up first, then solve
Solve 4x + 2 + x = 3x + 14.
Collect like terms on the left first: 4x + x = 5x, so the left becomes 5x + 2.
5x + 2 = 3x + 14
5x β 3x + 2 = 14 (subtract 3x from both sides)
2x + 2 = 14
2x = 12 (subtract 2 from both sides)
x = 6 (divide by 2)
Check: left 4 Γ 6 + 2 + 6 = 32; right 3 Γ 6 + 14 = 32. β
Worked example 5: brackets on both sides
Solve 3(x + 4) = 5(x β 2).
Expand both brackets first:
3(x + 4) = 5(x β 2)
3x + 12 = 5x β 10 (multiply out both sides)
12 = 5x β 3x β 10 (subtract 3x from both sides)
12 = 2x β 10
12 + 10 = 2x (add 10 to both sides)
22 = 2x
11 = x
Check: left 3(11 + 4) = 3 Γ 15 = 45; right 5(11 β 2) = 5 Γ 9 = 45. β
If expanding brackets is new, see expanding brackets.
Worked example 6: a non-whole answer
Solve 4x + 1 = x + 8.
4x + 1 = x + 8
4x β x + 1 = 8 (subtract x)
3x + 1 = 8
3x = 7 (subtract 1)
x = 7 Γ· 3 = 2β
β 2.33
Not every solution is a whole number β a fraction or decimal is perfectly valid.
Activity: solve and check
- 4x = x + 9
- 6x β 1 = 2x + 11
- 10 β 2x = x + 1
- 5(x β 1) = 2x + 7
- 3x + 4 = 7x β 8
Answers:
x = 3(subtract x β 3x = 9)x = 3(subtract 2x β 4x β 1 = 11 β 4x = 12)x = 3(add 2x β 10 = 3x + 1 β 9 = 3x)x = 4(expand β 5x β 5 = 2x + 7 β 3x = 12)x = 3(subtract 3x β 4 = 4x β 8 β 12 = 4x)
Where this leads
These moves are the heart of algebra. The very same balancing steps appear when you work with solving equations with brackets and when you rearrange formulae to make a different letter the subject.
Quick quiz
Test yourself and earn XP
Solve: 5x = 2x + 12
Subtract 2x from both sides: 3x = 12, so x = 4.
Solve: 7x β 3 = 4x + 9
Subtract 4x: 3x β 3 = 9. Add 3: 3x = 12. Divide by 3: x = 4.
Solve: 2x + 8 = 6x
Subtract 2x from both sides: 8 = 4x, so x = 2.
Solve: 9 β x = 2x + 3
Add x to both sides: 9 = 3x + 3. Subtract 3: 6 = 3x. Divide: x = 2.
In 8x β 5 = 3x + 10, which step keeps x positive?
Removing the smaller x-term (3x) leaves 5x β 5 = 10, keeping the x-coefficient positive.
FAQ
Move them to whichever side has the larger x-coefficient. That keeps the number in front of x positive and avoids dividing by a negative.
That's fine β just divide by the negative number. For example, β2x = 8 gives x = β4. Checking your answer confirms it.
Yes. Not every equation gives a whole number. For example 2x = 5 gives x = 2.5, which is a perfectly valid solution.
Keep exploring
More in Math