A two-step equation such as 4x + 7 = 31 is solved by two operations on both sides: first the constant is removed, then the coefficient. This lesson proves that ax + b = c with a ≠ 0 has exactly one solution, (c − b)/a, explains why the steps come in the reverse of the order of operations, and solves such equations with negative, fractional and decimal numbers, checking every answer.
Two operations on the variable
In the expression 4x + 7 two operations are done to x: it is multiplied by 4, and then 7 is added. The order is fixed by the order of operations: products are worked out before sums, and addition and subtraction come last.[1] (Order of Operations, Evaluating expressions.) In the language of Algebraic Expressions 1.5, 4x is a variable term with coefficient 4, and 7 is a constant term.
An equation ax + b = c, where a, b and c are numbers and a ≠ 0, is called a two-step equation here: one step on both sides removes the constant b, a second step removes the coefficient a. The same name covers equations that are the same up to the order of their parts, such as b + ax = c, c = ax + b and xk + b = c. Equations of the form px + q = r are a standard type, together with p(x + q) = r, which lesson 1.7 treats.[2]
“One-step” and “two-step” count the steps of the usual solution; they do not name different kinds of equation. Wu argues that teaching linear equations (equations whose two sides are sums of variable terms and constants, defined in lesson 1.6) by such a classification makes no sense,[3] because every linear equation is solved by the same two ideas: move terms to isolate the variable term on one side, then solve an equation ax = b.[4] This lesson and the next ones are exactly those two ideas.
To find x from 4x + 7 = 31, the two operations are undone, the last one first. The value 31 was obtained by adding 7 to 4x; subtracting 7 gives back 4x = 24. That number was obtained by multiplying x by 4; dividing by 4 gives back x = 6. So the general strategy first collects the constant terms on the other side,[5] and then makes the coefficient of the variable 1.[6] Each step is done to both sides of the equation, never to one side alone.[7]
The theorem
Let a, b and c be rational numbers with a ≠ 0. Then ax + b = c has exactly one solution,
x = c − ba.
Subtract b from both sides. By Theorem 1 of lesson 1.3, ax + b − b = c − b has the same solutions as ax + b = c, and its left side is equivalent to ax, since b − b = 0. So the equation is equivalent to ax = c − b.
Since a ≠ 0, Theorem 2 of lesson 1.4 says that ax = c − b has exactly one solution, the number c − ba. Equivalent equations have the same solutions, so this is also the only solution of ax + b = c. As a check: a · (c − b)a + b = (c − b) + b = c.
The other forms reduce to this one. b + ax = c has the same left side up to the commutative law; c = ax + b has the same solutions as ax + b = c by the symmetric property (lesson 1.3); b − ax = c is the case of the coefficient −a, since b − ax = b + (−a)x (Integers 2.3); and xk + b = c is the case of the coefficient 1k. In every case: remove the constant term from the variable side, then the coefficient, and check the answer in the original equation.[8]
Solve 4x + 7 = 31.
Check: Left side: 4(6) + 7 = 31. Right side: 31. Both sides are 31, so x = 6 is a solution. These are the two arrows of the bottom row of the figure.
Solve 5 − 3y = 26.
Check: Left side: 5 − 3(−7) = 26. Right side: 26. Both sides are 26, so y = −7 is a solution. The coefficient of y is −3, not 3: the minus sign in front of 3y belongs to the term.
Solve −9 = 6n + 4.
Check: Left side: −9. Right side: 6(−136) + 4 = −9. Both sides are −9, so n = is a solution. A two-step equation whose numbers are integers can have a solution that is not an integer; among the rational numbers it always has one.
Solve m5 − 3 = −1.
Check: Left side: 105 − 3 = −1. Right side: −1. Both sides are −1, so m = 10 is a solution.
Solve 23w + 5 = −7.
Check: Left side: 23(−18) + 5 = −7. Right side: −7. Both sides are −7, so w = −18 is a solution.
Solve 0.8k − 1.5 = 2.5.
Check: Left side: 0.8(5) − 1.5 = 2.5. Right side: 2.5. Both sides are 2.5, so k = 5 is a solution.
Two steps, in order
- Round
- 1
- Score
- 0
- Streak
- 0
Solve the equation in two steps, each applied to both sides.
Step 1. Which step leaves the variable term 3k alone on its side?
Is the order a rule?
Removing the constant first is a choice, not a law. Any operation that gives an equivalent equation may come first (lesson 1.3); the order only decides how much work follows. Dividing first is correct as long as the whole side is divided, every term of it.
Solve 6x + 9 = 33 both ways.
- Constant first: subtracting 9 gives 6x = 24, and dividing by 6 gives x = 4.
- Coefficient first: dividing both whole sides by 6 gives 6x + 96 = 336. By the distributive law the left side is x + 96, so the equation is x + 32 = 112. Subtracting 32 gives x = 82 = 4.
- Check: Left side: 6(4) + 9 = 33. Right side: 33. Both sides are 33, so x = 4 is a solution.
Answer: 4 either way. Dividing first brought in fractions that the other order avoids.
Someone solves 7 − 4x = 19 by writing 4x = 12, so x = 3. Find the error.
- Check the answer in the original equation: Left side: 7 − 4(3) = −5. Right side: 19. The sides differ, so 3 is not a solution.
- Subtracting 7 from both sides gives −4x = 12, not 4x = 12: the term is −4x, and its coefficient −4 keeps its sign.
- Dividing by −4 gives x = −3. Check: Left side: 7 − 4(−3) = 19. Right side: 19. Both sides are 19, so x = −3 is a solution.
Answer: −3, not 3. The check caught the slip: the wrong answer makes the left side −5.
For which numbers a does ax + 3 = 3 have exactly one solution? And ax + 3 = 8?
- If a ≠ 0, Theorem 1 applies: ax + 3 = 3 has the one solution 3 − 3a = 0, and ax + 3 = 8 the one solution 5a. A solution equal to 0 is a solution like any other: it is not “no solution”.
- If a = 0, the left side is 0x + 3 = 3 for every x. So 0x + 3 = 3 is true for every number, and 0x + 3 = 8 for none (lesson 1.2: an identity and a contradiction).
Answer: exactly one solution for every a ≠ 0, in both equations. With a = 0 the second step would divide by 0, which is impossible, and there is never exactly one solution.
Writing two-step equations
A quantity made of a fixed part and an equal amount for each unit leads to a two-step equation. Writing the equation and solving it can be compared with working backward with numbers alone, by naming the sequence of operations in each approach.[9] In the examples below the two approaches use the same operations in the same order.
A repair bill is a call-out fee of 45 dollars plus 30 dollars for each hour of work. A bill is 150 dollars. How many hours were worked?
- Let h be the number of hours. The bill is 30h + 45, so 30h + 45 = 150.
- Subtract 45 from both sides: 30h = 105. Divide both sides by 30: h = 105 ÷ 30 = 3.5.
- Check: Left side: 30(3.5) + 45 = 150. Right side: 150. Both sides are 150, so h = 3.5 is a solution.
- Working backward with numbers: 150 − 45 = 105 dollars were for the hours, and 105 ÷ 30 = 3.5 hours. The same two steps.
Answer: 3.5 hours.
A jacket is reduced by 20%, and then a 4-dollar coupon is taken off. The customer pays 36 dollars. What was the original price?
- A decrease of 20% multiplies a price by 1 − 0.20 = 0.8 (Percent increase and decrease). With the original price p, the customer pays 0.8p − 4, so 0.8p − 4 = 36.
- Add 4 to both sides: 0.8p = 40. Divide both sides by 0.8: p = 40 ÷ 0.8 = 400 ÷ 8 = 50.
- Check: Left side: 0.8(50) − 4 = 36. Right side: 36. Both sides are 36, so p = 50 is a solution.
Answer: 50 dollars. The coupon came last, so it is undone first.
Exercises
Solve and check: (a) 3a + 8 = 29; (b) 9 − 2b = 1; (c) −20 = 7c + 1; (d) d3 + 4 = 2.
▸ Show solution
(a) Subtract 8: 3a = 21; divide by 3: a = 7. Check: 3 · 7 + 8 = 29.
(b) Subtract 9: −2b = −8; divide by −2: b = 4. Check: 9 − 2 · 4 = 1.
(c) Subtract 1: −21 = 7c; divide by 7: c = −3. Check: 7(−3) + 1 = −20.
(d) Subtract 4: d3 = −2; multiply by 3: d = −6. Check: −6 ÷ 3 + 4 = −2 + 4 = 2.
Solve and check: (a) 34u − 2 = 7; (b) 1.2v + 0.6 = 4.2; (c) 5 − z2 = 8; (d) 4x + 9 = 2.
▸ Show solution
(a) Add 2: 34u = 9; multiply by 43: u = 12. Check: 34 · 12 − 2 = 9 − 2 = 7.
(b) Subtract 0.6: 1.2v = 3.6; divide by 1.2: v = 36 ÷ 12 = 3. Check: 3.6 + 0.6 = 4.2.
(c) Subtract 5: −z2 = 3; multiply by −2: z = −6. Check: 5 − (−6) ÷ 2 = 5 + 3 = 8.
(d) Subtract 9: 4x = −7; divide by 4: x = −74. Check: 4 · (−74) + 9 = −7 + 9 = 2.
Someone solves 4x − 12 = 20 by dividing by 4 and writing x − 12 = 5, so x = 17. Find the error and the solution.
▸ Show solution
Only the first term of the left side was divided by 4: 4x − 124 is x − 3, not x − 12. The answer fails the check: 4 · 17 − 12 = 56 ≠ 20. Correctly, add 12: 4x = 32, so x = 8; check: 4 · 8 − 12 = 20. (Dividing both whole sides by 4 also works: x − 3 = 5, so x = 8.)
A gym charges a joining fee of 25 dollars and 18 dollars a month. A member has paid 205 dollars in all. Write a two-step equation for the number of months and solve it.
▸ Show solution
Let m be the number of months: 18m + 25 = 205. Subtract 25: 18m = 180; divide by 18: m = 10. Check: 18 · 10 + 25 = 205. So 10 months.
Solve 5x − 20 = 35 twice: once dividing both sides by 5 first, once adding 20 first.
▸ Show solution
Both routes give 11. Dividing first: 5x − 205 = 355, that is, x − 4 = 7, so x = 11. Subtracting first: add 20, 5x = 55, so x = 11. Check: 5 · 11 − 20 = 35.
For which number b does 3x + b = 12 have the solution 5?
▸ Show solution
If 5 is a solution, then 3 · 5 + b = 12, that is, 15 + b = 12, a one-step equation in b: b = −3. Conversely, with b = −3 the equation 3x − 3 = 12 has the one solution 12 + 33 = 5.
Let a ≠ 0. Prove that the solution of ax + b = c is 0 exactly when b = c.
▸ Show solution
By Theorem 1 the only solution is c − ba. A quotient with a nonzero divisor is 0 exactly when its dividend is 0, so the solution is 0 exactly when c − b = 0, that is, when b = c. For example, 7x − 2 = −2 has the solution 0.
Summary
- In ax + b the variable is first multiplied by a, then b is added; solving undoes the two operations in the reverse order.
- For rational a, b, c with a ≠ 0, the equation ax + b = c has exactly one solution, (c − b)/a: subtract b from both sides, then divide both sides by a.
- The same holds for b + ax = c, c = ax + b, b − ax = c (coefficient −a) and x/k + b = c (coefficient 1/k).
- The order is a convenience: dividing first is correct when every term is divided. With a = 0 there is never exactly one solution.
- Every answer is checked in the original equation.
Sources
- 1.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 1, “Foundations”, section 1.2, “Use the Language of Algebra” (“Simplify Expressions Using the Order of Operations”), p. 27 (the whole topic: pp. 25–28).
“Perform all addition and subtraction in order from left to right.”
Used for: addition and subtraction come last in the order of operations, after products (the last of the source’s four steps). - 2.National Governors Association Center for Best Practices and Council of Chief State School Officers, “Common Core State Standards for Mathematics”, Common Core State Standards Initiative (2010).Section “Expressions and Equations, standard 7.EE.4a (p. 49)”. corestandards.org/wp-content/uploads/2023/09/Math_Standards1.pdf · open at the quoted passage.
“Solve word problems leading to equations of the form px + q = r and p(x + q) = r, where p, q, and r are specific rational numbers.”
Used for: equations of the forms px + q = r and p(x + q) = r are a standard type. - 3.H. Wu, Introduction to School Algebra (draft of July 24, 2010, Department of Mathematics, University of California, Berkeley, 2010).Chapter 3, “Linear Equations in One Variable”, p. 48 (the whole topic: pp. 45–48).
“From this point of view, the common practice of classifying linear equations into one-step equations, two-step equations, three-step equations and fourth-step equations, and then teach the solving of linear equations according to this classification simply does not make sense.”
Used for: “one-step” and “two-step” are a teaching classification; Wu argues that teaching linear equations by it makes no sense. - 4.H. Wu, Introduction to School Algebra (draft of July 24, 2010, Department of Mathematics, University of California, Berkeley, 2010).Chapter 3, “Linear Equations in One Variable”, p. 48 (the whole topic: pp. 45–48).
“by transposing terms, we isolate x on one side of the equation, and then we solve an equation of the type ax = b.”
Used for: every linear equation is solved by two ideas: isolating the variable term by moving terms, then solving ax = b. - 5.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.4, “Use a General Strategy to Solve Linear Equations” (“Solve Equations Using the General Strategy”), p. 243 (the whole topic: pp. 242–248).
“Collect all the constant terms on the other side of the equation.”
Used for: the general strategy collects the constant terms on the other side. - 6.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.4, “Use a General Strategy to Solve Linear Equations” (“Solve Equations Using the General Strategy”), p. 243 (the whole topic: pp. 242–248).
“Make the coefficient of the variable term to equal to 1.”
Used for: the strategy then makes the coefficient of the variable 1. - 7.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.3, “Solve Equations with Variables and Constants on Both Sides” (“Solve Equations with Constants on Both Sides”), p. 233 (the whole topic: pp. 232–233).
“Remember, whatever you do to the left, you must do to the right.”
Used for: each step is done to both sides of the equation. - 8.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 2, “Solving Linear Equations and Inequalities”, section 2.4, “Use a General Strategy to Solve Linear Equations” (“Solve Equations Using the General Strategy”), p. 243 (the whole topic: pp. 242–248).
“Substitute the solution into the original equation to make sure the result is a true statement.”
Used for: the answer is checked in the original equation. - 9.National Governors Association Center for Best Practices and Council of Chief State School Officers, “Common Core State Standards for Mathematics”, Common Core State Standards Initiative (2010).Section “Expressions and Equations, standard 7.EE.4a (p. 49)”. corestandards.org/wp-content/uploads/2023/09/Math_Standards1.pdf · open at the quoted passage.
“Compare an algebraic solution to an arithmetic solution, identifying the sequence of the operations used in each approach.”
Used for: solving the equation can be compared with working backward with numbers: the sequence of operations of the two approaches.