Absolute value equations
A number is a certain distance from zero, but nobody says which side. How do you find it?
Where you are 11 in Linear equations
When you reach for it
The absolute value |x| is how far x sits from 0 on the number line, with no regard for which side. So the equation
asks: which numbers are 5 away from 0? There are two, one on each side: x = 5 and x = -5. Both make the sentence true, since |5| = 5 and |-5| = 5. The pair is often written x = \pm 5.
Reach for this move whenever the unknown sits inside absolute value bars: a score that is a certain number of points from a target, a loaf baked a certain number of minutes longer or shorter than the recipe says, a point a given distance from another point. Each of these states how far, and leaves out which way, so each has two candidate answers, one for each direction.
The procedure
Why there are two cases
Absolute value has a two-part rule: |u| = u when u \ge 0, and |u| = -u when u < 0. (The absolute value graph draws that rule as a V.) Suppose d is a positive number and |u| = d. Either u \ge 0, and then u = d; or u < 0, and then -u = d, which means u = -d. Going back the other way, both u = d and u = -d do have absolute value d. So, for any expression u and any number d > 0,
The absolute value equation becomes two ordinary linear equations, one for each side of the number line.
The size of d decides how many solutions there are:
- If d > 0, there are two cases, as above.
- If d = 0, the two cases are the same equation, u = 0, because -0 = 0. Only one number is at distance 0 from zero, namely zero itself.
- If d < 0, there is no solution. A distance is never negative, so |u| is never below 0 and cannot equal a negative number. Nothing needs to be solved: the right-hand side settles it.
Isolate the absolute value first
The rule above is about |u| standing alone on one side. In
the bars are multiplied by 2 and then have 3 added, so the rule does not apply yet. Undo those two operations, the same way as in any two-step equation, treating |x - 1| as a single unknown quantity. The properties of equality allow it: subtract 3 from both sides, then divide both sides by 2:
Now the bars stand alone and the right side is positive, so split into the two cases:
which give x = 5 or x = -3.
Reading |x - a| = d as a distance
The expression |x - a| is the distance between x and a on the number line. So |x - 1| = 4 asks for the points at distance 4 from 1: one is 4 to the right, at 5, and one is 4 to the left, at -3. That is the same pair the algebra found.
The picture also shows where the solutions lie: always symmetric about a, which is their midpoint. A sum inside the bars, such as |x + 2|, measures distance from a negative number: because x + 2 = x - (-2), |x + 2| is the distance from x to -2.
Checking both answers
A solution is a number that makes the original sentence true, so check each one by putting it back into the equation you started with, not into a later line:
Both are true. Inside the bars, the two answers give opposite numbers, 4 and -4, and the bars turn both into 4. That is exactly why both work.
Worked examples
Three right-hand sides
Solve (a) |t| = 12 \qquad (b) |t - 6| = 0 \qquad (c) |t| = -12
Solution(a) The bars stand alone and 12 > 0, so there are two cases: t = 12 or t = -12, that is, t = \pm 12. Both numbers are 12 from zero.
(b) The right side is 0. The only number with absolute value 0 is 0, so t - 6 = 0 and t = 6. There is one solution: the only point at distance 0 from 6 is 6 itself.
(c) An absolute value is a distance and is never negative, so no number has absolute value -12. The equation has no solution. There is no need to split it; splitting would produce t = -12 or t = 12, and neither satisfies the equation, since both have absolute value 12, not -12.
Isolate, then split
Solve 3|x + 2| - 5 = 16.
SolutionThe bars are not alone yet. Add 5 to both sides, then divide both sides by 3:
The right side is positive, so split:
Subtracting 2 from both sides of each gives x = 5 or x = -9.
Check in the original: 3|5 + 2| - 5 = 3 \cdot 7 - 5 = 16, and 3|-9 + 2| - 5 = 3 \cdot 7 - 5 = 16. Both are true. As distances: |x + 2| = |x - (-2)|, so these are the two points 7 away from -2, at -2 + 7 = 5 and -2 - 7 = -9.
A coefficient inside the bars
Solve |2x + 3| = 11.
SolutionThe bars already stand alone, and 11 > 0. The whole expression 2x + 3 plays the part of u, so it equals 11 or -11:
Check: |2 \cdot 4 + 3| = |11| = 11 and |2 \cdot (-7) + 3| = |-11| = 11.
The two answers are not symmetric about -3. Factoring out the 2, \displaystyle 2x + 3 = 2\left(x + \frac{3}{2}\right), and the absolute value of a product is the product of the absolute values, so the equation says \displaystyle 2\left|x + \frac{3}{2}\right| = 11, that is, \displaystyle \left|x - \left(-\frac{3}{2}\right)\right| = \frac{11}{2}. The solutions are the points 5.5 from -1.5, and indeed -1.5 + 5.5 = 4 and -1.5 - 5.5 = -7.
A negative number outside the bars, and one with no solution
Solve (a) 10 - 2|3x - 2| = 4 \qquad (b) 5|x - 6| + 9 = 1
Solution(a) Subtract 10 from both sides, then divide both sides by -2:
Dividing by a negative number is allowed in an equation; it is only inequalities that turn round. Now split:
Check: at \displaystyle x = \frac{5}{3}, 3x - 2 = 3 and 10 - 2 \cdot 3 = 4. At \displaystyle x = -\frac{1}{3}, 3x - 2 = -3, its absolute value is 3, and again 10 - 2 \cdot 3 = 4.
(b) Subtract 9, then divide by 5:
The right side is negative and a distance cannot be, so the equation has no solution. The original shows the same thing directly: 5|x - 6| is at least 0, so the left side is at least 9 and can never equal 1.
From distances to an equation, and back
(a) Write an absolute value equation for the numbers at distance 6.5 from -4, and solve it. (b) Find an equation of the form |x - a| = d whose solutions are -1 and 11.
Solution(a) The distance from x to -4 is |x - (-4)| = |x + 4|, so the equation is
Splitting, x + 4 = 6.5 gives x = 2.5, and x + 4 = -6.5 gives x = -10.5. On the number line, -4 + 6.5 = 2.5 and -4 - 6.5 = -10.5.
(b) The two solutions of |x - a| = d sit d to either side of a, so a is their midpoint and d is half the gap between them:
The equation is |x - 5| = 6. Check: |-1 - 5| = 6 and |11 - 5| = 6.
A loaf that may come out early or late
Lowell’s bread recipe says to bake the loaf for 25 minutes, and that it turns out fine if it comes out no more than 4 minutes early or late. Write and solve an equation for the baking times that are exactly at the limit.
SolutionLet t be the baking time in minutes, so the recipe’s time is t = 25. How far the baking time is from the recipe, in minutes, is |t - 25|, whichever way it is off. The limit is
Splitting, t - 25 = 4 gives t = 29 and t - 25 = -4 gives t = 21. The limits are 21 minutes (four minutes early) and 29 minutes (four minutes late).
Check: |29 - 25| = 4 and |21 - 25| = |-4| = 4. The equation finds only the two edges. The times in between, where |t - 25| < 4, are the baking times that work; describing the whole stretch at once is the job of absolute value inequalities.
Boundaries
- The two-case rule |u| = d \iff u = d or u = -d needs d \ge 0. When d < 0 there is no solution, and when d = 0 the two cases coincide.
- It applies only once the absolute value stands alone. A number multiplying the bars or added to them must be moved first, as in any linear equation.
- d must be a known number. If the unknown also appears outside the bars, as in |x| = x - 2, the sign of the right-hand side is unknown, a case can produce a number that fails, and checking in the original stops being a safeguard and becomes part of the solution (exercise 17).
- Inside the bars the expression here is linear. With x^2 inside, each case is a quadratic equation, and there may be more than two solutions.
Where this goes next
Change the equals sign to < or > and the two edge points become the ends of a stretch of the number line: absolute value inequalities find every point within, or beyond, a given distance. On the graph, the solutions of |x - a| = d are where the horizontal line y = d cuts the V of y = |x - a|, which is how transforming the absolute value graph reads the same equation. With absolute value on both sides, |x - 1| = |x - 7| asks for the point equally far from 1 and 7, which is the midpoint, x = 4. And the pattern of two cases returns in the square root property: x^2 = 9 gives x = \pm 3 for the same reason, since \displaystyle \sqrt{x^2} = |x|.
Exercises
Read the right-hand side
- Solve |a| = 14.
- Solve |a + 9| = 0.
- Solve |a| = -0.5.
- Solve |c - 7| = 11.
Isolate, then split
- Solve |x| - 6 = 10.
- Solve 4|x - 5| = 28.
- Solve 2|x + 6| + 1 = 15.
- Solve |3x - 4| = 11.
- Solve |5 - 2x| = 3.
- Solve 6 - |x + 1| = -3.
- Solve \displaystyle \left|\frac{x}{2} - 1\right| + 4 = 7.
- Solve 3|2x + 1| + 10 = 4.
Distance on the number line
- Write an absolute value equation whose solutions are the numbers at distance 2.5 from 6, and solve it.
- Find an equation of the form |x - a| = d whose solutions are -7 and 3.
Problems
- A class sets a target of 80 points on a quiz. Mabli’s score is 6 points away from the target. Write an absolute value equation for her score s and find the two possible scores.
- A straight footpath has distance markers in meters. A bench stands at the 120 m marker, and Imelda is standing 35 m from the bench, on the path. Write and solve an equation for her marker p.
Reasoning
- Solve |x| = x - 2 by splitting into the cases x \ge 0 and x < 0, and check what you find. Explain why the equation has no solution.
- Explain why |x - 3| = -2 has no solution while |x| - 3 = -2 has two, and find them.
Answers
- a = 14 or a = -14. Both are 14 from zero.
- a = -9. Absolute value 0 forces a + 9 = 0.
- No solution. An absolute value is never negative.
- c = 18 or c = -4. c - 7 = 11 or c - 7 = -11: the points 11 from 7.
- x = 16 or x = -16. Add 6: |x| = 16.
- x = 12 or x = -2. Divide by 4: |x - 5| = 7, so x - 5 = \pm 7.
- x = 1 or x = -13. Subtract 1 and divide by 2: |x + 6| = 7, so x + 6 = \pm 7.
- x = 5 or \displaystyle x = -\frac{7}{3}. 3x - 4 = 11 gives 3x = 15; 3x - 4 = -11 gives 3x = -7.
- x = 1 or x = 4. 5 - 2x = 3 gives x = 1; 5 - 2x = -3 gives -2x = -8, so x = 4.
- x = 8 or x = -10. Subtract 6: -|x + 1| = -9, so |x + 1| = 9 and x + 1 = \pm 9.
- x = 8 or x = -4. Subtract 4: \displaystyle \left|\frac{x}{2} - 1\right| = 3. Then \displaystyle \frac{x}{2} = 4 or \displaystyle \frac{x}{2} = -2.
- No solution. 3|2x + 1| = -6 gives |2x + 1| = -2, and an absolute value cannot be negative.
- |x - 6| = 2.5, with solutions x = 8.5 and x = 3.5, that is, 6 + 2.5 and 6 - 2.5.
- |x + 2| = 5, that is, |x - (-2)| = 5. The midpoint is \displaystyle a = \frac{-7 + 3}{2} = -2 and the half-gap is \displaystyle d = \frac{3 - (-7)}{2} = 5. Check: |-7 + 2| = 5 and |3 + 2| = 5.
- |s - 80| = 6, so s = 86 or s = 74. One score is 6 above the target and one is 6 below.
- |p - 120| = 35, so p = 155 or p = 85. She is either 35 m past the bench or 35 m before it.
- No solution. If x \ge 0, then |x| = x and the equation reads x = x - 2, so 0 = -2, which is false. If x < 0, then |x| = -x and -x = x - 2 gives x = 1; but 1 is not negative, so it does not belong to this case, and indeed |1| = 1 while 1 - 2 = -1. Neither case gives a solution. The reason: x - 2 < x \le |x| for every number x, so the right side is always smaller than the left.
- |x - 3| = -2 has no solution; |x| - 3 = -2 has x = 1 or x = -1. In |x - 3| = -2 the absolute value already stands alone and equals a negative number, which no distance can be. In |x| - 3 = -2 the bars are not alone; adding 3 gives |x| = 1, whose right side is positive, so x = 1 or x = -1. The sign that decides is the one on the right after the absolute value is isolated, not the one in the original.