Algebra 1 Core equationsboth sidesidentity

Variables on Both Sides

Getting every x onto one side, and what it means when they all disappear.

Video by Professor Dave Explains — “Algebraic Equations With Variables on Both Sides” Watch on YouTube

The explanation

Key idea Collect variables on whichever side keeps the coefficient positive.

When x appears on both sides, gather them together first.

7x − 4 = 3x + 12. Subtract 3x from both sides: 4x − 4 = 12. Then 4x = 16, so x = 4.

Tip: move the variables to whichever side has the bigger coefficient. That keeps the number in front positive and avoids one sign error.

Two odd endings can happen. If you end at something true like 5 = 5, every number works — infinitely many solutions. If you end at something false like 3 = 8, nothing works — no solution. Neither is a mistake; both are real answers.

Worked example

Solve 4(x − 2) + 6 = 2(2x + 1).

  1. Distribute: 4x − 8 + 6 = 4x + 2.
  2. Combine: 4x − 2 = 4x + 2.
  3. Subtract 4x: −2 = 2, which is false.

Answer: No solution (the variables cancel and leave a contradiction).

Common mistakes

  • Writing x = 0 when the variable terms cancel out.
  • Subtracting a variable term from one side only.