About this calculator
A cubic equation of one variable is an equation of the form ax³+bx²+cx+d=0, where a≠0. Cubic equations are much more complex than quadratic equations, but according to the fundamental theorem of algebra, cubic equations have at most 3 real roots and at least 1 real root (because the graph of a cubic function must intersect the x-axis). Solving cubic equations requires the use of Cardano's formula, which was discovered by Italian mathematician Cardano in the 16th century. Our free online cubic equation solver provides a simple, fast and accurate solution.
Cardano's formula involves the discriminant Δ. The roots of the equation can be judged according to the sign of the discriminant: when Δ>0, there are 1 real root and 2 conjugate complex roots; when Δ=0, there are 3 real roots, at least 2 of which are equal; when Δ<0, there are 3 different real roots. The derivation process of Cardano's formula is complex and involves formulas, substitutions and cube root operations.
Using the cubic equation solver is very simple and intuitive. Just enter the four coefficients a, b, c, d and click the solve button to get all the roots of the equation immediately. This tool is particularly suitable for students learning advanced algebra, engineers performing calculations, and mathematics enthusiasts exploring equations.
What it calculates
The cubic equation calculator solves ax^3 + bx^2 + cx + d = 0 for real and complex roots and helps analyze polynomial structure.
Formula
The standard form is ax^3 + bx^2 + cx + d = 0, where a is not 0. Roots can be found by factoring, numerical methods, or the cubic formula.
Inputs
- Cubic coefficient a.
- Quadratic coefficient b.
- Linear coefficient c.
- Constant term d.
Example
| Equation | Roots | Note |
|---|---|---|
| x^3 - 6x^2 + 11x - 6 = 0 | 1, 2, 3 | Factorable |
| x^3 - 8 = 0 | 2 | Real root is 2 |
| x^3 + x + 1 = 0 | one real root | Other roots are complex |
How to interpret the result
A cubic equation has three roots counted with multiplicity. It may have three real roots or one real root and a conjugate pair of complex roots.
Common mistakes
- a cannot be 0, or the equation is not cubic.
- Complex roots are part of the complete solution.
- Repeated roots should be interpreted with multiplicity.
How to use
Using the cubic equation solver is very simple. First, reduce the equation to its standard form ax³+bx²+cx+d=0. For example, x³-6x²+11x-6=0 is already in the standard form; x³=6x²-11x+6 needs to be moved to x³-6x²+11x-6=0.
Then, enter the coefficients a, b, c, and d in the four input boxes respectively. For example, for x³-6x²+11x-6=0, a=1, b=-6, c=11, d=-6. Note that a cannot be 0 (otherwise it is not a cubic equation). Click the "Solve" button.
The calculator solves using Cardano's formula, showing all roots at once. For example, the roots of x³-6x²+11x-6=0 are x₁=1, x₂=2, x₃=3. The result is retained to 6 decimal places to ensure accuracy. Click the "Reset" button to clear all input and start a new solution.
Main features
This one-dimensional cubic equation solver has the following features: uses Cardano formula to solve; automatically solves all roots; high-precision calculation (retains 6 decimal places); displays the complete equation; automatically detects invalid input (a=0, etc.); the interface is simple and intuitive, easy to use; fast response speed, the solution results are displayed instantly; completely free, no registration or download required; supports desktop and mobile device access; suitable for student learning and advanced algebra practice.
Use cases
The cubic equation solver is useful in many situations. When students study higher algebra, cubic equations are an important topic. The solver can be used to check calculations and understand Cardano's formula. It also helps quickly verify homework answers.
In engineering calculations, cubic equations appear frequently. In fluid mechanics, some flow problems lead to cubic equations. In structural mechanics, certain stability problems also involve cubic equations. In chemistry, some equilibrium constant calculations require solving cubic equations.
In physics, cubic equations can describe nonlinear phenomena. In economics, some optimization first-order conditions are cubic equations. In computer graphics, cubic Bezier curves use cubic parameter equations. Cubic equations also appear in math competitions and in some number theory problems. Whether for study, engineering, or research, a cubic equation solver is a useful tool.