Skip to main content
Logo image

Section 4.4 Quadratic Inequalities

In this section we’ll see how to solve a quadratic inequality, that is, an inequality that can be written in the form
\begin{equation*} ax^2+bx+c \lt 0~~~~\text{or}~~~~~ax^2+bx+c \gt 0 \end{equation*}
\(~\alert{\text{[TK]}}~~\)Before we begin, you can review solving linear inequalities in Section 4.4.1 of the Toolkit.

Subsection 4.4.1 Solving Inequalities Graphically

The easiest way to solve a quadratic inequality is with a graph. \(~\alert{\text{[TK]}}\)

Example 4.4.1.

The Chamber of Commerce in River City plans to put on a Fourth of July fireworks display. City regulations require that fireworks at public gatherings explode higher than 800 feet above the ground. The mayor particularly wants to include the Freedom Starburst model, which is launched from the ground. Its height after t seconds is given by
\begin{equation*} h = 256t - 16t^2 \end{equation*}
When should the Starburst explode in order to satisfy the safety regulation?

Solution.

We can get an approximate answer to this question by looking at the graph of the rocket’s height, shown below.
graph of fireworks height
We would like to know when the rocket’s height is greater than 800 feet, or, in mathematical terms, for what values of \(t\) is \(h \gt 800\text{?}\) The answer to this question is the solution of the inequality
\begin{equation*} 256t - 16t^2 \gt 800 \end{equation*}
Points on the graph with \(h \gt 800\) are shown in color, and the \(t\)-coordinates of those points are marked on the horizontal axis. If the Freedom Starburst explodes at any of these times, it will satisfy the safety regulation.
From the graph, the safe time interval runs from approximately 4.25 seconds to 11.75 seconds after launch. The solution of the inequality is the set of all \(t\)-values greater than 4.25 but less than 11.75.

Note 4.4.2.

The solution set in Example 4.4.1 is called a compound inequality, because it involves more than one inequality symbol. We write this inequality as
\begin{equation*} 4.25 \lt t \lt 11.75 \end{equation*}
and read "\(t\) greater than 4.25 but less than 11.75."

Checkpoint 4.4.3. QuickCheck 1.

Which is the correct way to write "\(x\) is greater than 3 and less than 8"?
  1. \(\displaystyle 8 \gt x \lt 3\)
  2. \(\displaystyle 3 \lt x \lt 8\)
  3. \(\displaystyle 8 \lt x \lt 3\)
  4. \(\displaystyle 3 \lt x \gt 8\)

Technology 4.4.4. Solving an Inequality With a Graphing Calculator.

You can use your graphing calculator to solve the problem in Example 4.4.1. Graph the two functions
\begin{align*} Y_1 \amp= 256X - 16X^2\\ Y_2 \amp= 800 \end{align*}
on the same screen. Use WINDOW settings to match the graph in Example 4.4.1.
GCgraph of fireworks height
Then use the intersect feature to find the points where the two graphs intersect, at about \(x=4.26\) and \(x=11.74\text{.}\) Both these points \(y\)-coordinate \(800\text{,}\) and between the points the parabola is above the line, so \(h \gt 800\) when \(4.26 \lt t \lt 11.74\text{.}\)

Checkpoint 4.4.5. Practice 1.

  1. Graph the function \(y = x^2 - 2x - 9\) in the window
    \begin{align*} \text{Xmin} \amp = -9.4 \amp\amp \text{Xmax} = 9.4\\ \text{Ymin} \amp = -10 \amp\amp \text{Ymax} = 10 \end{align*}
  2. Use the graph to solve the inequality \(x^2 - 2x - 9 \le 6\text{.}\)
Solution.
  1. parabola for quadratic inequality
  2. \(\displaystyle -3 \le x \le 5\)

Subsection 4.4.2 Using the \(x\)-Intercepts

Because it is easy to decide whether the \(y\)-coordinate of a point on a graph is positive or negative (the point lies above the \(x\)-axis or below the \(x\)-axis), we often rewrite a given inequality so that one side is zero.

Example 4.4.6.

Use a graph to solve \(x^2 - 2x - 3 \ge 12\)

Solution.

We first write the inequality with zero on one side:
\begin{equation*} x^2 - 2x - 15 \ge 0\text{.} \end{equation*}
We would like to find points on the graph of \(~y = x^2 - 2x - 15\) that have \(y\)-coordinates greater than or equal to zero. A graph of the equation is shown below.
You can check that the \(x\)-intercepts of the graph are \(-3\) and \(5\text{.}\) \(~\alert{\text{[TK]}}~\)The points shown in blue on the graph lie above the \(x\)-axis and have \(y \ge 0\text{,}\) so the \(x\)-coordinates of these points are the solutions of the inequality.
parabola dividing the x-axis into three regions
Note that the solutions lie in two intervals, less than \(-3\) or greater than \(5\text{.}\) Thus, the solution is \(x \le -3\) or \(x \ge 5\text{.}\)

Caution 4.4.7.

In Example 4.4.6 above, the solution of the inequality \(~x^2 - 2x - 15 \ge 0~\) is the set of values
\begin{equation*} x \le -3~~ \text{ or } ~~x \ge 5 \end{equation*}
This set is another type of compound inequality, and its graph consists of two pieces. Therefore, we cannot write the solution as a single inequality. For instance, it would be incorrect to describe the solution set as \(~-3 \ge x \ge 5~\text{,}\) because this notation implies that \(-3 \ge 5\text{.}\) We must write the solution as two parts: \(x \le -3\) or \(x \ge 5\text{.}\)

Checkpoint 4.4.8. QuickCheck 2.

Which is the correct way to write "\(x\) is less than 6 or greater than 10"?
  1. \(\displaystyle 6 \lt x \gt 10\)
  2. \(\displaystyle 10 \lt x \lt 6\)
  3. \(\displaystyle x \lt 6\) or \(x \gt 10\)
  4. \(\displaystyle 10 \gt x \lt 6\)

Checkpoint 4.4.9. Practice 2.

Follow the steps below to solve the inequality \(36 + 6x - x^2\le 20\text{.}\)
  1. Rewrite the inequality so that the right side is zero.
  2. Graph the equation \(y = 16 + 6x - x^2\text{.}\)
  3. Locate the points on the graph with \(y\)-coordinate less than zero, and mark the \(x\)-coordinates of the points on the \(x\)-axis.
Solution.
\(x \le -2~ \text{or} ~x \ge 8\)

Subsection 4.4.3 Interval Notation

The solution set in Example 4.4.1, namely \(~4.26 \lt t \lt 11.74,~\) is called an interval. An interval is a set that consists of all the real numbers between two numbers \(a\) and \(b\text{.}\) An interval may include one or both of its endpoints.

Interval Notation.

  1. The closed interval \([a,b]\) is the set \(a \le x \le b\text{.}\)
  2. The open interval \((a,b)\) is the set \(a \lt x \lt b\text{.}\)
  3. Intervals may also be half-open or half-closed.
  4. The infinite interval \([a,\infty)\) is the set \(x \ge a\text{.}\)
  5. The infinite interval \((-\infty,a]\) is the set \(x \le a\text{.}\)
The symbol \(\infty\), infinity, does not represent a specific real number; it indicates that the interval continues forever along the real line. A set consisting of two or more intervals is called the union of the intervals. For example, the solution to Example 4.4.6 is denoted in interval notation by \((-\infty,-3)\cup (5, \infty)\text{.}\)
Many solutions of inequalities are intervals or unions of intervals.

Example 4.4.10.

Write the solution sets with interval notation, and graph the solution set on a number line.
  1. \(\displaystyle 3 \le x \lt 6\)
  2. \(\displaystyle x \ge -9\)
  3. \(x \le 1\) or \(x \gt 4\)
  4. \(-8 \lt x \le -5\) or \(-1 \le x \lt 3\)

Solution.

  1. \([3,6)\text{.}\) This is called a half-open or half-closed interval.
    number line
  2. \([-9, \infty)\text{.}\) We always use round brackets next to the symbol \(\infty\) because \(\infty\) is not a specific number and is not included in the set.
    number line
  3. \((-\infty,1] \cup (4, \infty)\text{.}\) The word "or" describes the union of two sets.
    number line
  4. \((-8,-5] \cup [-1,3)\text{.}\)
    number line

Checkpoint 4.4.11. Practice 3.

Write the solutions to Practice 1 and Practice 2 in interval notation.
Solution.
Practice 1: \([-3,5]\)
Practice 2: \((-\infty,-2]\cup [8,\infty)\)

Checkpoint 4.4.12. QuickCheck 3.

True or False
  1. An open interval includes only the numbers between its endpoints.
  2. Infinite intervals include the number \(\infty\text{.}\)
  3. The union of two intervals includes all numbers that lie in at least one of the intervals.
  4. An interval must be either closed or open.

Subsection 4.4.4 Solving Quadratic Inequalities Algebraically

Although a graph is very helpful in solving inequalities, it is not completely necessary. Every quadratic inequality can be put into one of the forms
\begin{align*} ax^2 + bx + c \amp\lt 0\text{,} \amp\hphantom{blank} ax^2 + bx + c \amp\gt 0\\ ax^2 + bx + c \amp\le 0\text{,} \amp\hphantom{blank} ax^2 + bx + c \amp\ge 0 \end{align*}
All we really need to know is whether the corresponding parabola \(y = ax^2 + bx + c\) opens upward or downward. Consider the parabolas shown below.
parabola opens up, the other opens down
The parabola in figure (a) opens upward. It crosses the \(x\)-axis at two points, \(x = r_1\) and \(x = r_2\text{.}\) At these points, \(y = 0\text{.}\)
  • The graph lies below the \(x\)-axis between \(r_1\) and \(r_2\text{,}\) so the solutions to the inequality \(y\lt 0\) lie between \(r_1\) and \(r_2\text{.}\)
  • The graph lies above the \(x\)-axis for \(x\)-values less than \(r_1\) or greater than \(r_2\text{,}\) so the solutions to the inequality \(y\gt 0\) are \(x\lt r_1\) or \(x\gt r_2\text{.}\)
If the parabola opens downward, as in figure (b), the situation is reversed. The solutions to the inequality \(y\gt 0\) lie between the \(x\)-intercepts, and the solutions to \(y\lt 0\) lie outside the \(x\)-intercepts.
From the graphs, we see that the \(x\)-intercepts are the boundary points between the portions of the graph with positive \(y\)-coordinates and the portions with negative \(y\)-coordinates. To solve a quadratic inequality, we need only locate the \(x\)-intercepts of the corresponding graph and then decide which intervals of the \(x\)-axis produce the correct sign for \(y\text{.}\)

To solve a quadratic inequality algebraically.

  1. Write the inequality in standard form: One side is zero, and the other has the form \(ax^2+bx+c\text{.}\)
  2. Find the \(x\)-intercepts of the graph of \(~y=ax^2+bx+c\) by setting \(y=0\) and solving for \(x\text{.}\)
  3. Make a rough sketch of the graph, using the sign of \(a\) to determine whether the parabola opens upward or downward.
  4. Decide which intervals on the \(x\)-axis give the correct sign for \(y\text{.}\)

Example 4.4.13.

Solve the inequality \(~36 + 6x - x^2\le 20~\) algebraically.

Solution.

  1. We subtract 20 from both sides of the inequality so that we have 0 on the right side.
    \begin{equation*} 16 + 6x - x^2\le 0 \end{equation*}
  2. Consider the equation \(y = 16 + 6x - x^2\text{.}\) To locate the \(x\)-intercepts, we set \(y = 0\) and solve for \(x\text{.}\)
    \begin{align*} 16 + 6x - x^2 \amp= 0 \amp\amp \blert{\text{Multiply each term by } {-1}.}\\ x^2 - 6x - 16 \amp = 0 \amp\amp \blert{\text{Factor the left side.}}\\ (x - 8)(x + 2)\amp= 0\amp\amp \blert{\text{Apply the zero-factor principle.}}\\ x - 8 = 0 ~~~\text{ or }~~~x + 2 \amp= 0\\ x = 8 ~~~\text{ or }~~~ x \amp= -2 \end{align*}
    The \(x\)-intercepts are \(x = -2\) and \(x = 8\text{.}\)
  3. Make a rough sketch of the graph of \(y = 16 + 6x - x^2\text{,}\) as shown below. Because \(a = -1 \lt 0\text{,}\) the graph is a parabola that opens downward.
    parabola opening down dividing x-axis into 3 parts
  4. We are interested in points on the graph for which \(y\le 0\text{.}\) The points with negative \(y\)-coordinates (that is, points below the \(x\)-axis) lie outside the \(x\)-intercepts of the graph, so the solution of the inequality is \(~x\le -2~\) or \(~x\ge 8~\text{.}\) Or, using interval notation, the solution is \(~(-\infty,-2] \cup [8,\infty)\text{.}\)

Caution 4.4.14.

Many people think that the inequality signs in the solution should point in the same direction as the sign in the original problem, and hence would incorrectly write the solution to Example 4.4.13 as \(x \le -2\) or \(x \le 8\text{.}\) However, you can see from the graph that this is incorrect. Remember that the graph of a quadratic equation is a parabola, not a straight line!

Checkpoint 4.4.15. Practice 4.

Solve \(x^2 \lt 20\text{.}\)
Hint:
  1. Write the inequality in standard form.
  2. Find the \(x\)-intercepts of the corresponding graph. Use extraction of roots.
  3. Make a rough sketch of the graph.
  4. Decide which intervals on the \(x\)-axis give the correct sign for \(y\text{.}\)
Solution.
\(-\sqrt{20} \lt x \lt \sqrt{20} \)

Checkpoint 4.4.16. QuickCheck 4.

Which is the correct solution for \(x^2 \gt 16\text{?}\)
  1. \(\displaystyle x \gt 4\)
  2. \(\displaystyle x \gt 4~ \text{or} ~x \gt -4\)
  3. \(\displaystyle 4 \lt x \lt -4\)
  4. \(\displaystyle x \lt -4~ \text{or} ~x \gt 4\)

Subsection 4.4.5 Applications

If we cannot find the \(x\)-intercepts of the graph by factoring or extraction of roots, we can use the quadratic formula.

Example 4.4.17.

TrailGear, Inc. manufactures camping equipment. The company finds that the profit from producing and selling \(x\) alpine parkas per month is given, in dollars, by
\begin{equation*} P = -0.8x^2 + 320x - 25,200 \end{equation*}
How many parkas should the company produce and sell each month if it must keep the profits above $2000?

Solution.

  1. We would like to solve the inequality
    \begin{equation*} -0.8x^2 + 320x - 25,200\gt 2000 \end{equation*}
    or, subtracting \(2000\) from both sides,
    \begin{equation*} -0.8x^2 + 320x - 27,200 \gt 0 \end{equation*}
  2. Consider the equation
    \begin{equation*} y = -0.8x^2 + 320x - 27,200 \end{equation*}
    We locate the \(x\)-intercepts of the graph by setting \(y = 0\) and solving for \(x\text{.}\) We will use the quadratic formula to solve the equation
    \begin{equation*} -0.8x^2 + 320x - 27,200 = 0 \end{equation*}
    so \(a = \alert{-0.8}\text{,}\) \(b = \alert{320}\text{,}\) and \(c = \alert{-27,200}\text{.}\) We substitute these values into the quadratic formula to obtain \(~\alert{\text{[TK]}}\)
    \begin{align*} x \amp=\frac{-(\alert{320})\pm\sqrt{(\alert{320})^2 - 4(-0.8)(\alert{-27,200})}} {2(\alert{-0.8})}\\ \amp=\frac{-320\pm\sqrt{102,400 - 87,040}}{-1.6}\\ \amp=\frac{-320\pm\sqrt{15,360}}{-1.6} \end{align*}
    To two decimal places, the solutions to the equation are 122.54 and 277.46.
  3. The graph of the equation is a parabola that opens downward, because the coefficient of \(x^2\) is negative.
    graph of parabola opening down
  4. The graph lies above the \(x\)-axis, and hence \(y \gt 0\text{,}\) for \(x\)-values between the two \(x\)-intercepts, that is, for \(122.54 \lt x \lt 277.46\text{.}\) Because we cannot produce a fraction of a parka, we restrict the interval to the closest whole number \(x\)-values included, namely 123 and 277.
    Thus, TrailGear can produce as few as 123 parkas or as many as 277 parkas per month to keep its profit above $2000.

Checkpoint 4.4.18. Practice 5.

Solve the inequality \(10 - 8x + x^2 \gt 4\text{.}\)
Hint:
  1. Write the inequality in standard form.
  2. Find the \(x\)-intercepts of the corresponding graph. Use extraction of roots.
  3. Make a rough sketch of the graph.
  4. Decide which intervals on the \(x\)-axis give the correct sign for \(y\text{.}\)
Solution.
\((-\infty, 4 - \sqrt{10}) \cup (4 + \sqrt{10},\infty)\)

Checkpoint 4.4.19. QuickCheck 5.

If you cannot find the \(x\)-intercepts of a parabola by factoring, what should you do?
  1. Panic
  2. Use the \(y\)-intercept instead
  3. Use the quadratic formula
  4. Go on to the next problem

Exercises 4.4.6 Problem Set 4.4

Warm Up

Exercise Group.
For Problems 1–4,
  1. Find the \(x\)-intercepts of the parabola.
  2. Decide whether the parabola opens up or down.
1.
\(y=x^2-2x-24\)
2.
\(y=40-x^2\)
3.
\(y=12-(x-3)^2\)
4.
\(y=x^2+3x+1\)
Exercise Group.
For Problems 5 and 6, write the set with interval notation, and graph the set on a number line.
5.
  1. \(\displaystyle 0 \le x \lt 4\)
  2. \(\displaystyle 8 \gt x \gt 5\)
6.
  1. \(\displaystyle x \le 1\)
  2. \(x \ge 3\) or \(x \le -3\)

Skills Practice

7.
  1. Graph the equation \(~y=x^2-2x-3~\) on the grid.
    grid
  2. Darken the portion of the \(x\)-axis for which \(y \gt 0\text{.}\)
  3. Solve the inequality \(~x^2-2x-3\gt 0\)
8.
  1. Graph the equation \(~y=x^2+2x-8~\) on the grid.
    grid
  2. Darken the portion of the \(x\)-axis for which \(y \lt 0\text{.}\)
  3. Solve the inequality \(~x^2+2x-8\lt 0\)
Exercise Group.
For Problems 9 and 10, use the graph to solve the equation and the inequality.
9.
parabola
  1. \(\displaystyle x^2-3x-180 = 0\)
  2. \(\displaystyle x^2-3x-180 \gt 0\)
10.
parabola
  1. \(\displaystyle 175-18x-x^2 = 0\)
  2. \(\displaystyle 175-18x-x^2 \lt 0\)
Exercise Group.
For Problems 11 and 12, graph the parabola in the window
\begin{align*} \text{Xmin} \amp = -9.4 \amp\amp \text{Xmax} = 9.4\\ \text{Ymin} \amp = -25 \amp\amp \text{Ymax} = 25 \end{align*}
Then use the graph to solve the inequalities. Write your answers in interval notation.
11.
\(y=x^2-3x-18\)
For parts (c) and (d), it may be helpful to graph \(Y_2=-8\) as well.
  1. \(\displaystyle x^2-3x-18 \gt 0\)
  2. \(\displaystyle x^2-3x-18 \lt 0\)
  3. \(\displaystyle x^2-3x-18 \le -8\)
  4. \(\displaystyle x^2-3x-18 \ge -8\)
12.
\(y=16-x^2\)
For parts (c) and (d), it may be helpful to graph \(Y_2=7\) as well.
  1. \(\displaystyle 16-x^2 \gt 0\)
  2. \(\displaystyle 16-x^2 \lt 0\)
  3. \(\displaystyle 16-x^2 \le 7\)
  4. \(\displaystyle 16-x^2 \ge 7\)
Exercise Group.
For Problems 13–16, solve the inequality. It may be helpful to sketch a rough graph.
13.
\((x-3)(x+2) \gt 0\)
14.
\((x+3)(x-4) \le 0\)
15.
\(k(k-4)\ge 0\)
16.
\(t^2-36 \lt 0\)
Exercise Group.
For Problems 17–24, solve the inequality algebraically. Write your answers in interval notation, and round to two decimal places if necessary.
17.
\(q^2+9q+18 \lt 0\)
18.
\(28-3x-x^2 \ge 0\)
19.
\(2z^2-7z \gt 4\)
20.
\(4x^2+x \ge -2x^2+2\)
21.
\(5-v^2 \lt 0\)
22.
\(x^2-4x+1 \ge 0\)
23.
\(-3-m^2 \lt 0\)
24.
\(w^2-w+4 \le 0\)
Exercise Group.
For Problems 25 and 26, solve the inequality by graphing. Use the window setting
\begin{align*} \text{Xmin} \amp = -9.4 \amp\amp \text{Xmax} = 9.4\\ \text{Ymin} \amp = -64 \amp\amp \text{Ymax} = 62 \end{align*}
25.
\(x^2-1.4x-20 \lt 9.76\)
26.
\(-6x^2-36x-20 \le 25.36\)

Applications

27.
The \(x\)-intercepts of the graph of \(~y=2x^2+bx+c~\) are \(-4.2\) and \(2.6\text{.}\) What are the solutions of the inequality \(~2x^2+bx+c \gt 0\text{?}\)
28.
The \(x\)-intercepts of the graph of \(~y=-x^2+bx+c~\) are \(-2 \pm \sqrt{17}.\) Which of the following are solutions of the inequality \(~-x^2+bx+c \ge 0\text{?}\)
  1. \(\displaystyle 2\)
  2. \(\displaystyle -6\)
  3. \(\displaystyle \sqrt{17}\)
  4. \(\displaystyle 2\sqrt{17}\)
Exercise Group.
For Problems 29 and 30,
  1. Solve the problem by writing and solving an inequality.
  2. Graph the equation and verify your solution on the graph.
29.
A fireworks rocket is fired from ground level. Its height in feet \(t\) seconds after launch is given by
\begin{equation*} h=320t-16t^2 \end{equation*}
During what time interval is the rocket higher than 1024 feet?
30.
The volume of a cylindrical can should be between 21.2 and 21.6 cubic inches. If the height of the can is 5 inches, what values for the radius (to the nearest hundredth of an inch) will produce an acceptable can?
Exercise Group.
For Problems 31 and 32, recall that
\begin{equation*} \text{Revenue} = \text{(number of items sold)} \cdot \text{( price per item)} \end{equation*}
31.
Green Valley Nursery sells \(120-10p\) boxes of rose food per month at a price of \(p\) dollars per box. It would like to keep its monthly revenue from rose food over $350. In what range should it price a box of rose food?
32.
The Locker Room finds that it sells \(1200-30p\) sweatshirts each month when it charges \(p\) dollars per sweatshirt. It would like its revenue from sweatshirts to be over $9000 per month. In what range should it keep the price of a sweatshirt?
33.
A farmer inherits an apple orchard on which 60 trees are planted per acre. Each tree yields 12 bushels of apples. Experimentation has shown that for each tree removed per acre, the yield per tree increases by \(\dfrac{1}{2}\) bushel.
  1. Write algebraic expressions for the number of trees per acre and for the yield per tree if \(x\) trees per acre are removed.
  2. Write a quadratic equation for the total yield per acre if \(x\) trees are removed per acre.
  3. What is the maximum yield per acre that can be achieved by removing trees? How many trees per acre should be removed to achieve this yield?
  4. How many trees should the farmer remove per acre in order to harvest at least 850 bushels per acre?
  5. Graph your equation for total yield in the window
    \begin{align*} \text{Xmin} \amp = 0 \amp\amp \text{Xmax} = 94\\ \text{Ymin} \amp = 0 \amp\amp \text{Ymax} = 1000 \end{align*}
    and use your graph to verify your answers to parts (e) and (f).
You have attempted of activities on this page.