Quadratic Equation Solver

    Solve quadratic equations from a full equation or standard coefficients. See the discriminant, real or complex roots, Vieta checks, excluded values, and a parabola graph.

    Supports parentheses, multiplication, division, squared x terms, and simple fractional equations. The simplified degree must be no higher than 2.
    Quick input
    Discriminant D
    1
    Positive: two distinct real roots
    First root
    2
    Second root
    3
    Vieta check
    Root sum: 5
    Root product: 6
    Step-by-step solution
    The input equation was parsed.
    Move all terms to one side and collect coefficients.
    quadratic coefficient: 1, linear coefficient: -5, constant term: 6
    The discriminant is 1.
    The discriminant is positive, so there are two distinct real roots: 2 and 3.
    By Vieta's formulas, the root sum is 5 and the product is 6.
    Parabola graph
    Vertex: (2.5, -0.25). The parabola opens upward.

    Quadratic Equation Solver accepts a full equation, reduces it to canonical form, expands parentheses and squares, clears supported denominators, and marks extraneous roots when the original equation excludes them.

    What this quadratic equation solver handles

    English search intent for a quadratic equation solver expects more than a three-coefficient form. The calculator accepts a full equation, expands parentheses, moves terms to one side, reduces the expression to standard form, and then solves the quadratic or a linear special case.

    a is the quadratic coefficient, b is the linear coefficient, and c is the constant term after simplification. For a true quadratic equation, a is not zero.

    1. Enter a standard equation such as - 5x +.
    2. Use parentheses, products of linear factors, and squared binomials.
    3. Let the solver collect coefficients and compute the discriminant.
    4. Review excluded values when the original equation has x in a denominator.

    Discriminant and quadratic formula

    After reducing the equation, the solver computes the discriminant and classifies the roots as two real roots, one repeated real root, or a complex conjugate pair.

    D is the discriminant; a, b, and c come from the simplified standard form.

    x1 and x2 are the two real roots when D is positive.

    x is the repeated root when D equals zero.

    i is the imaginary unit; this form is used when D is negative.

    DiscriminantRoot typeWhat the calculator shows
    Two distinct real rootsBoth roots and a Vieta check
    One repeated real rootThe double root and tangent point on the x-axis
    Two complex conjugate rootsThe complex pair and a graph with no real x-intercepts

    Parentheses, fractions, and excluded values

    The solver supports more than coefficient boxes. It can parse parentheses, squared binomials, products of linear factors, and simple fractional equations as long as clearing denominators still leaves degree 2 or lower.

    Excluded values and extraneous roots
    If a denominator contains x, the calculator records values that would make the original denominator zero. A calculated root that violates the original domain is rejected as extraneous.

    Vieta check and parabola graph

    For two real roots, the calculator shows the sum and product check. The graph helps connect the roots with x-intercepts, the vertex, and the direction the parabola opens.

    x1 and x2 are the roots; their sum checks against the simplified coefficients.

    x1 and x2 are the roots; their product checks against the constant term c.

    y is the value of the quadratic function shown as a parabola.

    a, b, and D determine the vertex coordinates after simplification.

    When the equation is not quadratic

    The page is built for one-variable equations that simplify to degree 2 or lower. If the quadratic term disappears, the solver reports the linear case. If the degree becomes higher, use a more specific algebra solver.

    SituationMeaningNext step
    No squared term remainsThe equation is linearUse the result here or open the linear equation solver
    A cubic term appearsThe equation is not quadraticUse the cubic equation solver
    Only even fourth-degree terms appearThis is a biquadratic patternUse the biquadratic equation solver
    x appears in an exponentThis is an exponential equationUse a different solver

    Frequently Asked Questions

    Sources and References

    Calculations are based on the listed reference sources. Links open in a new tab.

    Updated:

    Related Tools