How to Solve Cubic Equations
A practical guide to solving cubic equations, from quick factoring checks to the full Cardano method.
Table of Contents
Factoring by Inspection
Start by looking for common factors, grouping opportunities, or known identities.
- Common factor: x3 - 4x = x(x2 - 4) = x(x - 2)(x + 2)
- Grouping: x3 + x2 - x - 1 = x2(x+1) - (x+1) = (x+1)(x2 - 1)
- Difference of cubes: x3 - a3 = (x - a)(x2 + ax + a2)
Rational Root Theorem
If a polynomial with integer coefficients has a rational root p/q, then p divides the constant term and q divides the leading coefficient.
For example, for 2x3 - 3x2 - 8x + 12 = 0, the possible rational roots come from the factors of 12 over the factors of 2.
Synthetic Division
Once a rational root r is found, divide the cubic by (x - r) to reduce the problem to a quadratic.
ax3 + bx2 + cx + d = (x - r)(ax2 + b1x + c1)
Cardano's Method
- Normalize the cubic.
- Substitute x = t - b/(3a) to remove the quadratic term.
- Solve the depressed cubic t3 + pt + q = 0.
- Compute Delta = q2/4 + p3/27.
- Apply the matching root formula and convert back to x.
Our cubic equation solver automates this process and shows each step in a cleaner format.
Trigonometric Method
When Delta is negative, the cubic has three distinct real roots and the trigonometric form is often the clearest route.
Set r = 2 sqrt(-p/3) and theta = (1/3) arccos(-q / (2 sqrt(-p3/27))), then build the three roots from cosine shifts.
Numerical Approximation
When an exact symbolic form is not required, numerical methods provide quick approximations.
- Newton-Raphson: xn+1 = xn - f(xn)/f'(xn)
- Bisection: shrink an interval where the function changes sign
- Graphical estimation: inspect where the cubic crosses the x-axis
Ready to Practice?
Try solving cubic equations with the interactive tool and compare the result with the methods above.
FAQ: Solving Cubic Equations
Find quick answers to common questions about cubic equations and our solving methods.