Enter coefficients, compute roots, and view clean symbolic transformations with stepwise clarity. Handle multiple cases: three real, one real, or repeated roots with notifications. See discriminant, resolvent details, and depressed substitution for insight and learning purposes. Configure precision, complex formatting, and step expansions with toggles easily. Export CSV or PDF, share, and embed results.
| a | b | c | d | Notes |
|---|---|---|---|---|
| 1 | -6 | 11 | -6 | Roots are 1, 2, 3 (three real roots). |
| 1 | 0 | 0 | -1 | Roots: 1 and two complex cube roots of unity. |
| 1 | 3 | 3 | 1 | Triple root at -1 (Δ = 0, multiple root). |
Enter coefficients and press Compute Roots to see results.
Using the depressed substitution x = t - b/(3a), the cubic becomes t³ + p·t + q = 0 with
p = (3ac - b²)/(3a²)q = (27a²d - 9abc + 2b³)/(27a³)Δ = (q/2)² + (p/3)³If Δ > 0, there is one real root and a complex conjugate pair:
t = u + v, where
u = ∛(-q/2 + √Δ), v = ∛(-q/2 - √Δ),
and complex roots follow from multiplying by the cubic roots of unity.
If Δ = 0, at least two real roots coincide (multiple roots). If Δ < 0, there are three distinct real roots given by the trigonometric form:
t_k = 2√(-p/3) · cos((φ + 2kπ)/3) with
φ = arccos( (-q/2) / √(-p³/27) ). Finally,
recover x = t - b/(3a).
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.