Algebra 1 · Solving linear equations

How to Solve an Equation with Variables on Both Sides

Problem

5x−4=3x+85x - 4 = 3x + 8

Answer

x=6x = 6

When a variable appears on both sides, first move one variable term to the other side. Then the equation becomes a two-step equation.

Step-by-step solution

  1. Subtract 3x from both sides.

    5x−4−3x=3x+8−3x5x - 4 - 3x = 3x + 8 - 3x

    Why: Subtracting the same term from both sides keeps the equation balanced.

  2. Combine like terms.

    2x−4=82x - 4 = 8

    Why: 5x minus 3x is 2x, and 3x minus 3x is 0.

  3. Add 4 to both sides.

    2x−4+4=8+42x - 4 + 4 = 8 + 4

    Why: Adding undoes the subtraction on the left side.

  4. Divide both sides by 2.

    2x2=122\frac{2x}{2} = \frac{12}{2}

    Why: Dividing by the coefficient leaves x alone.

  5. Write the answer and check it.

    x=6x = 6

    Why: 5(6) - 4 = 26 and 3(6) + 8 = 26, so both sides match.

Common mistakes

  • Subtracting 3x from one side only. Both sides must change.
  • Dropping the -4 when collecting the x terms.
  • Stopping at 2x = 12. Divide by 2 to finish.

Practice problems

Use the same method. Work each problem on paper, then open the answer to check.

  1. 4x+3=2x+94x + 3 = 2x + 9

    Show answer

    x=3x = 3

  2. 6x−5=3x+76x - 5 = 3x + 7

    Show answer

    x=4x = 4

  3. 7x+2=5x+107x + 2 = 5x + 10

    Show answer

    x=4x = 4

  4. 2x−8=x+12x - 8 = x + 1

    Show answer

    x=9x = 9

  5. 9x−3=4x+129x - 3 = 4x + 12

    Show answer

    x=3x = 3