# 6.8: Solve Quadratic Inequalities

- Last updated

- Save as PDF

- Page ID
- 29081

Learning Objectives

By the end of this section, you will be able to:

- Solve quadratic inequalities graphically
- Solve quadratic inequalities algebraically

Before you get started, take this readiness quiz.

- Solve: \(2x−3=0\).

If you missed this problem, review Example 2.2. - Solve: \(2y^{2}+y=15\).

If you missed this problem, review Example 6.45. - Solve \(\frac{1}{x^{2}+2 x-8}>0\)

If you missed this problem, review Example 7.56.

We have learned how to solve linear inequalities and rational inequalities previously. Some of the techniques we used to solve them were the same and some were different.

We will now learn to solve inequalities that have a quadratic expression. We will use some of the techniques from solving linear and rational inequalities as well as quadratic equations.

We will solve quadratic inequalities two ways—both graphically and algebraically.

## Solve Quadratic Inequalities Graphically

A **quadratic equation** is in standard form when written as \(ax^{2}+bx+c=0\). If we replace the equal sign with an inequality sign, we have a **quadratic inequality** in standard form.

Definition \(\PageIndex{1}\)

Quadratic Inequality

A **quadratic inequality** is an inequality that contains a quadratic expression.

The standard form of a quadratic inequality is written:

\(\begin{array}{ll}{a x^{2}+b x+c<0} & {a x^{2}+b x+c \leq 0} \\ {a x^{2}+b x+c>0} & {a x^{2}+b x+c \geq 0}\end{array}\)

The graph of a quadratic function \(f(x)=a x^{2}+b x+c=0\) is a parabola. When we ask when is \(a x^{2}+b x+c<0\), we are asking when is \(f(x)<0\). We want to know when the parabola is below the \(x\)-axis.

When we ask when is \(a x^{2}+b x+c>0\), we are asking when is \(f(x)>0\). We want to know when the parabola is above the \(y\)-axis.

Example \(\PageIndex{1}\) How to Solve a Quadratic Inequality Graphically

Solve \(x^{2}−6x+8<0\) graphically. Write the solution in interval notation.

**Solution**:

**Step 1**: Write the quadratic inequality in standard form.

The inequality is in standard form.

\(x^{2}-6 x+8<0\)

**Step 2**: Graph the function \(f(x)=a x^{2}+b x+c\) using properties or transformations.

We will graph using the properties.

\(f(x)=x^{2}-6 x+8\)

Look at \(a\) in the equation.

\(\color{red}{a=1, b=-6, c=8}\)

\(f(x)=x^{2}-6 x+8\)

Since \(a\) is positive, the parabola opens upward.

**The parabola opens upward.**

\(f(x)=x^{2}-6 x+8\)

The axis of symmetry is the line \(x=-\frac{b}{2 a}\).

Axis of Symmetry

\(x=-\frac{b}{2 a}\)

\(\begin{array}{l}{x=-\frac{(-6)}{2 \cdot 1}} \\ {x=3}\end{array}\)

**The axis of symmetry is the line \(x=3\).**

The vertex is on the axis of symmetry. Substitute \(x=3\) into the function.

Vertex

\(\begin{array}{l}{f(x)=x^{2}-6 x+8} \\ {f(3)=(\color{red}{3}\color{black}{)}^{2}-6(\color{red}{3}\color{black}{)}+8} \\ {f(3)=-1}\end{array}\)

**The vertex is \((3,-1)\).**

We find \(f(0)\)

\(y\)-intercept

\(\begin{array}{l}{f(x)=x^{2}-6 x+8} \\ {f(0)=(\color{red}{0}\color{black}{)}^{2}-6(\color{red}{0}\color{black}{)}+8} \\ {f(0)=8}\end{array}\)

**The \(y\)-intercept is \((0.8)\). **

We use the axis of symmetry to find a point symmetric to the \(y\)-intercept. The \(y\)-intercept is \(3\) units left of the axis of symmetry, \(x=3\). A point \(3\) units to the right of the axis of symmetry has \(x=6\).

Point symmetric to \(y\)-intercept

**The point is \((6,8)\).**

We solve \(f(x)=0\).

\(x\)-intercepts

We can solve this quadratic equation by factoring.

\(\begin{aligned} f(x) &=x^{2}-6 x+8 \\ \color{red}{0} &\color{black}{=}x^{2}-6 x+8 \\ \color{red}{0} &\color{black}{=}(x-2)(x-4) \\ x &=2 \text { or } x=4 \end{aligned}\)

**The \(x\)-intercepts are \((2,0)\) and \((4,0)\).**

We graph the vertex, intercepts, and the point symmetric to the \(y\)-intercept. We connect these \(5\) points to sketch the parabola.

**Step 3**: Determine the solution from the graph.

\(x^{2}-6 x+8<0\)

The inequality asks for the values of \(x\) which make the function less than \(0\). Which values of \(x\) make the parabola below the \(x\)-axis.

We do not include the values \(2\), \(4\) as the inequality is less than only.

The solution, in interval notation, is \((2,4)\).

Exercise \(\PageIndex{1}\)

- Solve \(x^{2}+2 x-8<0\) graphically
- Write the solution in interval notation

**Answer**-

*Figure 9.8.4*- \((-4,-2)\)

Exercise \(\PageIndex{2}\)

- Solve \(x^{2}-8 x+12 \geq 0\) graphically
- Write the solution in interval notation

**Answer**-

*Figure 9.8.5*- \((-\infty, 2] \cup[6, \infty)\)

We list the steps to take to solve a quadratic inequality graphically.

### Solve a Quadratic Inequality Graphically

- Write the quadratic inequality in standard form.
- Graph the function \(f(x)=ax^{2}+bx+c\).
- Determine the solution from the graph.

In the last example, the parabola opened upward and in the next example, it opens downward. In both cases, we are looking for the part of the parabola that is below the \(x\)-axis but note how the position of the parabola affects the solution.

Example \(\PageIndex{2}\)

Solve \(-x^{2}-8 x-12 \leq 0\) graphically. Write the solution in interval notation.

**Solution**:

The quadratic inequality in standard form. | \(-x^{2}-8 x-12 \leq 0\) |

Graph the function \(f(x)=-x^{2}-8 x-12\) |
The parabola opens downward. |

Find the line of symmetry. | \(\begin{array}{l}{x=-\frac{b}{2 a}} \\ {x=-\frac{-8}{2(-1)}} \\ {x=-4}\end{array}\) |

Find the vertex. |
\(\begin{aligned} f(x) &=-x^{2}-8 x-12 \\ f(-4) &=-(-4)^{2}-8(-4)-12 \\ f(-4) &=-16+32-12 \\ & f(-4)=4 \end{aligned}\) Vertex \((-4,4)\) |

Find the \(x\)-intercepts. Let \(f(x)=0\). | \(\begin{aligned} f(x) &=-x^{2}-8 x-12 \\ 0 &=-x^{2}-8 x-12 \end{aligned}\) |

Factor: Use the Zero Product Property. | \(\begin{array}{l}{0=-1(x+6)(x+2)} \\ {x=-6 \quad x=-2}\end{array}\) |

Graph the parabola. |
\(x\)-intercepts \((-6,0), (-2.0)\) |

Determine the solution from the graph. We include the \(x\)-intercepts as the inequality is "less than or equal to." | \((-\infty,-6] \cup[-2, \infty)\) |

Exercise \(\PageIndex{3}\)

- Solve \(-x^{2}-6 x-5>0\) graphically
- Write the solution in interval notation

**Answer**-

*Figure 9.8.8*- \((-1,5)\)

Exercise \(\PageIndex{4}\)

- Solve \(−x^{2}+10x−16≤0\) graphically
- Write the solution in interval notation

**Answer**-

*Figure 9.8.9*- \((-\infty, 2] \cup[8, \infty)\)

## Solve Quadratic Inequalities Algebraically

The algebraic method we will use is very similar to the method we used to solve rational inequalities. We will find the critical points for the inequality, which will be the solutions to the related quadratic equation. Remember a polynomial expression can change signs only where the expression is zero.

We will use the **critical points** to divide the number line into intervals and then determine whether the quadratic expression will be positive or negative in the interval. We then determine the solution for the inequality.

Example \(\PageIndex{3}\) How to Solve Quadratic Inequalities Algebraically

Solve \(x^{2}-x-12 \geq 0\) algebraically. Write the solution in interval notation.

**Solution**:

Step 1: Write the quadratic inequality in standard form. |
The inequality is in standard form. | \(x^{2}-x-12 \geq 0\) |

Step 2: Determine the critical points--the solutions to the related quadratic equation. |
Change the inequality sign to an equal sign and then solve the equation. | \(\begin{array}{c}{x^{2}-x-12=0} \\ {(x+3)(x-4)=0} \\ {x+3=0 \quad x-4=0} \\ {x=-3 \quad x=4}\end{array}\) |

Step 3: Use the critical points to divide the number line into intervals. |
Use \(-3\) and \(4\) to divide the number line into intervals. | |

Step 4: Above the number line show the sign of each quadratic expression using test points from each interval substituted from the original inequality. |
Test: \(x=-5\) \(x=0\) \(x=5\) |
\(\begin{array}{ccc}{x^{2}-x-12} & {x^{2}-x-12} & {x^{2}-x-12} \\ {(-5)^{2}-(-5)-12} & {0^{2}-0-12} & {5^{2}-5-12} \\ {18} & {-12} & {8}\end{array}\) |

Step 5: Determine the intervals where the inequality is correct. Write the solution in interval notation. |
\(x^{2}-x-12 \geq 0\) The inequality is positive in the first and last intervals and equals \(0\) at the points \(-4,3\). |
The solution, in interval notation, is \((-\infty,-3] \cup[4, \infty)\). |

Exercise \(\PageIndex{5}\)

Solve \(x^{2}+2x−8≥0\) algebraically. Write the solution in interval notation.

**Answer**-
\((-\infty,-4] \cup[2, \infty)\)

Exercise \(\PageIndex{6}\)

Solve \(x^{2}−2x−15≤0\) algebraically. Write the solution in interval notation.

**Answer**-
\([-3,5]\)

In this example, since the expression \(x^{2}−x−12\) factors nicely, we can also find the sign in each interval much like we did when we solved rational inequalities. We find the sign of each of the factors, and then the sign of the product. Our number line would like this:

The result is the same as we found using the other method.

We summarize the steps here.

### Solve a Quadratic Inequality Algebraically

- Write the quadratic inequality in standard form.
- Determine the critical points—the solutions to the related quadratic equation.
- Use the critical points to divide the number line into intervals.
- Above the number line show the sign of each quadratic expression using test points from each interval substituted into the original inequality.
- Determine the intervals where the inequality is correct. Write the solution in interval notation.

Example \(\PageIndex{4}\)

Solve \(x^{2}+6x−7≥0\) algebraically. Write the solution in interval notation.

**Solution**:

Write the quadratic inequality in standard form. | \(-x^{2}+6 x-7 \geq 0\) |

Multiply both sides of the inequality by \(-1\). Remember to reverse the inequality sign. | \(x^{2}-6 x+7 \leq 0\) |

Determine the critical points by solving the related quadratic equation. | \(x^{2}-6 x+7=0\) |

Write the Quadratic Formula. | \(x=\frac{-b \pm \sqrt{b^{2}-4 a c}}{2 a}\) |

Then substitute in the values of \(a, b, c\). | \(x=\frac{-(-6) \pm \sqrt{(-6)^{2}-4 \cdot 1 \cdot(7)}}{2 \cdot 1}\) |

Simplify. | \(x=\frac{6 \pm \sqrt{8}}{2}\) |

Simplify the radical. | \(x=\frac{6 \pm 2 \sqrt{2}}{2}\) |

Remove the common factor, \(2\). | \(\begin{array}{l}{x=\frac{2(3 \pm \sqrt{2})}{2}} \\ {x=3 \pm \sqrt{2}} \\ {x=3+\sqrt{2}} \quad x=3-\sqrt{2} \\ {x \approx 1.6}\quad\quad\:\:\: x\approx 4.4\end{array}\) |

Use the critical points to divide the number line into intervals. Test numbers from each interval in the original inequality. | |

Determine the intervals where the inequality is correct. Write the solution in interval notation. | \(-x^{2}+6 x-7 \geq 0\) in the middle interval \([3-\sqrt{2}, 3+\sqrt{2}]\) |

Exercise \(\PageIndex{7}\)

Solve \(−x^{2}+2x+1≥0\) algebraically. Write the solution in interval notation.

**Answer**-
\([-1-\sqrt{2},-1+\sqrt{2}]\)

Exercise \(\PageIndex{8}\)

Solve \(−x^{2}+8x−14<0\) algebraically. Write the solution in interval notation.

**Answer**-
\((-\infty, 4-\sqrt{2}) \cup(4+\sqrt{2}, \infty)\)

The solutions of the quadratic inequalities in each of the previous examples, were either an interval or the union of two intervals. This resulted from the fact that, in each case we found two solutions to the corresponding quadratic equation \(ax^{2}+bx+c=0\). These two solutions then gave us either the two \(x\)*-*intercepts for the graph or the two critical points to divide the number line into intervals.

This correlates to our previous discussion of the number and type of solutions to a quadratic equation using the discriminant.

For a quadratic equation of the form \(ax^{2}+bc+c=0, a≠0\).

The last row of the table shows us when the parabolas never intersect the \(x\)-axis. Using the Quadratic Formula to solve the quadratic equation, the radicand is a negative. We get two complex solutions.

In the next example, the quadratic inequality solutions will result from the solution of the quadratic equation being complex.

Example \(\PageIndex{5}\)

Solve, writing any solution in interval notation:

- \(x^{2}-3 x+4>0\)
- \(x^{2}-3 x+4 \leq 0\)

**Solution**:

a.

Write the quadratic inequality in standard form. | \(-x^{2}-3 x+4>0\) |

Determine the critical points by solving the related quadratic equation. | \(x^{2}-3 x+4=0\) |

Write the Quadratic Formula. | \(x=\frac{-b \pm \sqrt{b^{2}-4 a c}}{2 a}\) |

Then substitute in the values of \(a, b, c\). | \(x=\frac{-(-3) \pm \sqrt{(-3)^{2}-4 \cdot 1 \cdot(4)}}{2 \cdot 1}\) |

Simplify. | \(x=\frac{3 \pm \sqrt{-7}}{2}\) |

Simplify the radicand. | \(x=\frac{3 \pm \sqrt{7 i}}{2}\) |

The complex solutions tell us the parabola does not intercept the \(x\)-axis. Also, the parabola opens upward. This tells us that the parabola is completely above the \(x\)-axis. |
Complex solutions |

We are to find the solution to \(x^{2}−3x+4>0\). Since for all values of \(x\) the graph is above the \(x\)-axis, all values of \(x\) make the inequality true. In interval notation we write \((−∞,∞)\).

b. Write the quadratic inequality in standard form.

\(x^{2}-3 x+4 \leq 0\)

Determine the critical points by solving the related quadratic equation.

\(x^{2}-3 x+4=0\)

Since the corresponding quadratic equation is the same as in part (a), the parabola will be the same. The parabola opens upward and is completely above the \(x\)-axis—no part of it is below the \(x\)-axis.

We are to find the solution to \(x^{2}−3x+4≤0\). Since for all values of \(x\) the graph is never below the \(x\)-axis, no values of \(x\) make the inequality true. There is no solution to the inequality.

Exercise \(\PageIndex{9}\)

Solve and write any solution in interval notation:

- \(-x^{2}+2 x-4 \leq 0\)
- \(-x^{2}+2 x-4 \geq 0\)

**Answer**-
- \((-\infty, \infty)\)
- no solution

Exercise \(\PageIndex{10}\)

Solve and write any solution in interval notation:

- \(x^{2}+3 x+3<0\)
- \(x^{2}+3 x+3>0\)

**Answer**-
- no solution
- \((-\infty, \infty)\)

## Key Concepts

- Solve a Quadratic Inequality Graphically
- Write the quadratic inequality in standard form.
- Graph the function \(f(x)=ax^{2}+bx+c\) using properties or transformations.
- Determine the solution from the graph.

- How to Solve a Quadratic Inequality Algebraically
- Write the quadratic inequality in standard form.
- Determine the critical points -- the solutions to the related quadratic equation.
- Use the critical points to divide the number line into intervals.
- Above the number line show the sign of each quadratic expression using test points from each interval substituted into the original inequality.
- Determine the intervals where the inequality is correct. Write the solution in interval notation.

### Glossary

**quadratic inequality**- A quadratic inequality is an inequality that contains a quadratic expression.