NW Iowa Math Teachers Circle
The solution to the quadratic was known by the Babylonians, over 5000 years ago, but it is closely associated with the work of the Islamic mathematicians, who were active in the Middle East around 800–1200 AD.
One of those mathematicians, Omar Khayyam, was able to solve cubic equations by intersecting conic sections, but, as negative numbers were viewed as fictitious, he had 14 different versions of a cubic:
(In this case, \(b,c,d > 0\).)
Khayyam lacked a general approach to solving cubics, and this remained the case through the early 1500s.
By 1500, it was known that one could reduce the general cubic
\[ ax^3 + bx^2 + cx + d = 0 \qquad(1)\]
to the so-called depressed cubic:
\[ u^3 + eu + f = 0 \qquad(2)\]
Exercise
Consider the cubic \(x^3 +6x^2 - 25\). Use the substitution \(x = u - 2\) to transform it into a depressed cubic in the variable \(u\). (Credit: Cal Jongsma)
(If one divides the general cubic Equation 1 by \(a\) and substitutes \(x = u - b/(3a)\), the square term is eliminated.)
Exercise
A man sells a sapphire for 500 ducats, making a profit of the cube root of his capital. How much is this profit?
I swear to you, by God’s holy Gospels, and as a true man of honor, not only never to publish your discoveries, if you teach me them, but I also promise you, and I pledge my faith as a true Christian, to note them down in code, so that after my death no one will be able to understand them.
Tartaglia gave his solution to \(x^3 +cx = d\) in a poem:
When the cube and its things near
Add to a new number, discrete,
Determine two new numbers different
By that one; this feat
Will be kept as a rule
Their product always equal, the same,
To the cube of a third
Of the number of things named.
Then, generally speaking,
The remaining amount
Of the cube roots of subtracted
Will be your desired count.
We begin with the depressed cubic \(u^3 + eu + f = 0\) (Equation 2). Observe that the binomial formula gives
\[ (s+t)^3 = s^3 + 3s^2 t + 3st^2 + t^3, \qquad(3)\]
Exercise
Rewrite Equation 3 as a cubic in the variable \(s+t\). [Hint: the constant term will be \(-s^3 - t^3\).]
The work in the previous exercises means that \(u = s+t\) is a solution of \(u^3 + eu + f = 0\) if \(s\) and \(t\) are chosen to solve the system
\[ \begin{align*} -3st &= e \\ s^3 + t^3 &= -f. \end{align*} \]
Exercise
Let’s finish the derivation of the cubic formula.
\[ u = -\frac{e}{3\sqrt[3]{\frac{-f}{2} + \frac{\sqrt{f^2 + 4e^3/27}}{2}}} + \sqrt[3]{\frac{-f}{2} + \frac{\sqrt{f^2 + 4e^3/27}}{2}} \qquad(4)\]
Let’s put Equation 4 to good use and solve a cubic that Cardano himself thought about.
Exercise
In this exercise we’ll consider the cubic \(x^3 - 15x - 4 = 0\).
With the benefit of 400+ years of mathematical development after Bombelli, let’s explore complex numbers to understand just what \(\sqrt[3]{2+11i} + \sqrt[3]{2-11i}\) really is.
Definition 1 A complex number is an expression of the form \(a+bi\), where \(a,b\in \mathbb{R}\) and \(i^2 = -1\). The set of complex numbers is denoted by \(\mathbb{C}\). The real part of the complex number, denoted \(\Re(a+bi)\), is the real number \(a\). The imaginary part of the complex number, denoted \(\Im(a+bi)\), is the real number \(b\).
Since a complex number is identified by two bits of information (its real and imaginary parts), we can visualize the complex numbers in a plane, as shown below.
Exercise
Let’s try to understand what \(\sqrt[3]{2+11i}\) is. If \(\sqrt[3]{2+11i} = a+bi\), we may cube both sides to find \((a+bi)^3 = 2+11i\).
Using elementary trigonometry, we see that for some \(r\) and \(\theta\),
\[ a+bi = r (\cos\theta + i\sin\theta). \qquad(5)\]
Euler’s formula, \(e^{i\theta} = \cos\theta + i\sin\theta\), allows us to rewrite Equation 5 as
\[ a+bi = re^{i\theta}. \qquad(6)\]
Exercise
Let’s write \(2+11i\) and its cube root in polar form.
What we found in the previous exercise is that \(\alpha = \theta/3\). We will use the triple angle formula for tangent to evaluate \(\sqrt[3]{2+11i}\). Recall that
\[ \tan 3\alpha = \frac{\tan\alpha (3 - \tan^2\alpha)}{1 - 3\tan^2\alpha}. \qquad(7)\]
Exercise
Let’s try to understand what \(\sqrt[3]{2+11i}\) is, this time using the polar form of a complex number, as well as Equation 7.
Definition 2 Given a natural number \(n \ge 1\), a complex number \(z\) is called an \(n\)th root of unity if \(z^n = 1\). An \(n\)th root of unity \(z_0\) is called primitive if it is not a root of unity for any \(m < n\).
Exercise
Let’s explore some elementary properties of roots of unity.
Primitive roots of unity are nice because they generate the other roots of unity.
Theorem 1 Let \(\zeta_0\) be a primitive \(n\)th root of unity. Then the \(n\)th roots of unity are given by \(1, \zeta_0, \zeta_0^2, \zeta_0^3, \ldots, \zeta_0^{n-1}\).
Using the formula you found for expressing roots of unity in terms of sine and cosine, we find the third roots of unity
\[ \omega_1 = \cos\left( \frac{2\pi}{3} \right) + i \sin \left( \frac{2\pi}{3} \right) = -\frac{1}{2} + \frac{\sqrt{3}}{2} i \qquad(8)\]
and
\[ \omega_2 = \cos\left( \frac{2\cdot 2\pi}{3} \right) + i \sin \left( \frac{2\cdot 2\pi}{3} \right) = -\frac{1}{2} - \frac{\sqrt{3}}{2} i \qquad(9)\]
Exercise
Confirm that \(\omega_1^2= \omega_2\).
Well, when we were deriving Cardano’s formula above, we got to the point where we had
\[ t^3 = \frac{-f}{2} + \frac{\sqrt{f^2 + 4e^3/27}}{2}. \]
Exercise
Let’s return again to \(x^3 - 15x - 4 = 0\). We saw that \(x = s+t\), where \(t = \sqrt[3]{\frac{-f}{2} + \frac{\sqrt{f^2 + 4e^3/27}}{2}} = 2+i\) and \(s = -e/3t\).
The roots of unity have a pleasing visual form as well.
Exercise
(manim
code by ChatGPT)
Solve the cubic \(x^3 + 6x = 20\).
Resources: https://mkjanssen.org/mtc_cardano.html