PrecalculusXYZ Homework Edition

⇩ Download ▾

2.2 Absolute Value Functions

There are a few ways to describe what is meant by the absolute value | x | of a real number x . You may have been taught that | x | is the distance from the real number x to 0 on the number line. So, for example, | 5 | = 5 and | 5 | = 5 , since each is 5 units from 0 on the number line.

Coordinate-plane figure.
Figure 2.25

Another way to define absolute value is by the equation | x | = x 2 . Using this definition, we have | 5 | = ( 5 ) 2 = 25 = 5 and | 5 | = ( 5 ) 2 = 25 = 5 . The long and short of both of these procedures is that | x | takes negative real numbers and assigns them to their positive counterparts while it leaves positive numbers alone. This last description is the one we shall adopt, and is summarized in the following definition.

In Definition 2.4, we define | x | using a piecewise-defined function. (See page in Section 1.4.) To check that this definition agrees with what we previously understood as absolute value, note that since 5 0 , to find | 5 | we use the rule | x | = x , so | 5 | = 5 . Similarly, since 5 < 0 , we use the rule | x | = x , so that | 5 | = ( 5 ) = 5 . This is one of the times when it's best to interpret the expression ` x ' as `the opposite of x ' as opposed to `negative x '. Before we begin studying absolute value functions, we remind ourselves of the properties of absolute value.

Interactive figurey = a|x − h| + k: the V keeps its corner at (h, k)Drag the Steepness a, Corner x-coordinate h and Corner y-coordinate k sliders.
A dashed V with its corner at the origin sits behind a solid V whose corner is a marked point positioned by two sliders, while a third slider makes the solid V's arms steeper or shallower and flips the V to open downward when it goes negative. Sliding the corner around the grid moves the solid V rigidly, changing the steepness spreads or narrows the two arms symmetrically about the vertical line through the corner, and every setting keeps the two arms mirror images of each other. Adjustable parameters: Steepness a (a) = 1, Corner x-coordinate h (h) = 0, Corner y-coordinate k (k) = 0. Viewing window: x from -11.18 to 11.18, y from -5.91 to 7.91.
XYZ Graph · viewer build 5edf91b
The dashed gray V is y = |x|, the parent of every absolute value function in this section, with its corner at the origin. The solid V is a|x − h| + k: the marked corner sits at (h, k), so h and k relocate it, a changes the steepness of both arms, and a negative a turns the V upside down. Because |x − h| is a distance, the graph is symmetric about the vertical line x = h no matter how the other dials are set, which is the picture behind solving |x − h| = c by walking c units to either side of h.

The proofs of the Product and Quotient Rules in Theorem 2.1 boil down to checking four cases: when both a and b are positive; when they are both negative; when one is positive and the other is negative; and when one or both are zero.

For example, suppose we wish to show that | a b | = | a | | b | . We need to show that this equation is true for all real numbers a and b . If a and b are both positive, then so is a b . Hence, | a | = a , | b | = b and | a b | = a b . Hence, the equation | a b | = | a | | b | is the same as a b = a b which is true. If both a and b are negative, then a b is positive. Hence, | a | = a , | b | = b and | a b | = a b . The equation | a b | = | a | | b | becomes a b = ( a ) ( b ) , which is true. Suppose a is positive and b is negative. Then a b is negative, and we have | a b | = a b , | a | = a and | b | = b . The equation | a b | = | a | | b | reduces to a b = a ( b ) which is true. A symmetric argument shows the equation | a b | = | a | | b | holds when a is negative and b is positive. Finally, if either a or b (or both) are zero, then both sides of | a b | = | a | | b | are zero, so the equation holds in this case, too. All of this rhetoric has shown that the equation | a b | = | a | | b | holds true in all cases.

The proof of the Quotient Rule is very similar, with the exception that b 0 . The Power Rule can be shown by repeated application of the Product Rule. The `Equality Properties' can be proved using Definition 2.4 and by looking at the cases when x 0 , in which case | x | = x , or when x < 0 , in which case | x | = x . For example, if c > 0 , and | x | = c , then if x 0 , we have x = | x | = c . If, on the other hand, x < 0 , then x = | x | = c , so x = c . The remaining properties are proved similarly and are left for the Exercises. Our first example reviews how to solve basic equations involving absolute value using the properties listed in Theorem 2.1.

Next, we turn our attention to graphing absolute value functions. Our strategy in the next example is to make liberal use of Definition 2.4 along with what we know about graphing linear functions (from Section 2.1) and piecewise-defined functions (from Section 1.4).

Note that all of the functions in the previous example bear the characteristic ` ' shape of the graph of y = | x | . We could have graphed the functions g , h and i in Example 2.2.2 starting with the graph of f ( x ) = | x | and applying transformations as in Section 1.7 as our next example illustrates.

While the methods in Section 1.7 can be used to graph an entire family of absolute value functions, not all functions involving absolute values posses the characteristic ` ' shape. As the next example illustrates, often there is no substitute for appealing directly to the definition.

Many of the applications that the authors are aware of involving absolute values also involve absolute value inequalities. For that reason, we save our discussion of applications for Section 2.4.

Exercises

In Exercises -, solve the equation.

  1. | x | = 6
  2. | 3 x 1 | = 10
  3. | 4 x | = 7
  4. 4 | x | = 3
  5. 2 | 5 x + 1 | 3 = 0
  6. | 7 x 1 | + 2 = 0
  7. 5 | x | 2 = 1
  8. 2 3 | 5 2 x | 1 2 = 5
  9. | x | = x + 3
  10. | 2 x 1 | = x + 1
  11. 4 | x | = 2 x + 1
  12. | x 4 | = x 5
  13. | x | = x 2
  14. | x | = 12 x 2
  15. | x 2 1 | = 3

Prove that if | f ( x ) | = | g ( x ) | then either f ( x ) = g ( x ) or f ( x ) = g ( x ) . Use that result to solve the equations in Exercises -.

  1. | 3 x 2 | = | 2 x + 7 |
  2. | 3 x + 1 | = | 4 x |
  3. | 1 2 x | = | x + 1 |
  4. | 4 x | | x + 2 | = 0
  5. | 2 5 x | = 5 | x + 1 |
  6. 3 | x 1 | = 2 | x + 1 |

In Exercises -, graph the function. Find the zeros of each function and the x - and y -intercepts of each graph, if any exist. From the graph, determine the domain and range of each function, list the intervals on which the function is increasing, decreasing or constant, and find the relative and absolute extrema, if they exist.

  1. f ( x ) = | x + 4 |
  2. f ( x ) = | x | + 4
  3. f ( x ) = | 4 x |
  4. f ( x ) = 3 | x |
  5. f ( x ) = 3 | x + 4 | 4
  6. f ( x ) = 1 3 | 2 x 1 |
  7. f ( x ) = | x + 4 | x + 4
  8. f ( x ) = | 2 x | 2 x
  9. f ( x ) = x + | x | 3
  10. f ( x ) = | x + 2 | x
  11. f ( x ) = | x + 2 | | x |
  12. f ( x ) = | x + 4 | + | x 2 |
  13. With the help of your classmates, find an absolute value function whose graph is given below.

    Coordinate-plane figure.
    Figure 2.41
  14. With help from your classmates, prove the second, third and fifth parts of Theorem 2.1.
  15. Prove The Triangle Inequality: For all real numbers a and b , | a + b | | a | + | b | .

Answers

  1. x = 6 or x = 6
  2. x = 3 or x = 11 3
  3. x = 3 or x = 11
  4. x = 1 or x = 1
  5. x = 1 2 or x = 1 10
  6. no solution
  7. x = 3 or x = 3
  8. x = 13 8 or x = 53 8
  9. x = 3 2
  10. x = 0 or x = 2
  11. x = 1
  12. no solution
  13. x = 1 , x = 0 or x = 1
  14. x = 3 or x = 3
  15. x = 2 or x = 2
  16. x = 1 or x = 9
  17. x = 1 7 or x = 1
  18. x = 0 or x = 2
  19. x = 1
  20. x = 3 10
  21. x = 1 5 or x = 5
  22. f ( x ) = | x + 4 | f ( 4 ) = 0 x -intercept ( 4 , 0 ) y -intercept ( 0 , 4 ) Domain ( , ) Range [ 0 , ) Decreasing on ( , 4 ] Increasing on [ 4 , ) Relative and absolute min. at  ( 4 , 0 ) No relative or absolute maximum

    Coordinate-plane figure.
    Figure 2.42
  23. f ( x ) = | x | + 4 No zeros No x -intercepts y -intercept ( 0 , 4 ) Domain ( , ) Range [ 4 , ) Decreasing on ( , 0 ] Increasing on [ 0 , ) Relative and absolute minimum at ( 0 , 4 ) No relative or absolute maximum

    Coordinate-plane figure.
    Figure 2.43
  24. f ( x ) = | 4 x | f ( 0 ) = 0 x -intercept ( 0 , 0 ) y -intercept ( 0 , 0 ) Domain ( , ) Range [ 0 , ) Decreasing on ( , 0 ] Increasing on [ 0 , ) Relative and absolute minimum at ( 0 , 0 ) No relative or absolute maximum

    Coordinate-plane figure.
    Figure 2.44
  25. f ( x ) = 3 | x | f ( 0 ) = 0 x -intercept ( 0 , 0 ) y -intercept ( 0 , 0 ) Domain ( , ) Range ( , 0 ] Increasing on ( , 0 ] Decreasing on [ 0 , ) Relative and absolute maximum at ( 0 , 0 ) No relative or absolute minimum

    Coordinate-plane figure.
    Figure 2.45
  26. f ( x ) = 3 | x + 4 | 4 f ( 16 3 ) = 0 , f ( 8 3 ) = 0 x -intercepts ( 16 3 , 0 ) , ( 8 3 , 0 ) y -intercept ( 0 , 8 ) Domain ( , ) Range [ 4 , ) Decreasing on ( , 4 ] Increasing on [ 4 , ) Relative and absolute min. at  ( 4 , 4 ) No relative or absolute maximum

    Coordinate-plane figure.
    Figure 2.46
  27. f ( x ) = 1 3 | 2 x 1 | f ( 1 2 ) = 0 x -intercepts ( 1 2 , 0 ) y -intercept ( 0 , 1 3 ) Domain ( , ) Range [ 0 , ) Decreasing on ( , 1 2 ] Increasing on [ 1 2 , ) Relative and absolute min. at ( 1 2 , 0 ) No relative or absolute maximum

    Coordinate-plane figure.
    Figure 2.47
  28. f ( x ) = | x + 4 | x + 4 No zeros No x -intercept y -intercept ( 0 , 1 ) Domain ( , 4 ) ( 4 , ) Range { 1 , 1 } Constant on ( , 4 ) Constant on ( 4 , ) Absolute minimum at every point ( x , 1 ) where x < 4 Absolute maximum at every point ( x , 1 ) where x > 4 Relative maximum AND minimum at every point on the graph

    Coordinate-plane figure.
    Figure 2.48
  29. f ( x ) = | 2 x | 2 x No zeros No x -intercept y -intercept ( 0 , 1 ) Domain ( , 2 ) ( 2 , ) Range { 1 , 1 } Constant on ( , 2 ) Constant on ( 2 , ) Absolute minimum at every point ( x , 1 ) where x > 2 Absolute maximum at every point ( x , 1 ) where x < 2 Relative maximum AND minimum at every point on the graph

    Coordinate-plane figure.
    Figure 2.49
  30. Re-write f ( x ) = x + | x | 3 as f ( x ) = { 3  if  x < 0 2 x 3  if  x 0 f ( 3 2 ) = 0 x -intercept ( 3 2 , 0 ) y -intercept ( 0 , 3 ) Domain ( , ) Range [ 3 , ) Increasing on [ 0 , ) Constant on ( , 0 ] Absolute minimum at every point ( x , 3 ) where x 0 No absolute maximum Relative minimum at every point ( x , 3 ) where x 0 Relative maximum at every point ( x , 3 ) where x < 0

    Coordinate-plane figure.
    Figure 2.50
  31. Re-write f ( x ) = | x + 2 | x as f ( x ) = { 2 x 2  if  x < 2 2  if  x 2 No zeros No x -intercepts y -intercept ( 0 , 2 ) Domain ( , ) Range [ 2 , ) Decreasing on ( , 2 ] Constant on [ 2 , ) Absolute minimum at every point ( x , 2 ) where x 2 No absolute maximum Relative minimum at every point ( x , 2 ) where x 2 Relative maximum at every point ( x , 2 ) where x > 2

    Coordinate-plane figure.
    Figure 2.51
  32. Re-write f ( x ) = | x + 2 | | x | as f ( x ) = { 2  if  x < 2 2 x + 2  if  2 x < 0 2  if  x 0 f ( 1 ) = 0 x -intercept ( 1 , 0 ) y -intercept ( 0 , 2 ) Domain ( , ) Range [ 2 , 2 ] Increasing on [ 2 , 0 ] Constant on ( , 2 ] Constant on [ 0 , ) Absolute minimum at every point ( x , 2 ) where x 2 Absolute maximum at every point ( x , 2 ) where x 0 Relative minimum at every point ( x , 2 ) where x 2 and at every point ( x , 2 ) where x > 0 Relative maximum at every point ( x , 2 ) where x < 2 and at every point ( x , 2 ) where x 0

    Coordinate-plane figure.
    Figure 2.52
  33. Re-write f ( x ) = | x + 4 | + | x 2 | as f ( x ) = { 2 x 2  if  x < 4 6  if  4 x < 2 2 x + 2  if  x 2 No zeros No x -intercept y -intercept ( 0 , 6 ) Domain ( , ) Range [ 6 , ) Decreasing on ( , 4 ] Constant on [ 4 , 2 ] Increasing on [ 2 , ) Absolute minimum at every point ( x , 6 ) where 4 x 2 No absolute maximum Relative minimum at every point ( x , 6 ) where 4 x 2 Relative maximum at every point ( x , 6 ) where 4 < x < 2

    Coordinate-plane figure.
    Figure 2.53
  34. f ( x ) = | | x | 4 |

Adapted from Precalculus, 3rd corrected edition, by Carl Stitz and Jeff Zeager (stitz-zeager.com), licensed under CC BY-NC-SA 3.0. Changes were made: reformatted as an accessible XYZ web edition. License: CC-BY-NC-SA-3.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.