Equations & Inequalities

Solving Two-Step Equations

To solve a two-step equation of the form ax+b=cax + b = c, subtract bb from both sides, then divide both sides by aa, so that x=c−bax = \frac{c - b}{a}.

ax+b=c  ⇒  x=c−baax+b=c \;\Rightarrow\; x=\frac{c-b}{a}

Try it with your numbers

Show every step

Every two-step equation is a one-step equation wearing a second layer. If solving one-step equations already feels automatic, the new skills are only order, signs and fractions, and those three are where points get lost. The sections below cover each one, plus the parentheses shortcut, a check that catches nearly every error, and where the same two moves show up later.

How do you solve two-step equations?

Every two-step equation has a variable that has been hit by two operations. In 4x−9=274x - 9 = 27, xx was multiplied by 44, then 99 was subtracted. Solving means reversing those operations in the opposite order, and doing each reversal to both sides so the equation stays true.

4x−9=274x=36x=9\begin{aligned}4x - 9 &= 27\\ 4x &= 36\\ x &= 9\end{aligned}

Check: 4(9)−9=36−9=274(9) - 9 = 36 - 9 = 27. The general rule comes from the same idea. Starting with ax+b=cax + b = c, subtracting bb gives ax=c−bax = c - b, and dividing by aa (which cannot be zero) gives the formula:

x=c−bax = \frac{c - b}{a}

In the example, b=−9b = -9, so x=27−(−9)4=364=9x = \frac{27 - (-9)}{4} = \frac{36}{4} = 9. Doing the same thing to both sides is legitimate because both sides name the same number, so any operation applied to that number twice gives matching results.

The routine in four moves:

  1. Find the term containing the variable and read what is attached to it.
  2. Undo the added or subtracted number on both sides.
  3. Undo the multiplier or divisor on both sides.
  4. Substitute the answer into the original equation.

Quick check

Solve 7x−4=387x - 4 = 38.

Why do you subtract first and divide second?

Wrong versus right division of 4x + 8 = 24, showing the undivided 8 gives x = −2
Dividing only 4x by 4 leaves x + 8 = 6 and a wrong answer that fails the check, while dividing 8 too gives x = 4.

Think of ax+bax + b as a short recipe: multiply xx by aa, then add bb. To undo a recipe, reverse it, last step first. The constant was applied last, so it comes off first. Solving is the order of operations run backwards.

Dividing first is not wrong, but it demands that every term be divided. Take 4x+8=244x + 8 = 24. Dividing everything by 44 gives x+2=6x + 2 = 6, so x=4x = 4. The classic error is dividing only the 4x4x and writing x+8=6x + 8 = 6, which leads to x=−2x = -2. Substituting exposes it at once: 4(−2)+8=04(-2) + 8 = 0, not 2424.

Solving is evaluating backwards

Evaluating ax+bax + b means multiply, then add. Solving ax+b=cax + b = c means subtract, then divide. If you can evaluate an expression, you can reverse it.

Dividing first pays off when every term divides evenly: 6x+12=306x + 12 = 30 becomes x+2=5x + 2 = 5 in one move. When it does not, as in 6x+5=296x + 5 = 29, subtracting first keeps the numbers whole: 6x=246x = 24, so x=4x = 4.

How to solve two-step equations with negatives

A sign belongs to the term on its right. In −3x+7=−11-3x + 7 = -11, the coefficient is −3-3 and the 77 is positive.

−3x+7=−11−3x=−18x=6\begin{aligned}-3x + 7 &= -11\\ -3x &= -18\\ x &= 6\end{aligned}

Check: −3(6)+7=−18+7=−11-3(6) + 7 = -18 + 7 = -11. A negative divided by a negative is positive, so a negative equation can have a positive answer.

The costliest slip happens when the constant comes first, as in 5−2x=115 - 2x = 11. The 55 is still being added, so subtract it: −2x=6-2x = 6, and x=−3x = -3. Rewriting the left side as −2x+5-2x + 5 makes the coefficient visible before you start. Check: 5−2(−3)=5+6=115 - 2(-3) = 5 + 6 = 11.

Equation After step 1 Solution
−3x+7=−11-3x + 7 = -11 −3x=−18-3x = -18 x=6x = 6
5−2x=115 - 2x = 11 −2x=6-2x = 6 x=−3x = -3
−x−4=9-x - 4 = 9 −x=13-x = 13 x=−13x = -13

A fast mental check on the sign: after step 1 you have ax=c−bax = c - b. If aa and c−bc - b share a sign, xx is positive. If they differ, xx is negative. A lone minus, as in −x=13-x = 13, means the coefficient is −1-1, so the answer is the opposite of 1313.

How do you solve two-step equations with fractions?

Fractions show up in two ways, and each has its own clean method. When the variable is divided by a number, clear the denominator by multiplying every term. When the variable has a fractional coefficient, undo the constant and then multiply by the reciprocal.

For the first kind, solve x4+12=74\frac{x}{4} + \frac{1}{2} = \frac{7}{4}. Multiplying every term by 44 gives x+2=7x + 2 = 7, so x=5x = 5. Check: 54+24=74\frac{5}{4} + \frac{2}{4} = \frac{7}{4}.

Multiply every term

Clearing denominators means multiplying each term by the common denominator, not just the fraction. In the example above, 12\frac{1}{2} becomes 22 and 74\frac{7}{4} becomes 77.

For the second kind, solve 23x+5=11\frac{2}{3}x + 5 = 11.

23x+5=1123x=6x=6⋅32=9\begin{aligned}\frac{2}{3}x + 5 &= 11\\ \frac{2}{3}x &= 6\\ x &= 6 \cdot \frac{3}{2} = 9\end{aligned}

Multiplying by the reciprocal works because 32⋅23=1\frac{3}{2} \cdot \frac{2}{3} = 1, which leaves xx alone. Check: 23(9)+5=6+5=11\frac{2}{3}(9) + 5 = 6 + 5 = 11. The same denominator-clearing idea carries straight into solving rational equations, where the variable itself sits in the denominator.

What about two-step equations with parentheses?

Comparing divide first and distribute first for 5(x − 3) = 40, both giving x = 11
Dividing 5(x − 3) = 40 by 5 first gives x = 11 in three lines, while distributing needs four.

The form a(x+b)=ca(x + b) = c is a two-step equation too, but here the order flips. The parentheses act as one block, so divide by aa first and then undo bb. Solve 5(x−3)=405(x - 3) = 40:

5(x−3)=40x−3=8x=11\begin{aligned}5(x - 3) &= 40\\ x - 3 &= 8\\ x &= 11\end{aligned}

Check: 5(11−3)=5⋅8=405(11 - 3) = 5 \cdot 8 = 40. Distributing first also works, but it creates 5x−15=405x - 15 = 40 and an extra line of arithmetic for no gain.

When aa does not divide cc, dividing first gives a fraction, which is fine. Solve 3(x+2)=103(x + 2) = 10: dividing gives x+2=103x + 2 = \frac{10}{3}, so x=103−63=43x = \frac{10}{3} - \frac{6}{3} = \frac{4}{3}. Check: 3(43+2)=3⋅103=103\left(\frac{4}{3} + 2\right) = 3 \cdot \frac{10}{3} = 10. Once parentheses appear on both sides or alongside loose terms, the problem has grown into multi-step equations, where distributing becomes necessary.

Quick check

Solve 4(x+3)=204(x + 3) = 20.

How do you check a two-step equation answer?

Substitute the answer into the original equation, not into a line you rewrote. If the error happened in step one, a rewritten line would carry the mistake along and still look consistent. Simplify each side separately and confirm they match.

A quicker estimate runs before any algebra. In 9x+4=499x + 4 = 49, the 9x9x must equal 4545, which is 9⋅59 \cdot 5, so x=5x = 5 should jump out. Getting into the habit of reading the equation as “something plus 44 equals 4949” often delivers the answer in your head.

Try this: Start with x=−2x = -2, multiply by 55, then add 33 to get −7-7. Write the equation 5x+3=−75x + 3 = -7 and solve it to confirm that you land back on −2-2.

A check proves the answer fits the equation you wrote. It cannot catch a copying error from the textbook, so reread the original problem once more too.

Do two-step equations work for inequalities and formulas?

The steps carry over unchanged to inequalities, with one new rule: multiplying or dividing by a negative number flips the inequality sign. Solve −3x+4≤19-3x + 4 \le 19. Subtract 44 to get −3x≤15-3x \le 15, then divide by −3-3 and flip: x≥−5x \ge -5. Testing x=0x = 0 gives 4≤194 \le 19, which is true, and 0≥−50 \ge -5 agrees. The full treatment is in solving linear inequalities.

Formulas are two-step equations with letters in place of numbers. To solve P=2l+2wP = 2l + 2w for ll, subtract 2w2w and divide by 22, giving l=P−2w2l = \frac{P - 2w}{2}. This is the subject of solving literal equations. The line y=2x+7y = 2x + 7 solved for xx gives x=y−72x = \frac{y - 7}{2}, the same pattern that slope-intercept form uses whenever you need the input for a given output.

Absolute value equations also reduce to this skill. For ∣2x+1∣=9|2x + 1| = 9, split into 2x+1=92x + 1 = 9 and 2x+1=−92x + 1 = -9. Each is a two-step equation, giving x=4x = 4 and x=−5x = -5. Check: ∣2(−5)+1∣=∣−9∣=9|2(-5) + 1| = |-9| = 9.

Quick check

Solve −2x+1>9-2x + 1 > 9.

How do you set up two-step equations from word problems?

Most real two-step equations follow one pattern: a fixed amount plus a rate times a quantity equals a total. A taxi charges a flat $3.50 plus $2.25 per mile, and a trip cost $14.75. Let mm be the miles:

2.25m+3.50=14.752.25m=11.25m=5\begin{aligned}2.25m + 3.50 &= 14.75\\ 2.25m &= 11.25\\ m &= 5\end{aligned}

Check: 2.25(5)+3.50=11.25+3.50=14.752.25(5) + 3.50 = 11.25 + 3.50 = 14.75. Defining the variable as the quantity the question asks for keeps the final answer meaningful.

Phrases cause the most trouble. “Seven less than twice a number is 1515” translates to 2n−7=152n - 7 = 15, because “less than” reverses the order of the words. Then 2n=222n = 22 and n=11n = 11. Check: 22−7=1522 - 7 = 15. More setups like these appear in linear equation word problems.

What should you learn after two-step equations?

A two-step equation has the variable exactly once. When it appears twice, or when parentheses need distributing, the same two moves still apply, but a few preparation steps come first. Knowing which type is in front of you is half of the skill.

The usual path forward:

Every linear equation, however long, finishes with the same two moves. The extra work is only tidying the equation until it looks like ax+b=cax + b = c.

Practice problems

0 of 5 solved

  1. Solve 2x+7=192x + 7 = 19.

  2. Solve x5−3=4\frac{x}{5} - 3 = 4.

  3. Solve −4x+9=−11-4x + 9 = -11.

  4. Solve 6(x−2)=156(x - 2) = 15.

  5. Solve 35x−12=72\frac{3}{5}x - \frac{1}{2} = \frac{7}{2}.

Common questions

What is a two-step equation?

A two-step equation is an equation with one variable that needs two inverse operations to solve, usually in the form ax+b=cax + b = c. One step undoes the addition or subtraction, and the other undoes the multiplication or division.

Do you add or subtract first, or multiply or divide first?

Undo the addition or subtraction first, then the multiplication or division. This reverses the order of operations and avoids having to divide every term. The exception is a form like a(x+b)=ca(x + b) = c, where dividing by aa first is usually faster.

How do you solve a two-step equation with a fraction?

Either multiply every term by the common denominator to clear the fractions, or undo the constant first and then multiply by the reciprocal of the fractional coefficient. For 23x+5=11\frac{2}{3}x + 5 = 11, that gives 23x=6\frac{2}{3}x = 6 and then x=9x = 9.

What do you do when the coefficient of x is negative?

Treat the minus sign as part of the coefficient and divide both sides by that negative number. In −3x=−18-3x = -18, dividing by −3-3 gives x=6x = 6. The sign only flips the inequality when the problem is an inequality.

Can the answer to a two-step equation be negative or a fraction?

Yes. Answers such as x=−4x = -4 or x=43x = \frac{4}{3} are completely normal. Substitute the value into the original equation to confirm it.

How do you know your answer to a two-step equation is right?

Substitute the answer for the variable in the original equation and simplify both sides. If they match, the solution is correct. Use the original equation, not one of your rewritten lines, so a mistake in step one cannot hide.

Up next