Algebra & Polynomial Solvers

Cubic Equation Calculator

Solve general 3rd degree equations \(ax^3 + bx^2 + cx + d = 0\) step-by-step using Cardano's formula, with discriminant analysis, real & complex roots, and inflection points.

Quick Examples:
Solving standard form: a·x³ + b·x² + c·x + d = 0   (a ≠ 0)
3 Distinct Real Roots (Δ > 0)
Polynomial Discriminant \(\Delta =\) 100
Root 1 (\(x_1\)) 1
Root 2 (\(x_2\)) 2
Root 3 (\(x_3\)) 3
Depressed Form \(t^3 + pt + q = 0\)

t³ - 1t + 0 = 0

Inflection Point \((x_{\text{inf}}, y_{\text{inf}})\)

(2, 0)

Local Extrema (Critical Points)

x₁ = 1.4226, x₂ = 2.5774

Detailed Step-by-Step Solution Breakdown

Anatomy of Third-Degree Polynomial Equations

A cubic equation is an algebraic polynomial equation in which the highest exponent of the unknown variable \(x\) is three:

\(ax^3 + bx^2 + cx + d = 0 \quad (a \ne 0)\)

By the Fundamental Theorem of Algebra, every cubic equation has exactly three roots (counting multiplicities). Because the complex roots of real-coefficient polynomials always occur in conjugate pairs (\(u \pm vi\)), a real cubic curve must cross the horizontal \(x\)-axis at least once. Thus, a cubic equation will always possess either three real roots or one real root and two complex conjugate roots.

How to Use the Cubic Equation Calculator

Solve any general cubic equation step-by-step using Cardano's algebraic method:

1

Input Real Coefficients

Enter values for leading coefficient \(a\) (\(a \ne 0\)), quadratic coefficient \(b\), linear coefficient \(c\), and constant \(d\). Or click quick presets like 3 Real Roots or 1 Real + 2 Complex.

2

Automatic Discriminant Analysis

The solver computes polynomial discriminant \(\Delta\) immediately, classifying root nature (\(\Delta > 0\) for 3 distinct real roots, \(\Delta = 0\) for multiple roots, \(\Delta < 0\) for 1 real and 2 complex conjugate roots).

3

Extract Roots & Critical Points

Review all three roots (\(x_1, x_2, x_3\)), the depressed cubic substitution \(t^3 + pt + q = 0\), exact point of inflection, and local extrema critical coordinates.

Problems This Cubic Equation Calculator Solves

Solving Casus Irreducibilis Without Errors

When a cubic has 3 real roots (\(\Delta > 0\)), Cardano's formula requires taking cube roots of complex numbers (known historically as the casus irreducibilis). Our calculator seamlessly resolves this via Vieta's trigonometric method.

Finding Exact Complex Conjugate Roots

When a cubic has only one real intercept, finding the two imaginary roots by hand requires tedious polynomial long division and the quadratic formula. Our solver displays both complex roots in clean \(u \pm vi\) form.

Extracting Curve Inflection & Extrema

Instead of computing derivatives manually, the tool instantly calculates the point of inflection (\(x_{\text{inf}} = -b / 3a\)) and local maximum/minimum critical values.

Physics, Thermodynamics & Engineering

From van der Waals real gas state equations to cubic equations of state in chemical engineering, solving for molar volumes requires accurate cubic root extraction.

Key Features & Capabilities

All 3 Roots

Extracts all three solutions in clean decimal or complex \(u \pm vi\) Cartesian notation.

Discriminant Badge

Color-coded indicator showing exact discriminant value \(\Delta\) and root nature.

Depressed Form

Shows the transformed Tschirnhaus depression \(t^3 + pt + q = 0\) with shift \(x = t - b/3a\).

Instant Reactive UI

Calculates immediately as you type coefficients with zero button clicking.

Cardano's Method: Depressing the Cubic

In 1545, Italian mathematician Gerolamo Cardano published the algebraic solution to cubic equations (discovered by Scipione del Ferro and Niccolò Tartaglia). The genius of the method lies in shifting the coordinate system to eliminate the quadratic (\(x^2\)) term. Substituting:

\(x = t - \frac{b}{3a}\)

This transforms the general cubic into the depressed cubic form:

\(t^3 + pt + q = 0\)

where \(p = \frac{3ac - b^2}{3a^2}\) and \(q = \frac{2b^3 - 9abc + 27a^2d}{27a^3}\). Solving for \(t\) and shifting back gives the solutions for \(x\).

The Cubic Discriminant: Determining Root Types

The polynomial discriminant \(\Delta\) dictates the nature of the roots:

\(\Delta = 18abcd - 4b^3d + b^2c^2 - 4ac^3 - 27a^2d^2\)
\(\Delta > 0\) (3 Real Roots)

The curve intersects the \(x\)-axis at three distinct points. Known historically as the casus irreducibilis, solved cleanly using Vieta's trigonometric method.

\(\Delta = 0\) (Repeated Roots)

All roots are real, and at least two are identical (the cubic curve is tangent to the \(x\)-axis).

\(\Delta < 0\) (1 Real, 2 Complex)

One real root where the curve crosses the axis, plus a pair of complex conjugate roots \(u \pm vi\).

Inflection Point and Point Symmetry

Every cubic curve possesses an inflection point where the second derivative equals zero: \(f''(x) = 6ax + 2b = 0 \implies x_{\text{inf}} = -\frac{b}{3a}\).

Crucially, a cubic curve is centrosymmetric: rotating the curve by \(180^\circ\) around its inflection point maps the curve perfectly onto itself. If the curve has local extrema (a local maximum and local minimum), they are located symmetrically equidistant from the inflection point.

Frequently Asked Questions

What is a cubic equation?
A cubic equation is an algebraic polynomial equation of degree three, written in the standard form ax^3 + bx^2 + cx + d = 0, where a, b, c, and d are real or complex numbers with leading coefficient a != 0. By the Fundamental Theorem of Algebra, every cubic equation has exactly three roots (which may be real or complex, distinct or repeated).
What is Cardano's formula for cubic equations?
Cardano's formula (discovered by Scipione del Ferro and Niccolo Tartaglia, and published by Gerolamo Cardano in 1545) is the closed-form algebraic formula that solves depressed cubics t^3 + pt + q = 0. It defines the root as t = cbrt(-q/2 + sqrt((q/2)^2 + (p/3)^3)) + cbrt(-q/2 - sqrt((q/2)^2 + (p/3)^3)).
What is a 'depressed cubic'?
A depressed cubic is a cubic polynomial equation that has no quadratic (x^2) term: t^3 + pt + q = 0. Any general cubic ax^3 + bx^2 + cx + d = 0 can be converted into a depressed cubic by making the linear coordinate substitution x = t - b/(3a), which centers the polynomial at its inflection point.
How does the discriminant predict the nature of cubic roots?
The polynomial discriminant Delta = 18abcd - 4b^3d + b^2c^2 - 4ac^3 - 27a^2d^2 dictates the root profile: 1. If Delta > 0, the equation has three distinct real roots; 2. If Delta = 0, all roots are real and there is a repeated root (multiplicity 2 or 3); 3. If Delta < 0, the equation has one real root and two non-real complex conjugate roots.
What is the 'casus irreducibilis' in cubic equations?
The casus irreducibilis (Latin for 'irreducible case') occurs when a cubic equation has three distinct real roots (Delta > 0, or D < 0 in the depressed discriminant). In this case, Cardano's formula requires taking square roots of negative numbers inside cube roots—meaning real roots cannot be expressed using real radicals alone without passing through imaginary intermediate numbers. Francois Vieta resolved this in 1591 using a trigonometric cosine substitution.
Can a cubic equation have zero real roots?
No. Because non-real complex roots of real polynomials always occur in conjugate pairs (a + bi and a - bi), a third-degree polynomial with real coefficients must have either three real roots or one real root accompanied by one conjugate complex pair. It can never have zero real roots.
How do you find the inflection point of a cubic curve?
The inflection point is the exact point on the curve where the concavity changes from concave upward to concave downward (or vice versa). It is found by setting the second derivative to zero: f''(x) = 6ax + 2b = 0, which yields x = -b/(3a). Every cubic curve possesses point symmetry about its unique inflection point (x_inf, f(x_inf)).
How can you solve simple cubic equations without Cardano's formula?
In secondary school algebra, simple cubic equations can often be solved by: 1. Factoring out a common term x if d = 0; 2. Factoring by grouping if the ratio of coefficients allows it; or 3. Testing potential rational roots p/q using the Rational Root Theorem and synthetic division to depress the cubic to a quadratic, which is then solved using the quadratic formula.