keisoku

Quartic Equation Solver

Solve ax⁴+bx³+cx²+dx+e=0 for all four roots. Real and complex roots are shown in x+yi form, with the count of real roots.

Input

Enter the coefficients of the quartic equation ax⁴+bx³+cx²+dx+e=0 to find all four roots.

a x⁴ + b x³ + c x² + d x + e = 0

Result

Roots

x1 = 1

x2 = 2

x3 = 3

x4 = 4

Number of real roots

4

Degree of the equation

4

All four roots are distinct real numbers.


Details of each root

Root 1Real root1
Root 2Real root2
Root 3Real root3
Root 4Real root4

How it works

  • Enter the coefficients a, b, c, d and e to solve the quartic equation ax⁴+bx³+cx²+dx+e=0 for its four roots.
  • The solver uses an iterative numerical method (the Durand-Kerner method), so it returns complex roots in x+yi form as well as real roots.
  • Roots with a sufficiently small imaginary part are treated as real, and conjugate complex roots are listed together as a pair.
  • When the leading coefficient a is 0, the equation is solved as a cubic or lower degree polynomial instead.
  • Displayed values are lightly rounded for readability, so the last digits may differ slightly from the exact values.

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Quartic Equation Solver