Polynomial Root Finder
Solve polynomial root problems step-by-step with our free calculator. See formulas, worked examples, and clear explanations.
Reviewed for accuracy by Manoj Kumar, Mathematics Educator
Polynomial Root Finder
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Quadratic: x = (-b +/- sqrt(b^2 - 4ac)) / 2a | Cubic: Cardano/Newton method
Worked example โ Roots: x = 3 and x = 0.5 | Discriminant: 25 (2 real roots)
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 Root 1: x = (7 + 5) / 4 = 12 / 4 = 3 Root 2: x = (7 - 5) / 4 = 2 / 4 = 0.5 Discriminant = 49 - 24 = 25 (positive, so 2 real roots) Sum of roots = 7/2 = 3.5 (equals -b/a) Product 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. Synthetic division: (x^3 - 6x^2 + 11x - 6) / (x - 1) = x^2 - 5x + 6 Factor x^2 - 5x + 6 = (x - 2)(x - 3) Roots: x = 1, x = 2, x = 3 Verify 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.
How does the discriminant help determine the nature of roots?
The discriminant is a value computed from the coefficients of a polynomial that reveals whether the roots are real or complex, and whether any roots are repeated. For a quadratic ax^2 + bx + c, the discriminant is b^2 - 4ac. If it is positive, there are two distinct real roots. If it equals zero, there is exactly one repeated real root. If it is negative, the roots are complex conjugates. For cubic polynomials, a positive discriminant means three distinct real roots, while a negative discriminant indicates one real root and two complex conjugate roots.
What is the Rational Root Theorem and how does it work?
The Rational Root Theorem states that if a polynomial with integer coefficients has a rational root p/q in lowest terms, then p must divide the constant term and q must divide the leading coefficient. This theorem provides a finite list of candidate rational roots to test. For example, for 2x^3 - 3x^2 + x - 6, possible rational roots are plus or minus 1, 2, 3, 6, 1/2, and 3/2. You test each candidate by substituting it into the polynomial to see if it yields zero. Once you find one root, you can use synthetic division to reduce the polynomial degree.
What is synthetic division and how is it used to find roots?
Synthetic division is a shorthand method for dividing a polynomial by a linear factor (x - r). It is faster than long division and is commonly used after finding one root to reduce the polynomial to a lower degree. You write the coefficients in a row, bring down the first coefficient, then multiply by the root candidate and add to the next coefficient, repeating across the row. If the final remainder is zero, then r is indeed a root. The remaining coefficients form the quotient polynomial, which you can then solve for additional roots using the quadratic formula or further synthetic division.
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 are complex roots and do they always come in pairs?
Complex roots are roots that involve the imaginary unit i, where i is defined as the square root of negative one. A complex number has the form a + bi where a is the real part and b is the imaginary part. For polynomials with real coefficients, complex roots always occur in conjugate pairs, meaning if a + bi is a root then a - bi must also be a root. This is because the complex conjugate of the entire polynomial equation must also hold. This pairing property ensures that when complex roots are multiplied back together, they produce a quadratic factor with real coefficients.
How does Newton-Raphson method find polynomial roots numerically?
The Newton-Raphson method is an iterative numerical technique that starts with an initial guess and repeatedly improves it using the formula x_new = x_old - f(x_old)/f_prime(x_old). For polynomials, both f(x) and its derivative f_prime(x) are easy to compute, making this method very efficient. Each iteration approximately doubles the number of correct digits, giving quadratic convergence near a root. The method can fail if the derivative is zero at some iterate or if the initial guess is too far from any root, but with good starting points it typically converges in fewer than 20 iterations to machine 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.
References
Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy
Related Calculators
๐งฎComplex Root Calculator
Calculate complex root with inputs, formulas, and instant results.
๐งฎPolynomial Division Calculator
Calculate polynomial division with inputs, formulas, and instant results.
๐งฎCube Root Calculator
Calculate cube root with inputs, formulas, and instant results.
๐งฎDigital Root Calculator
Calculate digital root with inputs, formulas, and instant results.
๐งฎRoot Calculator
Calculate root with inputs, formulas, and instant results.
๐งฎRoot Mean Square Calculator
Calculate root mean square with inputs, formulas, and instant results.
๐งฎSquare Root Calculator
Calculate square root with inputs, formulas, and instant results.
๐งฎPolynomial Graphing Calculator
Calculate polynomial graphing with inputs, formulas, and instant results.