📢 Advertisement — 728×90
📢 Advertisement

This cubic equation calculator is provided by Hesapstan to solve ax³+bx²+cx+d=0 and show all three roots with clear real, complex, repeated, exact, and approximate labels.

What does the cubic equation calculator solve?

The cubic equation calculator solves equations in the form ax³+bx²+cx+d=0 and returns all three roots counted with multiplicity. This calculator is provided by Hesapstan to separate real, complex, repeated, exact, and approximate roots clearly instead of presenting every decimal as if it were an exact symbolic result.

Each root is shown as a separate result card. The card explains the value of the root, whether it is real or complex, whether it is exact or approximate, and whether it has multiplicity greater than 1.

Why are there always three roots?

A cubic equation has three roots when complex roots and multiplicity are counted. The roots may all be different, two may be repeated, or all three may collapse into the same value.

What is a cubic equation?

A cubic equation is a polynomial equation whose highest power is 3. Its standard form is ax³+bx²+cx+d=0, where a must not be zero.

  • a is the coefficient of x³; if a=0, the equation is no longer cubic.
  • b is the coefficient of x², c is the coefficient of x, and d is the constant term.
  • A root is a value of x that makes the left side equal to 0.
  • Multiplicity tells how many times the same root is repeated.
a=0 is rejected

When a is 0, the equation becomes quadratic or lower degree. This calculator does not solve that case as a cubic equation.

Which solving path does the calculator use?

The calculator first tries a rational-root shortcut; if a rational root is found, it uses synthetic division and solves the remaining quadratic. If that path is not enough, it converts the equation into a depressed cubic and then uses either the trigonometric method or Cardano's formula.

  1. It tests rational-root candidates first.
  2. If a rational root is found, the cubic is divided into a linear factor and a quadratic factor.
  3. If the shortcut does not finish the problem, the equation is shifted into depressed-cubic form.
  4. For three distinct real roots, the trigonometric method is used.
  5. For one real root and two complex roots, Cardano's formula is used.
  6. Repeated-root cases are labeled with multiplicity.
Exact vs approximate

Roots found through the rational shortcut or recognized repeated-root cases can be shown as exact. Roots from the trigonometric or Cardano branches are generally shown with ≈ because they are numerical approximations.

📢 Advertisement

How should the solution-path label be read?

The solution-path label tells you how the calculator reached the displayed roots. It helps explain why some answers are exact while others are approximate.

  • Rational shortcut: a rational root was found and the remaining quadratic was solved.
  • Trigonometric: the equation has three distinct real roots that are handled numerically through the trigonometric branch.
  • Cardano: the equation typically has one real root and two complex roots.
  • Double-root or triple-root: at least two roots coincide.

These labels are not decorative; they prevent a common mistake in cubic equations: treating a rounded decimal root as an exact algebraic expression.

Example: a cubic with three rational roots

For x³−6x²+11x−6=0, the factorization is (x−1)(x−2)(x−3)=0. This is a clean case for the rational-root shortcut.

  1. Enter a=1, b=-6, c=11, d=-6.
  2. The calculator checks rational roots.
  3. x=1, x=2, and x=3 all make the equation equal to 0.
  4. The result shows three real roots: 1, 2, and 3.
These roots are exact

Because the roots are integers, they should not be described as rounded approximations.

Example: one real root and two complex roots

For x³+1=0, the real root is x=-1 and the other two roots form a complex-conjugate pair.

  1. Enter a=1, b=0, c=0, d=1.
  2. The root x=-1 makes the cubic equal to 0.
  3. The remaining quadratic part produces two complex roots.
  4. The root cards label the real root and the complex roots separately.
Complex roots are not an error

A cubic may cross the real axis once while still having two additional complex roots. This calculator shows those roots instead of hiding them.

Example: three approximate real roots

For x³−3x+1=0, all three roots are real but they are not simple rational numbers. The calculator uses the trigonometric branch and marks the displayed values as approximate.

  • Approximate roots: x≈-1.879385, x≈0.347296, x≈1.532089.
  • Each root is labeled as real.
  • The ≈ symbol means the displayed number is rounded.
Do not turn an approximate root into a fake exact answer

Even if a rounded value looks simple on screen, roots from the trigonometric or Cardano branches must remain approximate unless the runtime labels them exact.

What does multiplicity mean?

Multiplicity means that the same root appears more than once in the factorization of the polynomial. For example, (x−1)³=0 has x=1 as a triple root.

  • Multiplicity 1: the root occurs once.
  • Multiplicity 2: the root is repeated twice.
  • Multiplicity 3: all three roots coincide at the same value.

Multiplicity is useful for understanding the algebraic structure of the equation, but this calculator does not provide an interactive graph.

What does the cubic discriminant tell you here?

The cubic discriminant describes the root pattern, while this calculator focuses on the actual root values.

  • Δ>0 usually indicates three distinct real roots.
  • Δ=0 indicates at least one repeated root.
  • Δ<0 indicates one real root and two complex roots.
Use the discriminant calculator for classification only

If you only need to classify the root pattern, the discriminant calculator may be more direct. This page is primarily a root solver.

What is outside this calculator's scope?

This calculator solves cubic equations; it is not a general computer algebra system, a full graphing calculator, or a polynomial theory page.

  • It does not draw an interactive or zoomable cubic graph.
  • It does not perform general symbolic simplification.
  • It does not solve quadratic cases when a=0.
  • It does not display approximate Cardano or trigonometric roots as fake exact radical forms.
  • It does not interpret roots for physics, finance, or engineering models automatically.
Approximate roots should be verified for critical work

When a calculation depends on numerical cubic roots, especially in technical work, verify the result with the required level of precision.

Which related calculator should you use?

The cubic solver gives root values. Related tools may be better when your goal is narrower.

  • Use the rational roots calculator if you want to list or test possible rational roots.
  • Use the discriminant calculator if you only need to classify the root structure.
  • Use the quadratic formula calculator when the remaining factor after a rational root is quadratic.

Frequently Asked Questions

Does every cubic equation have three roots?

Yes, when complex roots and multiplicity are counted. The number of real roots may be one or three, and repeated roots may occur.

What does the ≈ symbol mean in the result?

It means the displayed root is approximate. Roots from the trigonometric or Cardano branches are usually numerical approximations.

What happens if a=0?

If a=0, the equation is not cubic. The calculator rejects that input instead of solving it as a cubic equation.

Are complex roots a wrong result?

No. A cubic equation can have one real root and two complex roots. Those complex roots are part of the full solution.

Does this calculator graph the cubic function?

No. It solves for roots but does not provide an interactive cubic graph.

📢 Advertisement

Related Calculators

ΔDiscriminant Calculatorp/qRational Zeros Calculatorx²=Quadratic Formula Calculator