title | layout |
---|---|
Absolute Value Functions |
page |
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{: data-type="term" .no-emphasis}.
Recall that in its basic form f(x)=| x |,
the absolute value function, is one of our toolkit functions. The absolute value{: data-type="term" .no-emphasis} 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.
within or including a distance of 4 from the number 5.
and 5 to be less than or equal to 4. We can draw a number line, such as the one in [link], to represent the condition to be satisfied.
The distance from x
to 5 can be represented using the absolute value as | x−5 |.
We want the values of x
that satisfy the condition | x−5 |≤4.
is equivalent to 1≤x≤9.
However, mathematicians generally prefer absolute value notation.
within a distance of 3 from the number 2.
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.
in ohms,
for passing, | p−80 |≤20
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{: data-type="term" .no-emphasis} in [link].
[link] shows the graph of y=2| x–3 |+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.
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 [link].
From this information we can write the equation
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 x and f(x).
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 [link]).
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=| 2x−6 |,
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{: data-type="term" .no-emphasis} 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{: data-type="term"} is an equation in which the unknown variable appears in absolute value bars. For example,
and B,
an equation of the form | A |=B,
with B≥0,
will have solutions when A=B
or A=−B.
If B<0,
the equation | A |=B
has no solution.
-
Isolate the absolute value term.
-
Use | A |=B
to write A=B
or −A=B,
assuming B>0.
-
Solve for x. {: type="1"}
, find the values of x
such that f(x)=0
.
or x=−2.
See [link].
find the values of x
such that f(x)=0.
or x=2
No. We may find one, two, or even no answers. For example, there is no solution to 2+| 3x−5 |=1.
-
Isolate the absolute value term.
-
Use | A |=B
to write A=B
or A=−B.
-
Solve for x. {: type="1"}
and g(x)=4| x−2 |+2
were graphed on the same set of axes, would the graphs intersect?**
*No. The graphs of f
and g
would not intersect, as shown in [link]. This confirms, graphically, that the equation 1=4| x−2 |+2
has no solution.*
intersects the horizontal and vertical axes.
so the graph intersects the vertical axis at (0,1).
f(x)=0
when x=−5
and x=1
so the graph intersects the horizontal axis at (−5,0)
and (1,0).
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{: data-type="term"} is an equation of the form
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
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 | x−600 |.
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.
for real numbers a
and b
where b
is positive, solve the absolute value inequality algebraically.**
-
Find boundary points by solving | x−A |=B.
-
Test intervals created by the boundary points to determine where | x−A |≤B.
-
Write the interval or union of intervals satisfying the inequality in interval, inequality, or set-builder notation. {: type="1"}
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 | x−5 |=4.
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:
Interval test x | f(x) |
<4
or
>4?
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 | x−5 |≤4 is 1≤x≤9, or [ 1,9 ]. To use a graph, we can sketch the function f(x)=| x−5 |. To help us see where the outputs are 4, the line g(x)=4 could also be sketched as in [link]. We can see the following:
Analysis
For absolute value inequalities,
\|x−A\|<C, \|x−A\|>C, −C<x−A<C, x−A<−C or x−A>C.
The <
or > symbol may be replaced by ≤ or ≥. So, for this example, we could use this alternative approach.
\| x−5\|≤4 −4≤x−5≤4 Rewrite by removing the absolute value bars. −4+5≤x−5+5≤4+5 Isolate the x. 1≤x≤9
Solve \| x+2 \|≤6.
-8≤x≤4
Given an absolute value function, solve for the set of inputs where the output is positive (or negative).
Using a Graphical Approach to Solve Absolute Value Inequalities
Given the function f(x)=− 1 2 \| 4x−5 \|+3,
determine the x- values for which the function values are negative.
We are trying to determine where f(x)<0,
which is when − 1 2 |4x−5|+3<0. We begin by isolating the absolute value.
− 1 2 \|4x−5\|<−3 Multiply both sides by –2, and reverse the inequality. \|4x−5\|>6
Next we solve for the equality \| 4x−5 \|=6.
4x−5=6 or 4x−5=−6 4x−5=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 [link]. 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 or x> 11 4
In interval notation, this would be ( −∞,−0.25 )∪( 2.75,∞ ).
Solve −2\| k−4 \|≤−6.
k≤1
or k≥7; in interval notation, this would be (−∞,1]∪[7,∞)
Access these online resources for additional instruction and practice with absolute value.
How do you solve an absolute value equation?
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.
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?
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.
How can you use the graph of an absolute value function to determine the *x*-values for which the function values are negative?
How do you solve an absolute value inequality algebraically?
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.
Describe all numbers x
that are at a distance of 4 from the number 8. Express this using absolute value notation.
Describe all numbers x
that are at a distance of 1 2 from the number −4. Express this using absolute value notation.
\| x+4 \|= 1 2
Describe the situation in which the distance that point x
is from 10 is at least 15 units. Express this using absolute value notation.
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.
\|f(x)−8\|<0.03
For the following exercises, solve the equations below and express the answer using set notation.
\|x+3\|=9
\|6−x\|=5
{ 1,11 }
\|5x−2\|=11
\|4x−2\|=11
{ 9 4 , 13 4 }
2\|4−x\|=7
3\|5−x\|=5
{ 10 3 , 20 3 }
3\|x+1\|−4=5
5\| x−4 \|−7=2
{ 11 5 , 29 5 }
0=−\| x−3 \|+2
2\| x−3 \|+1=2
{ 5 2 , 7 2 }
\| 3x−2 \|=7
\| 3x−2 \|=−7
No solution
\| 1 2 x−5 \|=11
\| 1 3 x+5 \|=14
{ −57,27 }
−\| 1 3 x+5 \|+14=0
For the following exercises, find the x- and y-intercepts of the graphs of each function.
f(x)=2\| x+1 \|−10
( 0,−8 ); ( −6,0 ), ( 4,0 )
f(x)=4\| x−3 \|+4
f(x)=−3\| x−2 \|−1
( 0,−7 );
no x -intercepts
f(x)=−2\| x+1 \|+6
For the following exercises, solve each inequality and write the solution in interval notation.
\| x−2 \|>10
(−∞,−8)∪(12,∞)
2\| v−7 \|−4≥42
\| 3x−4 \|≤8
−4 3 ≤x≤4
\| x−4 \|≥8
\| 3x−5 \|≥13
( −∞,− 8 3 ]∪[ 6,∞ )
\| 3x−5 \|≥−13
\| 3 4 x−5 \|≥7
( −∞,− 8 3 ]∪[ 16,∞ )
\| 3 4 x−5 \|+1≤16
For the following exercises, graph the absolute value function. Plot at least five points by hand for each graph.
y=\|x−1\|
![Graph of an absolute function with points at (-1, 2), (0, 1), (1, 0), (2, 1), and (3, 2).](../resources/CNX_Precalc_Figure_01_06_201.jpg)
y=\|x+1\|
y=\|x\|+1
![Graph of an absolute function with points at (-2, 3), (-1, 2), (0, 1), (1, 2), and (2, 3).](../resources/CNX_Precalc_Figure_01_06_203.jpg)
For the following exercises, graph the given functions by hand.
y=\| x \|−2
y=−\| x \|
![Graph of an absolute function.](../resources/CNX_Precalc_Figure_01_06_205.jpg)
y=−\| x \|−2
y=−\| x−3 \|−2
![Graph of an absolute function.](../resources/CNX_Precalc_Figure_01_06_207.jpg)
f(x)=−\|x−1\|−2
f(x)=−\|x+3\|+4
![Graph of an absolute function.](../resources/CNX_Precalc_Figure_01_06_209.jpg)
f(x)=2\|x+3\|+1
f(x)=3\| x−2 \|+3
![Graph of an absolute function.](../resources/CNX_Precalc_Figure_01_06_211.jpg)
f(x)=\| 2x−4 \|−3
f( x )=\| 3x+9 \|+2
![Graph of an absolute function.](../resources/CNX_Precalc_Figure_01_06_213.jpg)
f(x)=−\| x−1 \|−3
f(x)=−\| x+4 \|−3
![Graph of an absolute function.](../resources/CNX_Precalc_Figure_01_06_215.jpg)
f(x)= 1 2 \| x+4 \|−3
Use a graphing utility to graph f(x)=10\|x−2\|
on the viewing window [ 0,4 ]. Identify the corresponding range. Show the graph.
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.
f(x)=4× 10 9 \| x−(5× 10 9 ) \|+2× 10 9
For the following exercises, solve the inequality.
\|−2x− 2 3 (x+1)\|+3>−1
(−∞,∞)
If possible, find all values of a
such that there are no x- intercepts for f(x)=2| x+1 |+a.
If possible, find all values of a
such that there are no y -intercepts for f(x)=2| x+1 |+a.
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.
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.
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.
\| p−0.08 \|≤0.015
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.
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.
\| x−5.0 \|≤0.01
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.
### Glossary
{: data-type="glossary-title"}
absolute value equation : an equation of the form | A |=B, with B≥0; 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 |
---|