edubun
English
1 / 20

5 / 8 · Intro

Variables on both sides

In 5x − 3 = 2x + 9, subtracting 2x from both sides leaves 3x − 3 = 9, an equation you already know how to solve.

Jump to the 10 practice questions

You will learn

  • Check with both sides of the original equation

Before this: Two-step equations

1Explore

Gather the variable terms on one side

Sometimes the variable shows up on both sides of the equals sign, as in 5x − 3 = 2x + 9. None of the earlier moves isolate x directly, because whatever you do, there is still an x on each side. The fix is to use the same properties of equality on a term with a variable in it. Subtract 2x from both sides. On the left, 5x − 2x = 3x; on the right, 2x − 2x = 0. The equation becomes 3x − 3 = 9, a two-step equation. Add 3 to get 3x = 12, divide by 3 to get x = 4.

Variable terms to one side, constants to the other, then divide.

5x − 3 = 2x + 9Start

2Problem

5x − 3 = 2x + 9

Solve 5x − 3 = 2x + 9. x = ?

Hint

Follow the steps above.

Solution

Answer: 4

Subtract 2x from both sides, then add 3, then divide both sides by 3 to get x = 4. Substituting 4 makes both original sides 17.

3Explore

Check both sides

Check in the original equation, because both sides contain x. Left: 5 × 4 − 3 = 17. Right: 2 × 4 + 9 = 17. They agree. Notice that the common value, 17, is not the solution; the solution is the x that produces it. On a graph, the left side y = 5x − 3 and the right side y = 2x + 9 are two lines with different slopes, and they meet at the point (4, 17). The x of that point is the answer, and the y is the value both sides share.

At x = 4 both sides are 17. The 17 is the shared value, not the solution.

5x − 3 = −32x + 9 = 9

4Problem

The shared value

In 5x − 3 = 2x + 9, what value do both sides share at the solution?

Hint

Put x = 4 into either side.

Solution

Answer: 17

The solution is x = 4, and both sides are 5 × 4 − 3 = 17 and 2 × 4 + 9 = 17. The graphs meet at (4, 17).

5Explain

Which side should the variable go to?

You may collect the variable on either side, and the answer is the same. A practical habit is to move the smaller variable term, so the coefficient that remains is positive. In 3y + 8 = 7y − 4, subtract 3y from both sides to get 8 = 4y − 4. Add 4 to get 12 = 4y, and divide by 4 to get y = 3. If you subtract 7y instead, you get −4y + 8 = −4, then −4y = −12, then y = 3 again. Both roads are correct; the first just has fewer negative signs to watch.

6Problem

3y + 8 = 7y − 4

Solve 3y + 8 = 7y − 4. y = ?

Hint

Move the smaller term, 3y.

Solution

Answer: 3

Subtract 7y from both sides, then subtract 8, then divide both sides by −4 to get y = 3. Substituting 3 makes both original sides 17.

7Problem

6n + 1 = 2n + 13

Solve 6n + 1 = 2n + 13. n = ?

Hint

4n = 12.

Solution

Answer: 3

Subtract 2n from both sides, then subtract 1, then divide both sides by 4 to get n = 3. Substituting 3 makes both original sides 19.

8Problem

4k − 5 = −k + 10

Solve 4k − 5 = −k + 10. k = ?

Hint

Add k to both sides.

Solution

Answer: 3

Add k to both sides, then add 5, then divide both sides by 5 to get k = 3. Substituting 3 makes both original sides 7.

9Explain

The order that always works

Constants can be on both sides too. The order that works every time is: first collect the variable terms on one side, then collect the constants on the other side, then divide by the coefficient. Here is an everyday version. One phone plan costs 20 dollars a month plus 2 dollars per gigabyte, and another costs 32 dollars a month plus 1 dollar per gigabyte (both made-up prices). They cost the same when 2g + 20 = g + 32, which happens at g = 12 gigabytes. Below 12 the first plan is cheaper; above 12 the second one is.

10Explain

Example: 7x − 4 = 3x + 12

Collect the x terms on the side with the larger coefficient, so the x term stays positive. Here that is the left side.

  1. Subtract 3x from both sides: 4x − 4 = 12
  2. Add 4 to both sides: 4x = 16
  3. Divide both sides by 4: x = 4
  4. Check: 7(4) − 4 = 24 and 3(4) + 12 = 24

11Problem

9m + 2 = 4m − 18

Solve 9m + 2 = 4m − 18. m = ?

Hint

5m = −20.

Solution

Answer: −4

Subtract 4m from both sides, then subtract 2, then divide both sides by 5 to get m = −4. Substituting −4 makes both original sides −34.

12Problem

−2x + 7 = 3x − 8

Solve −2x + 7 = 3x − 8. x = ?

Hint

15 = 5x.

Solution

Answer: 3

Subtract 3x from both sides, then subtract 7, then divide both sides by −5 to get x = 3. Substituting 3 makes both original sides 1.

13Problem

8z + 3 = 5z + 5

Solve 8z + 3 = 5z + 5. z = ?

Hint

3z = 2; a fraction.

Solution

Answer: 2/3

Subtract 5z from both sides, then subtract 3, then divide both sides by 3 to get z = 2/3. Substituting 2/3 makes both original sides 25/3.

14Explore

Two lines in the lab

The graph lab draws a smaller example, 3x − 2 = x + 4. Each side is a line, and the lines cross above x = 3, where both sides equal 7. Make a and c equal and the two lines become parallel. They never cross, so the equation has no solution. That case, and the case where the lines lie on top of each other, are the subject of the next unit.

Loading

Drag to turn. Scroll or pinch to zoom.

3x − 2 = x + 4: the blue and orange lines meet at (3, 7). Set c to 3 and they become parallel.

15Problem

3x − 2 = x + 4

Solve 3x − 2 = x + 4. x = ?

Hint

Where the lines cross.

Solution

Answer: 3

Subtract x from both sides, then add 2, then divide both sides by 2 to get x = 3. Substituting 3 makes both original sides 7.

16Problem

Two phone plans

Plan A costs 2g + 20 dollars and plan B costs g + 32 dollars for g gigabytes. For what g do they cost the same?

Hint

2g + 20 = g + 32.

Solution

Answer: 12

Subtract g from both sides, then subtract 20 to get g = 12. Substituting 12 makes both original sides 44.

17Explain

Two labels on your check

Keep two labels on your check: the proposed variable value and the value each side produces. In the example, the crossing point contains both pieces of information, but they answer different questions. Before reporting a result, read whether the question asks for the unknown or for the shared value. Substituting the proposed answer into both original expressions lets you verify the equality without confusing the graph’s coordinates.

18Explain

Common mistakes

  • Adding a term that should be subtracted: 5x − 3 = 2x + 9 becomes 7x − 3 = 9.

    To clear 2x from the right, subtract 2x from both sides: 3x − 3 = 9, 3x = 12, x = 4.

  • Moving −k without changing it: 4k − 5 = −k + 10 becomes 3k − 5 = 10.

    Add k to both sides: 5k − 5 = 10, 5k = 15, k = 3. Check: 4 × 3 − 5 = 7 and −3 + 10 = 7.

  • Checking only one side: x = 4 makes 5x − 3 equal 17, so it must be right.

    A check needs both sides: 5(4) − 3 = 17 and 2(4) + 9 = 17. Only equal sides confirm the solution.

19Problem

Find the wrong line

  1. 4y + 2 = −10
  2. 4y = −8
  3. y = −2

Ana solves 6y + 2 = 2y − 10. Which line has the mistake?

Hint

Compare each line with the line before it.

Solution

Answer: 4y = −8

Subtract 2 from both sides: 4y = −12, so y = −3. Check: 6(−3) + 2 = −16 and 2(−3) − 10 = −16.

20

Summary

  • Use the properties of equality on variable terms too.
  • Collect variable terms on one side, constants on the other, then divide.
  • Moving the smaller variable term keeps the coefficient positive.
  • Graphed, the two sides are lines that meet at the solution.

Next unitA general strategy, and equations with no or every solution
Full text · The whole lesson as one text

Gather the variable terms on one side

Sometimes the variable shows up on both sides of the equals sign, as in 5x − 3 = 2x + 9. None of the earlier moves isolate x directly, because whatever you do, there is still an x on each side. The fix is to use the same properties of equality on a term with a variable in it. Subtract 2x from both sides. On the left, 5x − 2x = 3x; on the right, 2x − 2x = 0. The equation becomes 3x − 3 = 9, a two-step equation. Add 3 to get 3x = 12, divide by 3 to get x = 4.

Check in the original equation, because both sides contain x. Left: 5 × 4 − 3 = 17. Right: 2 × 4 + 9 = 17. They agree. Notice that the common value, 17, is not the solution; the solution is the x that produces it. On a graph, the left side y = 5x − 3 and the right side y = 2x + 9 are two lines with different slopes, and they meet at the point (4, 17). The x of that point is the answer, and the y is the value both sides share.

Which side should the variable go to?

You may collect the variable on either side, and the answer is the same. A practical habit is to move the smaller variable term, so the coefficient that remains is positive. In 3y + 8 = 7y − 4, subtract 3y from both sides to get 8 = 4y − 4. Add 4 to get 12 = 4y, and divide by 4 to get y = 3. If you subtract 7y instead, you get −4y + 8 = −4, then −4y = −12, then y = 3 again. Both roads are correct; the first just has fewer negative signs to watch.

Constants can be on both sides too. The order that works every time is: first collect the variable terms on one side, then collect the constants on the other side, then divide by the coefficient. Here is an everyday version. One phone plan costs 20 dollars a month plus 2 dollars per gigabyte, and another costs 32 dollars a month plus 1 dollar per gigabyte (both made-up prices). They cost the same when 2g + 20 = g + 32, which happens at g = 12 gigabytes. Below 12 the first plan is cheaper; above 12 the second one is.

The graph lab draws a smaller example, 3x − 2 = x + 4. Each side is a line, and the lines cross above x = 3, where both sides equal 7. Make a and c equal and the two lines become parallel. They never cross, so the equation has no solution. That case, and the case where the lines lie on top of each other, are the subject of the next unit.

3x − 2 = x + 4: the blue and orange lines meet at (3, 7). Set c to 3 and they become parallel.

Keep two labels on your check: the proposed variable value and the value each side produces. In the example, the crossing point contains both pieces of information, but they answer different questions. Before reporting a result, read whether the question asks for the unknown or for the shared value. Substituting the proposed answer into both original expressions lets you verify the equality without confusing the graph’s coordinates.

Key points
  • Use the properties of equality on variable terms too.
  • Collect variable terms on one side, constants on the other, then divide.
  • Moving the smaller variable term keeps the coefficient positive.
  • Graphed, the two sides are lines that meet at the solution.

Practice questions from Variables on both sides on edubun

Embed this quiz

Free to embed. Please keep the credit line.

Sources for this course (5)
  • OpenStax, Elementary Algebra 2e , chapter 2: 2.1 Solve Equations Using the Subtraction and Addition Properties of Equality (openstax.org/books/elementary-algebra-2e/pages/2-1-solve-equations-using-the-subtraction-and-addition-properties-of-equality)
  • 2.2 Division and Multiplication Properties, 2.3 Variables and Constants on Both Sides, 2.4 Use a General Strategy to Solve Linear Equations (conditional equation, identity, contradiction: .../pages/2-4-use-a-general-strategy-to-solve-linear-equations)
  • 2.5 Fractions or Decimals, 2.6 Solve a Formula for a Specific Variable
  • 4.5 Fahrenheit and Celsius F = 9/5 C + 32 (.../pages/4-5-use-the-slope-intercept-form-of-an-equation-of-a-line)
  • MacTutor, University of St Andrews: "Earliest Uses of Symbols of Relation" (Recorde, The Whetstone of Witte, 1557: mathshistory.st-andrews.ac.uk/Miller/mathsym/relation) and the al-Khwarizmi biography (Hisab al-jabr w'al-muqabala, al-jabr = completion: mathshistory.st-andrews.ac.uk/Biographies/Al-Khwarizmi).

Checked: 2026-10-17