TITLE: Why $4a^3+27b^2<0 \iff x^3+ax+b=0$ has exactly three solutions?
QUESTION [5 upvotes]: According to Exc. 8 Sec. 4.3 of the book Advanced Calculus by Fitzpatrick,

For numbers $a$ and $b$, prove that the following equation has exactly three solutions if and only $4a^3+27b^2<0$: $$ x^3+ax+b=0, \ \  \ \ \  x \ \text{in} \ \mathbb R.$$

Long time struggling, I can't prove neither directions. The book is pretty rudimentary and discussions like here are beyond the scope of the book. 
Let $f(x) = x^3 + ax + b$. So $f'(x) = 3x^2 + a$. Set $3x^2 + a = 0$, so that at the points $\sqrt{-a/3}$ and $-\sqrt{-a/3}$, $f'(x) = 0$. There exists exactly two maximum/minimum due to the existence of $3$ solutions. These $2$ max/min must be at $x = \sqrt{-a/3}$ and $x = -\sqrt{-a/3}$. Note that must $a<0$. Also must $f(-\sqrt{-a/3}) > 0$ and $f(\sqrt{-a/3})<0$. Putting $\pm \sqrt{-a/3}$ into $f(x)$, I fail to conclude $4a^3 + 27b^2 < 0$. As, $$-(-a/3)^{3/2}-a(-a/3)^{1/2}+b>0 \\ (-a/3)^{3/2}+a(-a/3)^{1/2}+b<0$$ results in $a<0$ and no more thing!
Please help!

REPLY [5 votes]: Let $\alpha$, $\beta$ and $\gamma$ be the roots, then $\alpha+\beta+\gamma=0$.
The discriminant:
\begin{align*}
  \Delta &= (\alpha-\beta)^2(\alpha-\gamma)^2(\beta-\gamma)^2 \\
  &=
  -27\alpha^2 \beta^2 \gamma^2-
  4(\beta \gamma+\gamma \alpha+\alpha \beta)^3 \\
  &= -27b^2-4a^3
\end{align*}
For real coefficients $a$, $b$ but with complex roots, there're two roots being conjugate.
Say $\beta=\bar{\gamma}=u+vi$, then
\begin{align*}
  \Delta &= (\alpha-u-vi)^2(\alpha-u+vi)^2(2vi)^2 \\
  &= -4v^2[(\alpha-u)^2+v^2]^2 \\
  &< 0 \\
 4a^3+27b^2 &> 0 \\
\end{align*}

For three real roots,
  $$\Delta \ge 0 \implies 4a^3+27b^2 \le 0$$