Solve an absolute value equation

Now that we can graph an absolute value function, we will learn how to solve an absolute value equation. To solve an equation such as 8=|2x6|, we notice that the absolute value will be equal to 8 if the quantity inside the absolute value is 8 or -8. This leads to two different equations we can solve independently.

2x6=8or2x6=82x=142x=2x=7x=1

Knowing how to solve problems involving absolute value functions is useful. For example, we may need to identify numbers or points on a line that are at a specified distance from a given reference point.

An absolute value equation is an equation in which the unknown variable appears in absolute value bars. For example,

|x|=4,|2x1|=3|5x+2|4=9

A General Note: Solutions to Absolute Value Equations

For real numbers A and B, an equation of the form |A|=B, with B0, will have solutions when A=B or A=B. If B<0, the equation |A|=B has no solution.

How To: Given the formula for an absolute value function, find the horizontal intercepts of its graph.

  1. Isolate the absolute value term.
  2. Use |A|=B to write A=B or A=B, assuming B>0.
  3. Solve for x.

Example 4: Finding the Zeros of an Absolute Value Function

For the function f(x)=|4x+1|7 , find the values of x such that  f(x)=0 .

Solution

⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪0=|4x+1|7Substitute 0 for f(x).7=|4x+1|Isolate the absolute value on one side of the equation.7=4x+1or7=4x+1Break into two separate equations and solve.6=4x8=4xx=64=1.5 x=84=2

Graph an absolute function with x-intercepts at -2 and 1.5.

Figure 9

The function outputs 0 when x=1.5 or x=2.

Try It 4

For the function f(x)=|2x1|3, find the values of x such that f(x)=0.

Solution

Q & A

Should we always expect two answers when solving |A|=B?

No. We may find one, two, or even no answers. For example, there is no solution to 2+|3x5|=1.

How To: Given an absolute value equation, solve it.

  1. Isolate the absolute value term.
  2. Use |A|=B to write A=B or A=B.
  3. Solve for x.

Example 5: Solving an Absolute Value Equation

Solve 1=4|x2|+2.

Solution

Isolating the absolute value on one side of the equation gives the following.

1=4|x2|+21=4|x2|14=|x2|

The absolute value always returns a positive value, so it is impossible for the absolute value to equal a negative value. At this point, we notice that this equation has no solutions.

Q & A

In Example 5, if f(x)=1 and g(x)=4|x2|+2 were graphed on the same set of axes, would the graphs intersect?

No. The graphs of f and g would not intersect. This confirms, graphically, that the equation 1=4|x2|+2 has no solution.

Graph of g(x)=4|x-2|+2 and f(x)=1.

Figure 10

Try It 5

Find where the graph of the function f(x)=|x+2|+3 intersects the horizontal and vertical axes.

Solution