Math Core

Lesson 2.7 · Solving Equations

Absolute value equations

Every equation in this unit so far has had at most one solution (apart from identities). Absolute value equations are different: ∣x∣=5|x| = 5 has two solutions, 55 and −5-5. Learning to find both, and to spot when there are none, is the last piece of this unit and sets up absolute value inequalities in the next.

Absolute value as distance

Recall that the absolute value ∣a∣|a| is the distance from aa to 00 on the number line. Distance is never negative, so ∣a∣≥0|a| \ge 0 for every real number aa.

So what does ∣x∣=5|x| = 5 ask? It asks for every number that is 55 units from 00. There are two of them, one on each side:

−7−6−5−4−3−2−101234567
Both -5 and 5 are 5 units from 0.

The solutions are x=5x = 5 and x=−5x = -5, often written x=±5x = \pm 5.

The same idea works for ∣x−3∣=7|x - 3| = 7. The expression ∣x−3∣|x - 3| is the distance between xx and 33, so the equation asks for the numbers 77 units from 33. Counting 77 each way from 33 gives 1010 and −4-4.

−6−5−4−3−2−10123456789101112
-4 and 10 are each 7 units from 3.

The two-case method

Picturing distance is great for simple equations, but you need an algebraic method for harder ones. If the absolute value of something equals cc, then that something is either cc or −c-c.

Solving an absolute value equation

  1. Isolate the absolute value, so the equation looks like ∣A∣=c|A| = c.
  2. Look at cc:
    • If c>0c > 0, write two equations, A=cA = c and A=−cA = -c, and solve each. There are two solutions.
    • If c=0c = 0, solve A=0A = 0. There is one solution.
    • If c<0c < 0, there is no solution, because an absolute value can't be negative.
  3. Check each answer in the original equation.

Worked example: Two cases

Solve ∣x−3∣=7|x - 3| = 7.

The absolute value is already isolated, and 7>07 > 0, so split into two cases:

x−3=7x−3=−7x=10x=−4\begin{aligned} x - 3 &= 7 & \qquad\qquad x - 3 &= -7 \\ x &= 10 & x &= -4 \end{aligned}

Check: ∣10−3∣=∣7∣=7|10 - 3| = |7| = 7 ✓ and ∣−4−3∣=∣−7∣=7|-4 - 3| = |-7| = 7 ✓. The solutions are x=10x = 10 and x=−4x = -4, matching the number line above.

Isolate first

If there are other operations outside the absolute value bars, undo them first, exactly as in a two-step equation. Treat ∣x+1∣|x + 1| as a single block until it is alone.

Worked example: Isolate, then split

Solve 2∣x+1∣−5=92|x + 1| - 5 = 9.

2∣x+1∣−5=92∣x+1∣=14add 5∣x+1∣=7divide by 2\begin{aligned} 2|x + 1| - 5 &= 9 \\ 2|x + 1| &= 14 && \text{add } 5 \\ |x + 1| &= 7 && \text{divide by } 2 \end{aligned}

Now split into two cases:

x+1=7x+1=−7x=6x=−8\begin{aligned} x + 1 &= 7 & \qquad\qquad x + 1 &= -7 \\ x &= 6 & x &= -8 \end{aligned}

Check: 2∣7∣−5=92|7| - 5 = 9 ✓ and 2∣−7∣−5=92|-7| - 5 = 9 ✓. The solutions are 66 and −8-8.

Common mistake

Don't split into cases before isolating the absolute value. From 2∣x+1∣−5=92|x + 1| - 5 = 9, writing 2(x+1)−5=−92(x + 1) - 5 = -9 as the second case is wrong: the negative belongs only to what's inside the bars, and only once ∣x+1∣|x + 1| is alone. Also, you can't "distribute" into absolute value bars: 2∣x+1∣2|x + 1| is not ∣2x+1∣|2x + 1| or 2∣x∣+22|x| + 2.

One solution or none

Worked example: Special cases

Solve each equation.

  1. ∣3x−6∣+4=1|3x - 6| + 4 = 1
  2. ∣2x+8∣=0|2x + 8| = 0

Solutions.

  1. Isolate: ∣3x−6∣=−3|3x - 6| = -3. An absolute value is a distance, and a distance can't be −3-3. There is no solution.
  2. The only number with absolute value 00 is 00 itself, so 2x+8=02x + 8 = 0. Then 2x=−82x = -8 and x=−4x = -4. There is exactly one solution.

Tip

Always check both answers in the original equation. In this course the two-case method gives correct answers as long as you isolate first, but checking catches arithmetic slips, and in later courses (when variables appear on both sides of an absolute value equation) some "answers" really do fail the check.

Tolerance problems

Absolute value is the natural way to describe "within a certain amount of a target." If a part should be 4040 mm long, give or take 0.50.5 mm, then the length LL satisfies ∣L−40∣≤0.5|L - 40| \le 0.5. The two boundary lengths come from the equation ∣L−40∣=0.5|L - 40| = 0.5: L=40.5L = 40.5 and L=39.5L = 39.5. You'll work with the full inequality in the next unit.

Practice

Practice 1

Solve ∣x∣=12|x| = 12. Enter both solutions, separated by a comma.

Separate answers with commas, e.g. 2, -5

Practice 2

Solve ∣x+4∣=9|x + 4| = 9. Enter both solutions, separated by a comma.

Separate answers with commas, e.g. 2, -5

Practice 3

Solve ∣2x−1∣=11|2x - 1| = 11. Enter both solutions, separated by a comma.

Separate answers with commas, e.g. 2, -5

Practice 4

Solve 3∣n−2∣+2=203|n - 2| + 2 = 20. Enter both solutions, separated by a comma.

Separate answers with commas, e.g. 2, -5

Practice 5

How many solutions does ∣x+7∣+10=4|x + 7| + 10 = 4 have?

Practice 6

Solve ∣4x+12∣=0|4x + 12| = 0.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Solve −2∣x−5∣+3=−7-2|x - 5| + 3 = -7. Enter both solutions, separated by a comma.

Separate answers with commas, e.g. 2, -5

Practice 8

A machine fills bags of rice. A bag passes inspection if its weight ww is within 88 grams of 500500 grams. Solve ∣w−500∣=8|w - 500| = 8 to find the lightest and heaviest weights, in grams, that pass. Enter both, separated by a comma.

Separate answers with commas, e.g. 2, -5