A Renaissance Drama: The Race to Solve the Cubic
A Renaissance Drama: The Race to Solve the Cubic
Author: Christoph Würsch, Institute for Computational Engineering, ICE, OST
Cardano’s Method for Cubic Equations
Girolamo Cardano (1501–1576) published the general solution of the cubic in Ars Magna (1545). The depressed-cubic case was known earlier to Scipione del Ferro (c. 1465–1526) and was independently rediscovered by Niccolò Tartaglia (1500–1557). Cardano, after learning of del Ferro’s prior discovery, included the method in his treatise and credited del Ferro. The modern streamlined derivation below follows the spirit of Cardano’s presentation.
The story of the cubic formula isn’t one of quiet contemplation in a university library; it’s a tale of secrets, ambition, betrayal, and a dramatic intellectual duel fought in the public squares of 16th-century Italy.
Our story begins in Bologna with Scipione del Ferro, a mathematics professor with a secret. In an era where academic reputations were made and broken in public challenges, a unique discovery was a weapon to be guarded. Del Ferro had found the holy grail of his time: a method for solving the “depressed” cubic equation, those of the form . For years, he kept this powerful knowledge to himself, a secret key that could unlock problems no one else could solve. Only on his deathbed, around 1526, did he pass it on, whispering the formula to his student, the mediocre but ambitious Antonio Fior. Fior now possessed a treasure he hadn’t earned, a single, powerful trick he believed would make him famous.
The Challenger from the Gutter
Meanwhile, in Venice, a brilliant, self-taught mathematician named Niccolò Fontana was making a name for himself. Scarred on the face by a French soldier’s sword as a child, the wound left him with a permanent stammer, earning him the nickname “Tartaglia” (the Stammerer), which he defiantly adopted. Tartaglia was a mathematical prodigy who rose from poverty to become one of Italy’s most respected problem-solvers.
In 1535, news of Tartaglia’s prowess reached Fior, who, seeing a chance for glory, made a fatal mistake: he challenged the Stammerer to a public mathematics contest. The rules were simple: each man would set 30 problems for the other. The winner would take home the prize money and, more importantly, the glory. Fior, confident in his secret weapon, crafted all his problems based on the form, certain that Tartaglia would be unable to solve them.
Tartaglia, receiving the list of problems, realized they were all of the same, unsolved type. Panic set in. With the clock ticking, he threw himself at the problem with ferocious intensity. In a stunning display of genius, on the night of February 13, 1535, just days before the deadline, Tartaglia had a breakthrough. He rediscovered the solution for himself! He swiftly solved all 30 of Fior’s problems in a matter of hours. When the day of reckoning came, Tartaglia was triumphant. Fior, on the other hand, couldn’t solve a single one of the varied problems Tartaglia had set for him. His one-trick pony had failed, and he faded into historical obscurity.
The Oath and the Betrayal
Tartaglia’s stunning victory made him a celebrity. News of his secret method reached Milan and the ears of the brilliant, eccentric, and insatiably curious polymath Gerolamo Cardano. A renowned physician, astrologer, and compulsive gambler, Cardano was also a mathematician of the first rank and was writing a comprehensive book on algebra, Ars Magna (“The Great Art”). The cubic solution was the one missing piece.
Cardano begged Tartaglia to share the secret. Tartaglia, wary and protective of his hard-won knowledge, repeatedly refused. But Cardano was persistent. He flattered Tartaglia, invited him to Milan, and promised him patronage and introductions. Finally, he cornered Tartaglia and swore a sacred oath:
“I swear to you, by God’s holy Gospels, and as a true man of honour, not only never to publish your discoveries, if you teach them to me, but I 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.”
Moved by the solemnity of the oath, Tartaglia relented. He revealed his solution, possibly in the form of a cryptic poem, to keep it from being easily understood.
The Great Art and the Aftermath
Cardano was no Fior. He not only understood the method but, with the help of his brilliant young student Lodovico Ferrari, mastered and expanded it. Together, they figured out how to solve all cubic equations, including those with an term. During this work, Cardano stumbled upon a startling implication: the formula sometimes required taking the square root of a negative number to arrive at a real answer. These were the first whispers of complex numbers.
Years passed. Cardano, honoring his oath, kept the secret. But then, on a trip to Bologna, he and Ferrari made a shocking discovery while examining del Ferro’s old notebooks. There, plain as day, was the solution to the depressed cubic. Del Ferro had discovered it before Tartaglia.
Cardano saw his chance. His oath, he reasoned, bound him not to publish Tartaglia’s work. But this was del Ferro’s work, discovered earlier! Feeling absolved, in 1545, he published Ars Magna. In it, he presented the complete solution to the cubic and quartic (solved by Ferrari). He gave full credit to both del Ferro for the first discovery and Tartaglia for his independent rediscovery.
But for Tartaglia, it was the ultimate betrayal. His name was in the book, but the glory belonged to Cardano. Enraged, he launched a vicious public feud, accusing Cardano of theft and oath-breaking. Cardano himself refused to engage, letting his fiercely loyal student, Ferrari, fight in his place. Another public contest was arranged, this time between Tartaglia and Ferrari. The younger, more agile mind of Ferrari won the day. Tartaglia, defeated and humiliated, lost his prestige and died a few years later, impoverished and bitter.
Cardano’s name is the one forever attached to the method, a testament to a dramatic and bitter chapter in the history of science, where genius, secrecy, and ambition collided to give the world one of its great mathematical treasures.
We present a clear and self-contained derivation of the solution formulas for cubic equations in two stages: first the depressed cubic , and then the general monic cubic via a Tschirnhaus shift. Along the way we justify each algebraic step, derive the resolvent quadratic, discuss how to choose cube-root branches consistently, and analyze the structure of real and complex roots via the discriminant. Brief historical notes situate the method in the work of Cardano, with connections to del Ferro and Tartaglia.
The Depressed Cubic
First, let’s tackle a simplified version of the cubic equation called the depressed cubic. This is a cubic equation that is missing the term. It has the general form:
Here, and are known numbers, which can be real or complex. The entire strategy hinges on a brilliantly clever substitution.
Step 1: The substitution
The core idea is to replace the single unknown variable with the sum of two new unknown variables, and . So, we set . This might seem strange—why make the problem more complicated by introducing two unknowns instead of one? The reason is that this gives us extra flexibility. We can later impose a convenient condition on and that will make the equation much simpler.
Let’s substitute into our depressed cubic equation:
Expanding the term gives us:
Now, let’s group the terms a bit differently. We can factor out of the middle two terms of the expansion:
This is where the magic happens. We have two terms that contain . Let’s factor that out:
Now we use the extra flexibility we gained from introducing two variables. We can impose a condition on and that simplifies this equation. Look at the term . If we could make that whole term equal to zero, the equation would become much simpler! So, let’s do exactly that. We will require that and satisfy the following constraint:
By enforcing this condition, the middle part of our cubic equation simply vanishes! The equation now simplifies dramatically to:
So, by substituting and imposing the condition , we’ve transformed our original problem into finding two numbers, and , that satisfy two new equations:
Step 2: The resolvent quadratic for and
Let’s look at the two conditions we have. If we cube the second condition, we get , which is .
Now, let’s make another small substitution to make things even clearer. Let and . Our two conditions become:
- Sum:
- Product:
This is a classic problem! If you know the sum and product of two numbers ( and ), you can find them by forming a quadratic equation. A quadratic equation with roots and can be written as . Expanding this gives .
We already know and , so we can plug them right in:
This simplifies to what is known as the resolvent quadratic equation:
We can solve this for using the quadratic formula, . In our case, , , and . The two solutions for will be our values for and .
So, the two solutions are:
Let’s define the expression inside the square root as , which is closely related to the discriminant: With this definition, our solutions for and become much cleaner: and .
Step 3: Taking matched cube roots and solving for
We’ve found and . Remember that we defined and . To find and , we just need to take the cube roots:
Since our original substitution was , the solution for appears to be:
This is Cardano’s famous formula for the depressed cubic! However, there’s a very important subtlety here. Any non-zero complex number has three distinct cube roots. So when we write , there are three possible values for . Similarly, there are three possible values for . This gives possible combinations for the pair . Which one is correct?
This is where our constraint from Step 1, , becomes critical again. We must choose the cube root for and the cube root for such that their product is exactly . This requirement “matches” the roots and reduces the nine possible pairs to just three valid ones, which correspond to the three roots of the cubic equation.
Branch matching with cubic roots. To understand this matching, we use the complex roots of unity. The three cube roots of 1 are , , and . Notice that .
If is one specific cube root of , then the other two are and . Similarly, if is one cube root of , the others are and .
Let’s say we pick a pair such that their product . What about the other combinations?
- --- This product is wrong.
- --- This product is right!
- --- This is also right.
To keep the product constant, if we multiply by a root of unity (say, ), we must multiply by its inverse (). This gives us the three valid pairs that satisfy the constraint: The three sums give the three roots of the cubic equation.
Step 4: The discriminant and the nature of roots
The value tells us about the nature of the roots. It’s directly related to the polynomial discriminant, , by the formula:
The sign of (or equivalently, the sign of ) separates the solutions into three cases for equations with real coefficients and :
-
(): In this case, is a real number. The two cube roots in the formula are of real numbers. This gives one real root and two complex conjugate roots. Cardano’s formula works perfectly here and directly gives you the real root.
-
(): Here, , so . The equation has multiple real roots. Specifically, if and are not both zero, there is a double root and a simple root. If , there is a triple root at .
-
(): This is the most interesting and historically challenging case, known as the casus irreducibilis (the irreducible case). Here, is an imaginary number. This means that to find the roots, you must take the cube root of complex numbers. The paradox is that in this case, the equation has three distinct real roots. The formula forces you to go through the complex numbers to find real solutions, which baffled mathematicians for centuries.
Step 5: Trigonometric (all-real) representation when
For the casus irreducibilis, where we have three real roots but the formula involves complex numbers, there is a more practical way to find the roots using trigonometry. This method avoids complex radicals. If and , we can make the substitution:
Plugging this into the cubic and using the trigonometric identity leads to:
We can then solve for :
The value on the right-hand side will be between -1 and 1 precisely when . We can find the angle by taking the arccosine. Since cosine is a periodic function, there are multiple angles that work, which is how we find all three roots. The three solutions for are given by:
This formula gives all three real roots without any intermediate complex numbers.
Special cases. If , then . If , then or .
The General Cubic
Now, what if our cubic equation has an term? The strategy is to transform this general cubic into a depressed cubic, which we already know how to solve!
Step 1: Depress the cubic (kill the -term)
We can eliminate the term by shifting the function horizontally. This is achieved with a substitution known as a Tschirnhaus transformation. We set:
Why this specific value? When you substitute this into the general cubic and expand the terms, the terms involving will perfectly cancel out. Let’s see it: The first term gives . The second term gives . These two terms cancel, eliminating the squared term!
Substituting fully and collecting terms gives us a new depressed cubic in the variable :
where the new coefficients and are defined in terms of the old ones ():
Step 2: Apply Cardano to the depressed form
We now have a depressed cubic . We can solve this for using the exact method we developed in the first section. We calculate our value using the new and :
Let and . Then, by taking properly matched cube roots and such that , we find the solutions for :
Finally, we must remember that we solved for , not our original variable . To get the solution for , we just undo the substitution from Step 1: . This gives the complete formula for the general cubic equation:
where and are calculated from as shown in Step 1.
Step 3: All three roots via cubic roots of unity
Just as before, we can find all three roots. Let and be principal cube roots of and that satisfy . The three solutions for are:
The three solutions for are then found by undoing the shift for each :
Discriminant and Complex-Root Analysis for the General Cubic
The horizontal shift does not change the nature of the roots (e.g., how many are real vs. complex). Therefore, the discriminant of the depressed cubic tells us everything we need to know about the roots of the original cubic .
We use the same discriminant, calculated using the and from the depressed form:
- (): three distinct real roots.
- (): a multiple root (either a triple root, or one simple + one double root). All roots are real.
- (): one real root and two nonreal complex-conjugate roots.
Summary
Cardano’s method is a beautiful and powerful algorithm for solving any cubic equation. The overall strategy is:
- Depress the Cubic: If the equation has an term, use the substitution to eliminate it. This reduces the problem to solving a simpler “depressed” cubic.
- The Substitution: For the depressed cubic , substitute . This allows you to impose the condition , which simplifies the equation immensely.
- Solve the Resolvent Quadratic: The problem is now reduced to finding and . Their sum is and their product is . These two values are the roots of a simple quadratic equation.
- Take Matched Cube Roots: Find and by taking the cube roots. Crucially, you must choose the roots that satisfy the condition . Using the complex roots of unity allows you to find all three valid pairs, giving the three solutions for .
- Undo the Shift: Once you have the solutions for , use the relation to find the solutions to your original equation.
The discriminant reveals the nature of the roots (real, complex, or multiple) without having to solve the entire equation.
Further reading: G. Cardano, Ars Magna, 1545 (English trans. T. Richard Witmer, 1968); R. Bombelli, L’Algebra, 1572, for early systematic use of complex numbers in the cubic.