Cubic Equation Solver (Cardano's Formula)
Enter p and q of the depressed cubic t³ + pt + q = 0 to get the discriminant q²/4 + p³/27 and one real root, or all three real roots when it is negative.
Raízes
—
Cubic roots by Cardano's method
Any cubic equation ax³ + bx² + cx + d = 0 reduces to its depressed form t³ + pt + q = 0 once you apply the substitution x = t - b/(3a), which clears the quadratic term. From there, Cardano's formula (Ars Magna, 1545) hands you one real root: t = ∛(-q/2 + √(q²/4 + p³/27)) + ∛(-q/2 - √(q²/4 + p³/27)).
Example: take t³ - 6t + 4 = 0, where p = -6 and q = 4. Then q²/4 + p³/27 = 4 - 8 = -4 < 0. That negative value flags the casus irreducibilis, the awkward case where three perfectly real roots come out of the cube roots of complex numbers. It was Bombelli (1572) who first worked formally with imaginary numbers to push through it.
Applications
You run into cubics more often than you might expect. They show up in chemical kinetics (equilibrium concentrations in third-order reactions), in solid mechanics (eigenvalues of 3×3 stress tensors and characteristic polynomials), in signal processing (cubic IIR filters), in the state equations of thermodynamics (van der Waals), and in computer graphics (Bézier cubics).
FAQ
What is the depressed form? Strip out the quadratic term with x = t - b/(3a) and you're left with t³ + pt + q = 0. That's the shape Cardano's formula tackles head-on.
What is the casus irreducibilis? It's what happens when q²/4 + p³/27 < 0. The cubic still has three distinct real roots, yet the radical formula detours through complex numbers to find them, so most people reach for the trigonometric form instead.
How are the other two roots found? Once you have one root r, divide the polynomial by (x - r). What's left is a quadratic, and solving that gives you the remaining two.
Why is the formula attributed to Cardano? Because he put it in print, in Ars Magna (1545). The history is messier than the name suggests: Tartaglia had shared the method with him in confidence, and del Ferro had cracked a partial case even earlier.
Related Tools
Cubic Equation Solver
Solve cubic ax³+bx²+cx+d=0 by Cardano formula. Shows real and complex roots.
Root Calculator
Calculate the square root, cube root or nth root of any number. Result with 10 decimal places of precision.
Cubic Mean Load (Bearing)
Calculate the equivalent mean load of a bearing under a cycle with two different loads, P_m = ∛(P₁³·U₁ + P₂³·U₂), from the loads P₁ and P₂ (N) and the time (or revolution) fractions during which they act U₁ and U₂ (with U₁ + U₂ = 1). Many bearings do not work under CONSTANT load: the load varies over the operating cycle (a press loading and unloading, a motor accelerating and decelerating, a machine with different work phases). To compute life in this case, the variable cycle is replaced by an equivalent CONSTANT load causing the same fatigue damage — the mean load. But the mean is NOT arithmetic: since fatigue damage is proportional to load CUBED (the life exponent p=3), the mean load is a time-fraction-weighted mean, but with the loads cubed (then cube-rooted) — the so-called cubic mean or 'fatigue-weighted mean'. This makes HIGH loads weigh disproportionately more (a double load causes 8× more damage), so even a small fraction of time at high load dominates the result. This formula (here for two load levels; it generalizes to several) is essential to size bearings in variable-load machines, avoiding underestimating the damage. Enter the two loads and their time fractions.
Quadratic Roots and Discriminant Calculator
Enter a, b and c to get b² − 4ac and the two solutions of ax² + bx + c = 0, real when that value is zero or positive and complex when it is negative.
ADA Staking Rewards
Estimates yearly ADA delegation rewards at 4.2% average APR.
Quadratic Equation Solver
Solve quadratic equations (ax² + bx + c = 0) with the quadratic formula. Shows the discriminant Δ and real roots.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.