Mathematics.

quadratics

The Quadratic Formula

Algebra I45 minDifficulty4 out of 10

You should know: completing the square

Overview

The quadratic formula gives the solutions to ANY quadratic equation ax² + bx + c = 0 directly in terms of its coefficients a, b, and c — no factoring, guessing, or graphing required. It is one of the most celebrated results in elementary algebra precisely because it is universal: unlike factoring, which only works cleanly for equations with 'nice' rational roots, the quadratic formula solves every quadratic equation, including those with irrational or complex solutions, by a single fixed procedure.

Intuition

The quadratic formula is just 'completing the square, done once, for every possible a, b, c.' Instead of repeating the completing-the-square procedure by hand every single time you meet a new quadratic equation, you complete the square ONE time symbolically, using letters instead of numbers, and the result is a formula you can simply plug numbers into forever after. The expression under the square root — the discriminant b²-4ac — acts like a diagnostic: its sign tells you before you even finish solving whether the equation has two distinct real roots, one repeated real root, or two complex roots.

Formal Definition

Definition

For any quadratic equation in standard form with a ≠ 0, the solutions are given by:

ax2+bx+c=0,a0ax^2+bx+c=0, \quad a\neq 0
Standard form
x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2-4ac}}{2a}
Quadratic formula
Δ=b24ac\Delta = b^2-4ac

Δ > 0: two distinct real roots; Δ = 0: one repeated real root; Δ < 0: two complex conjugate roots

Discriminant

Notation

NotationMeaning
Δ=b24ac\Delta = b^2-4acThe discriminant, determining the nature of the roots
x=b±b24ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}The two roots, obtained by using + and - separately

Derivation

Deriving the quadratic formula from ax² + bx + c = 0 by completing the square:

ax2+bx+c=0ax^2+bx+c=0

Start with the general standard form, a ≠ 0

x2+bax+ca=0x^2+\frac{b}{a}x+\frac{c}{a}=0

Divide every term by a

x2+bax=cax^2+\frac{b}{a}x = -\frac{c}{a}

Move the constant to the right side

x2+bax+(b2a)2=ca+(b2a)2x^2+\frac{b}{a}x+\left(\frac{b}{2a}\right)^2 = -\frac{c}{a}+\left(\frac{b}{2a}\right)^2

Complete the square: add (half the coefficient of x, squared) to both sides

(x+b2a)2=b24a2ca=b24ac4a2\left(x+\frac{b}{2a}\right)^2 = \frac{b^2}{4a^2}-\frac{c}{a} = \frac{b^2-4ac}{4a^2}

Factor the left side; combine the right side over a common denominator

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

Take the square root of both sides (√(4a²) = 2|a|, and the ± absorbs the sign ambiguity)

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

Isolate x and combine the fractions — the quadratic formula

Proofs

The quadratic formula gives exactly the roots of ax² + bx + c = 0
  1. Let x0=b+b24ac2a.\text{Let } x_0 = \frac{-b+\sqrt{b^2-4ac}}{2a}.(Define one candidate root from the formula)
  2. ax02+bx0+c=a(b+Δ2a)2+b(b+Δ2a)+cax_0^2+bx_0+c = a\left(\frac{-b+\sqrt{\Delta}}{2a}\right)^2+b\left(\frac{-b+\sqrt\Delta}{2a}\right)+c(Substitute x₀ into the quadratic, where Δ = b²-4ac)
  3. =(b22bΔ+Δ)4a+b2+bΔ2a+c=b22bΔ+Δ2b2+2bΔ+4ac4a= \frac{(b^2-2b\sqrt\Delta+\Delta)}{4a} + \frac{-b^2+b\sqrt\Delta}{2a}+c = \frac{b^2-2b\sqrt\Delta+\Delta -2b^2+2b\sqrt\Delta+4ac}{4a}(Expand the square and put all terms over the common denominator 4a)
  4. =b2+Δ+4ac4a=b2+(b24ac)+4ac4a=04a=0= \frac{-b^2+\Delta+4ac}{4a} = \frac{-b^2+(b^2-4ac)+4ac}{4a} = \frac{0}{4a}=0(Substitute Δ = b²-4ac; everything cancels, confirming x₀ satisfies the equation. The same check applies symmetrically to the minus root.)

Properties

Sum of roots (Vieta's formula)

x1+x2=bax_1+x_2 = -\frac{b}{a}

Product of roots (Vieta's formula)

x1x2=cax_1 x_2 = \frac{c}{a}

Discriminant sign — two real roots

b24ac>0two distinct real rootsb^2-4ac>0 \Rightarrow \text{two distinct real roots}

Discriminant sign — repeated root

b24ac=0exactly one repeated real root, x=b/2ab^2-4ac=0 \Rightarrow \text{exactly one repeated real root, } x=-b/2a

Discriminant sign — complex roots

b24ac<0two complex conjugate rootsb^2-4ac<0 \Rightarrow \text{two complex conjugate roots}

Theorems

Theorem 1: Fundamental Theorem of Algebra (quadratic case)
Every quadratic equation ax2+bx+c=0 (a0) has exactly two roots (with multiplicity) in C.\text{Every quadratic equation } ax^2+bx+c=0 \ (a\neq 0) \text{ has exactly two roots (with multiplicity) in } \mathbb{C}.

Corollaries

Follows from Fundamental Theorem of Algebra (quadratic case)

A quadratic with real coefficients and Δ<0 has roots that are complex conjugates of each other.\text{A quadratic with real coefficients and } \Delta<0 \text{ has roots that are complex conjugates of each other.}

Applications

Projectile motion problems (finding when h(t) = -16t² + v₀t + h₀ = 0, i.e. when an object hits the ground) are solved directly with the quadratic formula.

Formula Explorer

Adjust a, b, c and watch the discriminant and roots update

Loading visualization…

Animation

Animates a parabola morphing as the discriminant crosses zero: two x-intercepts merging into one tangent point as Δ→0 from above, then lifting off the x-axis entirely into the complex plane as Δ becomes negative — visually linking the discriminant's sign to the number and type of roots.

Worked Examples

  1. Identify a=1, b=-5, c=6, then substitute into the formula.

    x=(5)±(5)24(1)(6)2(1)=5±25242x=\frac{-(-5)\pm\sqrt{(-5)^2-4(1)(6)}}{2(1)}=\frac{5\pm\sqrt{25-24}}{2}
  2. Simplify under the root and evaluate both signs.

    x=5±12    x=3 or x=2x=\frac{5\pm 1}{2}\;\Rightarrow\; x=3 \text{ or } x=2

Answer: x = 2 or x = 3

Practice Problems

Difficulty 3/10

Solve 3x² - 2x - 8 = 0 using the quadratic formula.

Difficulty 2/10

For x² + 4x + 4 = 0, what does the discriminant tell you about the roots?

Difficulty 5/10

A ball is thrown upward: h(t) = -16t² + 48t + 6 (feet, seconds). Find when it hits the ground (h=0), to the nearest hundredth of a second.

Common Mistakes

Common Mistake

Forgetting the ± sign and reporting only one root.

The formula always produces TWO roots (unless Δ=0): x = (-b+√Δ)/2a AND x = (-b-√Δ)/2a. Both must be computed and reported unless the problem restricts the domain.

Common Mistake

Putting only the -b term, not the entire numerator, over 2a — e.g. writing x = -b ± √Δ/2a instead of x = (-b ± √Δ)/2a.

The ENTIRE numerator -b ± √(b²-4ac) is divided by 2a. Forgetting the parentheses/grouping when computing by hand or in a calculator is one of the most common quadratic-formula errors.

Common Mistake

Misidentifying a, b, or c when the equation isn't already in standard form ax²+bx+c=0, e.g. plugging in values directly from 3x² = 5x - 2 without rearranging first.

Always rearrange the equation into standard form ax²+bx+c=0 FIRST (here: 3x² - 5x + 2 = 0, so a=3, b=-5, c=2) before reading off the coefficients.

Quiz

What are a, b, c in standard form for 2x² - 7 = 3x?
If the discriminant of a quadratic equation is negative, what can you conclude?

Flashcards

1 / 4

Historical Background

Methods equivalent to the quadratic formula were used long before the formula was ever written in symbolic form. Babylonian mathematicians (c. 2000–1600 BCE) solved specific quadratic problems using geometric and tabular methods that implicitly compute what we'd now call the discriminant and square root. The Indian mathematician Brahmagupta (7th century CE) gave what is essentially the first explicit written solution for one root of a general quadratic, including negative and irrational numbers. Al-Khwarizmi's 9th-century treatise systematically classified and solved quadratic equations using geometric completing-the-square arguments, but always case-by-case (since he did not use negative numbers or a symbolic '=' sign). It was not until the development of full symbolic algebra in the 16th and 17th centuries — notably through Viète, Descartes, and later textbook writers — that all cases were unified into the single symbolic formula x = (-b ± √(b²-4ac)) / 2a taught today.

  1. c. 2000–1600 BCE

    Babylonian scribes solve quadratic problems geometrically/numerically on cuneiform tablets

  2. 628 CE

    Brahmagupta gives an explicit rule equivalent to solving ax²+bx=c, including negative and irrational roots

    Brahmagupta

  3. c. 820 CE

    Al-Khwarizmi systematically classifies and solves six types of quadratic equations geometrically

    Muhammad ibn Musa al-Khwarizmi

  4. 1637

    Descartes' La Géométrie helps standardize the symbolic algebraic notation that allows the unified modern formula

    René Descartes

Summary

  • The quadratic formula x = (-b ± √(b²-4ac))/2a solves any quadratic equation ax²+bx+c=0 (a≠0).
  • It is derived by completing the square on the general standard form.
  • The discriminant Δ = b²-4ac determines the nature of the roots: positive (two real), zero (one repeated real), negative (two complex conjugates).
  • Vieta's formulas give the sum (-b/a) and product (c/a) of the roots without solving explicitly.
  • Always convert the equation to standard form before reading off a, b, and c.

References

  1. Historical sourceBrahmagupta (628 CE). Brāhmasphuṭasiddhānta.
  2. BookSullivan, M. Algebra & Trigonometry, Ch. 1: Quadratic Equations.