Variables on Both Sides
Some equations have the variable on both sides of the equals sign, like . Nothing new is required — you just add one move to the routine: gather the variable terms onto one side first.
Once the variables sit on a single side, the equation collapses into a two-step equation you already know. This lesson also covers the two strange cases: equations with no solution at all, and equations that are true for every number.
Gather the variables on one side
Pick a side and move the other side's variable term with the opposite operation. In , subtract from both sides: . From there it's a two-step equation — subtract , divide by , and .
A good habit: move the smaller variable term. Subtracting , the smaller term, keeps the remaining coefficient positive, which means fewer sign mistakes.
No solution
Sometimes the variable terms cancel completely. In , subtracting from both sides leaves — a false statement. No value of can fix it, so the equation has no solution.
Infinitely many solutions
The other special case: the two sides turn out to be the same expression. In , distributing on the left gives . That's true no matter what is, so there are infinitely many solutions.
The summary: variables cancel and leave a false statement — no solution. Variables cancel and leave a true statement — infinitely many solutions.
Worked examples
Example 1: one solution
Solve .
Answer:
Example 2: no solution
Solve .
Answer: No solution
Example 3: infinitely many solutions
Solve .
Answer: Infinitely many solutions
Try one yourself
Common questions
Which side should the variables go to?
Either side works — the answer comes out the same. Moving the smaller variable term keeps the coefficient positive, so most people find it less error-prone.
What if the variable terms disappear?
Read what's left. A false statement like means no solution. A true statement like means infinitely many solutions — every number works.
Do I distribute before moving variable terms?
Yes. Clear any parentheses and combine like terms on each side first, so each side is as simple as possible. Then gather the variables and solve.
How do I check my answer?
Substitute it into both sides of the original equation separately. If both sides come out to the same number, the answer is right.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.