Learning Objectives
In this section you will:
- Graph an absolute value function.
- Solve an absolute value equation.
- Solve an absolute value inequality.
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[latex]\text{ }f\left(x\right)=|x|,\text{ }[/latex]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.
Absolute Value Function
The absolute value function can be defined as a piecewise function
Example 1: Determine a Number within a Prescribed Distance
Describe all values[latex]\text{ }x\text{ }[/latex]within or including a distance of 4 from the number 5.
Analysis
Note that
So[latex]\text{ }|x-5|\le 4\text{ }[/latex]is equivalent to[latex]\text{ }1\le x\le 9.[/latex]
However, mathematicians generally prefer absolute value notation.
Try it #1
Describe all values[latex]\text{ }x\text{ }[/latex]within a distance of 3 from the number 2.
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[latex]\text{ }\text{±1%,}\text{ }±\text{5%,}\text{ }[/latex]or[latex]\text{ }±\text{10%}\text{.}[/latex]
Suppose we have a resistor rated at 680 ohms,[latex]\text{ }±5%.\text{ }[/latex]Use the absolute value function to express the range of possible values of the actual resistance.
Try it #2
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).
(Figure) shows the graph of[latex]\text{ }y=2|x–3|+4.\text{ }[/latex]The graph of[latex]\text{ }y=|x|\text{ }[/latex]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[latex]\text{ }\left(3,4\right)\text{ }[/latex]for this transformed function.
Example 3: Writing an Equation for an Absolute Value Function
Write an equation for the function graphed in (Figure).
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[latex]\text{ }x\text{ }[/latex]and[latex]\text{ }f\left(x\right).[/latex]
Now substituting in the point (1, 2)
Try it #3
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)).
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[latex]\text{ }8=|2x-6|,\text{ }[/latex]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[latex]\text{ }A\text{ }[/latex]and[latex]\text{ }B,\text{ }[/latex]an equation of the form[latex]\text{ }|A|=B,\text{ }[/latex]with[latex]\text{ }B\ge 0,\text{ }[/latex]will have solutions when[latex]\text{ }A=B\text{ }[/latex]or[latex]\text{ }A=-B.\text{ }[/latex]If[latex]\text{ }B<0,\text{ }[/latex]the equation[latex]\text{ }|A|=B\text{ }[/latex]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[latex]\text{ }|A|=B\text{ }[/latex]to write[latex]\text{ }A=B\text{ }[/latex]or[latex]\text{ }\mathrm{-A}=B,\text{ }[/latex]assuming[latex]\text{ }B>0.[/latex]
- Solve for[latex]\text{ }x.\text{ }[/latex]
Example 4: Finding the Zeros of an Absolute Value Function
For the function[latex]\text{ }f\left(x\right)=|4x+1|-7[/latex], find the values of [latex]x[/latex] such that [latex]\text{ }f\left(x\right)=0[/latex].
Try it #4
For the function[latex]\text{ }f\left(x\right)=|2x-1|-3,[/latex]find the values of[latex]\text{ }x\text{ }[/latex]such that[latex]\text{ }f\left(x\right)=0.[/latex]
Q&A
Should we always expect two answers when solving[latex]\text{ }|A|=B?[/latex]
No. We may find one, two, or even no answers. For example, there is no solution to[latex]\text{ }2+|3x-5|=1.[/latex]
How To
Given an absolute value equation, solve it.
- Isolate the absolute value term.
- Use[latex]\text{ }|A|=B\text{ }[/latex]to write[latex]\text{ }A=B\text{ }[/latex]or[latex]\text{ }A=\mathrm{-B}.[/latex]
- Solve for[latex]\text{ }x.[/latex]
example 5: Solving an Absolute Value Equation
Solve[latex]\text{ }1=4|x-2|+2.[/latex]
Q&A
In (Example), if[latex]\text{ }f\left(x\right)=1\text{ }[/latex]and[latex]\text{ }g\left(x\right)=4|x-2|+2\text{ }[/latex]were graphed on the same set of axes, would the graphs intersect?
No. The graphs of[latex]\text{ }f\text{ }[/latex]and[latex]\text{ }g\text{ }[/latex]would not intersect, as shown in (Figure). This confirms, graphically, that the equation[latex]\text{ }1=4|x-2|+2\text{ }[/latex]has no solution.
Try it #5
Find where the graph of the function[latex]\text{ }f\left(x\right)=-|x+2|+3\text{ }[/latex]intersects the horizontal and vertical axes.
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
where an expression[latex]\text{ }A\text{ }[/latex](and possibly but not usually[latex]\text{ }B[/latex]) depends on a variable[latex]\text{ }x.\text{ }[/latex]Solving the inequality means finding the set of all[latex]\text{ }x\text{ }[/latex]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
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[latex]\text{ }x\text{ }[/latex] such that the distance between[latex]\text{ }x\text{ }[/latex]and 600 is less than 200. We represent the distance between[latex]\text{ }x\text{ }[/latex] and 600 as[latex]\text{ }|x-600|.[/latex]
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.
How To
Given an absolute value inequality of the form[latex]\text{ }|x-A|\le B\text{ }[/latex]for real numbers[latex]\text{ }a\text{ }[/latex]and[latex]\text{ }b\text{ }[/latex]where[latex]\text{ }b\text{ }[/latex]is positive, solve the absolute value inequality algebraically.
- Find boundary points by solving[latex]\text{ }|x-A|=B.\text{ }[/latex]
- Test intervals created by the boundary points to determine where[latex]\text{ }|x-A|\le B.[/latex]
- Write the interval or union of intervals satisfying the inequality in interval, inequality, or set-builder notation.
Example 6: Solving an Absolute Value Inequality
Solve[latex]\text{ }|x\text{ }-5|\le 4.[/latex]
Analysis
For absolute value inequalities,
The[latex]\text{ }<\text{ }[/latex]or[latex]\text{ }>\text{ }[/latex]symbol may be replaced by[latex]\text{ }\le \text{ or }\ge .[/latex]
So, for this example, we could use this alternative approach.
Try it #6
Solve[latex]\text{ }|x+2|\le 6.[/latex]
How To
Given an absolute value function, solve for the set of inputs where the output is positive (or negative).
- Set the function equal to zero, and solve for the boundary points of the solution set.
- Use test points or a graph to determine where the function’s output is positive or negative.
Example 7: Using a Graphical Approach to Solve Absolute Value Inequalities
Given the function [latex]f\left(x\right)=-\frac{1}{2}|4x-5|+3,\text{ }[/latex] determine the [latex]x\text{-}[/latex]values for which the function values are negative.
Try it #7
Solve[latex]\text{ }-2|k-4|\le -6.[/latex]
Media:
Access these online resources for additional instruction and practice with absolute value.
Key Concepts
- The absolute value function is commonly used to measure distances between points. See (Figure).
- Applied problems, such as ranges of possible values, can also be solved using the absolute value function. See (Figure).
- The graph of the absolute value function resembles a letter V. It has a corner point at which the graph changes direction. See (Figure).
- 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 (Figure).
- An absolute value equation may have one solution, two solutions, or no solutions. See (Figure).
- An absolute value inequality is similar to an absolute value equation but takes the form [latex]\text{ }|A|<B,\text{ }\text{ }\text{ }|A|\le B,\text{ }\text{ }\text{ }\text{ }|A|>B,\text{ }\text{ }\text{or }\text{ }\text{ }|A|\ge B.[/latex]It can be solved by determining the boundaries of the solution set and then testing which segments are in the set. See (Figure).
- Absolute value inequalities can also be solved graphically. See (Figure).
Section Exercise
Verbal
1. How do you solve an absolute value equation?
2. How can you tell whether an absolute value function has two x-intercepts without graphing the function?
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?
4. How can you use the graph of an absolute value function to determine the x-values for which the function values are negative?
5. How do you solve an absolute value inequality algebraically?
Algebraic
6. Describe all numbers[latex]\text{ }x\text{ }[/latex]that are at a distance of 4 from the number 8. Express this using absolute value notation.
7. Describe all numbers[latex]\text{ }x\text{ }[/latex]that are at a distance of[latex]\text{ }\frac{1}{2}\text{ }[/latex]from the number −4. Express this using absolute value notation.
8. Describe the situation in which the distance that point[latex]\text{ }x\text{ }[/latex]is from 10 is at least 15 units. Express this using absolute value notation.
9. Find all function values[latex]\text{ }f\left(x\right)\text{ }[/latex]such that the distance from[latex]\text{ }f\left(x\right)\text{ }[/latex]to the value 8 is less than 0.03 units. Express this using absolute value notation.
For the following exercises, solve the equations below and express the answer using set notation.
10. [latex]|x+3|=9[/latex]
11. [latex]|6-x|=5[/latex]
12. [latex]|5x-2|=11[/latex]
13. [latex]|4x-2|=11[/latex]
14. [latex]2|4-x|=7[/latex]
15. [latex]3|5-x|=5[/latex]
16. [latex]3|x+1|-4=5[/latex]
17. [latex]5|x-4|-7=2[/latex]
18. [latex]0=-|x-3|+2[/latex]
19. [latex]2|x-3|+1=2[/latex]
20. [latex]|3x-2|=7[/latex]
21. [latex]|3x-2|=-7[/latex]
22. [latex]|\frac{1}{2}x-5|=11[/latex]
23. [latex]|\frac{1}{3}x+5|=14[/latex]
24. [latex]-|\frac{1}{3}x+5|+14=0[/latex]
For the following exercises, find the x– and y-intercepts of the graphs of each function.
25. [latex]f\left(x\right)=2|x+1|-10[/latex]
26. [latex]f\left(x\right)=4|x-3|+4[/latex]
27. [latex]f\left(x\right)=-3|x-2|-1[/latex]
28. [latex]f\left(x\right)=-2|x+1|+6[/latex]
For the following exercises, solve each inequality and write the solution in interval notation.
29. [latex]|x-2|>10[/latex]
30. [latex]2|v-7|-4\ge 42[/latex]
31. [latex]|3x-4|\le 8[/latex]
32. [latex]|x-4|\ge 8[/latex]
33. [latex]|3x-5|\ge 13[/latex]
34. [latex]|3x-5|\ge -13[/latex]
35. [latex]|\frac{3}{4}x-5|\ge 7[/latex]
36. [latex]|\frac{3}{4}x-5|+1\le 16[/latex]
Graphical
For the following exercises, graph the absolute value function. Plot at least five points by hand for each graph.
37. [latex]y=|x-1|[/latex]
38. [latex]y=|x+1|[/latex]
39. [latex]y=|x|+1[/latex]
For the following exercises, graph the given functions by hand.
40. [latex]y=|x|-2[/latex]
41. [latex]y=-|x|[/latex]
42. [latex]y=-|x|-2[/latex]
43. [latex]y=-|x-3|-2[/latex]
44. [latex]f\left(x\right)=-|x-1|-2[/latex]
45. [latex]f\left(x\right)=-|x+3|+4[/latex]
46. [latex]f\left(x\right)=2|x+3|+1[/latex]
47. [latex]f\left(x\right)=3|x-2|+3[/latex]
48. [latex]f\left(x\right)=|2x-4|-3[/latex]
49. [latex]f\left(x\right)=|3x+9|+2[/latex]
50. [latex]f\left(x\right)=-|x-1|-3[/latex]
51. [latex]f\left(x\right)=-|x+4|-3[/latex]
52. [latex]f\left(x\right)=\frac{1}{2}|x+4|-3[/latex]
Technology
53. Use a graphing utility to graph [latex]f\left(x\right)=10|x-2|[/latex] on the viewing window [latex]\left[0,4\right].[/latex] Identify the corresponding range. Show the graph.
54. Use a graphing utility to graph[latex]\text{ }f\left(x\right)=-100|x|+100\text{ }[/latex]on the viewing window[latex]\text{ }\left[-5,5\right].\text{ }[/latex]Identify the corresponding range. Show the graph.
For the following exercises, graph each function using a graphing utility. Specify the viewing window.
55. [latex]f\left(x\right)=-0.1|0.1\left(0.2-x\right)|+0.3[/latex]
56. [latex]f\left(x\right)=4×{10}^{9}|x-\left(5×{10}^{9}\right)|+2×{10}^{9}[/latex]
Extensions
For the following exercises, solve the inequality.
57. [latex]|-2x-\frac{2}{3}\left(x+1\right)|+3>-1[/latex]
58. If possible, find all values of [latex]a[/latex] such that there are no [latex]x\text{-}[/latex]intercepts for [latex]f\left(x\right)=2|x+1|+a.[/latex]
59. If possible, find all values of[latex]\text{ }a\text{ }[/latex]such that there are no [latex]\text{ }y[/latex]-intercepts for[latex]\text{ }f\left(x\right)=2|x+1|+a.[/latex]
Real-World Applications
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[latex]\text{ }x\text{ }[/latex]represents the distance from city B to city A, express this using absolute value notation.
61. The true proportion[latex]\text{ }p\text{ }[/latex]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.
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[latex]\text{ }x\text{ }[/latex]for the score.
63. A machinist must produce a bearing that is within 0.01 inches of the correct diameter of 5.0 inches. Using[latex]\text{ }x\text{ }[/latex]as the diameter of the bearing, write this statement using absolute value notation.
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[latex]\text{ }x\text{ }[/latex]inches, express the tolerance using absolute value notation.
Glossary
- absolute value equation
- an equation of the form[latex]\text{ }|A|=B,\text{ }[/latex]with[latex]\text{ }B\ge 0;\text{ }[/latex]it will have solutions when[latex]\text{ }A=B\text{ }[/latex]or[latex]\text{ }A=-B[/latex]
- absolute value inequality
- a relationship in the form[latex]|A|<B,\text{ }\text{ }\text{ }|A|\le B,\text{ }\text{ }\text{ }\text{ }|A|>B,\text{ }\text{ }\text{or }\text{ }\text{ }|A|\ge B[/latex]