Precalculus 2e — Original English

Absolute Value Functions

The majestic Andromeda Galaxy (M31), our closest large galactic neighbor, with its faint spiral arms and bright core, surrounded by a myriad of stars in the vast cosmic expanse. Two smaller companion galaxies are also visible near M31.
Figure 1 Distances in deep space can be measured in all directions. As such, it is useful to consider distance in terms of absolute values. (credit: "s58y"/Flickr)

Until the 1920s, the so-called spiral nebulae were believed to be clouds of dust and gas in our own galaxy, some tens of thousands of light years away. Then, astronomer Edwin Hubble proved that these objects are galaxies in their own right, at distances of millions of light years. Today, astronomers can detect galaxies that are billions of light years away. Distances in the universe can be measured in all directions. As such, it is useful to consider distance as an absolute value function. In this section, we will investigate absolute value functions.

Understanding Absolute Value

Recall that in its basic form f(x)=| x |, the absolute value function, is one of our toolkit functions. The absolute value function is commonly thought of as providing the distance the number is from zero on a number line. Algebraically, for whatever the input value is, the output is the value without regard to sign.

Example 1

Determine a Number within a Prescribed Distance

Describe all values x within or including a distance of 4 from the number 5.

Solution

We want the distance between x and 5 to be less than or equal to 4. We can draw a number line, such as the one in Figure 2, to represent the condition to be satisfied.

Number line describing the difference of the distance of 4 away from 5.
Figure 2

The distance from x to 5 can be represented using the absolute value as | x5 |. We want the values of x that satisfy the condition | x5 |4.

Analysis

Note that

4x5 x54 1x x9

So | x5 |4 is equivalent to 1x9.

However, mathematicians generally prefer absolute value notation.

Example 2

Resistance of a Resistor

Electrical parts, such as resistors and capacitors, come with specified values of their operating parameters: resistance, capacitance, etc. However, due to imprecision in manufacturing, the actual values of these parameters vary somewhat from piece to piece, even when they are supposed to be the same. The best that manufacturers can do is to try to guarantee that the variations will stay within a specified range, often ±1%,±5%, or ±10%.

Suppose we have a resistor rated at 680 ohms, ±5%. Use the absolute value function to express the range of possible values of the actual resistance.

Solution

5% of 680 ohms is 34 ohms. The absolute value of the difference between the actual and nominal resistance should not exceed the stated variability, so, with the resistance R in ohms,

| R680 |34

Graphing an Absolute Value Function

The most significant feature of the absolute value graph is the corner point at which the graph changes direction. This point is shown at the origin in Figure 3.

Graph of an absolute function
Figure 3

Figure 4 shows the graph of y=2| x3 |+4. The graph of y=| x | has been shifted right 3 units, vertically stretched by a factor of 2, and shifted up 4 units. This means that the corner point is located at ( 3,4 ) for this transformed function.

Graph of the different types of transformations for an absolute function.
Figure 4
Example 3

Writing an Equation for an Absolute Value Function

Write an equation for the function graphed in Figure 5.

Graph of an absolute function.
Figure 5
Solution

The basic absolute value function changes direction at the origin, so this graph has been shifted to the right 3 units and down 2 units from the basic toolkit function. See Figure 6.

Graph of two transformations for an absolute function at (3, -2).
Figure 6

We also notice that the graph appears vertically stretched, because the width of the final graph on a horizontal line is not equal to 2 times the vertical distance from the corner to this line, as it would be for an unstretched absolute value function. Instead, the width is equal to 1 times the vertical distance as shown in Figure 7.

Graph of two transformations for an absolute function at (3, -2) and describes the ratios between the two different transformations.
Figure 7

From this information we can write the equation

f(x)=2|x3|2, treating the stretch as a vertical stretch, or f(x)=|2(x3)|2, treating the stretch as a horizontal compression.

Analysis

Note that these equations are algebraically equivalent—the stretch for an absolute value function can be written interchangeably as a vertical or horizontal stretch or compression. Note also that if the vertical stretch factor is negative, there is also a reflection about the x-axis.

Graph of the different types of transformations for an absolute function.
Figure 8 (a) The absolute value function does not intersect the horizontal axis. (b) The absolute value function intersects the horizontal axis at one point. (c) The absolute value function intersects the horizontal axis at two points.

Solving 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=8 or 2x6=8 2x=14 2x=2 x=7 x=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
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
A 3 by 3 table representing a completed game of tic tac toe in which neither player has won.
0=|4x+1|7 Substitute 0 for f(x).
7=|4x+1| Isolate the absolute value on one side of the equation.
7=4x+1 or 7=4x+1 6=4x 8=4x x= 6 4 =1.5    x= 8 4 =2 Break into two separate equations and solve.

The function outputs 0 when x=1.5 or x=2. See Figure 9.

Graph an absolute function with x-intercepts at -2 and 1.5.
Figure 9
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 |+2 1=4| x2 | 1 4 =| 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.

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

Solving an Absolute Value Inequality

Absolute value equations may not always involve equalities. Instead, we may need to solve an equation within a range of values. We would use an absolute value inequality to solve such an equation. An absolute value inequality is an equation of the form

|A|<B,|A|B,|A|>B,or|A|B,

where an expression A (and possibly but not usually B ) depends on a variable x. Solving the inequality means finding the set of all x that satisfy the inequality. Usually this set will be an interval or the union of two intervals.

There are two basic approaches to solving absolute value inequalities: graphical and algebraic. The advantage of the graphical approach is we can read the solution by interpreting the graphs of two functions. The advantage of the algebraic approach is it yields solutions that may be difficult to read from the graph.

For example, we know that all numbers within 200 units of 0 may be expressed as

| x |<200or200<x<200

Suppose we want to know all possible returns on an investment if we could earn some amount of money within $200 of $600. We can solve algebraically for the set of values x such that the distance between x and 600 is less than 200. We represent the distance between x and 600 as | x600 |.

|x600|<200    or    200<x600<200   200+600<x600+600<200+600                       400<x<800

This means our returns would be between $400 and $800.

Sometimes an absolute value inequality problem will be presented to us in terms of a shifted and/or stretched or compressed absolute value function, where we must determine for which values of the input the function’s output will be negative or positive.

Example 6

Solving an Absolute Value Inequality

Solve |x5|<4.

Solution

With both approaches, we will need to know first where the corresponding equality is true. In this case we first will find where | x5 |=4. We do this because the absolute value is a function with no breaks, so the only way the function values can switch from being less than 4 to being greater than 4 is by passing through where the values equal 4. Solve | x5 |=4.

x5=4 x=9 or x5=4 x=1

After determining that the absolute value is equal to 4 at x=1 and x=9, we know the graph can change only from being less than 4 to greater than 4 at these values. This divides the number line up into three intervals:

x<1,1<x<9, and  x>9.

To determine when the function is less than 4, we could choose a value in each interval and see if the output is less than or greater than 4, as shown in Table 1.

Table 1 Table describing the interval test for certain inequalities for x. So if x<1 and f(x)=0, then |0-5|>4. If1< x<9 and f(x)=6, then |6-5|<4. If x<9 and f(x)=11, then |11-5|>4.
Interval test x x <4 or >4?
x<1 0 | 05 |=5 Greater than
1<x<9 6 | 65 |=1 Less than
x>9 11 | 115 |=6 Greater than

Because 1<x<9 is the only interval in which the output at the test value is less than 4, we can conclude that the solution to | x5 |<4 is 1<x<9, or ( 1,9 ).

To use a graph, we can sketch the function f(x)=| x5 |. To help us see where the outputs are 4, the line g(x)=4 could also be sketched as in Figure 11.

Graph of an absolute function and a vertical line, demonstrating how to see what outputs are less than the vertical line.
Figure 11 Graph to find the points satisfying an absolute value inequality.

We can see the following:

  • The output values of the absolute value are equal to 4 at x=1 and x=9.
  • The graph of f is below the graph of g on 1<x<9. This means the output values of f(x) are less than the output values of g(x).
  • The absolute value is less than or equal to 4 between these two points, when 1<x<9. In interval notation, this would be the interval ( 1,9 ).

Analysis

For absolute value inequalities,

|xA|<C, |xA|>C, C<xA<C, xA<C or xA>C.

The < or > symbol may be replaced by  or .

So, for this example, we could use this alternative approach.

|x5|<4 4<x5<4 Rewrite by removing the absolute value bars. 4+5<x5+5<4+5 Isolate the x. 1<x<9
Example 7

Using a Graphical Approach to Solve Absolute Value Inequalities

Given the function f(x)= 1 2 | 4x5 |+3, determine the x- values for which the function values are negative.

Solution

We are trying to determine where f(x)<0, which is when 1 2 |4x5|+3<0. We begin by isolating the absolute value.

1 2 |4x5|<3 Multiply both sides by –2, and reverse the inequality. |4x5|>6

Next we solve for the equality | 4x5 |=6.

4x5=6   or 4x5=6 4x5=6 4x=1 x= 11 4 x= 1 4

Now, we can examine the graph of f to observe where the output is negative. We will observe where the branches are below the x-axis. Notice that it is not even important exactly what the graph looks like, as long as we know that it crosses the horizontal axis at x= 1 4 and x= 11 4 and that the graph has been reflected vertically. See Figure 12.

Graph of an absolute function with x-intercepts at -0.25 and 2.75.
Figure 12

We observe that the graph of the function is below the x-axis left of x= 1 4 and right of x= 11 4 . This means the function values are negative to the left of the first horizontal intercept at x= 1 4 , and negative to the right of the second intercept at x= 11 4 . This gives us the solution to the inequality.

x< 1 4 orx> 11 4

In interval notation, this would be ( ,0.25 )( 2.75, ).

Key Concepts

  • The absolute value function is commonly used to measure distances between points. See Example 1.
  • Applied problems, such as ranges of possible values, can also be solved using the absolute value function. See Example 2.
  • The graph of the absolute value function resembles a letter V. It has a corner point at which the graph changes direction. See Example 3.
  • In an absolute value equation, an unknown variable is the input of an absolute value function.
  • If the absolute value of an expression is set equal to a positive number, expect two solutions for the unknown variable. See Example 4.
  • An absolute value equation may have one solution, two solutions, or no solutions. See Example 5.
  • An absolute value inequality is similar to an absolute value equation but takes the form | A |<B,| A |B,| A |>B,or| A |B. It can be solved by determining the boundaries of the solution set and then testing which segments are in the set. See Example 6.
  • Absolute value inequalities can also be solved graphically. See Example 7.

Section Exercise

Verbal

Exercise 1

How do you solve an absolute value equation?

Solution

Isolate the absolute value term so that the equation is of the form |A|=B. Form one equation by setting the expression inside the absolute value symbol, A, equal to the expression on the other side of the equation, B. Form a second equation by setting A equal to the opposite of the expression on the other side of the equation, B. Solve each equation for the variable.

Exercise 2

How can you tell whether an absolute value function has two x-intercepts without graphing the function?

Exercise 3

When solving an absolute value function, the isolated absolute value term is equal to a negative number. What does that tell you about the graph of the absolute value function?

Solution

The graph of the absolute value function does not cross the x -axis, so the graph is either completely above or completely below the x -axis.

Exercise 4

How can you use the graph of an absolute value function to determine the x-values for which the function values are negative?

Exercise 5

How do you solve an absolute value inequality algebraically?

Solution

First determine the boundary points by finding the solution(s) of the equation. Use the boundary points to form possible solution intervals. Choose a test value in each interval to determine which values satisfy the inequality.

Algebraic

Exercise 6

Describe all numbers x that are at a distance of 4 from the number 8. Express this using absolute value notation.

Exercise 7

Describe all numbers x that are at a distance of 1 2 from the number −4. Express this using absolute value notation.

Solution

| x+4 |= 1 2

Exercise 8

Describe the situation in which the distance that point x is from 10 is at least 15 units. Express this using absolute value notation.

Exercise 9

Find all function values f(x) such that the distance from f(x) to the value 8 is less than 0.03 units. Express this using absolute value notation.

Solution

|f(x)8|<0.03

For the following exercises, solve the equations below and express the answer using set notation.

Exercise 10

|x+3|=9

Exercise 11

|6x|=5

Solution

{ 1,11 }

Exercise 12

|5x2|=11

Exercise 13

|4x2|=11

Solution

{ - 9 4 , 13 4 }

Exercise 14

2|4x|=7

Exercise 15

3|5x|=5

Solution

{ 10 3 , 20 3 }

Exercise 16

3|x+1|4=5

Exercise 17

5| x4 |7=2

Solution

{ 11 5 , 29 5 }

Exercise 18

0=| x3 |+2

Exercise 19

2| x3 |+1=2

Solution

{ 5 2 , 7 2 }

Exercise 20

| 3x2 |=7

Exercise 21

| 3x2 |=7

Solution

No solution

Exercise 22

| 1 2 x5 |=11

Exercise 23

| 1 3 x+5 |=14

Solution

{ 57,27 }

Exercise 24

| 1 3 x+5 |+14=0

For the following exercises, find the x- and y-intercepts of the graphs of each function.

Exercise 25

f(x)=2| x+1 |10

Solution

( 0,8 );( 6,0 ),( 4,0 )

Exercise 26

f(x)=4| x3 |+4

Exercise 27

f(x)=3| x2 |1

Solution

( 0,7 ); no x -intercepts

Exercise 28

f(x)=2| x+1 |+6

For the following exercises, solve each inequality and write the solution in interval notation.

Exercise 29

| x2 |>10

Solution

(,8)(12,)

Exercise 30

2| v7 |442

Exercise 31

| 3x4 |8

Solution

43,4

Exercise 32

| x4 |8

Exercise 33

| 3x5 |13

Solution

( , 8 3 ][ 6, )

Exercise 34

| 3x5 |13

Exercise 35

| 3 4 x5 |7

Solution

( , 8 3 ][ 16, )

Exercise 36

| 3 4 x5 |+116

Graphical

For the following exercises, graph the absolute value function. Plot at least five points by hand for each graph.

Exercise 37

y=|x1|

Solution
Graph of an absolute function with points at (-1, 2), (0, 1), (1, 0), (2, 1), and (3, 2).
Exercise 38

y=|x+1|

Exercise 39

y=|x|+1

Solution
Graph of an absolute function with points at (-2, 3), (-1, 2), (0, 1), (1, 2), and (2, 3).

For the following exercises, graph the given functions by hand.

Exercise 40

y=| x |2

Exercise 41

y=| x |

Solution
Graph of an absolute function.
Exercise 42

y=| x |2

Exercise 43

y=| x3 |2

Solution
Graph of an absolute function.
Exercise 44

f(x)=|x1|2

Exercise 45

f(x)=|x+3|+4

Solution
Graph of an absolute function.
Exercise 46

f(x)=2|x+3|+1

Exercise 47

f(x)=3| x2 |+3

Solution
Graph of an absolute function.
Exercise 48

f(x)=| 2x4 |3

Exercise 49

f( x )=| 3x+9 |+2

Solution
Graph of an absolute function.
Exercise 50

f(x)=| x1 |3

Exercise 51

f(x)=| x+4 |3

Solution
Graph of an absolute function.
Exercise 52

f(x)= 1 2 | x+4 |3

Technology

Exercise 53

Use a graphing utility to graph f(x)=10|x2| on the viewing window [ 0,4 ]. Identify the corresponding range. Show the graph.

Solution

range: [ 0,20 ]

Graph of an absolute function.
Exercise 54

Use a graphing utility to graph f(x)=100|x|+100 on the viewing window [ 5,5 ]. Identify the corresponding range. Show the graph.

For the following exercises, graph each function using a graphing utility. Specify the viewing window.

Exercise 55

f(x)=0.1| 0.1(0.2x) |+0.3

Solution

x- intercepts:

Graph of an absolute function.
Exercise 56

f(x)=4× 10 9 | x(5× 10 9 ) |+2× 10 9

Extensions

For the following exercises, solve the inequality.

Exercise 57

|2x 2 3 (x+1)|+3>−1

Solution

(,)

Exercise 58

If possible, find all values of a such that there are no x- intercepts for f(x)=2| x+1 |+a.

Exercise 59

If possible, find all values of a such that there are no y -intercepts for f(x)=2| x+1 |+a.

Solution

There is no solution for a that will keep the function from having a y -intercept. The absolute value function always crosses the y -intercept when x=0.

Real-World Applications

Exercise 60

Cities A and B are on the same east-west line. Assume that city A is located at the origin. If the distance from city A to city B is at least 100 miles and x represents the distance from city B to city A, express this using absolute value notation.

Exercise 61

The true proportion p of people who give a favorable rating to Congress is 8% with a margin of error of 1.5%. Describe this statement using an absolute value equation.

Solution

| p0.08 |0.015

Exercise 62

Students who score within 18 points of the number 82 will pass a particular test. Write this statement using absolute value notation and use the variable x for the score.

Exercise 63

A machinist must produce a bearing that is within 0.01 inches of the correct diameter of 5.0 inches. Using x as the diameter of the bearing, write this statement using absolute value notation.

Solution

| x5.0 |0.01

Exercise 64

The tolerance for a ball bearing is 0.01. If the true diameter of the bearing is to be 2.0 inches and the measured value of the diameter is x inches, express the tolerance using absolute value notation.

absolute value equation
an equation of the form | A |=B, with B0; it will have solutions when A=B or A=B
absolute value inequality
a relationship in the form | A |<B,| A |B,| A |>B,or| A |B