4th Order Polynomial Calculator: Find Quartic Roots
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
A 4th order polynomial calculator finds the roots of a quartic equation, usually written as ax⁴ + bx³ + cx² + dx + e = 0. Enter the five coefficients, and the calculator returns the equation’s real and complex solutions; the example below uses the quartic formula’s root-solving methods rather than a single elementary arithmetic expression.
Formula
A quartic polynomial has the form f(x) = ax⁴ + bx³ + cx² + dx + e, where a, b, c, d, and e are coefficients and x is the variable. The roots are the values of x that satisfy f(x) = 0. Here, a–e are dimensionless coefficients unless the problem assigns units to the terms; x has whatever unit or meaning the original problem defines.
The calculator block above specifies the equation’s coefficients, but its output field cannot honestly calculate quartic roots: the permitted calculator-expression syntax supports arithmetic and standard functions, not a quartic root-solving operation or multiple complex-valued results. A working quartic calculator must use a numerical or algebraic solver that accepts all five coefficients and reports the roots. The example therefore explains how such a solver’s result is checked rather than pretending that the block computes it.
Worked Example
Using the default coefficients gives x⁴ − 5x² + 4 = 0. This is a biquadratic equation, so set y = x² to reduce it to a quadratic:
- Substitute y for x²: y² − 5y + 4 = 0.
- Factor: (y − 1)(y − 4) = 0, so y = 1 or y = 4.
- Replace y with x²: x² = 1 or x² = 4.
- Take both square roots: x = −2, −1, 1, 2.
Substitution confirms the answers: each value makes x⁴ − 5x² + 4 equal zero. A general-purpose quartic solver should return these four roots, perhaps in a different order.
What Makes a Polynomial Fourth Order?
The order, or degree, is the greatest exponent with a nonzero coefficient. In a quartic, the x⁴ coefficient must therefore satisfy a ≠ 0. If a is zero, the equation is cubic or lower, regardless of the other coefficients. A coefficient may also be zero without lowering the degree: x⁴ − 5x² + 4 is still fourth order because the x⁴ term is present.
The fundamental theorem of algebra says that a degree-four polynomial has exactly four roots when multiplicities are counted over the complex numbers. Some roots may be repeated, and some may be non-real. For a polynomial with real coefficients, non-real roots occur in conjugate pairs: if p + qi is a root, p − qi is also a root.
How to Use a Quartic Calculator
- Write the equation with zero on one side and collect like powers of x.
- Enter the coefficients in descending order: a for x⁴, b for x³, c for x², d for x, and e for the constant term.
- Enter zero for any missing term. For example, x⁴ − 5x² + 4 has coefficients 1, 0, −5, 0, 4.
- Choose whether you need real roots only or all roots, including complex roots, if the calculator offers that setting.
- Check each answer by substituting it into the original polynomial, allowing for rounding if the result is approximate.
For example, the equation 2x⁴ + 3x² − 2 = 0 uses coefficients 2, 0, 3, 0, −2. Do not enter 3 as the coefficient of x³: that term is absent, so its coefficient is zero. If your equation is written as 2x⁴ + 3x² = 2, first move 2 to the left, giving a constant coefficient of −2.
Methods and Exact Versus Approximate Roots
Some quartics can be solved efficiently by factoring, substitution, or recognizing special patterns. A biquadratic has no odd-power terms and can be reduced with y = x². Other equations factor into linear and quadratic factors, or have simple rational roots that can be found and removed.
There is also a general algebraic solution for quartics, often associated with Ferrari’s method. It reduces the equation to a cubic auxiliary equation and then to quadratic factors. The expressions can be lengthy, so many calculators instead use reliable numerical algorithms. A numerical solver gives decimal approximations; an exact solver may express roots using radicals when practical, but exact forms can be far less readable than decimals.
For a numerical answer, the displayed digits are not necessarily exact. A root such as 1.4142 may be a rounded approximation to a value, and a tiny nonzero value obtained after substitution can result from rounding. A good solver should give enough precision to judge the answer and should distinguish real roots from complex ones.
Common Errors and Limits
- Entering coefficients out of order: the usual order is x⁴, x³, x², x, constant—not the reverse.
- Dropping a missing term: include a zero coefficient for every absent power between x⁴ and the constant.
- Forgetting to set the equation to zero: move all terms to one side before reading off coefficients.
- Assuming four distinct real answers: four roots are counted with multiplicity over the complex numbers, but there can be fewer than four distinct real roots.
- Rounding too early: keep extra digits during intermediate calculations, then round the final reported roots.
A root finder’s numerical reliability depends on the algorithm and the coefficients. Repeated roots and roots that lie close together can be harder to resolve accurately. If coefficients are measured quantities, the roots may also be sensitive to small changes in those inputs. For high-precision work, compare results from a trusted symbolic or numerical mathematics tool and substitute the roots back into the polynomial.
Frequently Asked Questions
What is a 4th order polynomial calculator?
It is a tool for solving an equation whose highest power is x⁴. Enter the coefficients of ax⁴ + bx³ + cx² + dx + e, and a suitable solver reports the equation’s roots.
How many answers can a quartic equation have?
It has four roots counting multiplicity over the complex numbers. Depending on the coefficients, it may have zero, two, or four real roots, with repeated roots affecting the count of distinct solutions.
Can a quartic have complex roots?
Yes. A quartic with real coefficients can have non-real roots, and those roots occur in conjugate pairs. A real-only calculator may hide them, so check its settings or output labels.
What do I enter for a missing term?
Enter zero for its coefficient. For x⁴ + 2x − 3 = 0, the coefficient list is 1, 0, 0, 2, −3.
How can I check a quartic root?
Substitute the proposed value into the original polynomial. A true root makes the polynomial equal zero; a numerical approximation should make it very close to zero, within rounding error.
Related
Formula used
in a | Coefficient a | - | 1 | in b | Coefficient b | - | 0 | in c | Coefficient c | - | -5 | in d | Coefficient d | - | 0 | in e | Coefficient e | - | 4 | out roots | Quartic roots | - | not_supported | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.