Skip to content

Basics

Quadratic Equations

Standard form, the quadratic formula, and the role of the discriminant.

A quadratic equation is a degree-two polynomial equation in a single variable. Every quadratic can be solved by the formula below. The sign of its discriminant (the expression under the radical) tells whether the roots are real or complex without computing them. The formula is the general result of completing the square on the standard form.

The standard form fixes coefficients a, b, c with a non-zero leading coefficient. The condition a ≠ 0 makes the equation genuinely quadratic; with a = 0 it collapses to a linear equation and the formula’s denominator vanishes.

ax2+bx+c=0 (and a0) thenax^{2}+bx+c=0 \text{ }\left(and\text{ }a\neq 0\right)\text{ }then

The quadratic formula gives both roots from the coefficients directly. The ± captures the parabola’s symmetry about its axis x = -b/(2a): the two roots lie equidistant from this vertical line, offset by the radical term. When the discriminant is computable, the formula is the most direct route to the roots.

x=b±b24ac2ax=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}

The discriminant b2 - 4ac controls how many times the parabola crosses the x-axis. The three cases below give two crossings, one tangent touch, or no real crossing.

x₁x₂vertexxy
When the discriminant is positive, the parabola crosses the x-axis at two distinct points; the vertex lies below the axis.

If the discriminant is positive, the parabola crosses the x-axis at two distinct points. The radical evaluates to a positive real, so the ± produces two distinct values, matching the diagram.

if b24ac>0 then two real solutionif\text{ }b^{2}-4ac>0\text{ }then\text{ }two\text{ }real\text{ }solution

If the discriminant is zero, the parabola is tangent to the x-axis at one point: a repeated root. The radical vanishes and the ± collapses to a single value x = -b/(2a), the x-coordinate of the vertex.

if b24ac=0 then reqeated real solutionif\text{ }b^{2}-4ac=0\text{ }then\text{ }reqeated\text{ }real\text{ }solution

If the discriminant is negative, the roots are a complex-conjugate pair and the parabola does not meet the x-axis. The radical becomes imaginary, and the ± gives two complex roots that mirror one another across the real axis.

if b24ac<0 then two complex solutionif\text{ }b^{2}-4ac<0\text{ }then\text{ }two\text{ }complex\text{ }solution