Solving Two-Step Equations

Watch the video explainer

Learning goals

  • Recognize ax+b=cax + b = c as two operations on the variable
  • Undo in reverse order, clearing the constant first and undoing the multiplication or division second
  • Divide by the full coefficient, sign and all
  • Combine like terms or distribute first when a side needs cleaning
  • Leave a non-integer answer as a simplified fraction

What makes an equation a two-step equation

In 2x+3=112x + 3 = 11, evaluating the left side means multiplying xx by 22 before adding 33. A two-step equation is solved by undoing two operations on the variable. A common form is

ax+b=c,ax + b = c,

where aa is a nonzero coefficient and bb is an added constant. In the example, a=2a = 2, b=3b = 3, and c=11c = 11.

Each solving step uses the balance principle: do the same operation to both sides, using a nonzero number when multiplying or dividing. This keeps exactly the same solutions.

Why you undo in reverse order

With x=4x = 4, the expression 2x+32x + 3 is built in two stages:

4  →×2  8  →+3  11.4 \;\xrightarrow{\times 2}\; 8 \;\xrightarrow{+3}\; 11.

To recover 44 from 1111, reverse the stages: subtract 33 to get 88, then divide by 22. The added 33 is the last operation, shown as the outer layer in the diagram. Removing it first leaves the multiplication to undo.

Peeling a two-step expression from the outside inNested layers around x: the inner layer multiplies by 2, the outer layer adds 3. Building goes inside out (multiply then add); solving goes outside in (subtract then divide).build: multiply first, then add (inside out)+ 3 (outer)×2 (inner)xsolve: subtract 3 first, then divide by 2 (outside in)
The left side of 2x + 3 is built by multiplying x by 2 (inner layer), then adding 3 (outer layer). To isolate x you peel from the outside in: subtract 3 first, then divide by 2.

Why subtracting, then dividing, solves ax+b=cax + b = c#

For 3x+2=143x + 2 = 14, subtracting 22 from both sides gives 3x=123x = 12. Dividing both sides by 33 then gives x=4x = 4. Each step removes one operation and preserves the solution.

The same reasoning works for ax+b=cax + b = c when aa is nonzero. Subtracting bb gives ax=c−bax = c - b. Dividing both sides by aa then gives

x=c−ba.x = \frac{c - b}{a}.

These steps can be reversed, so the original equation and the result have the same solution.

You can also divide first, but you must divide every term. For 2x+3=112x + 3 = 11, dividing by 22 gives x+32=112x + \tfrac{3}{2} = \tfrac{11}{2}. Subtracting 32\tfrac{3}{2} still gives x=4x = 4. Subtracting 33 first avoids those extra fractions, which is why it is usually more convenient.

The two-step method

Once an equation is in two-step form, use these two moves:

  1. Undo the addition or subtraction on both sides, leaving the variable term alone.
  2. Undo the multiplication or division on both sides, leaving the variable alone.

Then substitute the result into the original equation. Checking the original tests every step, including any simplifying you did first.

Worked example 1 Solve 2x+3=112x + 3 = 11

The variable is multiplied by 22 and then has 33 added, so undo the addition first. Subtract 33 from both sides:

2x+3−3=11−3.2x + 3 - 3 = 11 - 3.

On the left, 3−3=03 - 3 = 0, leaving the variable term alone; on the right, 11−3=811 - 3 = 8:

2x=8.2x = 8.

Now undo the multiplication by dividing both sides by the coefficient 22:

2x2=82  ⇒  x=4.\frac{2x}{2} = \frac{8}{2} \;\Rightarrow\; x = 4.

Check by substituting 44 into the original equation, multiplying before you add:

2(4)+3=8+3=11,11=11.  ✓2(4) + 3 = 8 + 3 = 11, \qquad 11 = 11. \;\checkmark

Worked example 2 Solve 5x−4=165x - 4 = 16

This is the subtraction form, ax−b=cax - b = c. A constant is subtracted from the variable term, so undo that by adding 44 to both sides:

5x−4+4=16+4  ⇒  5x=20.5x - 4 + 4 = 16 + 4 \;\Rightarrow\; 5x = 20.

The variable term now stands alone. Divide both sides by the coefficient 55:

5x5=205  ⇒  x=4.\frac{5x}{5} = \frac{20}{5} \;\Rightarrow\; x = 4.

Check in the original equation, multiplying before subtracting:

5(4)−4=20−4=16,16=16.  ✓5(4) - 4 = 20 - 4 = 16, \qquad 16 = 16. \;\checkmark

Check your understanding

Which first step removes the added constant in 3x+7=223x + 7 = 22?

Answer choices

Reading the equation in a different order

The position of the constant does not change the operations. In 4+3x=194 + 3x = 19, the 44 is still added to 3x3x, so subtract it first. You can also solve with the variable on the right: 25=7x−325 = 7x - 3 states the same equality as 7x−3=257x - 3 = 25.

In 12−5x=212 - 5x = 2, the variable term is −5x-5x: subtract 1212, then divide by −5-5, giving x=2x = 2. The term keeps its minus sign, just as it did when simplifying expressions.

Worked example 3 Solve 4+3x=194 + 3x = 19

Here the constant 44 is written before the variable term, but it is still added to 3x3x, so it is still the outer layer. Subtract 44 from both sides:

4+3x−4=19−4  ⇒  3x=15.4 + 3x - 4 = 19 - 4 \;\Rightarrow\; 3x = 15.

Divide both sides by the coefficient 33:

3x3=153  ⇒  x=5.\frac{3x}{3} = \frac{15}{3} \;\Rightarrow\; x = 5.

Check in the original equation:

4+3(5)=4+15=19,19=19.  ✓4 + 3(5) = 4 + 15 = 19, \qquad 19 = 19. \;\checkmark

Worked example 4 Solve 25=7x−325 = 7x - 3

The variable term is on the right, and the balance principle works the same way on either side. The constant −3-3 is the outer layer on the right, so add 33 to both sides:

25+3=7x−3+3  ⇒  28=7x.25 + 3 = 7x - 3 + 3 \;\Rightarrow\; 28 = 7x.

Divide both sides by the coefficient 77:

287=7x7  ⇒  4=x.\frac{28}{7} = \frac{7x}{7} \;\Rightarrow\; 4 = x.

That is the same as x=4x = 4, since an equation reads the same both ways. Check in the original:

7(4)−3=28−3=25,25=25.  ✓7(4) - 3 = 28 - 3 = 25, \qquad 25 = 25. \;\checkmark

Negatives, fractions, and decimals

The two-step method is the same with these numbers; only the arithmetic changes. Divide by the full coefficient, including its sign. For a decimal example, 2x+1.5=5.52x + 1.5 = 5.5 becomes 2x=42x = 4 after subtracting 1.51.5 from both sides, then x=2x = 2 after dividing by 22. The check is 2(2)+1.5=5.52(2) + 1.5 = 5.5.

Worked example 5 Solve −3x+8=2-3x + 8 = 2

The constant 88 is added on, so subtract 88 from both sides first:

−3x+8−8=2−8  ⇒  −3x=−6.-3x + 8 - 8 = 2 - 8 \;\Rightarrow\; -3x = -6.

Now divide both sides by the full coefficient −3-3, carrying its sign. A negative divided by a negative is positive, the rule from the integers chapter:

−3x−3=−6−3  ⇒  x=2.\frac{-3x}{-3} = \frac{-6}{-3} \;\Rightarrow\; x = 2.

Check in the original equation:

−3(2)+8=−6+8=2,2=2.  ✓-3(2) + 8 = -6 + 8 = 2, \qquad 2 = 2. \;\checkmark

Check your understanding

After clearing the constant in −4x+9=1-4x + 9 = 1 you reach −4x=−8-4x = -8. What is xx?

Answer choices

Worked example 6 Solve 4x+1=74x + 1 = 7

Subtract the constant 11 from both sides:

4x+1−1=7−1  ⇒  4x=6.4x + 1 - 1 = 7 - 1 \;\Rightarrow\; 4x = 6.

Divide both sides by 44. The quotient is not a whole number, so write it as a fraction in lowest terms:

x=64=32.x = \frac{6}{4} = \frac{3}{2}.

Check by substituting 32\tfrac{3}{2} into the original equation:

4⋅32+1=122+1=6+1=7,7=7.  ✓4 \cdot \tfrac{3}{2} + 1 = \tfrac{12}{2} + 1 = 6 + 1 = 7, \qquad 7 = 7. \;\checkmark

Check your understanding

Solve 2x−5=82x - 5 = 8 for xx.

Answer choices

When the variable is divided by a number

Clear the added or subtracted constant first. Then multiply to undo the division.

Worked example 7 Solve x3+2=9\dfrac{x}{3} + 2 = 9

The constant 22 is the outer layer, so subtract it from both sides:

x3+2−2=9−2  ⇒  x3=7.\frac{x}{3} + 2 - 2 = 9 - 2 \;\Rightarrow\; \frac{x}{3} = 7.

The variable is now divided by 33 and nothing else, so undo that by multiplying both sides by 33:

3⋅x3=3⋅7  ⇒  x=21.3 \cdot \frac{x}{3} = 3 \cdot 7 \;\Rightarrow\; x = 21.

Check in the original equation, dividing before adding:

213+2=7+2=9,9=9.  ✓\frac{21}{3} + 2 = 7 + 2 = 9, \qquad 9 = 9. \;\checkmark

In xa+b=c\dfrac{x}{a} + b = c, with aa nonzero, the variable is divided by aa and then bb is added. Undo the addition first. This leaves xa=c−b\dfrac{x}{a} = c - b, so multiply both sides by aa:

x=a(c−b).x = a(c - b).

Check your understanding

After clearing the constant in x4−1=5\dfrac{x}{4} - 1 = 5 you reach x4=6\dfrac{x}{4} = 6. What is the correct second step?

Answer choices

Simplifying before solving

Simplifying can reveal a two-step equation. In 3x+2x+1=113x + 2x + 1 = 11, the like terms 3x3x and 2x2x combine to 5x5x. This changes the form of the left side without changing its value, so the equation keeps the same solution.

Worked example 8 Solve 3x+2x+1=113x + 2x + 1 = 11

The left side has two like terms, 3x3x and 2x2x. Combine them before doing anything else:

3x+2x+1=11  ⇒  5x+1=11.3x + 2x + 1 = 11 \;\Rightarrow\; 5x + 1 = 11.

Now it is a standard two-step equation. Subtract the constant 11 from both sides:

5x+1−1=11−1  ⇒  5x=10.5x + 1 - 1 = 11 - 1 \;\Rightarrow\; 5x = 10.

Divide both sides by the coefficient 55:

5x5=105  ⇒  x=2.\frac{5x}{5} = \frac{10}{5} \;\Rightarrow\; x = 2.

Check in the original equation, before any simplifying, so the check tests your whole solution:

3(2)+2(2)+1=6+4+1=11,11=11.  ✓3(2) + 2(2) + 1 = 6 + 4 + 1 = 11, \qquad 11 = 11. \;\checkmark

For a grouped expression, distributing can reveal the two-step form. Since 2(x+3)=2x+62(x + 3) = 2x + 6, the equation 2(x+3)=142(x + 3) = 14 can be rewritten as 2x+6=142x + 6 = 14.

Here you could also divide both sides by 22 first, giving x+3=7x + 3 = 7. Both methods work. Distributing still works when a side has other terms outside the parentheses.

Worked example 9 Solve 2(x+3)=142(x + 3) = 14

The left side is 22 times the sum x+3x + 3. Distribute the 22 across both terms inside the parentheses:

2(x+3)=14  ⇒  2x+6=14.2(x + 3) = 14 \;\Rightarrow\; 2x + 6 = 14.

Now solve the two-step equation. Subtract the constant 66 from both sides:

2x+6−6=14−6  ⇒  2x=8.2x + 6 - 6 = 14 - 6 \;\Rightarrow\; 2x = 8.

Divide both sides by the coefficient 22:

2x2=82  ⇒  x=4.\frac{2x}{2} = \frac{8}{2} \;\Rightarrow\; x = 4.

Check in the original equation, working out the parentheses first:

2(4+3)=2(7)=14,14=14.  ✓2(4 + 3) = 2(7) = 14, \qquad 14 = 14. \;\checkmark

Check your understanding

Which first step removes the parentheses in 3(x+2)=213(x + 2) = 21?

Answer choices

Check your understanding

Which first step combines like terms in 4x−x+2=114x - x + 2 = 11?

Answer choices

Choosing the two moves

These forms summarize the method. In every row, aa is nonzero and each operation is applied to both sides.

EquationFirst moveSecond moveResult
ax+b=cax + b = csubtract bbdivide by aax=c−bax = \dfrac{c - b}{a}
ax−b=cax - b = cadd bbdivide by aax=c+bax = \dfrac{c + b}{a}
xa+b=c\dfrac{x}{a} + b = csubtract bbmultiply by aax=a(c−b)x = a(c - b)
xa−b=c\dfrac{x}{a} - b = cadd bbmultiply by aax=a(c+b)x = a(c + b)

Worked example 10 Identify the moves, then solve x2−4=−1\dfrac{x}{2} - 4 = -1

First read the equation. The variable is divided by 22 (inner) and then has 44 subtracted (outer), so this is the divide form. Undo the subtraction first by adding 44 to both sides:

x2−4+4=−1+4  ⇒  x2=3.\frac{x}{2} - 4 + 4 = -1 + 4 \;\Rightarrow\; \frac{x}{2} = 3.

Now undo the division by multiplying both sides by 22:

2⋅x2=2⋅3  ⇒  x=6.2 \cdot \frac{x}{2} = 2 \cdot 3 \;\Rightarrow\; x = 6.

Check in the original equation:

62−4=3−4=−1,−1=−1.  ✓\frac{6}{2} - 4 = 3 - 4 = -1, \qquad -1 = -1. \;\checkmark

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (optional)

An old riddle tells the life of Diophantus, a Greek mathematician from Alexandria in Egypt, as though it were an inscription on his tomb. Instead of giving his age, it leaves clues.

He spent one-sixth of his life as a boy. After another one-twelfth of his life, his beard grew. Another one-seventh passed before he married. Five years later, he had a son. The son lived half as long as his father’s whole life, and Diophantus died four years after his son.

The clues give an age of 8484. But the story is a puzzle, not a reliable record of his life. It survives in a collection of Greek riddles compiled around the year 500500, long after Diophantus is usually thought to have lived. We know very little about his actual life. Readers have puzzled over this imagined tombstone for centuries.

Your progress

See all your progress →