Solving Quadratic Inequalities with 2 or 1 Roots

Illustrated · 2 min

Suppose we have a quadratic function f(x)f(x) with 11 or 22 real roots. In this scenario, we can use special methods to solve an inequality like f(x)≥0f(x) \geq 0.

Let's focus on the inequality f(x)≥0f(x) \geq 0 for now. We can address f(x)≤0f(x) \leq 0 later since it is an identical process and intuition.

Example

Consider f(x)=x2−4x+3f(x) = x^2-4x+3. From Factoring Polynomials, we know we can write f(x)=(x−3)(x−1)f(x) = (x-3)(x-1). So, we know f(x)f(x) has roots at x=1x=1 and x=3x=3.

Now, suppose we want to find the xx values such that f(x)≥0f(x) \geq 0. We can first build intuition by looking at the graph for f(x)f(x)

Graph of f(x) = x^2-4x+3

Now, just looking at the graph, we can see that for x≤1x \leq 1 and x≥3x \geq 3, f(x)≥0f(x) \geq 0.

If we want to do this algebraically, we will take advantage of the fact that f(x)f(x) has two real roots, and can be written as f(x)=(x−3)(x−1)f(x) = (x-3)(x-1).

Notice that for (x−3)(x−1)(x-3)(x-1) to be non-negative, either both x−3x-3 and x−1x-1 have to be non-positive or both x−3x-3 and x−1x-1 have to be non-negative. We can write this as {x−3≤0x−1≤0 or {x−3≥0x−1≥0\begin{align*} \begin{cases} x-3 \leq 0\\ x-1\leq 0 \end{cases} \text{ or } \begin{cases} x-3 \geq 0\\ x-1\geq 0 \end{cases} \end{align*}

Now, we just have to solve each of these systems of linear inequalities separately, and we can get a solution for f(x)≥0f(x) \geq 0 by combining the solutions.

For the first one, we see x−3≤0x-3 \leq 0 holds for x≤3x \leq 3 and x−1≤0x-1 \leq 0 holds for x≤1x \leq 1. Therefore, the solution to the entire system of inequalities is when both hold, which is when x≤1x \leq 1.

For the second one, we see x−3≥0x-3 \geq 0 holds for x≥3x \geq 3 and x−1≥0x-1 \geq 0 holds for x≥1x \geq 1. Therefore, the solution to the entire system of inequalities is when both hold, which is when x≥3x \geq 3.

Since we only need one of these to hold to make f(x)≥0f(x) \geq 0, we know that f(x)≥0f(x) \geq 0 for x≤1x \leq 1 and x≥3x \geq 3

Other inequalities

Now, if we want to extend this to solving f(x)≤0f(x) \leq 0, we just have to notice that f(x)≤0f(x) \leq 0 precisely when {x−3≥0x−1≤0 or {x−3≤0x−1≥0\begin{align*} \begin{cases} x-3 \geq 0\\ x-1\leq 0 \end{cases} \text{ or } \begin{cases} x-3 \leq 0\\ x-1\geq 0 \end{cases} \end{align*}

Then, we can solve this system like we did above and get a solution for f(x)≤0f(x) \leq 0.

Only One Root

But what if there is only 11 root? Then, we can use the same process as above, where we factor and solve the systems of linear inequalities that arise. This is because we know any quadratic function which has exactly 11 root can be written in the form f(x)=a(x−c)2f(x) = a(x-c)^2, where cc is the root.

Summary

If you have a function f(x)f(x) which has 11 or 22 real roots, do the following steps to try and solve an inequality of the form f(x)≥0f(x) \geq 0, f(x)≤0f(x) \leq 0, f(x)>0f(x) > 0 or f(x)<0f(x) < 0.

  1. Factor f(x)f(x) as f(x)=a(x−c)(x−d)f(x) = a(x-c)(x-d).

  2. Depending on the inequality you're solving, convert the inequality to systems of linear inequalities in terms of x−cx-c and x−dx-d.

  3. The solutions to the systems of linear inequalities you get should be the same as the solutions to the original inequality, so you're all done!

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems