# How many real roots can a cubic equation $x^3 + bx^2 + cx + d = 0$ have?

We know that a quadratic equation has at most two real roots. Now, how many real roots can a cubic equation $x^3 + bx^2 + cx + d = 0$ have? Explain your answer.

I know by the back of my head that a cubic equation has either one real root or three real roots. However, how do I go about proving it? If it's possible, I would appreciate examples to showcase this.

What i have attempted so far:

Since $x^3 + bx^2 + cx + d = 0$ is a cubic polynomial equaation, it is continuous on $[a,b]$, where $a<b$, and differentiable on $(a,b)$. Thus, by Roelle's Theorem, there exists $d ϵ (a,b)$ such that $$f'(d) = 0$$ $$3x^2 + 2bx + c = 0$$ Hence, this shows that there exists at least one real root on this cubic equation.

How do I then show it has three real roots as well?

Thanks.

• $x^2(x-1)$. How many real roots? Sep 26 '17 at 17:11
• The fundamental theorem of algebra says that any polynomial has a unique factorization $a(x-r_1)(x-r_2)(x-r_3)$ Now, those roots could be complex, or real, or roots of multiplicity. But the maximal number of real roots equals the degree of the polynomial. If it has complex roots and real coefficients, complex roots will be found in conjugate pairs. Sep 26 '17 at 17:13
• Well, you can show by example: that it can have 1 ($x(x^2 + 1)$, 2($x^2(x+1)$) or 3($x(x+1)(x-1)$). And you have shown it can't have 0. Can you accept it can't have more than 3? Sep 26 '17 at 17:46
• A cubic equation has at least one real root this can be shown using the Intermediate Value Theorem Sep 26 '17 at 19:54

Let $p(x) = x^3 + bx^2 + cx + d$.

$p(x)$ is continuous, and we know there is a sufficiently large $x^*$ with $p(-x^*) < 0 < p(x^*)$. By the intermediate value theorem, there is at least one point in $(-x^*,x^*)$ where $p(x) = 0$. So $p(x)$ has at least one real root.

If $p(x)$ has four real roots, then the following must be satisfied $$\left[\begin{matrix}x_1^3 & x_1^2 & x_1 & 1 \\x_2^3 & x_2^2 & x_2 & 1 \\x_3^3 & x_3^2 & x_3 & 1 \\x_4^3 & x_4^2 & x_4 & 1 \end{matrix}\right]\left[\begin{matrix}1 \\ b\\c\\d\end{matrix}\right] = \mathbf{0}$$ Since the determinant of the matrix is $(x_1 - x_2)(x_1-x_3)(x_1-x_4)(x_2-x_3)(x_2-x_4)(x_3-x_4) \ne 0$, this is impossible. $p(x)$ cannot have four (or more) real roots.

So $p(x)$ must have at least one real root, and it can't have four or more. Can it have two or three? Well, $p(x) = x^3 -x^2$ has two real roots, and $p(x) = x^3 - x$ has three real roots, so these are clearly possible. Thus, a cubic can have one, two, or three real roots.

Look at $|x| \to \infty$ for the cubic equation and use the intermediate value theorem to conclude that there is at least on a real solution.

Using this we can rewrite the polynomial $p(x)=(x-x_1)(\alpha x^2+\beta x+\gamma)$

Now as we have a quadratic equation with real coefficients $\alpha x^2+\beta x+\gamma$, we know there are three possible cases.

Case 1: no real solution (in total 1 real root for the cubic).

Case 2: we have two distinct real solutions (in total 3 real roots).

Case 3: We have a real solution with a multiplicity of 2 (in total 3 real roots).