# Help with Cardano's Formula

I'm trying to understand how to solve cubic equations using Cardano's formula. To test the method, I expand $(x-3)(x+1)(x+2)=x^3-7x-6$. My hope is that the formula will produce the roots $-1,-2,3$. But the formula seems to make a mess of things: I compute that $\frac{q^2}{4}+\frac{p^3}{27}=\frac{100}{27}$, and so the formula gives me the baffling $$\sqrt[3]{3+i \sqrt{\frac{100}{27}}}+\sqrt[3]{3-i \sqrt{\frac{100}{27}}}.$$

I'd like to know if there is a straightforward way one or all of the roots $-1,-2,3$ from this expression. I've asked several people this question, and the usual punchline is that I've produced a proof that this expression is $-1,-2$ or $3$ (depending on the choice of cube root etc.) That is not my goal.

I found a book of Cardano's writings in the library, but it seems some of his writings have been lost. I'm convinced that he and his cohort had some method for doing this. So, does anyone know how to use the cubic formula for real? Specifically, in such a way as to recognize the output as a particular integer/rational number when it is one?

Thanks!

-

This is the casus irreducibilis, first discussed in detail by Bombelli. We end up unavoidably needing to travel through the complex numbers to end up with real roots! This is important historically, since it was the first time that one needed to treat complex non-real numbers seriously. We do not need to worry about non-real numbers when solving quadratics, since after all we can say that there are no roots. But that is not the case here, since undeniably there are real roots.

When you are trying to find the cube roots of your complex expression, you can assume that a cube root of your first expression is $a+bi$. Cube this, and you will get some messy equations. But you can (in this case) "spot" a root, and then you are finished. But that is cheating, it is due entirely to the fact that the roots of the original cubic are "nice."

One workaround of sorts is to use the trigonometric solution to the cubic, which is uses the trigonometric identity $\cos 3\theta=4\cos^3\theta-3\cos\theta$. You may want to look at the Wikipedia article on the cubic, which is reasonably thorough.

-
I looked at Wikipedia; it didn't really answer my question. I'm trying to find a way to use Cardano's formula. It seems it is only of theoretical interest? – Steven Spallone May 16 '12 at 1:28
Indeed, you are right, except we can find an expression for the required cube root by using De Moivre's Theorem. But that takes us again to transcendental functions, just like the trigonometric solution. – André Nicolas May 16 '12 at 1:55

Cardano's formulas work like that. When a polynomial with real coefficients has three distinct real roots, the formulas give you two of the roots with complex numbers as intermediate steps. In your case, in fact: $$\sqrt[3]{3+i \sqrt{\frac{100}{27}}} = \frac{3}{2}+i\frac{\sqrt{3}}{6}, \qquad \sqrt[3]{3-i \sqrt{\frac{100}{27}}} = \frac{3}{2}-i\frac{\sqrt{3}}{6},$$ so their sum is $3$.

-
Okay, so here we are. How do you see "in fact..." without knowing already that -1,-2,3 are roots? To me, these facts seem more difficult to establish! – Steven Spallone May 16 '12 at 1:35
Cardano's formulas work like that. When a polynomial with real coefficients has three distinct real roots, the formulas give you two of the roots with complex numbers as intermediate steps. In your case, in fact: $$\sqrt[3]{3+i \sqrt{\frac{100}{27}}} = \frac{3}{2}+i\frac{\sqrt{3}}{6}, \qquad \sqrt[3]{3-i \sqrt{\frac{100}{27}}} = \frac{3}{2}-i\frac{\sqrt{3}}{6},$$ so their sum is $3$. How on earth do you figure out things like $\sqrt[3]{3+i \sqrt{\frac{100}{27}}} = \frac{3}{2}+i\frac{\sqrt{3}}{6}$? – user42091 Sep 21 '12 at 16:44

It is possible to prove that if $a$ and $b$ are relatively prime integers such that $a$ is not divisile by $3,$ then the cubic $x^{3}+ax+b$ has all its roots integers if and only if $4a^{3}+27b^{2}= -c^{2}$ for some integer $c.$ If $a$ is divisible by $3,$ but $a$ and $b$ are still relatively prime, then the situation is more complicaed, and there are three integer roots if and only if $4a^{3}+27b^{2} = -729c^{2}$ for some integer $c.$ In the first case, there are integers $s$ and $t$ such that $-a = s^{2}+t^{2}-st,$ $b = st(s-t)$, and the roots are $-s,t$ and $s-t$. In the second case, there are integers $s$ and $t$ such that $-a = 3(s^{2}+t^{2}-st)$ and the roots are $s+t, t-2s$ and $s-2t$. The only way I know to prove this myself is using the fact that the Eisenstein integers are a unique factorization domain. The ring of Eisenstein integers is $\mathbb{Z}[\omega]$, where $\omega$ is a complex primitive cube root of unity.

-
Thanks for the info, though I still don't see a straightforward way to manipulate the expression to get the answer. – Steven Spallone May 16 '12 at 1:33
No, but it is easy to check whether $4a^{3} + 27b^{2}$ has the required form, and if it does, then the roots are easy to find. I am suggesting a way to "bypass" Cardano's formulae, I am not saying that this method makes Cardano's formulae any easier to use. For example, with $x^{3}- 7x-6$, we find that $4a^{3} + 27b^{2} = -400 = -20^{2}$, so we know that the roots are all integers just from the coefficients of the cubic. Then the roots are three factors of $6$ whose sum iz zero. – Geoff Robinson May 16 '12 at 6:18