Skip to main content
Mathematics LibreTexts

2.4: Inequalities with Absolute Value and Quadratic Functions

  • Page ID
    80767
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    In this section, not only do we develop techniques for solving various classes of inequalities analytically, we also look at them graphically. The first example motivates the core ideas.

    Example 2.4.1

    Let \(f(x) = 2x-1\) and \(g(x)=5\).

    1. Solve \(f(x) = g(x)\).
    2. Solve \(f(x) < g(x)\).
    3. Solve \(f(x) > g(x)\).
    4. Graph \(y=f(x)\) and \(y=g(x)\) on the same set of axes and interpret your solutions to parts 1 through 3 above.
    Solution
    1. To solve \(f(x) = g(x)\), we replace \(f(x)\) with \(2x-1\) and \(g(x)\) with \(5\) to get \(2x-1 = 5\). Solving for \(x\), we get \(x=3\).
    2. The inequality \(f(x) < g(x)\) is equivalent to \(2x-1 < 5\). Solving gives \(x < 3\) or \((-\infty, 3)\).
    3. To find where \(f(x) > g(x)\), we solve \(2x-1 > 5\). We get \(x > 3\), or \((3, \infty)\).
    4. To graph \(y=f(x)\), we graph \(y = 2x-1\), which is a line with a \(y\)-intercept of \((0,-1)\) and a slope of \(2\). The graph of \(y=g(x)\) is \(y=5\) which is a horizontal line through \((0,5)\).

      Screen Shot 2022-03-26 at 5.55.43 PM.png

      To see the connection between the graph and the Algebra, we recall the Fundamental Graphing Principle for Functions in Section 1.6: the point \((a,b)\) is on the graph of \(f\) if and only if \(f(a)=b\). In other words, a generic point on the graph of \(y=f(x)\) is \((x,f(x))\), and a generic point on the graph of \(y=g(x)\) is \((x,g(x))\). When we seek solutions to \(f(x)=g(x)\), we are looking for \(x\) values whose \(y\) values on the graphs of \(f\) and \(g\) are the same. In part 1, we found \(x=3\) is the solution to \(f(x)=g(x)\). Sure enough, \(f(3) = 5\) and \(g(3) = 5\) so that the point \((3,5)\) is on both graphs. In other words, the graphs of \(f\) and \(g\) intersect at \((3,5)\). In part 2, we set \(f(x) < g(x)\) and solved to find \(x < 3\). For \(x < 3\), the point \((x,f(x))\) is below \((x,g(x))\) since the \(y\) values on the graph of \(f\) are less than the \(y\) values on the graph of \(g\) there. Analogously, in part 3, we solved \(f(x) > g(x)\) and found \(x > 3\). For \(x > 3\), note that the graph of \(f\) is above the graph of \(g\), since the \(y\) values on the graph of \(f\) are greater than the \(y\) values on the graph of \(g\) for those values of \(x\).

      Screen Shot 2022-03-26 at 5.57.41 PM.png

    The preceding example demonstrates the following, which is a consequence of the Fundamental Graphing Principle for Functions.

    Graphical Interpretation of Equations and Inequalities

    Suppose \(f\) and \(g\) are functions.

    • The solutions to \(f(x)=g(x)\) are the \(x\) values where the graphs of \(y=f(x)\) and \(y=g(x)\) intersect.
    • The solution to \(f(x) < g(x)\) is the set of \(x\) values where the graph of \(y=f(x)\) is below the graph of \(y=g(x)\).
    • The solution to \(f(x) > g(x)\) is the set of \(x\) values where the graph of \(y=f(x)\) above the graph of \(y=g(x)\).

    The next example turns the tables and furnishes the graphs of two functions and asks for solutions to equations and inequalities.

    Example 2.4.2

    The graphs of \(f\) and \(g\) are below. (The graph of \(y=g(x)\) is bolded.) Use these graphs to answer the following questions.

    Screen Shot 2022-03-26 at 6.03.54 PM.png

    1. Solve \(f(x) = g(x)\).
    2. Solve \(f(x) < g(x)\).
    3. Solve \(f(x) \geq g(x)\).
    Solution
    1. To solve \(f(x)=g(x)\), we look for where the graphs of \(f\) and \(g\) intersect. These appear to be at the points \((-1,2)\) and \((1,2)\), so our solutions to \(f(x) = g(x)\) are \(x = -1\) and \(x=1\).
    2. To solve \(f(x) < g(x)\), we look for where the graph of \(f\) is below the graph of \(g\). This appears to happen for the \(x\) values less than \(-1\) and greater than \(1\). Our solution is \((-\infty, -1) \cup (1,\infty)\).
    3. To solve \(f(x) \geq g(x)\), we look for solutions to \(f(x)=g(x)\) as well as \(f(x) > g(x)\). We solved the former equation and found \(x = \pm 1\). To solve \(f(x) > g(x)\), we look for where the graph of \(f\) is above the graph of \(g\). This appears to happen between \(x=-1\) and \(x=1\), on the interval \((-1,1)\). Hence, our solution to \(f(x) \geq g(x)\) is \([-1,1]\).

    Screen Shot 2022-03-26 at 6.06.12 PM.png

    We now turn our attention to solving inequalities involving the absolute value. We have the following theorem from Intermediate Algebra to help us.

    Theorem 2.4. Inequalities Involving the Absolute Value

    Let \(c\) be a real number.

    • For \(c > 0\), \(|x| < c\) is equivalent to \(-c<x<c\).
    • For \(c > 0\), \(|x| \leq c\) is equivalent to \(-c \leq x \leq c\).
    • For \(c \leq 0\), \(|x| < c\) has no solution, and for \(c < 0\), \(|x| \leq c\) has no solution.
    • For \(c \geq 0\), \(|x| > c\) is equivalent to \(x<-c\) or \(x>c\).
    • For \(c \geq 0\), \(|x| \geq c\) is equivalent to \(x \leq -c\) or \(x \geq c\).
    • For \(c < 0\), \(|x| > c\) and \(|x| \geq c\) are true for all real numbers.

    As with Theorem 2.1 in Section 2.2, we could argue Theorem 2.4 using cases. However, in light of what we have developed in this section, we can understand these statements graphically. For instance, if \(c > 0\), the graph of \(y=c\) is a horizontal line which lies above the \(x\)-axis through \((0,c)\). To solve \(|x| < c\), we are looking for the \(x\) values where the graph of \(y=|x|\) is below the graph of \(y=c\). We know that the graphs intersect when \(|x|=c\), which, from Section 2.2, we know happens when \(x=c\) or \(x=-c\). Graphing, we get

    Screen Shot 2022-03-26 at 6.12.36 PM.png

    We see that the graph of \(y=|x|\) is below \(y=c\) for \(x\) between \(-c\) and \(c\), and hence we get \(|x| < c\) is equivalent to \(-c < x < c\). The other properties in Theorem 2.4 can be shown similarly.

    Example 2.4.3

    Solve the following inequalities analytically; check your answers graphically.

    1. \(|x-1| \geq 3\)
    2. \(4 - 3|2x+1| > -2\)
    3. \(2 < |x-1| \leq 5\)
    4. \(|x+1|\geq \dfrac{x+4}{2}\)
    Solution
    1. From Theorem 2.4, \(|x-1|\geq3\) is equivalent to \(x-1 \leq -3\) or \(x-1 \geq 3\). Solving, we get \(x \leq -2\) or \(x \geq 4\), which, in interval notation is \((-\infty,-2] \cup [4,\infty)\). Graphically, we have

      Screen Shot 2022-03-26 at 6.17.56 PM.png

      We see that the graph of \(y=|x-1|\) is above the horizontal line \(y=3\) for \(x < -2\) and \(x > 4\) hence this is where \(|x-1| > 3\). The two graphs intersect when \(x=-2\) and \(x=4\), so we have graphical confirmation of our analytic solution.

    2. To solve \(4 - 3|2x+1| > -2\) analytically, we first isolate the absolute value before applying Theorem 2.4. To that end, we get \(-3|2x+1|>-6\) or \(|2x+1|<2\). Rewriting, we now have \(-2 < 2x+1 < 2\) so that \(-\frac{3}{2} < x < \frac{1}{2}\). In interval notation, we write \(\left(-\frac{3}{2}, \frac{1}{2}\right)\). Graphically we see that the graph of \(y=4-3|2x+1|\) is above \(y=-2\) for \(x\) values between \(-\frac{3}{2}\) and \(\frac{1}{2}\).

      Screen Shot 2022-03-26 at 6.21.23 PM.png

    3. Rewriting the compound inequality \(2 < |x-1| \leq 5\) as ‘\(2 < |x-1|\) and \(|x-1| \leq 5\)’ allows us to solve each piece using Theorem 2.4. The first inequality, \(2 < |x-1|\) can be re-written as \(|x-1|>2\) so \(x-1 < -2\) or \(x-1 > 2\). We get \(x<-1\) or \(x>3\). Our solution to the first inequality is then \((-\infty, -1) \cup (3, \infty)\). For \(|x-1| \leq 5\), we combine results in Theorems 2.1 and 2.4 to get \(-5 \leq x-1 \leq 5\) so that \(-4 \leq x \leq 6\), or \([-4,6]\). Our solution to \(2 < |x-1| \leq 5\) is comprised of values of \(x\) which satisfy both parts of the inequality, so we take the intersection1 of \((-\infty, -1) \cup (3, \infty)\) and \([-4,6]\) to get \([-4,-1) \cup (3,6]\). Graphically, we see that the graph of \(y=|x-1|\) is ‘between’ the horizontal lines \(y=2\) and \(y=5\) for \(x\) values between \(-4\) and \(-1\) as well as those between \(3\) and \(6\). Including the \(x\) values where \(y=|x-1|\) and \(y=5\) intersect, we get

      Screen Shot 2022-03-26 at 6.39.33 PM.png

    4. We need to exercise some special caution when solving \(|x+1|\geq \frac{x+4}{2}\). As we saw in Example 2.2.1 in Section 2.2, when variables are both inside and outside of the absolute value, it’s usually best to refer to the definition of absolute value, Definition 2.4, to remove the absolute values and proceed from there. To that end, we have \(|x+1| = -(x+1)\) if \(x < -1\) and \(|x+1| = x+1\) if \(x \geq -1\). We break the inequality into cases, the first case being when \(x<-1\). For these values of \(x\), our inequality becomes \(-(x+1) \geq \frac{x+4}{2}\). Solving, we get \(-2x-2 \geq x+4\), so that \(-3x \geq 6\), which means \(x \leq -2\). Since all of these solutions fall into the category \(x < -1\), we keep them all. For the second case, we assume \(x \geq -1\). Our inequality becomes \(x+1 \geq \frac{x+4}{2}\), which gives \(2x+2 \geq x+4\) or \(x \geq 2\). Since all of these values of \(x\) are greater than or equal to \(-1\), we accept all of these solutions as well. Our final answer is \((-\infty, -2] \cup [2,\infty)\).

      Screen Shot 2022-03-26 at 6.45.21 PM.png

    We now turn our attention to quadratic inequalities. In the last example of Section 2.3, we needed to determine the solution to \(x^2 - x -6 < 0\). We will now re-visit this problem using some of the techniques developed in this section not only to reinforce our solution in Section 2.3, but to also help formulate a general analytic procedure for solving all quadratic inequalities. If we consider \(f(x) = x^2-x-6\) and \(g(x)=0\), then solving \(x^2 - x -6 < 0\) corresponds graphically to finding the values of \(x\) for which the graph of \(y=f(x)=x^2-x-6\) (the parabola) is below the graph of \(y=g(x)=0\) (the \(x\)-axis). We’ve provided the graph again for reference.

    Screen Shot 2022-03-26 at 6.49.42 PM.png

    We can see that the graph of \(f\) does dip below the \(x\)-axis between its two \(x\)-intercepts. The zeros of \(f\) are \(x=-2\) and \(x=3\) in this case and they divide the domain (the \(x\)-axis) into three intervals: \((-\infty, -2)\), \((-2,3)\) and \((3, \infty)\). For every number in \((-\infty, -2)\), the graph of \(f\) is above the \(x\)-axis; in other words, \(f(x) > 0\) for all \(x\) in \((-\infty, -2)\). Similarly, \(f(x) < 0\) for all \(x\) in \((-2,3)\), and \(f(x) > 0\) for all \(x\) in \((3, \infty)\). We can schematically represent this with the sign diagram below.

    Screen Shot 2022-03-26 at 6.50.57 PM.png

    Here, the \((+)\) above a portion of the number line indicates \(f(x) > 0\) for those values of \(x\); the \((-)\) indicates \(f(x) < 0\) there. The numbers labeled on the number line are the zeros of \(f\), so we place \(0\) above them. We see at once that the solution to \(f(x) < 0\) is \((-2,3)\).

    Our next goal is to establish a procedure by which we can generate the sign diagram without graphing the function. An important property2 of quadratic functions is that if the function is positive at one point and negative at another, the function must have at least one zero in between. Graphically, this means that a parabola can’t be above the \(x\)-axis at one point and below the \(x\)-axis at another point without crossing the \(x\)-axis. This allows us to determine the sign of all of the function values on a given interval by testing the function at just one value in the interval. This gives us the following.

    Steps for Solving a Quadratic Inequality
    1. Rewrite the inequality, if necessary, as a quadratic function \(f(x)\) on one side of the inequality and \(0\) on the other.
    2. Find the zeros of \(f\) and place them on the number line with the number \(0\) above them.
    3. Choose a real number, called a test value, in each of the intervals determined in step 2.
    4. Determine the sign of \(f(x)\) for each test value in step 3, and write that sign above the corresponding interval.
    5. Choose the intervals which correspond to the correct sign to solve the inequality.
    Example 2.4.4

    Solve the following inequalities analytically using sign diagrams. Verify your answer graphically.

    1. \(2x^2 \leq 3-x\)
    2. \(x^2 - 2x > 1\)
    3. \(x^2+1 \leq 2x\)
    4. \(2x-x^2 \geq |x-1|-1\)
    Solution
    1. To solve \(2x^2 \leq 3-x\), we first get \(0\) on one side of the inequality which yields \(2x^2+x-3 \leq 0\). We find the zeros of \(f(x) = 2x^2 + x - 3\) by solving \(2x^2 + x - 3 = 0\) for \(x\). Factoring gives \((2x+3)(x-1)=0\), so \(x = -\frac{3}{2}\) or \(x = 1\). We place these values on the number line with \(0\) above them and choose test values in the intervals \(\left(-\infty, -\frac{3}{2}\right)\), \(\left(-\frac{3}{2},1\right)\) and \((1,\infty)\). For the interval \(\left(-\infty, -\frac{3}{2}\right)\), we choose3 \(x=-2\); for \(\left(-\frac{3}{2},1\right)\), we pick \(x=0\); and for \((1,\infty)\), \(x=2\). Evaluating the function at the three test values gives us \(f(-2) = 3 > 0\), so we place \((+)\) above \(\left(-\infty, -\frac{3}{2}\right)\); \(f(0)=-3 < 0\), so \((-)\) goes above the interval \(\left(-\frac{3}{2},1\right)\); and, \(f(2) = 7\), which means \((+)\) is placed above \((1,\infty)\). Since we are solving \(2x^2+x-3 \leq 0\), we look for solutions to \(2x^2+x-3 < 0\) as well as solutions for \(2x^2+x-3 =0\). For \(2x^2+x-3 < 0\), we need the intervals which we have a \((-)\). Checking the sign diagram, we see this is \(\left(-\frac{3}{2},1\right)\). We know \(2x^2+x-3 =0\) when \(x=-\frac{3}{2}\) and \(x=1\), so our final answer is \(\left[-\frac{3}{2},1\right]\).

      To verify our solution graphically, we refer to the original inequality, \(2x^2 \leq 3-x\). We let \(g(x) = 2x^2\) and \(h(x)=3-x\). We are looking for the \(x\) values where the graph of \(g\) is below that of \(h\) (the solution to \(g(x) < h(x)\)) as well as the points of intersection (the solutions to \(g(x)=h(x)\)). The graphs of \(g\) and \(h\) are given on the right with the sign chart on the left.

      Screen Shot 2022-03-26 at 7.08.16 PM.png

    2. Once again, we re-write \(x^2-2x > 1\) as \(x^2-2x-1>0\) and we identify \(f(x)=x^2-2x-1\). When we go to find the zeros of \(f\), we find, to our chagrin, that the quadratic \(x^2-2x-1\) doesn’t factor nicely. Hence, we resort to the quadratic formula to solve \(x^2-2x-1=0\), and arrive at \(x=1 \pm \sqrt{2}\). As before, these zeros divide the number line into three pieces. To help us decide on test values, we approximate \(1 - \sqrt{2} \approx -0.4\) and \(1 + \sqrt{2} \approx 2.4\). We choose \(x=-1\), \(x=0\) and \(x=3\) as our test values and find \(f(-1)= 2\), which is \((+)\); \(f(0)=-1\) which is \((-)\); and \(f(3)=2\) which is \((+)\) again. Our solution to \(x^2-2x-1>0\) is where we have \((+)\), so, in interval notation \(\left(-\infty, 1-\sqrt{2}\right) \cup \left(1+\sqrt{2},\infty\right)\). To check the inequality \(x^2 - 2x > 1\) graphically, we set \(g(x) = x^2-2x\) and \(h(x)=1\). We are looking for the \(x\) values where the graph of \(g\) is above the graph of \(h\). As before we present the graphs on the right and the sign chart on the left.

      Screen Shot 2022-03-26 at 7.09.58 PM.png

    3. Screen Shot 2022-03-27 at 6.12.11 PM.png
    4. To solve our last inequality, \(2x-x^2 \geq |x-1|-1\), we re-write the absolute value using cases. For \(x < 1\), \(|x-1| = -(x-1) = 1-x\), so we get \(2x-x^2 \geq 1-x-1\), or \(x^2-3x \leq 0\). Finding the zeros of \(f(x) = x^2-3x\), we get \(x=0\) and \(x=3\). However, we are only concerned with the portion of the number line where \(x < 1\), so the only zero that we concern ourselves with is \(x=0\). This divides the interval \(x<1\) into two intervals: \((-\infty, 0)\) and \((0,1)\). We choose \(x=-1\) and \(x=\frac{1}{2}\) as our test values. We find \(f(-1) = 4\) and \(f\left(\frac{1}{2}\right) = -\frac{5}{4}\). Hence, our solution to \(x^2-3x \leq 0\) for \(x < 1\) is \([0,1)\). Next, we turn our attention to the case \(x \geq 1\). Here, \(|x-1| = x-1\), so our original inequality becomes \(2x-x^2 \geq x-1-1\), or \(x^2-x-2 \leq 0\). Setting \(g(x) = x^2-x-2\), we find the zeros of \(g\) to be \(x=-1\) and \(x=2\). Of these, only \(x=2\) lies in the region \(x \geq 1\), so we ignore \(x=-1\). Our test intervals are now \([1,2)\) and \((2,\infty)\). We choose \(x=1\) and \(x=3\) as our test values and find \(g(1) = -2\) and \(g(3) = 4\). Hence, our solution to \(g(x) = x^2-x-2 \leq 0\), in this region is \([1,2)\).

      Screen Shot 2022-03-27 at 6.13.48 PM.png

      Combining these into one sign diagram, we have that our solution is \([0,2]\). Graphically, to check \(2x-x^2 \geq |x-1|-1\), we set \(h(x) = 2x-x^2\) and \(i(x) = |x-1|-1\) and look for the \(x\) values where the graph of \(h\) is above the the graph of \(i\) (the solution of \(h(x) > i(x)\)) as well as the \(x\)-coordinates of the intersection points of both graphs (where \(h(x)=i(x)\)). The combined sign chart is given on the left and the graphs are on the right.

      Screen Shot 2022-03-27 at 6.15.26 PM.png

    One of the classic applications of inequalities is the notion of tolerances.5 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 \geq 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.

    Example 2.4.5

    The area \(A\) (in square inches) of a square piece of particle board which measures \(x\) inches on each side is \(A(x) = x^2\). Suppose a manufacturer needs to produce a \(24\) inch by \(24\) inch square piece of particle board as part of a home office desk kit. How close does the side of the piece of particle board need to be cut to \(24\) inches to guarantee that the area of the piece is within a tolerance of \(0.25\) square inches of the target area of \(576\) square inches?

    Solution

    Mathematically, we express the desire for the area \(A(x)\) to be within \(0.25\) square inches of \(576\) as \(|A - 576| \leq 0.25\). Since \(A(x) = x^2\), we get \(|x^2 - 576| \leq 0.25\), which is equivalent to \(-0.25 \leq x^2 - 576 \leq 0.25\). One way to proceed at this point is to solve the two inequalities \(-0.25 \leq x^2 - 576\) and \(x^2 - 576 \leq 0.25\) individually using sign diagrams and then taking the intersection of the solution sets. While this way will (eventually) lead to the correct answer, we take this opportunity to showcase the increasing property of the square root: if \(0 \leq a \leq b\), then \(\sqrt{a} \leq \sqrt{b}\). To use this property, we proceed as follows

    \[\begin{array}{rclr} -0.25 \leq & x^2 - 576 & \leq 0.25 & \\ 575.75 \leq & x^2 & \leq 576.25 & \text{(add $576$ across the inequalities.)} \\ \sqrt{575.75} \leq & \sqrt{x^2} & \leq \sqrt{576.25} & \text{(take square roots.)} \\ \sqrt{575.75} \leq & |x| & \leq \sqrt{576.25} & \text{($\sqrt{x^2} = |x|$)} \\ \end{array}\]

    By Theorem 2.4, we find the solution to \(\sqrt{575.75} \leq |x|\) to be \(\left(-\infty, -\sqrt{575.75} \, \right] \cup \left[\sqrt{575.75}, \infty \right)\) and the solution to \(|x| \leq \sqrt{576.25}\) to be \(\left[-\sqrt{576.25}, \sqrt{576.25} \, \right]\). To solve \(\sqrt{575.75} \leq |x| \leq \sqrt{576.25}\), we intersect these two sets to get \([-\sqrt{576.25}, -\sqrt{575.75}] \cup [\sqrt{575.75},\sqrt{576.25}]\). Since \(x\) represents a length, we discard the negative answers and get \([\sqrt{575.75},\sqrt{576.25}]\). This means that the side of the piece of particle board must be cut 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.

    Our last example in the section demonstrates how inequalities can be used to describe regions in the plane, as we saw earlier in Section 1.2.

    Example 2.4.6

    Sketch the following relations.

    1. \(R = \{ (x,y) : y > |x| \}\)
    2. \(S = \{ (x,y) : y \leq 2-x^2 \}\)
    3. \(T = \{ (x,y) : |x| < y \leq 2-x^2 \}\)
    Solution
    1. The relation \(R\) consists of all points \((x,y)\) whose \(y\)-coordinate is greater than \(|x|\). If we graph \(y=|x|\), then we want all of the points in the plane above the points on the graph. Dotting the graph of \(y=|x|\) as we have done before to indicate that the points on the graph itself are not in the relation, we get the shaded region below on the left.
    2. For a point to be in \(S\), its \(y\)-coordinate must be less than or equal to the \(y\)-coordinate on the parabola \(y=2-x^2\). This is the set of all points below or on the parabola \(y=2-x^2\).

      Screen Shot 2022-03-27 at 6.30.32 PM.png

    3. Finally, the relation \(T\) takes the points whose \(y\)-coordinates satisfy both the conditions given in \(R\) and those of \(S\). Thus we shade the region between \(y=|x|\) and \(y=2-x^2\), keeping those points on the parabola, but not the points on \(y=|x|\). To get an accurate graph, we need to find where these two graphs intersect, so we set \(|x| = 2-x^2\). Proceeding as before, breaking this equation into cases, we get \(x=-1,1\). Graphing yields

      Screen Shot 2022-03-27 at 6.31.27 PM.png

    2.4.1. Exercises

    In Exercises 1-32, solve the inequality. Write your answer using interval notation.

    1. \(|3x - 5| \leq 4\)
    2. \(|7x + 2| > 10\)
    3. \(|2x+1| - 5 < 0\)
    4. \(|2-x| - 4 \geq -3\)
    5. \(|3x+5| + 2 < 1\)
    6. \(2|7-x| +4 > 1\)
    7. \(2 \leq |4-x| < 7\)
    8. \(1 < |2x - 9| \leq 3\)
    9. \(|x + 3| \geq |6x + 9|\)
    10. \(|x-3| - |2x+1| < 0\)
    11. \(|1-2x| \geq x + 5\)
    12. \(x + 5 < |x+5|\)
    13. \(x \geq |x+1|\)
    14. \(|2x + 1| \leq 6-x\)
    15. \(x + |2x-3| < 2\)
    16. \(|3-x| \geq x-5\)
    17. \(x^{2} + 2x - 3 \geq 0\)
    18. \(16x^2+8x+1 > 0\)
    19. \(x^2+9 < 6x\)
    20. \(9x^2 + 16 \geq 24x\)
    21. \(x^2+4 \leq 4x\)
    22. \(x^{2} + 1 < 0\)
    23. \(3x^{2} \leq 11x + 4\)
    24. \(x > x^{2}\)
    25. \(2x^2-4x-1 > 0\)
    26. \(5x+4 \leq 3x^2\)
    27. \(2 \leq |x^{2} - 9| < 9\)
    28. \(x^{2} \leq |4x - 3|\)
    29. \(x^{2} + x + 1 \geq 0\)
    30. \(x^2 \geq |x|\)
    31. \(x |x+5| \geq -6\)
    32. \(x |x-3| < 2\)
    33. The profit, in dollars, made by selling \(x\) bottles of \(100 \%\) All-Natural Certified Free-Trade Organic Sasquatch Tonic is given by \(P(x) = -x^2+25x-100\), for \(0 \leq x \leq 35\). How many bottles of tonic must be sold to make at least \(\$50\) in profit?
    34. Suppose \(C(x) = x^2-10x+27\), \(x \geq 0\) represents the costs, in hundreds of dollars, to produce \(x\) thousand pens. Find the number of pens which can be produced for no more than \(\$1100\).
    35. The temperature \(T\), in degrees Fahrenheit, \(t\) hours after 6 AM is given by \(T(t) = -\frac{1}{2} t^2 + 8t+32\), for \(0 \leq t \leq 12\). When is it warmer than \(42^{\circ}\) Fahrenheit?
    36. The height \(h\) in feet of a model rocket above the ground \(t\) seconds after lift-off is given by \(h(t) = -5t^2+100t\), for \(0 \leq t \leq 20\). When is the rocket at least \(250\) feet off the ground? Round your answer to two decimal places.
    37. If a slingshot is used to shoot a marble straight up into the air from 2 meters above the ground with an initial velocity of 30 meters per second, for what values of time \(t\) will the marble be over 35 meters above the ground? (Refer to Exercise 25 in Section 2.3 for assistance if needed.) Round your answers to two decimal places.
    38. What temperature values in degrees Celsius are equivalent to the temperature range \(50^{\circ}F\) to \(95^{\circ}F\)? (Refer to Exercise 35 in Section 2.1 for assistance if needed.)

    In Exercises 39-42, write and solve an inequality involving absolute values for the given statement.

    1. Find all real numbers \(x\) so that \(x\) is within \(4\) units of \(2\).
    2. Find all real numbers \(x\) so that \(3x\) is within \(2\) units of \(-1\).
    3. Find all real numbers \(x\) so that \(x^2\) is within \(1\) unit of \(3\).
    4. Find all real numbers \(x\) so that \(x^2\) is at least \(7\) units away from \(4\).
    5. The surface area \(S\) of a cube with edge length \(x\) is given by \(S(x) = 6x^{2}\) for \(x > 0\). Suppose the cubes your company manufactures are supposed to have a surface area of exactly 42 square centimeters, but the machines you own are old and cannot always make a cube with the precise surface area desired. Write an inequality using absolute value that says the surface area of a given cube is no more than 3 square centimeters away (high or low) from the target of 42 square centimeters. Solve the inequality and write your answer using interval notation.
    6. Suppose \(f\) is a function, \(L\) is a real number and \(\varepsilon\) is a positive number. Discuss with your classmates what the inequality \(|f(x) - L| < \varepsilon\) means algebraically and graphically.6

    In Exercises 45 - 50, sketch the graph of the relation.

    1. \(R = \left\{ (x,y) : y \leq x-1 \right\}\)
    2. \(R = \left\{ (x,y) : y > x^2 +1 \right\}\)
    3. \(R = \left\{ (x,y) : -1 < y \leq 2x + 1 \right\}\)
    4. \(R = \left\{ (x,y) : x^2 \leq y < x+2 \right\}\)
    5. \(R = \left\{ (x,y) : |x|-4 < y < 2-x \right\}\)
    6. \(R = \left\{ (x,y) : x^{2} < y \leq |4x - 3| \right\}\) [sketchregionineqlast]
    7. Prove the second, third and fourth parts of Theorem 2.4.

    2.4.2 Answers

    1. \(\left[\frac{1}{3}, 3\right]\)
    2. \(\left(-\infty, -\frac{12}{7} \right) \cup \left(\frac{8}{7}, \infty\right)\)
    3. \((-3,2)\)
    4. \((-\infty,1] \cup [3,\infty)\)
    5. No solution
    6. \((-\infty, \infty)\)
    7. \((-3,2] \cup [6,11)\)
    8. \([3, 4) \cup (5, 6]\)
    9. \(\left[-\frac{12}{7}, -\frac{6}{5}\right]\)
    10. \((-\infty, -4) \cup \left( \frac{2}{3}, \infty\right)\)
    11. \(\left(-\infty, -\frac{4}{3} \right] \cup [6, \infty)\)
    12. \((-\infty, -5)\)
    13. No Solution.
    14. \(\left[ -7, \frac{5}{3}\right]\)
    15. \(\left( 1, \frac{5}{3} \right)\)
    16. \((-\infty, \infty)\)
    17. \((-\infty, -3] \cup [1, \infty)\)
    18. \(\left(-\infty, -\frac{1}{4}\right) \cup \left(-\frac{1}{4}, \infty \right)\)
    19. No solution
    20. \((-\infty, \infty)\)
    21. \(\left\{2 \right\}\)
    22. No solution
    23. \(\left[-\frac{1}{3}, 4 \right]\)
    24. \((0, 1)\)
    25. \(\left(-\infty, 1-\frac{\sqrt{6}}{2} \right) \cup \left(1+\frac{\sqrt{6}}{2}, \infty \right)\)
    26. \(\left(-\infty, \frac{5 - \sqrt{73}}{6} \right] \cup \left[\frac{5 + \sqrt{73}}{6}, \infty \right)\)
    27. \(\left(-3\sqrt{2}, -\sqrt{11} \right] \cup \left[-\sqrt{7}, 0 \right) \cup \left(0, \sqrt{7} \right] \cup \left[\sqrt{11}, 3\sqrt{2} \right)\)
    28. \(\left[-2-\sqrt{7}, -2+\sqrt{7} \right] \cup [1, 3]\)
    29. \((-\infty, \infty)\)
    30. \((-\infty, -1] \cup \left\{ 0 \right\} \cup [1,\infty)\)
    31. \([-6,-3] \cup [-2, \infty)\)
    32. \((-\infty, 1) \cup \left(2, \frac{3+\sqrt{17}}{2}\right)\)
    33. \(P(x) \geq 50\) on \([10,15]\). This means anywhere between 10 and 15 bottles of tonic need to be sold to earn at least \(\$50\) in profit.
    34. \(C(x) \leq 11\) on \([2,8]\). This means anywhere between 2000 and 8000 pens can be produced and the cost will not exceed \(\$1100\).
    35. \(T(t) > 42\) on \((8-2\sqrt{11}, 8+2\sqrt{11}) \approx (1.37, 14.63)\), which corresponds to between 7:22 AM (1.37 hours after 6 AM) to 8:38 PM (14.63 hours after 6 AM.) However, since the model is valid only for \(t\), \(0 \leq t \leq 12\), we restrict our answer and find it is warmer than \(42^{\circ}\) Fahrenheit from 7:22 AM to 6 PM.
    36. \(h(t) \geq 250\) on \([10-5\sqrt{2}, 10+5\sqrt{2}] \approx [2.93, 17.07]\). This means the rocket is at least 250 feet off the ground between 2.93 and 17.07 seconds after lift off.
    37. \(s(t) = -4.9t^2 + 30t + 2\). \(s(t) > 35\) on (approximately) \((1.44, 4.68)\). This means between 1.44 and 4.68 seconds after it is launched into the air, the marble is more than 35 feet off the ground.
    38. From our previous work \(C(F) = \frac{5}{9}(F - 32)\) so \(50 \leq F \leq 95\) becomes \(10 \leq C \leq 35\).
    39. \(|x-2| \leq 4\), \([-2,6]\)
    40. \(|3x+1| \leq 2\), \(\left[-1, \frac{1}{3}\right]\)
    41. \(|x^2-3| \leq 1\), \([-2, -\sqrt{2} \,] \cup [\sqrt{2}, 2]\)
    42. \(|x^2 -4| \geq 7\), \((-\infty, -\sqrt{11} \,] \cup [\sqrt{11}, \infty)\)
    43. Solving \(|S(x) - 42| \leq 3\), and disregarding the negative solutions yields \(\left[\sqrt{\frac{13}{2}}, \sqrt{\frac{15}{2}}\right] \approx [2.550, 2.739]\). The edge length must be within \(2.550\) and \(2.739\) centimeters.
    1. \(~\)

      Screen Shot 2022-03-27 at 6.54.57 PM.png

    2. \(~\)

      Screen Shot 2022-03-27 at 6.56.42 PM.png

    3. \(~\)

      Screen Shot 2022-03-27 at 6.59.06 PM.png

    4. \(~\)

      Screen Shot 2022-03-27 at 7.00.05 PM.png

    5. \(~\)

      Screen Shot 2022-03-27 at 7.00.42 PM.png

    6. \(~\)

      Screen Shot 2022-03-27 at 7.02.26 PM.png


    Reference

    1 See Definition 1.2 in Section 1.1.1.

    2 We will give this property a name in Chapter 3 and revisit this concept then.

    3 We have to choose something in each interval. If you don’t like our choices, please feel free to choose different numbers. You’ll get the same sign chart.

    4 In this case, we say the line \(\ y=2 x\) is tangent to \(\ y=x^{2}+1\) at (1, 2). Finding tangent lines to arbitrary functions is a fundamental problem solved, in general, with Calculus.

    5 The underlying concept of Calculus can be phrased in terms of tolerances, so this is well worth your attention

    6 Understanding this type of inequality is really important in Calculus.


    This page titled 2.4: Inequalities with Absolute Value and Quadratic Functions is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Carl Stitz & Jeff Zeager via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.