The Solution
Calculation: Cardano's Method Calculator
Cardano's Method Calculator
Enter your polynomial coefficients above and click "Apply Cardano's Method" to see results.Cubic Equation Solver
Find real and complex roots, discriminant, and cubic graphs in seconds with our precision solver.
Provide your cubic's coefficients to walk through Cardano's classical 16th-century solution method step by step.
Calculation: Cardano's Method Calculator
Cardano's Method Calculator
Enter your polynomial coefficients above and click "Apply Cardano's Method" to see results.The Treatise
The Formula
The Method
The Illustration
The Deep Dive
The formula has a dramatic origin story. Around 1515, Scipione del Ferro of Bologna solved the depressed cubic but told almost no one. On his deathbed he confided it to his student Fior. In 1535 Fior challenged the brilliant Niccolò Tartaglia, who re-derived the solution under pressure and won. Gerolamo Cardano then coaxed the secret from Tartaglia under oath, learned del Ferro had priority, and published everything in his Ars Magna of 1545 with credit to both men. Tartaglia never forgave him. Mathematics gained its first great priority dispute, and algebra gained its crown jewel.
The derivation repays close study. Start with t³ + pt + q = 0 and substitute t = u + v. Expanding gives u³ + v³ + q + (3uv + p)(u + v) = 0. The stroke of genius is demanding 3uv + p = 0, which kills the last term and leaves the symmetric system u³ + v³ = −q, u³v³ = −(p/3)³. Two numbers with known sum and product are the roots of a quadratic, so u³ and v³ are the roots of z² + qz − (p/3)³ = 0. Take cube roots, add, and the formula appears. Every step is reversible, so nothing is lost.
The strangest chapter is the casus irreducibilis. Consider t³ − 15t − 4 = 0, which has the obvious root t = 4 since 64 − 60 − 4 = 0. Cardano's formula gives t = ∛(2 + √(−121)) + ∛(2 − √(−121)), square roots of negative numbers for an answer that is plainly 4. Rafael Bombelli noticed around 1572 that (2 + i)³ = 2 + 11i, so the two complex cube roots are 2 + i and 2 − i, summing to 4. Real answers hiding inside complex arithmetic: this single computation did more for the acceptance of complex numbers than any philosophical argument.
The quantity under the square root, D = (q/2)² + (p/3)³, is essentially the discriminant in disguise: Δ = −108D = −(4p³ + 27q²). Its sign is the complete classifier. When D > 0, one real root and a complex pair emerge from real radicals. When D = 0, a repeated root appears and the formula simplifies. When D < 0, you are in the irreducible case with three real roots demanding complex intermediates. Checking this sign before computing saves you from misreading the output.
Why keep a 500-year-old formula when computers can approximate roots in milliseconds? Because exactness matters. Computer algebra systems carry Cardano's method symbolically so that downstream algebra stays exact: simplifying expressions, proving identities, and computing closed forms with parameters. The formula also marks a boundary in mathematics: cubics and quartics yield to radicals, but the Abel-Ruffini theorem proves no such general formula exists for degree five. Cardano's method is therefore both a practical tool and a monument at the edge of what radicals can do.
The Applications
Systems like Mathematica, Maple, and SymPy implement Cardano's method as their symbolic cubic solver. When you ask for an exact solution, the software depresses your cubic, applies the formula, and simplifies the radicals. Every "solve exactly" button for cubics in these systems is Cardano's 1545 recipe running at machine speed.
When a design parameter appears inside a cubic, engineers need the root as a formula in that parameter, not a single number. Cardano's method delivers closed-form expressions that can be differentiated, optimized, and embedded in larger symbolic models, for example in linkage design and control system tuning.
The casus irreducibilis forced mathematicians to take square roots of negative numbers seriously, because real answers demanded them. Bombelli's rules for complex arithmetic, written to make Cardano's formula work, became the foundation of complex analysis. A whole branch of mathematics exists partly because this formula refused to stay real.
Olympiad and entrance-exam problems sometimes require exact radical forms where decimals earn no credit. Recognizing when a cubic yields to Cardano, versus when the rational root theorem is faster, is a standard piece of contest training. The formula also appears in proofs that certain constructions are impossible with ruler and compass.
Developers of numerical root-finders test their code against Cardano's exact answers. If Newton's method or a Jenkins-Traub implementation disagrees with the closed form beyond tolerance, the bug is in the numerics, not the formula. Exact solutions are the ground truth that keeps approximate algorithms honest.
The Cautions
Skipping the depression step: The formula only accepts the depressed form t³ + pt + q = 0. Feeding it a general cubic directly produces nonsense. Always reduce first with the depressed cubic calculator.
Choosing wrong cube-root branches: Nine branch combinations exist but only three satisfy uv = −p/3. Mixing branches gives values that look like roots but fail substitution. When in doubt, test each candidate in the original equation.
Sign errors in p and q: The formulas p = (3ac − b²)/3a² and q = (2b³ − 9abc + 27a²d)/27a³ are sign minefields. One flipped sign in q flips both cube radicands. Compute carefully or let the tool do it.
Forgetting to shift back: The formula returns t, not x. The roots of your original equation are x = t − b/3a. Reporting t as the answer is the most common final-step error students make.
Panicking at complex intermediates: In the irreducible case the formula passes through complex numbers on its way to real answers. This is normal, not an error. Simplify the complex cube roots as Bombelli did and the imaginary parts cancel.
The Reference
The Questions
A 1545 formula that expresses the roots of any cubic in radicals. It works on the depressed form t³ + pt + q = 0, giving t = ∛(−q/2 + √D) + ∛(−q/2 − √D) with D = (q/2)² + (p/3)³.
Yes. The formula only handles t³ + pt + q = 0. Use our depressed cubic calculator to convert any cubic first; it takes seconds.
This is the casus irreducibilis: with three real roots and no rational root, real radicals alone cannot express them. The formula detours through complex cube roots whose imaginary parts cancel. Our complex roots calculator shows the full picture.
Scipione del Ferro found it first around 1515, Tartaglia re-derived it independently, and Cardano published it in Ars Magna (1545). Credit is shared, though the priority dispute was bitter.
Yes. Ferrari, Cardano's student, extended the method to quartics by reducing them to a resolvent cubic. For degree five and above, the Abel-Ruffini theorem proves no general radical formula exists.
Rarely. Try the rational root theorem first; it cracks most textbook cubics in seconds. Reserve Cardano for irreducible cases or when exact radicals are required.
With Δ = −(4p³ + 27q²) < 0 you get one real root and a complex conjugate pair from real radicals, the simplest case. Check the sign anytime with our discriminant calculator.
Only if misapplied: the leading coefficient must be nonzero, the cubic must be depressed first, and cube-root branches must satisfy uv = −p/3. Applied correctly, it cannot fail.