Solving Equations with Variables on Both Sides- Methods and Examples

What "Variables on Both Sides" Actually Means

Most equations you've seen so far have the variable sitting on one side, waiting patiently for you to solve it. Then you hit these ones, and suddenly the variable is everywhere. That's the whole twist here.

Equations with variables on both sides look like this:

3x + 5 = 2x - 7

See it? The x appears on the left side (3x) and the right side (2x). Your job is to drag all the variables to one side and all the numbers to the other. That's the entire concept. Nothing fancy.

The Core Method: Get the Variable Alone

Here's the rule that governs everything else: whatever you do to one side, you do to the other. That's it. That's the whole game. Every step you take must be balanced.

The process breaks down into three moves:

Order doesn't strictly matter, but convention says handle variables first.

Step-by-Step: Solving 3x + 5 = 2x - 7

Let's walk through this one. You want to solve for x.

Step 1: Get the variable terms together

Subtract 2x from both sides. Why subtract? Because you're removing the smaller coefficient from the right side.

3x + 5 - 2x = 2x - 7 - 2x

That simplifies to:

x + 5 = -7

Step 2: Get the numbers together

Subtract 5 from both sides.

x + 5 - 5 = -7 - 5

That simplifies to:

x = -12

Step 3: Check your work

Plug -12 back into the original equation:

3(-12) + 5 = 2(-12) - 7

-36 + 5 = -24 - 7

-31 = -31 ✓

It works. You're done.

Another Example: 5(2x - 3) = 4x + 7

This one's messier because of the parentheses. Handle those first.

Step 1: Expand the left side

5(2x - 3) becomes 10x - 15.

Now you have: 10x - 15 = 4x + 7

Step 2: Move the variables left

Subtract 4x from both sides:

10x - 15 - 4x = 7

6x - 15 = 7

Step 3: Move the numbers right

Add 15 to both sides:

6x = 22

Step 4: Divide

x = 22/6 = 11/3 ≈ 3.67

The Distribution Method (When Parentheses Are Involved)

Some equations have nested parentheses. Don't panic. Work from the inside out.

Example: 2(3x + 4) + x = 5(x - 2) + 6

Step 1: Distribute everywhere

2(3x + 4) becomes 6x + 8

5(x - 2) becomes 5x - 10

New equation: 6x + 8 + x = 5x - 10 + 6

Step 2: Combine like terms on each side

Left side: 7x + 8

Right side: 5x - 4

Equation: 7x + 8 = 5x - 4

Step 3: Isolate x

Subtract 5x from both sides: 2x + 8 = -4

Subtract 8 from both sides: 2x = -12

Divide: x = -6

What Happens When There's No Solution?

Not every equation has an answer. Sometimes you get a contradiction.

Example: x + 3 = x + 5

Subtract x from both sides:

3 = 5

That's false. No value of x makes 3 equal 5. So this equation has no solution.

This happens when the variable cancels out completely and you're left with a false statement.

What Happens With Infinite Solutions?

The opposite problem: the variable cancels out and you're left with a true statement.

Example: 2x + 4 = 2(x + 2)

Expand the right side: 2x + 4

Both sides are identical. No matter what x is, this equation is true. All real numbers are solutions. You can also say the equation is an identity.

Quick Reference: Variable Isolation Steps

Step Action Example Move
1 Distribute any parentheses 3(x+2) → 3x+6
2 Combine like terms on each side 2x + 5x → 7x
3 Move variable terms to one side Subtract 4x from both sides
4 Move constants to the other side Subtract 7 from both sides
5 Divide or multiply to get x alone Divide both sides by 3

Getting Started: Your First Practice Problems

Try these three, then check below:

  1. 4x - 3 = 2x + 9
  2. 7(x + 2) = 3x + 26
  3. 5x + 4 = 5x - 1

Answers:

1. x = 6

2. x = 3

3. No solution (5x cancels, 4 ≠ -1)

Common Mistakes That Wreck Your Answer

When to Use Addition vs. Subtraction

You choose based on what eliminates terms. If you have 3x on the left and 7x on the right, subtract 3x from both sides to nuke the left variable. If you have 7x on the left and 3x on the right, subtract 3x from both sides instead. Same action, different reasoning.

Same logic for constants. If you see +8 on the left and need to move it, subtract 8 from both sides. If you see -8, add 8 to both sides.