PRE-ALGEBRA • EXPRESSIONS, EQUATIONS & INEQUALITIES

Equations with Variables on Both Sides — I can solve equations with variables on both sides at my level and explain why the solution works.

Learn how to gather variables on one side, solve step by step, and prove your answer is correct.

Where Did These Equations Come From?

People have been solving equations for thousands of years. Long before calculators existed, ancient mathematicians needed to figure out unknown numbers. They often ran into problems where the unknown value showed up on both sides of a balance. Let's see how this idea developed over time.

~1800 BCE
Babylonian Clay Tablets
Ancient Babylonians carved math problems onto clay tablets. Some of their problems were like puzzles with unknowns on both sides, even though they didn't use letters like x yet.
~250 CE
Diophantus Uses Symbols
A Greek mathematician named Diophantus started using short symbols instead of full words. This made it much faster to write and solve equations.
~820 CE
Al-Khwarizmi Writes the First Algebra Book
A scholar named al-Khwarizmi described how to move terms from one side of an equation to the other. The word "algebra" actually comes from his book title!
1600s
Letters Replace Words
Mathematicians in Europe began using letters like x and y to stand for unknowns. This is the style we still use today.

So here's the big question this lesson answers: when the same variable appears on both sides of the equals sign, how do you figure out what it equals? That's exactly what you'll learn here.

Core Principles & Definitions

Before we dive into solving, let's lock down the key ideas. An equation is a math sentence that says two expressions are equal. When we see something like 3x + 5 = 2x + 12, the variable x appears on the left side AND the right side. Our goal is to get x all by itself.

1

Balance Rule

An equation is like a balanced scale. Whatever you do to one side, you must do to the other side to keep it balanced.
2

Collect the Variable

Move all variable terms (terms with x) to one side by adding or subtracting.
3

Isolate the Variable

Move all number-only terms (constants) to the other side. Then divide or multiply to get the variable alone.
4

Check Your Answer

Plug your answer back into the original equation. If both sides equal the same number, your solution is correct!
KEY TAKEAWAY
Think of an equation like a seesaw at a playground. Both sides must weigh the same to stay level. If you add a rock to one side, you need to add the same rock to the other side. That's exactly how solving equations works: do the same thing to both sides every single time.

Seeing the Balance

The diagram below shows how we solve 3x + 2 = x + 8 step by step. Picture a balance scale: whatever sits on the left must equal whatever sits on the right.

Each colored step shows one operation done to both sides of the equation. The variable terms move left, the constants move right, and we finish by dividing.

Notice the pattern: first we moved the variable terms to one side. Then we moved the constants (plain numbers) to the other side. Finally we divided to get the variable alone. This three-move pattern works for most equations with variables on both sides.

The Step-by-Step Method

Here is the general strategy you can follow every time you see variables on both sides. We will use the equation ax + b = cx + d where a, b, c, and d are numbers.

STEP 1 — COLLECT VARIABLES
ax + b − cx = cx + d − cx → (a − c)x + b = d
Subtract cx from both sides so the variable x only appears on the left.
STEP 2 — MOVE CONSTANTS
(a − c)x + b − b = d − b → (a − c)x = d − b
Subtract b from both sides so only the variable term is left on the left.
STEP 3 — ISOLATE THE VARIABLE
x = (d − b) ÷ (a − c)
Divide both sides by the coefficient of x (the number in front of x). Now x is alone!
Remember the Check!
After you find your answer, always substitute it back into the original equation. If the left side equals the right side, you solved it correctly. This proves your answer works.

Special Cases & Tricky Situations

Most of the time you will find one answer. But sometimes strange things happen. There are three possible outcomes when you solve an equation with variables on both sides.

This diagram shows the three possible outcomes. One solution is the most common result. A contradiction means no value works. An identity means every value works.

In this lesson, we will mostly see the first type — equations with one solution. But it's good to know the other two exist so you won't be confused if you ever end up with something like 5 = 9 or 6 = 6.

Worked Example: Solving and Checking

Let's solve a full problem from start to finish and then prove our answer is right.

Solve: 5x − 3 = 2x + 9
1
Step 1 — Identify Variables on Both SidesWe see 5x on the left and 2x on the right. We need to move one of them.
2
Step 2 — Subtract 2x from Both SidesSubtract 2x from both sides to collect the variable on the left: 5x − 2x − 3 = 2x − 2x + 9.
3x − 3 = 9
3
Step 3 — Add 3 to Both SidesMove the constant −3 by adding 3 to both sides: 3x − 3 + 3 = 9 + 3.
3x = 12
4
Step 4 — Divide Both Sides by 3The coefficient of x is 3, so divide both sides by 3: 3x ÷ 3 = 12 ÷ 3.
x = 4
5
Step 5 — Check the AnswerSubstitute x = 4 into the original equation. Left side: 5(4) − 3 = 20 − 3 = 17. Right side: 2(4) + 9 = 8 + 9 = 17. Both sides equal 17, so our answer is correct!
17 = 17 ✓ Confirmed!
💡 Why Does Checking Work?
When you plug your answer back in and both sides match, you are showing that your value of x makes the equation a true statement. That's what "solving" really means — finding the number that makes both sides equal.

Common Mistakes & Helpful Tips

Even strong math students make mistakes on these equations. Here are the most common errors and how to avoid them.

Watch out for these pitfalls!
Common MistakeWhy It's WrongWhat to Do Instead
Forgetting to do the same operation to both sidesThe equation becomes unbalanced, like taking weight off only one side of a seesaw.Write the same operation on both sides every time. No shortcuts!
Subtracting the wrong variable termYou might end up with a negative coefficient, which can cause sign errors.Subtract the smaller variable term so the coefficient stays positive.
Mixing up signs (positive/negative)A wrong sign changes your whole answer.Rewrite subtraction as adding a negative. Double-check each sign.
Skipping the check stepYou won't catch your own errors.Always plug your answer back into the original equation.
💡 HELPFUL TIP
When you choose which variable term to move, pick the smaller one. For example, in 5x + 1 = 2x + 7, subtract 2x (not 5x). This keeps the coefficient positive and makes the rest of the work easier. Think of it like carrying the lighter bag — same result, less effort!

Connecting to What's Next

The skills you build here set you up for bigger topics in Algebra 1 and beyond. The same "do the same thing to both sides" rule works for much harder problems.

From pre-algebra to algebra and science
What You Learn NowWhat It Leads To
Solving equations with variables on both sidesSolving multi-step equations with parentheses and fractions
Checking your answer by substitutingVerifying solutions in inequalities and systems of equations
Recognizing "no solution" and "all solutions"Understanding parallel lines and overlapping lines in graphing
Moving terms from side to sideRearranging formulas in science (like d = rt or F = ma)

In Algebra 1, you will solve equations that also have parentheses and fractions. The good news? The steps are almost the same. You just add a step at the beginning to simplify each side first. Master today's skill, and those future problems will feel much easier.

Practice Problems

Try these five problems on your own. They start easy and get harder. Remember the steps: collect variables, move constants, divide, and check!

PROBLEM 1CONCEPTUAL
In the equation 4x + 3 = 2x + 11, what is the first thing you should do to start solving? Explain your reasoning.
PROBLEM 2BASIC CALCULATION
Solve for x: 6x + 1 = 4x + 9
PROBLEM 3INTERMEDIATE
Solve for x: 7x − 10 = 3x + 14
PROBLEM 4APPLIED
Two friends are saving money. Mia has $25 and saves $8 per week. Leo has $55 and saves $5 per week. After how many weeks will they have the same amount? Set up an equation with variables on both sides and solve it.
PROBLEM 5CRITICAL THINKING
Look at the equation 3(x + 4) = 3x + 12. First simplify the left side. Then try to solve. What happens, and what does it mean?

Lesson Summary

When an equation has variables on both sides, use the balance rule to move all variable terms to one side and all constants to the other side. First, subtract the smaller variable term from both sides. Next, move the constant to the opposite side. Finally, divide by the coefficient to isolate the variable.

Always check your answer by substituting it back into the original equation. If both sides are equal, your solution is confirmed. Remember that some equations have no solution (you get a false statement like 5 = 9) and some are identities where every number works (you get a true statement like 6 = 6). These skills are the foundation for all the algebra you'll learn next.

Varsity Tutors • Pre-Algebra • Equations with Variables on Both Sides