### Learning Objectives

- Graph an absolute value function.
- Solve an absolute value equation.

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 continue our investigation of absolute value functions.

### Understanding Absolute Value

Recall that in its basic form$\text{\hspace{0.17em}}f(x)=\left|x\right|,\text{\hspace{0.17em}}$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. Knowing this, we can use absolute value functions to solve some kinds of real-world problems.

### Absolute Value Function

The absolute value function can be defined as a piecewise function

### Example 1

#### Using Absolute Value to Determine Resistance

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$\text{\hspace{0.17em}}\text{\xb11\%,}\text{\hspace{0.17em}}\pm \text{5\%,}\text{\hspace{0.17em}}$or$\text{\hspace{0.17em}}\pm \text{10\%}\text{.}$

Suppose we have a resistor rated at 680 ohms,$\text{\hspace{0.17em}}\pm 5\%.\text{\hspace{0.17em}}$Use the absolute value function to express the range of possible values of the actual resistance.

Students who score within 20 points of 80 will pass a test. Write this as a distance from 80 using absolute value notation.

### 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 2.

Figure 3 shows the graph of$\text{\hspace{0.17em}}y=2\left|x\u20133\right|+4.\text{\hspace{0.17em}}$The graph of$\text{\hspace{0.17em}}y=\left|x\right|\text{\hspace{0.17em}}$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$\text{\hspace{0.17em}}\left(3,4\right)\text{\hspace{0.17em}}$for this transformed function.

### Example 2

#### Writing an Equation for an Absolute Value Function Given a Graph

Write an equation for the function graphed in Figure 4.

#### 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.

### Q&A

**If we couldn’t observe the stretch of the function from the graphs, could we algebraically determine it?**

*Yes. If we are unable to determine the stretch based on the width of the graph, we can solve for the stretch factor by putting in a known pair of values for$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}f(x).$
*

*Now substituting in the point *(1, 2)

Write the equation for the absolute value function that is horizontally shifted left 2 units, is vertically flipped, and vertically shifted up 3 units.

### Q&A

**Do the graphs of absolute value functions always intersect the vertical axis? The horizontal axis?
**

*Yes, they always intersect the vertical axis. The graph of an absolute value function will intersect the vertical axis when the input is zero.
*

*No, they do not always intersect the horizontal axis. The graph may or may not intersect the horizontal axis, depending on how the graph has been shifted and reflected. It is possible for the absolute value function to intersect the horizontal axis at zero, one, or two points (see Figure 7).
*

### Solving an Absolute Value Equation

In Other Type of Equations, we touched on the concepts of absolute value equations. Now that we understand a little more about their graphs, we can take another look at these types of equations. 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$\text{\hspace{0.17em}}8=\left|2x-6\right|,\text{\hspace{0.17em}}$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.

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,

### Solutions to Absolute Value Equations

For real numbers $A$ and $B$, an equation of the form $\left|A\right|=B,$ with $B\ge 0,$ will have solutions when $A=B$ or $A=-B.$ If $B<0,$ the equation $\left|A\right|=B$ has no solution.

### How To

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

- Isolate the absolute value term.
- Use$\text{\hspace{0.17em}}\left|A\right|=B\text{\hspace{0.17em}}$to write$\text{\hspace{0.17em}}A=B\text{\hspace{0.17em}}$or$\text{\hspace{0.17em}}\mathrm{-A}=B,\text{\hspace{0.17em}}$assuming$\text{\hspace{0.17em}}B>0.$
- Solve for$\text{\hspace{0.17em}}x.\text{\hspace{0.17em}}$

### Example 3

#### Finding the Zeros of an Absolute Value Function

For the function$\text{\hspace{0.17em}}f(x)=|4x+1|-7,$find the values of$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$such that$\text{\hspace{0.17em}}f(x)=0.$

For the function$\text{\hspace{0.17em}}f(x)=\left|2x-1\right|-3,$find the values of$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$such that$\text{\hspace{0.17em}}f(x)=0.$

### Q&A

**Should we always expect two answers when solving$\text{\hspace{0.17em}}\left|A\right|=B?$**

*No. We may find one, two, or even no answers. For example, there is no solution to*
$\text{\hspace{0.17em}}2+\left|3x-5\right|=1.$

### Media

Access these online resources for additional instruction and practice with absolute value.

### 3.6 Section Exercises

#### Verbal

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

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?

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

#### Algebraic

Describe all numbers$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$that are at a distance of 4 from the number 8. Express this set of numbers using absolute value notation.

Describe all numbers$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$that are at a distance of$\text{\hspace{0.17em}}\frac{1}{2}\text{\hspace{0.17em}}$from the number −4. Express this set of numbers using absolute value notation.

Describe the situation in which the distance that point$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$is from 10 is at least 15 units. Express this set of numbers using absolute value notation.

Find all function values$\text{\hspace{0.17em}}f(x)\text{\hspace{0.17em}}$such that the distance from$\text{\hspace{0.17em}}f(x)\text{\hspace{0.17em}}$to the value 8 is less than 0.03 units. Express this set of numbers using absolute value notation.

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

$f(x)=-3\left|x-2\right|-1$

$f(x)=-5|x+2|+15$

$f(x)=|-2x+1|-13$

#### Graphical

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

$y=|x-1|$

$y=\left|x\right|+1$

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

$y=-\left|x\right|$

$y=-\left|x-3\right|-2$

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

$f(x)=3\left|x-2\right|+3$

$f\left(x\right)=\left|3x+9\right|+2$

$f(x)=-\left|x+4\right|-3$

#### Technology

Use a graphing utility to graph $f(x)=10|x-2|$ on the viewing window $\left[0,4\right].$ Identify the corresponding range. Show the graph.

Use a graphing utility to graph$\text{\hspace{0.17em}}f(x)=-100\left|x\right|+100\text{\hspace{0.17em}}$on the viewing window$\text{\hspace{0.17em}}\left[-5,5\right].\text{\hspace{0.17em}}$Identify the corresponding range. Show the graph.

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

$f(x)=-0.1\left|0.1(0.2-x)\right|+0.3$

$f(x)=4\times {10}^{9}\left|x-(5\times {10}^{9})\right|+2\times {10}^{9}$

#### Extensions

For the following exercises, solve the inequality.

If possible, find all values of $a$ such that there are no $x\text{-}$intercepts for $f(x)=2\left|x+1\right|+a.$

If possible, find all values of$\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$such that there are no $\text{\hspace{0.17em}}y$-intercepts for$\text{\hspace{0.17em}}f(x)=2\left|x+1\right|+a.$

#### Real-World Applications

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$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$represents the distance from city B to city A, express this using absolute value notation.

The true proportion$\text{\hspace{0.17em}}p\text{\hspace{0.17em}}$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.

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$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$for the score.

A machinist must produce a bearing that is within 0.01 inches of the correct diameter of 5.0 inches. Using$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$as the diameter of the bearing, write this statement using absolute value notation.

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$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$inches, express the tolerance using absolute value notation.