Menu

Equations With Variables on Both Sides — 8th Grade

Learn how to keep both sides balanced, explore different kinds of solutions, and try five free algebra questions.

Practice solving linear equations in one variable, including one, no, and infinitely many solutions (Common Core 8.EE.C.7).

Try five free questions

No account needed

Work at your own pace. Use a hint, retry an answer, or skip a question. Your results appear here, without signing up.

Read the lesson below, or turn on JavaScript to use interactive practice.

Temporary practice lasts up to 30 minutes. Refreshing or leaving this page clears your access to it. No practice history is saved.

What are equations with variables on both sides?

In 4x + 7 = 2x + 15, x appears on both sides. Simplify until you can identify which values of x make the equation true. Add, subtract, multiply, or divide both sides by the same valid amount to preserve equality; never divide by zero.

Need a review? Try two-step equations practice first.

Use inverse operations

Subtraction undoes addition, and division by a nonzero number undoes multiplication. In 5x + 3 = 2x + 18, subtract 2x from both sides to get 3x + 3 = 18; subtract 3 to get 3x = 15; divide both sides by 3 to find x = 5. Check in the original equation.

Explore the equation steps

Apply the same operation to both sides and see what remains.

Step 1 of 5: Original equation

Both expressions have the same value.

Result: 5x + 3 = 2x + 18

Combine like terms and distribute

Like terms have the same variable raised to the same power: 3x + 2x = 5x. Constants combine with constants, so 4x + 3 − x + 2 = 3x + 5. Combining like terms simplifies each side.

To distribute, multiply every term inside the parentheses. For 2(x + 3) = x + 10, write 2x + 6 = x + 10, subtract x, then subtract 6 to get x = 4. Check: 2(4 + 3) = 14 and 4 + 10 = 14.

One, no, or infinitely many solutions

When variables cancel, read what remains. A false statement means no solution: 3x + 4 = 3x + 9 becomes 4 = 9. An always-true statement means infinitely many solutions: 2(x + 4) = 2x + 8 becomes 8 = 8, so every real number works.

EquationResult
3x + 4 = 19One solution
3x + 4 = 3x + 9No solution
3x + 4 = 3x + 4Infinitely many solutions

Check the answer

Substitute into the original equation to catch sign or arithmetic mistakes. For 6x − 4 = 2x + 12, subtract 2x and add 4 to get 4x = 16, so x = 4. The left side is 6(4) − 4 = 20; the right side is 2(4) + 12 = 20.

Worked examples

  1. Basic equation

    4x + 7 = 2x + 15 → 2x + 7 = 15 → 2x = 8 → x = 4.

  2. Negative solution

    3x + 10 = 5x + 18 → 10 = 2x + 18 → −8 = 2x → x = −4.

  3. Combine like terms

    3x + 2x + 4 = 2x + 19 → 5x + 4 = 2x + 19 → 3x = 15 → x = 5.

  4. Distribute

    2(x + 3) = x + 10 → 2x + 6 = x + 10 → x + 6 = 10 → x = 4.

  5. No solution

    5x + 2 = 5x + 7 → 2 = 7, which is false. There is no solution.

  6. Infinitely many solutions

    3(x + 2) = 3x + 6 → 3x + 6 = 3x + 6 → 6 = 6. Every real number works.

  7. Fractional solution

    4x + 1 = 2x + 6 → 2x + 1 = 6 → 2x = 5 → x = 5/2 = 2.5.

  8. Negative coefficient

    7 − 2x = 3x − 8 → 7 = 5x − 8 → 15 = 5x → x = 3.

  9. Two gym plans

    Gym A charges $5 to sign up and $3 per month; Gym B charges $17 to sign up and $1 per month. Let x be months: 5 + 3x = 17 + x → 5 + 2x = 17 → 2x = 12 → x = 6 months. Each side represents one plan’s total cost.

Common mistakes and helpful tips

  • Apply each operation to both sides; do not simply change a sign when moving a term.
  • Combine only like terms, and multiply every term when distributing.
  • Watch negative signs and fraction arithmetic. Simplify each side first.
  • When variable terms cancel, do not divide by zero. A false statement means no solution; an always-true statement means infinitely many.
  • Not every equation has one numerical answer. Check a numerical answer in the original equation.

Frequently asked questions

What should I do first?

Simplify each side, including any parentheses and like terms. Then use the same operation on both sides.

Why subtract a variable term from both sides?

It keeps the equation balanced while collecting variable terms on one side.

How do I tell no solution from infinitely many?

After the variables cancel, a false statement means no solution; an always-true statement means every real number works.

Can an answer be negative or fractional?

Yes. Work carefully with signs and use exact fractions or equivalent decimals.

How can parents help?

Ask your child to explain each operation and check the answer by substitution.

Make the next practice your own

Parents can choose topics and difficulty, create assignments, get automatic answer checking, and save practice results. Free includes 1 child, 3 practices per week, and basic results.

For detailed mistake review, full history, and insights into improvement, explore the Family plan.

Create Free Parent AccountCompare plans