Skip to main content

Polynomial Root Finder

Solve polynomial root problems step-by-step with our free calculator. See formulas, worked examples, and clear explanations.

Share this calculator

Formula

Quadratic: x = (-b +/- sqrt(b^2 - 4ac)) / 2a | Cubic: Cardano/Newton method

For quadratic polynomials ax^2 + bx + c, the quadratic formula gives exact roots. For cubic polynomials ax^3 + bx^2 + cx + d, this calculator uses the Rational Root Theorem combined with Newton-Raphson iteration to find all real roots numerically.

Worked Examples

Example 1: Finding Roots of a Quadratic Polynomial

Problem: Find the roots of 2x^2 - 7x + 3 = 0.

Solution: Using the quadratic formula: x = (7 +/- sqrt(49 - 24)) / 4 = (7 +/- sqrt(25)) / 4 = (7 +/- 5) / 4\nRoot 1: x = (7 + 5) / 4 = 12 / 4 = 3\nRoot 2: x = (7 - 5) / 4 = 2 / 4 = 0.5\nDiscriminant = 49 - 24 = 25 (positive, so 2 real roots)\nSum of roots = 7/2 = 3.5 (equals -b/a)\nProduct of roots = 3/2 = 1.5 (equals c/a)

Result: Roots: x = 3 and x = 0.5 | Discriminant: 25 (2 real roots)

Example 2: Finding Roots of a Cubic Polynomial

Problem: Find the roots of x^3 - 6x^2 + 11x - 6 = 0.

Solution: Test rational roots: f(1) = 1 - 6 + 11 - 6 = 0, so x = 1 is a root.\nSynthetic division: (x^3 - 6x^2 + 11x - 6) / (x - 1) = x^2 - 5x + 6\nFactor x^2 - 5x + 6 = (x - 2)(x - 3)\nRoots: x = 1, x = 2, x = 3\nVerify by Vieta: sum = 6 = -(-6)/1, product = 6 = -(-6)/1

Result: Roots: x = 1, x = 2, x = 3 | Sum = 6, Product = 6

Frequently Asked Questions

What is a polynomial root and why is it important?

A polynomial root, also called a zero, is a value of x that makes the polynomial equal to zero. Roots are fundamental in algebra because they represent the x-intercepts of the polynomial graph and reveal where the function crosses or touches the x-axis. Finding roots is essential in engineering for stability analysis, in physics for solving equations of motion, and in economics for finding equilibrium points. Every polynomial of degree n has exactly n roots when counted with multiplicity and including complex numbers, according to the Fundamental Theorem of Algebra.

Can all polynomial equations be solved with exact formulas?

Exact algebraic formulas exist for polynomials up to degree four. The quadratic formula solves degree 2, Cardano formula solves degree 3, and the Ferrari method solves degree 4. However, the Abel-Ruffini theorem proves that no general algebraic formula exists for polynomials of degree five or higher. This does not mean the roots do not exist; it means they cannot always be expressed using radicals. For higher-degree polynomials, numerical methods such as Newton-Raphson iteration, the Durand-Kerner method, or eigenvalue-based approaches are used to approximate roots to arbitrary precision.

What is the relationship between roots and coefficients of a polynomial?

Vieta formulas describe the precise relationship between the roots and coefficients of any polynomial. For a quadratic ax^2 + bx + c with roots r1 and r2, the sum of roots equals -b/a and the product of roots equals c/a. For a cubic ax^3 + bx^2 + cx + d with roots r1, r2, r3, the sum equals -b/a, the sum of pairwise products equals c/a, and the product of all three equals -d/a. These relationships are extremely useful for checking solutions, constructing polynomials from known roots, and deriving properties without explicitly computing each root.

How do repeated roots affect the graph and factorization of a polynomial?

A repeated root, also called a root of multiplicity greater than one, means the corresponding linear factor appears more than once in the factorization. If a root has even multiplicity, the graph touches the x-axis at that point but does not cross it, creating a tangent-like behavior. If a root has odd multiplicity greater than one, the graph crosses the x-axis with a flattening effect at the crossing point. Repeated roots also mean the polynomial and its derivative share a common root. You can detect repeated roots by computing the greatest common divisor of the polynomial and its derivative.

What practical applications use polynomial root finding?

Polynomial root finding appears in numerous practical fields. In control systems engineering, the roots of the characteristic polynomial determine system stability. In signal processing, filter design requires finding roots of transfer function polynomials. Computer graphics uses root finding for ray-surface intersection calculations when rendering curved surfaces. Financial mathematics applies root finding to compute internal rates of return and break-even points. Structural engineering uses polynomial roots to find natural frequencies of vibrating systems. Even GPS positioning involves solving polynomial systems to triangulate positions from satellite signals.

Is my data stored or sent to a server?

No. All calculations run entirely in your browser using JavaScript. No data you enter is ever transmitted to any server or stored anywhere. Your inputs remain completely private.

References