Algebra 1 · Grades 8, 9
Solving Equations with Variables on Both Sides
Quick answer
When an equation has variables on both sides, move all variable terms to one side and all constants to the other, then solve as usual. For 5x + 3 = 2x + 18, subtract 2x from both sides to get 3x + 3 = 18, then solve to get x = 5. If the variables cancel and leave a false statement there is no solution; if they leave a true statement, every number is a solution.
What you'll learn
- Collect variable terms on one side of an equation
- Recognise equations with no solution and with infinitely many solutions
- Choose which side to collect variables on to avoid negatives
What changes when variables appear on both sides
Up to now the variable lived on one side and the numbers on the other. Now both sides have variable terms:
You cannot start undoing operations yet, because there is no single to isolate — there are two -terms in different places. One extra move fixes that: get all the variable terms onto one side.
Why you can subtract a variable term from both sides
The balance rule has not changed. “Do the same thing to both sides” was never restricted to numbers — it works for any expression, including one containing a variable.
Subtracting from both sides of removes the -term from the right and shrinks the one on the left:
Whatever number turns out to be, is some specific quantity, and removing the same quantity from both pans keeps the scale level. You are now back to a two-step equation.
How to solve
- Simplify each side: distribute and combine like terms.
- Move all variable terms to one side by adding or subtracting a variable term.
- Move all constants to the other side.
- Divide by the coefficient.
- Check in the original equation.
Worked examples
The three possible outcomes
Common mistakes
Practice problems
-
Solve .
Hint
Subtract the smaller variable term, , from both sides.
Answer
Full solution
Subtract : . Add : . Divide by : .
Check: and ✓
-
Solve .
Answer
Full solution
Subtract : . Divide by : .
Check: and ✓
-
Solve .
Answer
Full solution
Subtract : . Add : . Divide by : .
Check: and ✓
-
Solve .
Hint
Look carefully at both sides before doing any work.
Answer
Infinitely many solutions
Full solution
Subtract from both sides: , which is true.
The two sides are identical expressions, so every real number is a solution. This is an identity.
-
Solve .
Answer
No solution
Full solution
Subtract : , which is false.
No value of can make this true, so there is no solution.
-
Solve .
Answer
Full solution
Distribute: . Subtract : .
Add : . Divide by : .
Check: and ✓
-
Solve .
Hint
Add to both sides to keep the variable positive.
Answer
Full solution
Add : . Add : . Divide by : .
Check: and ✓
-
Two phone plans: Plan A costs $20 plus $5 per GB. Plan B costs $35 plus $2 per GB. At how many GB do they cost the same?
Hint
Set the two cost expressions equal to each other.
Answer
GB, at $45 each
Full solution
Let be gigabytes: .
Subtract : . Subtract : . Divide by : .
Check: Plan A ; Plan B ✓
Frequently asked questions
Which side should I move the variables to?
Move them to whichever side has the larger coefficient, so the variable you keep stays positive. For 2x + 8 = 6x, subtracting 2x gives 8 = 4x rather than a negative coefficient. Both choices give the same answer, but one has less room for sign errors.
What does it mean when the variable disappears completely?
It means the equation is either always true or never true. If what is left is true, like 7 = 7, every number is a solution. If what is left is false, like 7 = 3, no number works and there is no solution.
Key terms in this lesson
- Equation
- An equation is a statement that two expressions are equal, joined by an equals sign. Solving one means finding every value of the variable that makes the statement true.
- Solution set
- The solution set is every value that makes an equation or inequality true. An equation often has one solution, an inequality usually has infinitely many, and some have none at all.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.8.EE.C.7aExpressions and EquationsGive examples of linear equations in one variable with one solution, infinitely many solutions, or no solutions. Show which of these possibilities is the case by successively transforming the given equation into simpler forms, until an equivalent equation of the form x = a, a = a, or a = b results (where a and b are different numbers).
- CCSS.MATH.CONTENT.8.EE.C.7bExpressions and EquationsSolve linear equations with rational number coefficients, including equations whose solutions require expanding expressions using the distributive property and collecting like terms.