Guide

Quadratic equations: read the roots and parabola together

A calculated x-value is easier to understand when you can see its position on the parabola. First rearrange the equation into ax² + bx + c = 0. The discriminant then tells you whether the curve meets the x-axis twice, once or not at all.

Wooden solids, ruler and a notebook with geometric shapes and a solved equation.
Illustrative image

Quick answer

What the result tells you

The sign of b² − 4ac determines the real roots. A negative value means no real roots, but still two complex solutions when a is nonzero.

What matters

Signs belong to the coefficients

In x² − 3x + 2, b is −3, not 3. Brackets matter when squaring and substituting −b. Move every term to the same side first: x² + 2 = 3x becomes x² − 3x + 2 = 0. Only then read off the three inputs.

Find roots and the vertex on the parabola

Marked crossings of the x-axis are real roots. The vertex is the parabola’s lowest or highest point. Complex roots appear in the answer but are not drawn as real-axis crossings.

Examples and comparisons

The roots of x² − 3x + 2

See the relationship

From the equation to the curve

1x² − 3x + 2 = 0
-0.51xyx = 1x = 20.51.52.5
○ Real root 1
x = 1
○ Real root 2
x = 2
■ Vertex
(1.5; -0.25)
  1. D = (-3)² − 4 × (1) × (2) = 1
  2. x = (−(-3) ± √1) ÷ (2 × 1)
  3. x = 1 or 2

The horizontal and vertical axes use different scales. The displayed window adapts to the roots or vertex; it is not the entire function. Labels are rounded.

Coefficient a1
Coefficient b-3
Coefficient c2
Discriminant D1 unitless

Load this example’s inputs in the calculator. Review them, calculate the result, then adapt the values to your own case.

Change one input

A smaller c shifts the parabola downward

Sensitivity check · only one input changedCoefficient c → Discriminant D

Direct comparison

Data points for the two calculated scenarios: Coefficient c and Discriminant D
ScenarioCoefficient cDiscriminant D
Scenario 121
Scenario 215
Change from scenario 1 to scenario 24 · +400% relative

Also verify before making a decisionFinite decimal arithmetic with rounded displays. Very close roots can overlap visually. When a = 0, the remaining linear or constant equation is evaluated. A stable numerical form reduces cancellation when roots differ greatly in magnitude.

Assess your case

Choose the appropriate approach

When a is nonzero

Calculate the discriminant and apply the quadratic formula.

When the coefficient a is zero

Solve the remaining linear equation. Division by 2a is not defined.

Checklist

Before using the answer

  • All terms are on the left and zero on the right.
  • Negative signs were retained.
  • Roots and the vertex are distinguished.

Common mistakes

Common mistakes

Using only the plus sign

The ± asks for two calculations. When the discriminant is zero, both give the same root.

Mistaking the vertex for a root

A root has y = 0. The vertex need not lie on the x-axis.

Looking for complex roots on the real axis

An imaginary component cannot be marked as an ordinary x-value on the displayed real axis.

A smaller c shifts the parabola downward

Keep a = 1 and b = −3. Changing c from 2 to 1 lowers every function value by 1. The discriminant increases from 1 to 5. The two real roots move farther apart while the vertex’s x-coordinate remains 1.5.

  • How does the sign of the discriminant relate to the visible x-axis crossings?
  • What distinguishes a repeated root from two distinct roots?
  • Why does setting a to zero stop the graph from being a parabola?

Calculator for this guide

Substitute the solution

Substitute a calculated x into ax² + bx + c. The result should be zero apart from rounding error. The quadratic formula does not apply when a = 0.
Open the matching calculator

How the calculation works

Calculation

Calculation method and model limits

The coefficients determine the parabola’s opening and position. Equation solutions are the x-values where the function is zero. Some parabolas do not meet the x-axis.

1
Substitute the coefficients

Read the coefficients, including signs, from the rearranged equation.

2
Evaluate both signs

Evaluate the discriminant and both branches of the solution formula.

3
Verify by substitution

Substitute each answer into the original equation to verify it.

x² − 3x + 2 = 0 gives D = 9 − 8 = 1. Therefore x = (3 ± 1)/2, giving 1 and 2. The vertex is (1.5, −0.25).

Simplified formula

D = b² − 4ac. For a ≠ 0: x = (−b ± √D)/(2a). D > 0: two real roots; D = 0: a repeated root; D < 0: a complex conjugate pair. Vertex: xV = −b/(2a), yV = −D/(4a).

Transparency

Scope and assumptions

The calculation itself is country-independent. Language and display choices do not change its mathematical logic.

Calculation
Country-independent calculation
Applies to
International
Currency
No monetary calculation
Units
No unit conversion needed

Questions about roots and special cases

What does a negative discriminant mean?

There are no real roots. Over the complex numbers, there are two conjugate solutions with the same real part and opposite imaginary parts.

What happens when a = 0?

The equation becomes bx + c = 0. For b ≠ 0, x = −c/b. If a = b = 0, every real number works when c = 0; otherwise there is no solution.

Is the graph a separate calculation?

The graph uses the same coefficients as the result. It illustrates the function; use the numerical answers for precise root values.

Continue calculating

Related tools

Simplify fractional terms in your working. Use the other calculators for proportional quantities or missing triangle measurements.

Editorial method

We test the worked example automatically with the same logic used by the calculator. Sources, inputs, rounding and model limits are listed separately. This does not replace case-specific professional advice.