See How Things Work

Solving one-step equations

Unit
Linear Equations
Part
1. Equations
Lesson
1.4

A one-step equation is solved by a single operation on both sides that undoes what is done to the variable. This lesson proves that x + a = b, x − a = b, ax = b with a ≠ 0, and x/a = b each have exactly one solution, finds it with integers, fractions and decimals, explains what happens when a = 0, and checks every answer.

Isolating the variable

The goal in solving an equation of this lesson is to isolate the variable: to arrive at an equation with the variable alone on one side.⁠[1] The equation x = c has exactly one solution, the number c. If it was reached from the original equation by steps that give equivalent equations, the original has exactly that one solution too (lesson 1.3).

The step to choose is the one that undoes the operation done to the variable.⁠[2] Adding and subtracting undo each other (Subtraction 1.2), and so do multiplying and dividing by a number other than 0 (Division 1.2). An equation in which one operation is done to the variable is called a one-step equation here: one step on both sides isolates the variable.

EquationDone to the variableStep on both sidesSolution
x + a = badd asubtract ax = b − a
x − a = bsubtract aadd ax = b + a
ax = bmultiply by a ≠ 0divide by ax = ba
xa = bdivide by a ≠ 0multiply by ax = ab

The arithmetic units solved such sentences with a box. Subtraction 2.2 found the missing addend in 8 + □ = 13, but among the whole numbers only when the addend was at most the sum; Division 1.2 found missing factors, but only when the division came out even. Among the rational numbers both restrictions disappear: the theorems below always give one solution, except for multiplication by 0. These two forms, x + p = q and px = q, are the standard first equations of algebra.⁠[3]

Equations x + a = b and x − a = b

Theorem 1 (adding or subtracting a number).

Let a and b be rational numbers.

  1. x + a = b has exactly one solution, x = b − a. So does a + x = b, and so does b = x + a.
  2. x − a = b has exactly one solution, x = b + a.
Proof.

(1) Subtract a from both sides. By Theorem 1 of lesson 1.3, x + a − a = b − a has the same solutions as x + a = b. Its left side is equivalent to x, since a − a = 0 and x + 0 = x, so it is the equation x = b − a, whose only solution is b − a. The equation a + x = b has the same sides up to the commutative law, and b = x + a has the same solutions as x + a = b by the symmetric property (lesson 1.3).

(2) Add a to both sides: x − a + a = b + a, that is, x = b + a, again by Theorem 1 of lesson 1.3.

Isolating the variable here means adding or subtracting the constant term on the side of the variable.⁠[4] The subtraction b − a is always possible among the rational numbers, whatever the sizes and signs of a and b.

Example (A negative result).

Solve x + 9 = −4.

x + 9
=
−4
x + 9 − 9
=
−4 − 9
subtract 9 from both sides
x
=
−13
simplify each side

Check: Left side: −13 + 9 = −4. Right side: −4. Both sides are −4, so x = −13 is a solution. The solution is negative: among the whole numbers this equation would have no solution.

Example (Decimals).

Solve y − 2.35 = 1.4.

y − 2.35
=
1.4
y − 2.35 + 2.35
=
1.4 + 2.35
add 2.35 to both sides
y
=
3.75
1.40 + 2.35 = 3.75

Check: Left side: 3.75 − 2.35 = 1.4. Right side: 1.4. Both sides are 1.4, so y = 3.75 is a solution.

Example (Fractions, the variable second).

Solve 56 + t = 14.

56 + t
=
14
56 + t − 56
=
14 − 56
subtract 5/6 from both sides
t
=
312 − 1012
the left side is t; common denominator 12
t
=
−712
3 − 10 = −7

Check: Left side: 56 + (−712) = 14. Right side: 14 = 14. Both sides are 14, so t = is a solution. (1012 − 712 = 312 = 14.)

Example (The variable on the right).

Solve −8 = n − 3.

−8
=
n − 3
−8 + 3
=
n − 3 + 3
add 3 to both sides
−5
=
n
simplify each side
n
=
−5
symmetric property

Check: Left side: −8. Right side: −5 − 3 = −8. Both sides are −8, so n = −5 is a solution. The variable may be isolated on either side.

Example (A common mistake: subtracting a negative number).

Someone reads x − (−6) = 2 as “x minus 6 is 2”, adds 6 to both sides, and answers x = 8. Find the error.

  1. Check the answer in the original equation: Left side: 8 − (−6) = 14. Right side: 2. The sides differ, so 8 is not a solution.
  2. Subtracting −6 is adding 6 (Integers 2.3), so the left side is x + 6: the operation done to x is adding 6, and it is undone by subtracting 6.
  3. x − (−6)
    =
    2
    x + 6
    =
    2
    subtracting −6 is adding 6
    x + 6 − 6
    =
    2 − 6
    subtract 6 from both sides
    x
    =
    −4
    simplify each side
    Check: Left side: −4 − (−6) = 2. Right side: 2. Both sides are 2, so x = −4 is a solution.

Answer: −4, not 8. Undo exactly what is done to the variable, with its sign.

Equations ax = b

Theorem 2 (multiplying by a nonzero number).

Let a and b be rational numbers with a ≠ 0. Then ax = b has exactly one solution, x = ba.

Proof.

Divide both sides by a, which is allowed because a ≠ 0: by Theorem 2 of lesson 1.3, axa = ba has the same solutions as ax = b. Its left side is x: dividing by a is multiplying by 1a, and 1a · (ax) = (1a · a)x = 1 · x = x. So the equation is x = ba, with the single solution ba.

An equation in which the variable is multiplied by a number needs division to isolate the variable.⁠[5] When the coefficient is a fraction, it is usually easier to multiply both sides by its reciprocal, because a number times its reciprocal is 1.⁠[6] The two are the same step: dividing by pq is multiplying by qp (Reciprocals, Rational Numbers 1.4). An equation −x = b has the coefficient −1 (Algebraic Expressions 1.5): divide or multiply both sides by −1, or take the opposite of both sides.⁠[7]

Example (A negative coefficient and a fraction answer).

Solve −6x = 15.

−6x
=
15
−6x−6
=
15−6
divide both sides by −6
x
=
−52
15/(−6) = −15/6 = −5/2

Check: Left side: −6(−52) = 15. Right side: 15. Both sides are 15, so x = is a solution. The answer may also be written −2.5 or −; these are names of the same number.

Example (A fraction coefficient: multiply by the reciprocal).

Solve 47p = −8.

47p
=
−8
74 · (47p)
=
74 · (−8)
multiply both sides by 7/4
p
=
−14
7/4 · 4/7 = 1, and 7/4 · (−8) = −56/4 = −14

Check: Left side: 47(−14) = −8. Right side: −8. Both sides are −8, so p = −14 is a solution.

Example (A decimal coefficient).

Solve 0.6k = 2.7.

0.6k
=
2.7
0.6k0.6
=
2.70.6
divide both sides by 0.6
k
=
4.5
2.7 ÷ 0.6 = 27 ÷ 6 = 4.5

Check: Left side: 0.6(4.5) = 2.7. Right side: 2.7. Both sides are 2.7, so k = 4.5 is a solution.

Example (An edge case: the coefficient −1).

Solve −w = −11.

−w
=
−11
(−1) · (−w)
=
(−1) · (−11)
multiply both sides by −1
w
=
11
the opposite of the opposite of w is w

Check: −(11) = −11. Answer: 11. Equivalently, take the opposite of both sides.

Example (The edge case a = 0).

What are the solutions of 0x = 5 and of 0x = 0? Why does Theorem 2 not apply?

  1. Theorem 2 needs a ≠ 0: dividing by 0 is not a step at all, since 5 ÷ 0 has no value (Division 1.3).
  2. 0x = 0 for every x. So 0x = 5 is never true: no solution. And 0x = 0 is always true: every rational number is a solution (lesson 1.2).

Answer: none, and every number. With a = 0 there is never exactly one solution.

Equations x/a = b

Theorem 3 (dividing by a nonzero number).

Let a and b be rational numbers with a ≠ 0. Then xa = b has exactly one solution, x = ab.

Proof.

Multiply both sides by a ≠ 0. By Theorem 2 of lesson 1.3, a · (xa) = ab has the same solutions, and its left side is a · (1a · x) = (a · 1a) · x = 1 · x = x, by the associative law. So the equation is x = ab. (Also, xa is the term 1ax, whose coefficient is 1a, Algebraic Expressions 1.5, so Theorem 3 is Theorem 2 with the coefficient 1a: its solution is b ÷ 1a = b · a = ab.)

Multiplying both sides by the same number keeps the equality.⁠[8] Here it undoes the division. The condition a ≠ 0 is part of the form: with a = 0 the left side x0 has no value at any number (Division 1.3), so no number is a solution of x0 = b, whatever b is.

Example (Three divisors).

Solve (a) m5 = −3; (b) x−4 = 2.5; (c) z6 = 29.

  1. (a) Multiply both sides by 5: m = 5(−3) = −15. Check: Left side: −155 = −3. Right side: −3. Both sides are −3, so m = −15 is a solution.
  2. (b) Multiply both sides by −4: x = (−4)(2.5) = −10. Check: Left side: −10−4 = 2.5. Right side: 2.5. Both sides are 2.5, so x = −10 is a solution.
  3. (c) Multiply both sides by 6: z = 6 · 29 = 129 = 43. Check: Left side: 436 = 29. Right side: 29 = 29. Both sides are 29, so z = 43 is a solution.

Answer: −15, −10 and 43.

Example (A percent question as an equation).

18% of a number is 27. Find the number.

  1. 18% is 18100 = 0.18 (Percentages), and “of” a number means times it. Let n be the number: 0.18n = 27.
  2. Divide both sides by 0.18: n = 27 ÷ 0.18 = 2,700 ÷ 18 = 150.
  3. Check: Left side: 0.18(150) = 27. Right side: 27. Both sides are 27, so n = 150 is a solution.

Answer: 150. This is the computation of Finding the whole from a part, now written as a one-step equation.

Checking and common mistakes

A check in the original equation catches every slip: a wrong number makes the two sides different (lesson 1.2). Most slips come from choosing the wrong inverse operation.

Example (Three wrong answers, caught by the check).

Each answer is wrong. Find the error: (a) 5x = 20, “x = 15”; (b) x4 = 12, “x = 3”; (c) x − 9 = 4, “x = −5”.

  1. (a) Left side: 5(15) = 75. Right side: 20. The sides differ, so 15 is not a solution. The 5 multiplies x; it was subtracted instead of divided. Correct: x = 20 ÷ 5 = 4.
  2. (b) Left side: 34 = 34. Right side: 12. The sides differ, so 3 is not a solution. The division by 4 was repeated instead of undone. Correct: x = 4 · 12 = 48.
  3. (c) Left side: −5 − 9 = −14. Right side: 4. The sides differ, so −5 is not a solution. The 9 was subtracted again instead of added. Correct: x = 4 + 9 = 13.

Answer: 4, 48 and 13. In each case the check shows that the first answer cannot be right.

Game

Solve in one step

Round
1
Score
0
Streak
0

Solve the equation. Use the bench if you like, then type the solution (a whole number, a fraction such as −3/4, or a decimal).

54y = 21

Equation bench (optional): apply an operation to both sides.

54y
=
21
Looking ahead.

Most equations need more than one step: first the added or subtracted terms are removed, then the coefficient. The next lessons of this unit, “Solving two-step equations” and “Variables on both sides”, combine the steps of this lesson.

Exercises

Exercise .

Solve and check: (a) a + 14 = 6; (b) b − 0.75 = −1.5; (c) 23 + c = 12; (d) 0 = d − 12.

▸ Show solution

(a) Subtract 14: a = 6 − 14 = −8. Check: −8 + 14 = 6.

(b) Add 0.75: b = −1.5 + 0.75 = −0.75. Check: −0.75 − 0.75 = −1.5.

(c) Subtract 23: c = 12 − 23 = 36 − 46 = −16. Check: 23 − 16 = 46 − 16 = 36 = 12.

(d) Add 12 to both sides: 0 = d − 12 + 12, so d = 0 + 12 = 12. Check: 12 − 12 = 0.

Exercise .

Solve and check: (a) 9u = −12; (b) 35v = 21; (c) −0.25s = 3; (d) −r = −0.8.

▸ Show solution

(a) Divide by 9: u = −129 = −43. Check: 9 · (−43) = −12.

(b) Multiply by 53: v = 53 · 21 = 35. Check: 35 · 35 = 21.

(c) Divide by −0.25: s = 3 ÷ (−0.25) = −12. Check: −0.25 · (−12) = 3.

(d) Multiply by −1: r = 0.8. Check: −(0.8) = −0.8.

Exercise .

Solve: (a) g8 = −7; (b) h−3 = 56.

▸ Show solution

(a) Multiply by 8: g = 8(−7) = −56. Check: −56 ÷ 8 = −7.

(b) Multiply by −3: h = (−3)(56) = −156 = −52. Check: (−52) ÷ (−3) = 56.

Exercise .

A discount of 15% of a price is 27 dollars. Write a one-step equation for the price and solve it.

▸ Show solution

Let p be the price. 15% of it is 0.15p, so 0.15p = 27. Divide by 0.15: p = 27 ÷ 0.15 = 2,700 ÷ 15 = 180. Check: 0.15 × 180 = 27. The price is 180 dollars.

Exercise .

Find and correct the errors: (a) x + 7 = 3, so x = 3 + 7 = 10; (b) −2y = 10, so y = 10 ÷ 2 = 5.

▸ Show solution

(a) Wrong: 7 was added to the right side only. Subtract 7 from both sides: x = 3 − 7 = −4. Check: −4 + 7 = 3.

(b) Wrong: −2 multiplies y, so divide both sides by −2: y = 10 ÷ (−2) = −5. Check: −2(−5) = 10. (Dividing by 2 gives 5, the opposite: the sign of the coefficient was dropped.)

Exercise .

For which values of the numbers a and b does ax = b have exactly one solution, every number as a solution, or no solution? Prove your answer.

▸ Show solution

If a ≠ 0, Theorem 2 gives exactly one solution, ba. If a = 0, the left side is 0 for every x: the equation is true for every x when b = 0, and for none when b ≠ 0.

So: exactly one solution when a ≠ 0; every number when a = b = 0; no solution when a = 0 and b ≠ 0.

Exercise .

To solve 23x = −10, one person divides both sides by 23 and another multiplies both sides by 32. Who is right? Find the solution.

▸ Show solution

Both are correct. Dividing by 23 is multiplying by its reciprocal 32, so the two steps are the same step: −10 ÷ 23 = −10 · 32 = −15. Check: 23 · (−15) = −10.

Summary

  1. To solve a one-step equation, isolate the variable by the step that undoes what is done to it, applied to both sides.
  2. x + a = b has exactly one solution, b − a; x − a = b has exactly one solution, b + a. Among the rational numbers there is no condition on a and b.
  3. ax = b with a ≠ 0 has exactly one solution, b/a; with a fraction coefficient, multiply both sides by its reciprocal. If a = 0 there is no solution (b ≠ 0) or every number is one (b = 0).
  4. x/a = b with a ≠ 0 has exactly one solution, ab.
  5. Each step gives an equivalent equation (lesson 1.3), so the number found is the only solution; the check in the original equation catches slips.

Sources

  1. 1.
    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.1, “Solve Equations Using the Subtraction and Addition Properties of Equality” (“Solve Equations Using the Subtraction and Addition Properties of Equality”), p. 206 (the whole topic: pp. 205–207).
    “The goal is to isolate the variable by itself on one side of the equation.”
    Used for: the goal is to isolate the variable on one side of the equation.
  2. 2.
    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.2, “Solve Equations using the Division and Multiplication Properties of Equality” (“Solve Equations Using the Division and Multiplication Properties of Equality”), p. 219 (the whole topic: pp. 218–224).
    “The goal in solving an equation is to ‘undo’ the operation on the variable.”
    Used for: the step to choose is the one that undoes the operation done to the variable.
  3. 3.
    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 6.EE.7 (p. 44)”. corestandards.org/wp-content/uploads/2023/09/Math_Standards1.pdf · open at the quoted passage.
    “Solve real-world and mathematical problems by writing and solving equations of the form x + p = q and px = q”
    Used for: the forms x + p = q and px = q are the standard first equations (the standard goes on: “for cases in which p, q and x are all nonnegative rational numbers”).
  4. 4.
    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.2, “Solve Equations using the Division and Multiplication Properties of Equality” (“Solve Equations Using the Division and Multiplication Properties of Equality”), p. 218 (the whole topic: pp. 218).
    “We were able to isolate the variable by adding or subtracting the constant term on the side of the equation with the variable.”
    Used for: for x + a = b and x − a = b, the variable is isolated by adding or subtracting the constant term on its side.
  5. 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.2, “Solve Equations using the Division and Multiplication Properties of Equality” (“Solve Equations Using the Division and Multiplication Properties of Equality”), p. 218 (the whole topic: pp. 218).
    “Now we will see how to solve equations that have a variable multiplied by a constant and so will require division to isolate the variable.”
    Used for: an equation in which the variable is multiplied by a number needs division to isolate the variable.
  6. 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.2, “Solve Equations using the Division and Multiplication Properties of Equality” (“Solve Equations Using the Division and Multiplication Properties of Equality”), p. 221 (the whole topic: pp. 221–222).
    “Since the product of a number and its reciprocal is 1, our strategy will be to isolate x by multiplying by the reciprocal of”
    Used for: with a fraction coefficient, multiply both sides by its reciprocal, since a number times its reciprocal is 1 (the source adds that dividing would also work, but multiplying is easier).
  7. 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.2, “Solve Equations using the Division and Multiplication Properties of Equality” (“Solve Equations Using the Division and Multiplication Properties of Equality”), p. 221 (the whole topic: pp. 221).
    “We can also solve this equation by multiplying both sides by −1 and also by taking the opposite of both sides.”
    Used for: an equation −x = b can be solved by dividing or multiplying both sides by −1, or by taking the opposite of both sides.
  8. 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.2, “Solve Equations using the Division and Multiplication Properties of Equality” (“Solve Equations Using the Division and Multiplication Properties of Equality”), p. 220 (the whole topic: pp. 218–224).
    “If you multiply both sides of an equation by the same number, you still have equality.”
    Used for: multiplying both sides by the same number keeps the equality.