Polynomial Root Solver

Find the roots of any second-degree polynomial instantly.

Accurate real and complex roots · Standard floating-point precision

ax² + bx + c = 0
Solution Steps:
Discriminant (Δ) = ...
Nature: ...
x = ...

Polynomial Root Calculator — Instant Step-by-Step Solutions

Calculate exact roots (x-intercepts) for second-degree polynomials. Enter your a, b, and c coefficients to find the mathematical solutions. The calculator does the math for you, showing the discriminant and roots step-by-step.

Reviewed by: Saim S., Founder & Developer
Methodology & Fact-Checking: Standard Equation Formula and Discriminant Analysis (b² - 4ac) — utilizes double-precision floating-point arithmetic (IEEE 754) for maximum algebraic accuracy. The logic is rigorously unit-tested against textbook algebraic examples.
Editorial Policy: We are committed to transparency and precision. If you spot an error, please reach out via our contact page for immediate review.
Last Updated: April 2026
Privacy: All calculations run securely in your local browser environment. No input data is stored or transmitted.

What is a Second-Degree Polynomial?

A second-degree polynomial is a mathematical equation written in the standard form ax² + bx + c = 0, where x represents an unknown variable, and a, b, and c are known constants with 'a' not equal to zero. Graphing this equation forms a parabola.

Types of Roots:

  • Two Real Distinct Roots: The parabola intersects the x-axis at two different points.
  • One Real Repeated Root: The vertex of the parabola touches the x-axis exactly once.
  • Two Complex Roots: The parabola never intersects the x-axis, resulting in imaginary solutions.

What is the Quadratic Formula?

The standard formula is a universal algebraic equation used to find the exact roots or x-intercepts of any second-degree polynomial. The formula is written as x = [-b ± √(b² - 4ac)] / 2a, providing a reliable solution even when factoring is impossible.

Formula Components:

  • x: The unknown variable or roots being calculated.
  • a, b, c: The known coefficients from the standard form equation.
  • Discriminant (b² - 4ac): The value that determines the nature of the roots.
x = -b ± √(b² - 4ac) 2a

The term inside the square root, b² - 4ac, is called the Discriminant. It tells us the "nature" of the roots (how many solutions exist and if they are real or complex).

How Does the Discriminant Determine Roots?

The discriminant determines the roots of a second-degree polynomial by calculating the value of b² - 4ac from the standard mathematical formula. This specific value reveals whether the mathematical equation will have two real roots, one repeated real root, or two complex imaginary roots.

Discriminant Rules:

Discriminant Value (Δ) Nature of Roots Example Graph Behavior
Positive (> 0) 2 Real, Distinct Roots The parabola intersects the x-axis at two distinct x-intercepts.
Zero (= 0) 1 Real, Repeated Root The parabola's vertex touches the x-axis at exactly one point.
Negative (< 0) 2 Complex Roots (Imaginary) The algebraic roots exist in the complex plane; the graph floats entirely above or below the x-axis.

How to Use the Equation Solver

Follow these steps to get your equation into standard form before calculating.

  1. Write the equation in Standard Form. The calculator requires the format ax² + bx + c = 0.
  2. Set the equation to zero. If your equation looks like 2x² = 5x - 3, you must move all terms to the left side: 2x² - 5x + 3 = 0.
  3. Identify the coefficients. Extract the numerical values for a, b, and c. From the example above: a=2, b=-5, c=3. Remember to include any negative signs.
  4. Enter the values and calculate. Input your a, b, and c values into the solver and click "Solve Equation" to find the roots and discriminant.

Key Takeaway: Handling Missing Terms

Not every algebraic problem has all three parts. If the middle x term is missing (e.g., x² - 9 = 0), simply enter 0 for b. If the final constant number is missing (e.g., x² + 4x = 0), enter 0 for c.

Common Algebraic Examples

Here is how the formula handles different types of equations.

Values: a=1, b=-5, c=6

Discriminant (Δ): b² - 4ac = (-5)² - 4(1)(6) = 25 - 24 = 1

Since Δ > 0, we have two distinct real roots.

Result: x = 3, x = 2

Values: a=1, b=-4, c=4

Discriminant (Δ): b² - 4ac = (-4)² - 4(1)(4) = 16 - 16 = 0

Since Δ = 0, the graph touches the x-axis at exactly one point.

Result: x = 2

Values: a=1, b=1, c=1

Discriminant (Δ): 1² - 4(1)(1) = 1 - 4 = -3

Since Δ < 0, there are no real solutions, only complex numbers involving i.

Result: x = -0.5 ± 0.866i

Alternative Methods for Solving Second-Degree Functions

While this calculator uses the standard algebraic formula, you can also solve these equations in other ways. The best method usually depends on the specific numbers in your equation.

1. Factoring

Factoring is usually the fastest method if you can easily split the equation into two binomials. It works best when your leading number (a) is 1 and you can spot two numbers that multiply to c and add up to b.

Example: For x² + 5x + 6 = 0, the factors are (x + 2)(x + 3) = 0, giving roots of x = -2 and x = -3.

2. Completing the Square

Completing the square means changing the equation so the left side is a perfect square trinomial. This is actually where the algebraic model comes from. It's especially handy when b is an even number and a = 1.

3. Graphing

You can solve the equation by graphing y = ax² + bx + c. The roots are the x-intercepts—the points where the parabola crosses the x-axis. Graphing is a great way to see how the function behaves, though it's not always precise for finding exact decimals.

Real-World Applications of Parabolic Curves

Parabolic functions aren't just abstract math; they model the real world. Many natural physical phenomena follow parabolic arcs, making second-degree polynomials essential for engineers, physicists, and business analysts.

1. Projectile Motion

When you throw a ball, launch a rocket, or shoot an arrow, gravity pulls it down while its forward velocity pushes it along. This creates a perfect parabolic curve. Physics equations use this root finding tool to calculate maximum height, flight time, and landing distance.

2. Profit Optimization in Business

In economics, if a company increases the price of a product, they make more per sale but sell fewer units overall. The relationship between price, demand, and total revenue often forms a downward-facing parabola. Setting the derivative of a revenue parabolic function to zero helps businesses find the exact price point for maximum profit.

3. Satellite Dishes and Lenses

The reflective surfaces of satellite dishes, car headlights, and optical lenses are designed using parabolic curves. A parabola uniquely focuses parallel incoming waves (like light or radio signals) into a single concentrated point, known as the vertex or focal point.

4. Computer Graphics and Ray Tracing

Modern video games and 3D computer graphics engines use algebraic models to calculate ray intersections with spheres and curves. This is the foundational mathematics behind ray tracing, which simulates realistic lighting and reflections in real-time.

Limitations: What This Solver Can & Cannot Do

This calculator is great for homework and standard math problems, but keep a few things in mind.

  • Decimal vs. Radical Form: This tool outputs answers in decimal format (e.g., 1.414). If your professor requires "Exact Form" (e.g., √2) or fractions, you will need to convert the decimal manually.
  • Imaginary Notation: Complex roots are displayed using the standard i notation (e.g., 2 + 3i).

Precision Note (Floating Point Math)

Like all digital calculators (including JavaScript engines), extremely large or small coefficients (e.g., 0.00000005x²) may encounter slight rounding errors due to IEEE 754 floating-point arithmetic. For standard textbook problems, this is negligible.

Frequently Asked Questions

Yes, this solver can handle negative coefficients. You can enter negative numbers for a, b, or c directly into the calculator to find the exact roots of the equation without any issues or errors in the final calculation.

  • Enter the negative sign directly before the number
  • Supports standard algebraic expressions
  • Crucial for accurately calculating the discriminant

"NaN" means "Not a Number" and indicates an invalid input was entered into the calculator. This mathematical error occurs when you enter text instead of digits, include unsupported symbols, or leave the leading coefficient 'a' as zero.

  • Entering text or symbols instead of digits
  • Leaving the 'a' coefficient as zero
  • Using unsupported mathematical operators in the input

Currently, this calculator focuses exclusively on finding the roots and x-intercepts rather than the vertex of the parabola. You must manually calculate the vertex x-coordinate using the standard formula x = -b / 2a.

  • Provides discriminant values automatically
  • Calculates both real and complex roots
  • Vertex y-coordinate requires plugging x back in

The letter "i" represents an imaginary number, which appears when the discriminant is negative. This indicates that the parabola does not intersect the x-axis, resulting in two complex roots instead of real numbers.

  • Occurs when b² - 4ac is less than zero
  • Valid mathematical solution in the complex plane
  • Graph floats entirely above or below the axis

Yes, you can solve these second-degree polynomials using alternative methods such as factoring, completing the square, or graphing the function. However, the standard algebraic equation remains the only universally applicable method that guarantees an exact mathematical solution for every possible equation, even when it cannot be factored easily.

  • Factoring splits expressions into binomials
  • Completing the square forms perfect trinomials
  • Graphing visualizes x-intercepts directly

The standard form of a parabolic function is mathematically written as ax² + bx + c = 0. In this universal structure, x represents the unknown variable, while a, b, and c represent the known numerical coefficients. The leading coefficient 'a' must never equal zero.

  • Essential for identifying correct coefficients
  • Requires setting the entire equation to zero
  • Maintains the necessary second-degree polynomial structure

Yes, you can use this solver for physics kinematics problems, such as calculating projectile motion or time of flight. By setting the position equation to zero and entering your initial velocity, gravity, and height as coefficients, the calculator will quickly determine the exact time the object hits the ground.

  • Enter gravity (e.g., -9.8 or -16) as the 'a' coefficient
  • Enter initial velocity as the 'b' coefficient
  • Enter initial height as the 'c' coefficient
SS

About the Developer & Methodology

Hi, I'm Saim S., an independent developer and educator dedicated to building fast, reliable, and privacy-first mathematical tools. With extensive experience in software engineering and computational mathematics, this tool was built to automate the tedious aspects of algebra. It utilizes standard double-precision floating-point arithmetic to guarantee highly accurate root calculations. Saim's work emphasizes transparency, accuracy, and user privacy.

Credentials & Expertise:
  • Founder & Lead Developer at Countimator
  • Expertise in Algorithmic Mathematics and Software Engineering

Data Privacy: All calculations are executed strictly within your local browser environment. No input data or equations are ever stored, tracked, or transmitted to external servers.

Methodology & Limitations

Our calculation methodology utilizes standard double-precision floating-point arithmetic (IEEE 754) to ensure mathematical accuracy. However, results can have limitations in certain conditions:

  • Extreme inputs (e.g., coefficients larger than 1015 or smaller than 10-15) may encounter minor rounding errors.
  • Irrational roots are outputted in decimal format rather than exact radical form.
  • This solver does not automatically factorize the equation into simplest terms.

Evidence note: The precision of double-precision floating-point format is limited to 53 bits for the significand. Review source

Mathematical Disclaimer

Educational & Verification Advisory: The results provided by this Polynomial Root Solver are for educational and verification purposes only. While we strive for accuracy using IEEE 754 standards, extreme inputs may be subject to minor rounding errors inherent to digital computing. These numbers should not be used for mission-critical engineering or scientific calculations without secondary verification.

Our calculation methodology follows standard algebraic equation rules and discriminant analysis. Data privacy: All calculations run locally in your browser and are never transmitted, stored, or tracked by our servers.

Last updated: April 2026 | Next scheduled review: April 2027