ALGEBRA · QUADRATIC EQUATIONS

Quadratic Formula Calculator

Solve ax² + bx + c = 0, inspect the discriminant, find real or complex roots, and see how the coefficients shape the parabola.

x = (−b ± √(b² − 4ac)) / 2a
DISCRIMINANT Δ
—
Enter coefficients to solve
ROOT x₁
—
First solution
ROOT x₂
—
Second solution
VERTEX
—
Turning point (h, k)
AXIS OF SYMMETRY
—
x = −b / 2a
Y-INTERCEPT
—
f(0) = c
STANDARD FORM
ax² + bx + c = 0

The coefficient a must be nonzero.

DISCRIMINANT
Δ = b² − 4ac

Its sign determines the root type.

QUADRATIC FORMULA
x = (−b ± √Δ) / 2a

Use + and − to obtain the two solutions.

Live parabola

LIVE

The green curve is y = ax² + bx + c. Real roots appear on the x-axis; the vertex and axis of symmetry update with your coefficients.

Root position

LIVE

This number-line view makes the relationship between the two roots, the vertex's x-coordinate, and the axis of symmetry visible.

What the discriminant tells you

LIVE
Δ > 0 · two real roots

Two real roots

The parabola crosses the x-axis twice.

Δ = 0 · one repeated root

One repeated root

The vertex touches the x-axis.

Δ < 0 · complex roots

No real roots

The parabola stays above or below the x-axis.

Calculation details

QuantityFormula / valueMeaning
Standard form—Quadratic equation
Discriminant—b² − 4ac
Root type—Determined by Δ
Vertex—(−b/2a, f(−b/2a))
Axis—x = −b/2a
CONCEPT

What is a quadratic equation?

A quadratic equation is a second-degree equation that can be written in standard form as ax² + bx + c = 0, with a ≠ 0. Its graph is a parabola, and the solutions are the x-values where that parabola meets the x-axis.

ax² + bx + c = 0
a controls the opening and vertical scale; b shifts the axis of symmetry; c is the y-intercept.

Coefficient a

If a > 0, the parabola opens upward. If a < 0, it opens downward. A larger |a| makes the curve narrower.

Coefficient b

The coefficient b influences the horizontal position of the vertex and the axis of symmetry x = −b/(2a).

Coefficient c

The constant c is the y-intercept because f(0) = c. It tells you where the parabola crosses the vertical axis.

Roots

The roots are the x-values satisfying f(x)=0. They are the x-intercepts when they are real.

Anatomy of a quadratic graph

x₁ x₂ vertex (h,k) axis: x = h y-intercept = c x y
For real roots, x₁ and x₂ are the x-intercepts. The vertex sits halfway between them horizontally, so h = (x₁ + x₂)/2.
Why the discriminant matters: Δ = b² − 4ac tells you the number and type of solutions before you calculate the roots. Positive means two distinct real roots, zero means one repeated real root, and negative means a conjugate pair of complex roots.
FORMULAS

The quadratic formula and related equations

Discriminant

Δ = b² − 4ac
Quadratic formula

x = (−b ± √Δ) / 2a
Vertex x-coordinate

h = −b / 2a
Vertex y-coordinate

k = f(h) = −Δ / 4a

How the discriminant changes the graph

Δ > 0

There are two distinct real roots x₁ and x₂. The parabola crosses the x-axis twice.

Δ = 0

There is one repeated root. The vertex lies exactly on the x-axis.

Δ < 0

There are two complex conjugate roots and no real x-intercepts.

EXAMPLES

Worked quadratic formula examples

01

Write standard form

Move every term to one side so the equation becomes ax² + bx + c = 0.

02

Calculate Δ

Compute b² − 4ac and classify the roots from its sign.

03

Apply the formula

Substitute a, b, and c into (−b ± √Δ)/(2a).

04

Check the graph

Real roots should match the x-intercepts of the parabola.

Example 1: two real roots
x² − 5x + 6 = 0

Δ = 25 − 24 = 1
x = (5 ± 1)/2
x₁ = 3, x₂ = 2
Example 1b: a quadratic that must first be rearranged
4x² + 3x − 7 = −4 − x

4x² + 4x − 3 = 0
Δ = 4² − 4(4)(−3) = 64
x₁ = (−4 + 8)/8 = 0.5
x₂ = (−4 − 8)/8 = −1.5

This illustrates an important first step: before using the quadratic formula, move all terms to one side and collect them into ax² + bx + c = 0.

Example 2: repeated root
x² + 4x + 4 = 0

Δ = 16 − 16 = 0
x = −4/2
x = −2
Example 3: complex roots
x² + 1 = 0

Δ = −4
x = ±√(−4)/2
x₁ = i, x₂ = −i

Quick reference table

ConditionRootsParabola
Δ > 0Two distinct real rootsCrosses x-axis twice
Δ = 0One repeated real rootTangent to x-axis
Δ < 0Two complex conjugatesNo real x-intercepts
FAQ

Quadratic formula calculator FAQ

What is the quadratic formula?

For ax² + bx + c = 0 with a ≠ 0, the roots are x = (−b ± √(b² − 4ac))/(2a).

What does the discriminant tell me?

Δ > 0 gives two distinct real roots, Δ = 0 gives one repeated real root, and Δ < 0 gives two complex conjugate roots.

Can a be zero?

No. If a = 0, the equation is no longer quadratic; it becomes linear (assuming b ≠ 0).

What is the vertex of a parabola?

The vertex is the turning point. For y = ax² + bx + c, its x-coordinate is h = −b/(2a), and k = f(h).

Why can the calculator return i?

When Δ < 0, the square root of the discriminant is imaginary. The roots therefore form a conjugate pair such as 2 + 3i and 2 − 3i.

RELATED GEOMETRY & ALGEBRA

Where quadratic equations appear

Projectile motion

Ignoring air resistance, height as a function of time often follows a quadratic model.

Area problems

Unknown dimensions in geometry can produce second-degree equations after expanding products.

Parabola design

Arches, reflectors, and trajectories can be modeled with quadratic functions.

Algebraic factoring

When the roots are known, the polynomial can be written as a(x − x₁)(x − x₂).