Worked Examples
Master cubic equations through practice. Each example is solved step by step and presented in clean textbook notation.
Three Distinct Real Roots
realSolution Steps
Identify: a = 1, b = -6, c = 11, d = -6.
Depress the cubic and obtain p = -1, q = 0.
The discriminant is Delta = -1/27, so there are three real roots.
Apply the trigonometric branch to get x_1 = 1, x_2 = 2, x_3 = 3.
Roots
One Real and Two Complex Roots
complexSolution Steps
This cubic is already depressed because the x^2 term is missing.
Compute p = 1 and q = 2.
The discriminant is Delta = 28/27, so there is one real root and one complex conjugate pair.
Cardano's formula gives x_1 \approx -1 and the remaining roots are complex.
Roots
Triple Root
repeatedSolution Steps
Recognize the identity (x - 1)^3.
Equivalently, Delta = 0 and the cubic collapses to a triple root.
All three roots are equal to x = 1.
Roots
Double Root
repeatedSolution Steps
Test rational roots and find x = 1.
Factor the cubic as (x - 1)(x^2 - 4x + 4).
The quadratic factor is (x - 2)^2, so x = 2 is a double root.
Roots
Negative Leading Coefficient
repeatedSolution Steps
Divide by -2 to normalize the cubic.
The result is x^3 - 3x^2 + 3x - 1 = 0.
That is (x - 1)^3, so the root is x = 1 with multiplicity three.
Roots
Pure Cubic
complexSolution Steps
Rearrange to x^3 = 8.
The real cube root gives x = 2.
Factoring gives (x - 2)(x^2 + 2x + 4) = 0, which reveals the complex pair.
Roots
Solve Your Own Equation
Enter your coefficients and compare the result with these worked examples.
Open Cubic Equation Solver