- Verberg vooruitgang Hide progress Toon vooruitgang Show progress
- Verwijder je antwoorden (op deze pagina) Remove your answers (on this page)
In Section ??, we revisited lines in a function context. In this section, we revisit the absolute value in a similar manner, so it may be useful to refresh yourself with the basics in Section ??. Recall that the absolute value of a real number \(x\), denoted \(|x|\), can be defined as the distance from \(x\) to \(0\) on the real number line. This definition is very useful for several applications, and lends itself well to solving equations and inequalities such as \(|x - 2| + 1 = 5\) or \(2|t + 1| > 4\).
We now wish to explore solving more complicated equations and inequalities, such as \(|x - 2| + 1 = x\) and \(2|t + 1| \geq t + 4\). We’ll approach these types of problems from a function standpoint and use the interplay between the graphical and analytical representations of these functions to obtain solutions. The key to this section is understanding the absolute value from that function (or procedural) standpoint.
Consider a real number \(x \geq 0\) such as \(x = 0\), \(x = \pi \) or \(x = 117.42\). When computing absolute values, we find \(|0| = 0\), \(|\pi | = \pi \) and \(|117.42| = 117.42\). In general, if \(x \geq 0\), the absolute value function does nothing to change the input, so \(|x| = x\). On the other hand, if \(x < 0\), say \(x = -1\), \(x = -\sqrt {42}\) or \(x = -117.42\), we get \(|-1| = 1\), \(|-\sqrt {42}| = \sqrt {42}\) and \(|-117.42| = 117.42\). That is, if \(x < 0\), \(|x|\) returns the exact opposite of the input \(x\), so \(|x| = -x\).
Putting these two observations together, we have the following.
The absolute value of a real number \(x\), denoted \(|x|\), is given by
In Definition 1, it is absolutely essential to read ‘\(-x\)’ as ‘the opposite of \(x\)’ as opposed to ‘negative \(x\)’ in order to avoid serious errors later. To see that this description agrees with our previous experience, consider \(|117.42|\). Given that \(117.42 \geq 0\), we use the rule \(|x| = x\). Hence, \(|117.42| = 117.42\). Likewise, \(|0| = 0\). To compute \(|-\sqrt {42}|\), we note that \(-\sqrt {42} < 0\) we use the rule \(|x| = -x\) in this case. We get \(|-\sqrt {42}| = -(-\sqrt {42})\) (the opposite of \(-\sqrt {42}\)), so \(|-\sqrt {42}| = -(-\sqrt {42}) = \sqrt {42}\).
Another way to view Definition 1 is to think of \(-x = (-1)x\) and \(x = (1)x\). That is, \(|x|\) multiplies negative inputs by \(-1\) and non-negative inputs by \(1\). This viewpoint is especially useful in graphing \(f(x) = |x|\). For \(x<0\), \(|x| = (-1)x\), so the graph of \(y = |x|\) is the graph of \(y = -x = (-1) x\): a line with slope \(-1\) and \(y\)-intercept \((0,0)\). Likewise, for \(x \geq 0\), \(|x| = x\), so the graph of \(y = |x|\) is the graph of \(y = x = (1)x\): a line with slope \(1\) and \(y\)-intercept \((0,0)\).
Below we graph each piece and then put them together. Note that when graphing \(f(x) = |x|\) for \(x < 0\), we have a hole at \((0, 0)\) because the inequality \(x < 0\) is strict. However, the point \((0, 0)\) is included in the graph of \(f(x) = |x|\) for \(x \geq 0\), so there is no hole in our final graph.
The graph of \(f(x) = |x|\) is a very distinctive ‘\(\vee \)’ shape and is worth remembering. The point \((0, 0)\) on the graph is called the vertex. This terminology makes sense from a geometric viewpoint because \((0, 0)\) is the point where two lines meet to form an angle. We will also see this term used in Section ?? where, more generally, it corresponds to the graphical location of the sole maximum or minimum of a quadratic function.
We put Definition 1 to good use in the next example and review the basics of graphing along the way.
Solution. In what follows below, we will be doing quite a bit of substitution. As we have mentioned before, when substituting one expression in for another, the use of parentheses or other grouping symbols is highly recommended. Also, the dependent variable wasn’t specified so we use the default \(y\) in each case.
To find the zeros of \(f\), we solve \(f(x) = 0\) or \(|x - 3| = 0\). We get \(x = 3\) so the sole \(x\)-intercept of the graph of \(f\) is \((3, 0)\). To find the \(y\)-intercept, we compute \(f(0) = |0 - 3| = 3\) and obtain \((0,3)\). Using Definition 1 to rewrite the expression for \(f(x)\) means that we substitute the expression \(x - 3\) in for \(x\) and simplify. Note that when substituting the \(x - 3\) in for \(x\), we do so for every instance of \(x\) – both in the formula (output) as well as the inequality (input).
Now that we have a complete graph, we see that the vertex is \((3, 0)\) and the range is \([0, \infty )\). The minimum of \(f\) is \(0\) when \(x = 3\) and \(f\) has no maximum. Also, \(f\) is decreasing over \((-\infty , 3]\) and increasing on \([3, \infty )\).
To find the zeros of \(g\), we solve \(g(t) = |t| - 3 = 0\) and get \(|t| = 3\) or \(t = \pm 3\). Hence, the \(t\)-intercepts of the graph of \(g\) are \((-3, 0)\) and \((3, 0)\). To find the \(y\)-intercept, we compute \(g(0) = |0| - 3 = -3\) and get \((0, -3)\). To rewrite \(g(t)\) has a piecewise defined function, we first substitute \(t\) in for \(x\) in Definition 1 to get a piecewise definition of \(|t|\). This breaks the domain into two pieces: \(t < 0\) and \(t \geq 0\). For \(t<0\), \(|t| = -t\), so \(g(t) = |t| - 3 = (-t) - 3 = -t - 3\). Likewise, for \(t \geq 0\), \(|t| = t\) so \(g(t) = |t| - 3 = t - 3\).
We see that the vertex is \((0, -3)\) and the range is \([-3, \infty )\). The minimum of \(g\) is \(-3\) at \(t = 0\) and there is no maximum. Also, \(g\) is decreasing on \((-\infty , 0]\) and increasing on \([0, \infty )\).
Solving \(h(u) = |2u - 1| - 3 = 0\) gives \(|2u - 1| = 3\) or \(2u - 1 = \pm 3\). We get two zeros: \(u = -1\) and \(u = 2\) which correspond to two \(u\)-intercepts: \((-1, 0)\) and \((2, 0)\). We find \(h(0) = |2(0) - 1| - 3 = -2\) so our \(y\)-intercept is \((0, -2)\). To rewrite \(h(u)\) as a piecewise defined function, we first rewrite \(|2u - 1|\) as a piecewise function. Substituting the expression \(2u - 1\) in for \(x\) in Definition 1 gives:
The range of \(h\) is \([-3, \infty )\), with the minimum of \(h\) being \(-3\) at \(t = \frac {1}{2}\). Moreover, \(h\) is decreasing on \(\left (-\infty , \frac {1}{2} \right ]\) and increasing on \(\left [ \frac {1}{2}, \infty \right )\).
Solving \(i(w) = 4 - 2|3w - 1| = 0\) yields \(|3w - 1| = 2\) or \(3w - 1 = \pm 2\). This gives two zeros, \(w = -\frac {1}{3}\) and \(w = 1\), which correspond to two \(w\)-intercepts, \(\left (-\frac {1}{3}, 0 \right )\) and \((1, 0)\). Also, \(i(0) = 4 - 2|3(0) - 1| = 2\), so the \(y\)-intercept of the graph is \((0, 2)\). As in the previous example, the first step in rewriting \(i(w)\) as a piecewise defined function is to rewrite \(|3w - 1|\) as a piecewise function. Once again, we substitute the expression \(3w - 1\) in for every occurrence of \(x\) in Definition 1:
From the graph we see that the range of \(i\) is \((-\infty , 4]\) with the maximum of \(i\) being \(4\) when \(w = \frac {1}{3}\). Also, \(i\) is increasing over \(\left ( -\infty , \frac {1}{3} \right ]\) and decreasing on \(\left [ \frac {1}{3}, \infty \right )\).
□
As we take a step back and look at the graphs produced in Example 1, some patterns begin to emerge. Indeed, each of the graphs has the common ‘\(\vee \)’ shape (in the case of the function \(i\) it’s a ‘\(\wedge \)’) with the vertex located at the \(x\)-value where the rule for each function changes from one formula to the other. It turns out that, independent variable labels aside, each and every function in Example 1 can be rewritten in the form \(F(x) = a|x - h| + k\) for real number parameters \(a\), \(h\) and \(k\).
Each of the functions from Example 1 is rewritten in this form below and we record the vertex along with the slopes of the lines in the graph.
These specific examples suggest the following theorem.
Proof. What separates Mathematics from the other sciences is its ability to actually prove patterns like the one stated in the theorem above as opposed to just verifying it by working more examples. The proof of Theorem 1 uses the exact same concepts as were used in Example 1, just in a more general context by which we mean using letters as parameters instead of numbers.
The first step is to rewrite \(|x - h|\) as a piecewise function.
We plug that work into \(F(x)\) to rewrite it as a piecewise function. For \(x < h\), we have \(|x - h| = -x + h\), so
Similarly, for \(x \geq h\), we have \(|x - h| = x - h\), so
Hence,
All three parameters, \(a\), \(h\) and \(k\), are fixed (but arbitrary) real numbers. Thus, for any given choice of \(a\), \(h\) and \(k\) the numbers \(ah + k\) and \(-ah + k\) are also just numbers as opposed to variables. This shows that the graph of \(F\) is comprised of pieces of two lines, \(y = -ax + (ah + k)\) and \(y = ax + (-ah + k)\), the former with slope \(-a\) and the latter with slope \(a\). Note that substituting \(x = h\) into \(y = -ax + (ah + k)\) produces \(y = -ah + (ah + k) = k\) and substituting \(x = h\) into \(y = ax + (-ah + k)\) also produces \(y = ah + (-ah + k) = k\). This tells us that the two linear pieces meet at the point \((h, k)\).
If \(a > 0\) then \(-a < 0\) so the line \(y = -ax + (ah + k)\), hence \(F\), is decreasing on \((-\infty , h]\). Similarly, the line \(y = ax + (-ah + k)\), hence \(F\), is increasing on \([h, \infty )\). This produces a ‘\(\vee \)’ shape. On the other hand, if \(a < 0\) then \(-a > 0\) which produces a ‘\(\wedge \)’ shape because \(F\) is increasing on \((-\infty , h]\) followed by decreasing on \([h, \infty )\). (Said another way, \(-a > 0\) means that the first linear piece has a positive slope and \(a < 0\) means that the second piece has a negative slope.)
To show that the graph is symmetric about the line \(x = h\), we need to show that if we move left or right the same distance away from \(x = h\), then we get the same \(y\)-value on the graph. Suppose we move \(\Delta x\) to the right or left of \(h\). The \(y\)-values are the function values so we need to show that \(F(a + \Delta x) = F(a - \Delta x)\). Given that
and
we see that \(F(a + \Delta x) = F(a - \Delta x)\). Thus we have shown that the \(y\)-values on the graph on either side of \(x = h\) are equal provided we move the same distance away from \(x = a\). This completes the proof. □
The line \(x = a\) in Theorem 1 is called the axis of symmetry of the graph of \(y = F(x)\). This language is consistent with the basics of symmetry discussed in Section ?? and we will build upon our work here in several upcoming sections. For now, we simply present two graphs illustrating the concept of the axis of symmetry below.
While Theorem 1 and its proof are specific to the particular family of absolute value functions, there are ideas here that apply to all functions. Thus we wish to take a slight detour away from the main narrative to argue this result again from an even more generalized viewpoint. Our goal is to ‘build’ the formula \(F(x) = a|x - h| + k\) from \(f(x) = |x|\) in three stages, each corresponding to the role of one of the parameters \(a\), \(h\) and \(k\), and track the geometric changes that go along with each stage. We will revisit all of the ideas described below in complete generality in Section ?? .
The graph of \(f(x) = |x|\) consists of the points \(\{ (c, |c|) \, | \, c \in \mathbb R\}\). Consider \(F_{1}(x) = |x - h|\). The graph of \(F_{1}\) is the set of points \(\{ (x, |x - h|) \, | \, x \in \mathbb {R} \}\). If we relabel \(x - h = c\), then \(x = c + h\), and as \(x\) varies through all of the real numbers, so does \(c\) and vice-versa.
Hence, we can write \(\{ (x, |x - h|) \, | \, x \in \mathbb {R} \} = \{ (c + h, |c|) \, | \, c \in \mathbb {R} \}\). If we fix a \(y\)-coordinate, \(|c|\), we see that the corresponding points on the graph of \(f\) and \(F_{1}\), \((c, |c|)\) and \((c + h, |c|)\), respectively, differ only in that one is horizontally shifted by \(h\). In other words, to get the graph of \(F_{1}\), we simply take the graph of \(f\) and shift each point horizontally by adding \(h\) to the \(x\)-coordinate. Translating the graph in this manner preserves the ‘\(\vee \)’ shape and symmetry, but moves the vertex from \((0, 0)\) to \((h, 0)\).
Next, we examine \(F_{2}(x) = a|x - h|\) and compare its graph to that of \(F_{1}(x) = |x - h|\). The graph of \(F_{2}\) consists of the points \(\{ (x, a|x - h|) \, | \, x \in \mathbb {R} \}\) whereas the graph of \(F_{1}\) consists of the points \(\{ (x, |x - h|) \, | \, x \in \mathbb {R} \}\). The only difference between the points \((x, |x - h|)\) and \((x, a|x - h|)\) is that the \(y\)-coordinate of one is \(a\) times the \(y\)-coordinate of the other. If \(a > 0\), all we are doing is scaling the \(y\)-axis by a factor of \(a\). As we’ve seen when plotting points and graphing functions, the scaling of the \(y\)-axis affects only the relative vertical displacement of points and not the overall shape.
If \(a < 0\), then in addition to scaling the vertical axis, we are reflecting the points across the \(x\)-axis. Such a transformation doesn’t change the ‘\(\vee \)’ shape except for flipping it upside-down to make it a ‘\(\wedge \)’. In either case, the vertex \((h, 0)\) stays put at \((h, 0)\) because the \(y\)-value of the vertex is \(0\) and \(a \cdot 0 = 0\) regardless if \(a > 0\) or \(a < 0\).
Last, we examine the graph of \(F(x) = a|x - h| + k\) to see how it relates to the graph of \(F_{2}(x) = a|x - h|\). The graph of \(F\) consists of the points \(\{ (x, a|x - h| + k ) \, | \, x \in \mathbb {R} \}\) whereas the graph of \(F_{2}\) consists of the points \(\{ (x, a|x - h|) \, | \, x \in \mathbb {R} \}\). The difference between the corresponding points \((x, a|x - h|)\) and \((x, a|x - h| + k )\) is the addition of \(k\) in the \(y\)-coordinate of the latter. Adding \(k\) to each of the \(y\)-values translates the graph of \(F_{2}\) vertically by \(k\) units. The basic shape doesn’t change but the vertex goes from \((h, 0)\) to \((h, k)\).
In summary, the graph of \(F(x) = a|x - h| + k\) can be obtained from the graph of \(f(x) = |x|\) in three steps: first, add \(h\) to each of the \(x\)-coordinates; second, multiply each \(y\)-coordinate by \(a\); and third, add \(k\) to each \(y\)-coordinate. Geometrically, these steps mean that we first move the graph left or right, then scale the \(y\)-axis by a factor of \(a\) (and reflect across the \(x\)-axis if \(a < 0\)), and then move the graph up or down. Throughout all of these transformations, the graph maintains its ‘\(\vee \)’ or ‘\(\wedge \)’ shape.
Of course, not every function involving absolute values can be written in the form given in Theorem 1. A good example of this is \(G(x) = |x - 2| - x\). However recognizing the ones that can be rewritten will greatly simplify the graphing process. In the next example, we graph four more absolute value functions, two using Theorem 1 and two using Definition 1.
Graph each of the functions below using Theorem 1 or by rewriting it as a piecewise defined function using Definition 1. Find the zeros, axis-intercepts and the extrema (if any exist) and then list the intervals over which the function is increasing, decreasing or constant.
Use Theorem 1 to write a possible formula for \(H(x)\) whose graph is given below:
Solution.
Rewriting \(F(x) = |x + 3| + 2 = (1)|x - (-3)| + 2\), we have \(F(x)\) in the form stated in Theorem 1 with \(a = 1\), \(h = -3\) and \(k = 2\). The vertex is \((-3, 2)\) and the graph will be a ‘\(\vee \)’ shape. Seeing as the vertex is already above the \(x\)-axis and the graph opens upwards, there are no \(x\)-intercepts on the graph of \(F\), hence there are no zeros. With \(F(0) = 5\), the \(y\)-intercept is \((0,5)\). To get a third point, we can pick an arbitrary \(x\)-value to the left of the vertex or we could use symmetry: three units to the right of the vertex the \(y\)-value is \(5\), so the same must be true three units to the left of the vertex, at \(x = -6\). Sure enough, \(F(-6) = |-6 + 3| + 2 = |-3| + 2 = 5\). We get the graph below.
The range of \(F\) is \([2, \infty )\) with its minimum of \(2\) when \(x = -3\) and \(F\) decreasing on \((-\infty , -3]\) then increasing on \([-3, \infty )\).
We see in the formula for \(f(t)\) that \(t\) appears only once to the first power inside the absolute values, so we proceed to rewrite it in the form \(a|t-h|+k\):
The range is \((-\infty , 2]\) with a maximum of \(2\) at \(t = \frac {5}{3}\) and \(f\) is increasing on \(\left (-\infty , \frac {5}{3} \right ]\) then decreasing on \(\left [ \frac {5}{3}, \infty \right )\).
We are unable to apply Theorem 1 to \(G(x) = |x-2| - x\) because there is an \(x\) both inside and outside of the absolute value. We can, however, rewrite the function as a piecewise function using Definition 1. Our first step is to rewrite \(|x-2|\) as a piecewise function:
To graph \(y = G(x)\), we have the line \(y = -2x + 2\) which contains \((0, 2)\) and \((1, 0)\) and continues to a hole at \((2, -2)\). At this point, \(G(x) = -2\) takes over and we have a horizontal line containing \((2, -2)\) extending indefinitely to the right. We get the graph below.
The range of \(G\) is \([-2, \infty )\) with a minimum value of \(-2\) attained for all \(x \geq 2\). Moreover, \(G\) is decreasing on \((-\infty , 2]\) and then constant on \([2, \infty )\).
Once again we are unable to use Theorem 1 because \(g(t) = |t - 2| - |t|\) has two absolute values with no apparent way to combine them. Thus we proceed by re-writing the function \(g\) with two separate applications of Definition 1 to remove each instance of the absolute values. To start with we have:
Last, for \(t \geq 2\), \(|t| = t\) and \(|t - 2| = t - 2\), so \(g(t) = |t-2| - |t| = (t - 2) - (t) = -2\). Putting all three parts together yields:
The range of \(g\) is \([-2,2]\) with a minimum of \(-2\) achieved for all \(t \geq 2\), and a maximum of \(2\) for \(t \leq 0\). We note that \(g\) is constant on \((-\infty , 0]\) and \([2, \infty )\), but with different values, and \(g\) is decreasing on \([0, 2]\).
If nothing else, Example 2 demonstrates the value of changing forms of functions and the utility of the interplay between algebraic and graphical descriptions of functions. These themes resonate time and time again in this and later courses in Mathematics.
Consider the basic equation and related inequalities: \(|x| = 3\), \(|x| < 3\) and \(|x| > 3\). At some point you learned how to solve these using properties of the absolute value inspired by the distance definition. (If not, see Section ??.) While there is nothing wrong with this understanding, we wish to use these problems to motivate powerful graphical techniques which we’ll use to solve more complicated equations and inequalities in this section, and in many other sections of the textbook.
To that end, let’s call \(f(x) = |x|\) and \(g(x) = 3\). If we graph \(y = f(x)\) and \(y = g(x)\) on the same set of axes then, by looking for \(x\) values where \(f(x) = g(x),\) we are looking for \(x\)-values which have the same \(y\)-value on both graphs. That is, the solutions to \(f(x) = g(x)\) are the \(x\)-coordinates of the intersection points of the two graphs. We graph \(y = f(x) = |x|\) (the characteristic ‘\(\vee \)’) along with \(y = g(x) = 3\) (the horizontal line) below on the far left. Indeed, the two graphs intersect at \((-3, 3)\) and \((3, 3)\) so our solutions to \(f(x) = g(x)\) are the \(x\)-values of these points, \(x = \pm 3\).
Likewise, if we wish to solve \(|x| < 3\), we can view this as a functional inequality \(f(x) < g(x)\) which means we are looking for the \(x\)-values where the \(f(x)\) values are less than the corresponding \(g(x)\) values. On the graphs, this means we’d be looking for the \(x\)-values where the \(y\)-values of \(y = f(x)\) are less than, hence below, those on the graph of \(y = g(x)\).
In the picture above we see that the graph of \(f\) is below the graph of \(g\) between \(x = -3\) and \(x = 3\), so our solution is \(-3 < x < 3\), or in interval notation, \((-3, 3)\).
Finally, the inequality \(|x| > 3\) is equivalent to \(f(x) > g(x)\) so we are looking for the \(x\)-values where the graph of \(f\) is above the graph of \(g\). Once again, we refer to the picture above to see that this is true for all \(x < -3\) or for all \(x > 3\). In interval notation, the solution set is \((-\infty , -3) \cup (3, \infty )\).
The methodology and reasoning behind solving the above equation and inequalities extend to any pair of functions \(f\) and \(g\), since when graphed on the same set of axes, function outputs are always the dependent variable or the ordinate (second coordinate) of the ordered pairs which comprise the graph. In general:
Suppose \(f\) and \(g\) are functions whose domains and ranges are sets of real numbers.
Let’s return to Example 2 where were asked to find the zeros of the functions \(G(x) = |x-2| -x\) and \(g(t) = |t-2|-|t|\). In that Example, instead of tackling the algebra involving the absolute values head on we rewrote each function as a piecewise-defined function and obtained our solutions that way.
Let’s see what this looks like graphically. Note that solving \(|x-2|-x=0\) is equivalent to solving \(|x-2|=x\). Graphing \(y = |x-2|\) and \(y=x\) on the same set of axes below, it certainly appears as if we have just one point of intersection, corresponding to just one solution.
Indeed, we can show that there is just one point of intersection. The graph of \(y = |x-2|\) is comprised of parts of two lines, \(y =-(x-2)\) and \(y = x-2\). The first line has a slope of \(-1\) and the second has slope \(1\). The line \(y = x\) also has a slope \(1\) meaning it and the ‘right half’ of \(y =|x-2|\) are parallel, so they never intersect. If our graphs are accurate enough, we may even be able to guess that the solution is \(x = 1\), which we can verify by substituting \(x = 1\) into \(|x-2| = x\) and seeing that it checks.
Likewise, solving \(|t-2| - |t| = 0\) is equivalent to solving \(|t-2| = |t|\). Graphing \(y = |t-2|\) and \(y=|t|\) below, we see our only solution is \(t = 1\) here as well.
There is more to see here. Consider solving \(|x-2|-x=0\) algebraically using the techniques from a previous Algebra course (or Section ?? ). Our first step would be to isolate the absolute value quantity: \(|x-2| = x\). We then ‘drop’ the absolute value by paying the price of a ‘\(\pm \)’: \(x-2 = \pm x\). This gives us two equations: \(x - 2 = x\) and \(x - 2 = -x\). The first equation, \(x-2 = x\) reduces to \(-2 = 0\) which has no solution. The second equation, \(x-2 = -x\), does have a solution, namely \(x = 1\).
How does the algebra tie into the graphs above? Instead of ‘dropping’ the absolute value and tagging the right hand side with a \(\pm \), we can think about the piecewise definition of \(|x-2|\) and write \(|x-2| = \pm (x-2)\) depending on if \(x < 2\) or if \(x \geq 2\). That is, \(|x-2| = x\) is more precisely equivalent to the two equations: \(-(x-2) = x\) which is valid for \(x < 2\) or \(x-2 = x\) which is valid for \(x \geq 2\).
Graphically, the first equation is looking for intersection points between the ‘left half’ of the ‘\(\vee \)’ of \(y = |x-2|\) and the line \(y =x\). Indeed, \(-(x-2)=x\) is equivalent to \(x-2 = -x\) from which we obtain our solution \(x = 1\). Likewise, the second equation, \(x-2 = x\) is looking for intersection points of the ‘right half’ of the ‘\(\vee \)’ and the line \(y = x\), but there is none. The equation \(-2=0\) is telling us that for us to have any solutions, the lines \(y = x-2\) and \(y = x\), which have the same slope, must also have the same \(y\)-intercepts: that is, \(-2\) would have to equal \(0\) and that’s just silly.
Similarly, when solving \(|t-2| - |t| = 0\) or \(|t-2| = |t|\), we can use our graphs to prove that the only intersection point is when the ‘left half’ of \(y = |t-2|\) intersects the ‘right half’ of \(y = |t|\) - that is, when \(-(t-2) = t\). The moral of the story is this: careful graphs can help us simplify the algebra, because we can narrow down the cases. This is especially useful in solving inequalities, as we’ll see in our next example.
Solution.
We begin by graphing \(y = 4 - |x|\) and \(y = 0.9x - 3.6\) to look for intersection points. Using Theorem 1, we know that the graph of \(y = 4-|x| = -|x|+4\) has a vertex at \((0,4)\) and is a ‘\(\wedge \)’ shape, so there are \(x\)-intercepts to find. Solving \(4-|x| = 0\), we get \(|x| = 4\), or \(x = \pm 4\). Hence, we have two \(x\)-intercepts: \((-4,0)\) and \((4,0)\).
We know from Section ?? that the graph of \(y = 0.9x - 3.6\) is a line with slope \(0.9\) and \(y\)-intercept \((0, -3.6)\). To find the \(x\)-intercept here we solve \(0.9x - 3.6 = 0\) and get \(x = 4\). Hence, \((4,0)\) is an \(x\)-intercept here as well, and we have stumbled upon one solution to \(4-|x| = 0.9x - 3.6\), namely \(x = 4\). Our graph is below.
The question is if there are any other solutions. Our graph certainly looks as if there is just one intersection point, but we know from Theorem 1 that the slopes of the linear parts of \(y = 4 - |x|\) are \(\pm 1\). The slope of \(y = 0.9x - 3.6\) is \(0.9\) and \(0.9 \neq 1\) so we know that the left hand side of the‘\(\wedge \)’ must meet up with the graph of the line because they are not parallel.
Definition 1 tells us that when \(x<0\), \(|x| = -x\), so \(4-|x| = 4-(-x) = 4+x\). Hence we set about solving \(4+x = 0.9x - 3.6\) and get \(x = -76\). Both \(x = -76\) and \(x = 4\) check in our original equation, \(4-|x| = 0.9x - 3.6\), so we have found our two solutions. Returning to the graph above, we invite the reader to adjust the "zoom" slider to see the other intersection point, \((-76, -72)\) which corresponds to our second solution.
While we could graph \(y = |t-3| - |t|\) and \(y = 3\) to help us find solutions, we choose to rewrite the equation as \(|t-3| = |t| + 3\). This way, we have somewhat easier graphs to deal with, namely \(y = |t-3|\) and \(y = |t|+3\). The first graph, \(y = |t-3|\), has a vertex at \((3,0)\) and is shaped like a ‘\(\vee \)’ with slopes \(\pm 1\) and a \(y\)-intercept of \((0, 3)\). The second graph, \(y = |t|+3\), has a vertex at \((0,3)\) and is also shaped like a ‘\(\vee \),’ with slopes \(\pm 1\), and has no \(t\)-intercepts.
To our surprise and delight, the graphs appear to overlap for \(t \leq 0\). Indeed, for \(t \leq 0\), \(|t-3| = -(t-3) = -t+3\) and \(|t| + 3 = - t+3\). Since the formulas are identical for these values of \(t\), our solutions are all values of \(t\) with \(t \leq 0\). Using interval notation, we state our solution as \((-\infty , 0]\). (The other parts of the graphs are non-intersecting parallel lines so we ignored them.)
To solve \(|x+1|\geq \frac {x+4}{2}\), we first graph \(y = |x+1|\) and \(y = \frac {x+4}{2} = \frac {1}{2} x + 2\). The former is ‘\(\vee \)’ shaped with a vertex at \((-1,0)\) and a \(y\)-intercept of \((0,1)\). The latter is a line with \(y\)-intercept \((0,2)\), slope \(m = \frac {1}{2}\) and \(x\)-intercept \((-4,0)\). Our graph of the situation is below.
The graph suggests two points of intersection. To find these, we solve the equations: \(-(x+1) = \frac {x+4}{2}\), obtaining \(x = -2\), and \(x+1 = \frac {x+4}{2}\) obtaining \(x = 2\).
Graphically, the inequality \(|x+1|\geq \frac {x+4}{2}\) is looking for where the graph of \(y = |x+1|\), the ‘\(\vee \),’ intersects (\(=\)) or is above (\(>\)) the line \(y = \frac {x+4}{2}\). The graph shows this happening whenever \(x \leq -2\) or \(x \geq 2\). Using interval notation, our solution is \((-\infty , -2] \cup [2, \infty )\). While we cannot check every single \(x\) value individually, choosing test values \(x < -2\), \(x = 2\), \(-2 < x < 2\), \(x = 2\), and \(x > 2\) to see if the original inequality \(|x+1|\geq \frac {x+4}{2}\) holds would help us verify our solution.
Recall that the inequality \(2 < |t-1| \leq 5\) is an example of a ‘compound’ inequality in that is two inequalities in one. The values of \(t\) in the solution set need to satisfy \(2 < |t-1|\) and \(|t-1| \leq 5\). To help us sort through the cases, we graph the horizontal lines \(y =2\) and \(y = 5\) along with the ‘\(\vee \)’ shaped \(y= |t-1|\) with vertex \((1,0)\) and \(y\)-intercept \((0,1)\) below.
Geometrically, we are looking for where \(y = |t-1|\) is strictly above the line \(y = 2\) but below (or meets) the line \(y = 5\). Solving \(|t-1| = 2\) gives \(t = -1\) and \(t = 3\) whereas solving \(|t-1| = 5\) gives \(t = -4\) or \(t = 6\). Per the graph (below on the right), we see that \(y = |t-1|\) lies between \(y=2\) and \(y=5\) when \(-4 \leq t < -1\) and again when \(3 < t \leq 6\).
In interval notation, our solution is \([-4, -1) \cup (3, 6]\). As with the previous example, it is impossible to check each and every one of these solutions, but choosing \(t\) values both in and around the solution intervals would give us some numerical confidence we have the correct and complete solution.
We will see the interplay of Algebra and Geometry throughout the rest of this course. In the Exercises, do not hesitate to use whatever mix of algebraic and graphical methods you deem necessary to solve the given equation or inequality. Indeed, there is great value in checking your algebraic answers graphically and vice-versa.
One of the classic applications of inequalities involving absolute values is the notion of tolerances. Recall that for real numbers \(x\) and \(c\), the quantity \(|x-c|\) may be interpreted as the distance from \(x\) to \(c\). Solving inequalities of the form \(|x-c| \leq d\) for \(d > 0\) can then be interpreted as finding all numbers \(x\) which lie within \(d\) units of \(c\). We can think of the number \(d\) as a ‘tolerance’ and our solutions \(x\) as being within an accepted tolerance of \(c\). We use this principle in the next example.
Solution. Let \(x\) denote the length of the side of the square piece of particle board so that the area of the board is \(x^2\) square inches. Our tolerance specifies that the area of the board, \(x^2\), needs to be within \(0.25\) square inches of \(576\). Mathematically, this translates to \(|x^2 - 576| \leq 0.25\). Rewriting, we get \(-0.25 \leq x^2 - 576 \leq 0.25\), or \(575.75 \leq x^2 \leq 576.25\). At this point, we take advantage of the fact that the square root is increasing. Therefore, taking square roots preserves the inequality. When simplifying, we keep in mind that since \(x\) represents a length, \(x>0\).
The side of the piece of particle board must be between \(\sqrt {575.75} \approx 23.995\) and \(\sqrt {576.25} \approx 24.005\) inches, a tolerance of (approximately) \(0.005\) inches of the target length of \(24\) inches, to ensure that the area is within \(0.25\) square inches of \(576\). □