Beautiful Math
Path

Algebra · Lesson 6

Quadratics and polynomials

A quadratic is a parabola in disguise: completing the square, the formula, and factoring are three views of the same structure. Polynomials extend the pattern.

Core ~14 minDeep study ~32 minWhy does completing the square produce the quadratic formula?What does the discriminant decide geometrically?

Before this: Functions as machines, Graphs: seeing relationships

How this idea was born

Merchants and surveyors met problems that linear rules could not finish: given an area and how much length exceeds width, find the sides; given a square and something added beside it, restore a pure square. Those are quadratic stories - unknown times unknown appears.
MacTutor's history of quadratic equations warns against a slogan that "the Babylonians invented the quadratic formula." Old Babylonian tablets (second millennium BCE) show algorithmic procedures, essentially completing the square, for problems we would write as quadratics. They had no modern notion of "equation," and answers were positive lengths. Euclid later gave geometric square-completion. Hindu mathematicians (notably Brahmagupta) admitted negatives more freely. al-Khwārizmī (c. 9th century) classified types and proved solutions by geometry because zero and negative coefficients were not yet part of his toolkit.
For a modern rereader, ax2+bx+c=0ax^2 + bx + c = 0 (with a0a \neq 0) is one family. Completing the square, the quadratic formula, and factoring are three cameras on the same object. The graph is a parabola.

First principles

y = x² shapex
Fix area, vary one side: the other side is A/x. Plotting that height against x draws a hyperbola; related quadratic shapes appear when you expand (x)(s-x).
A quadratic function is f(x)=ax2+bx+cf(x) = ax^2 + bx + c with a0a \neq 0. Its graph is a parabola opening up (a>0a > 0) or down (a<0a < 0).
The vertex sits at x=b/(2a)x = -b/(2a). Completing the square rewrites
f(x)=a(x+b2a)2+(cb24a)f(x) = a\left(x + \frac{b}{2a}\right)^2 + \left(c - \frac{b^2}{4a}\right)
so the shift and the minimum/maximum height are visible.
The quadratic formula for ax2+bx+c=0ax^2 + bx + c = 0 is
x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
The discriminant Δ=b24ac\Delta = b^2 - 4ac decides geometry:
  • Δ>0\Delta > 0: two distinct real roots (two xx-intercepts)
  • Δ=0\Delta = 0: one repeated real root (vertex on the axis)
  • Δ<0\Delta < 0: no real roots (parabola misses the xx-axis); complex roots exist in C\mathbb{C}
Factoring over the reals works when roots are nice: if f(x)=a(xr)(xs)f(x) = a(x-r)(x-s), roots are rr and ss.
A polynomial of degree nn is anxn++a0a_n x^n + \cdots + a_0 with an0a_n \neq 0. Quadratics are degree 2. Higher degrees bend more; the fundamental theorem of algebra (later) says degree nn has nn roots in C\mathbb{C}, counting multiplicity.

Worked intuition

Completing the square by hand

Solve x2+6x+5=0x^2 + 6x + 5 = 0.
x2+6x=5x^2 + 6x = -5. Half of 6 is 3; square is 9. Add 9: (x+3)2=4(x+3)^2 = 4. So x+3=±2x+3 = \pm 2, hence x=1x = -1 or x=5x = -5.

Formula as packaged completion

Apply the formula to 2x24x6=02x^2 - 4x - 6 = 0:
x=4±16+484=4±84x = \frac{4 \pm \sqrt{16 + 48}}{4} = \frac{4 \pm 8}{4}
Roots 33 and 1-1. Same answers as factoring 2(x3)(x+1)=02(x-3)(x+1) = 0.

Reading the parabola

For y=x24x+3y = x^2 - 4x + 3, vertex at x=2x = 2, y=1y = -1. Roots at 11 and 33. Axis of symmetry x=2x = 2. Sketch a few points and the U-shape from the graphs lesson returns with a name.

Polynomial preview

x3x=x(x1)(x+1)x^3 - x = x(x-1)(x+1) shows factoring still organizes higher degree when you can find roots. Not every cubic factors nicely over the integers; that is why later tools exist.

Common confusions

Forgetting a0a \neq 0. If a=0a = 0, the equation is linear, not quadratic.
Dropping the ±\pm. Completing the square always opens two branches unless the square root is zero.
Thinking Babylonians had modern formulas. They had algorithms for positive length problems. Respect both the achievement and the conceptual gap.
Confusing vertex formula with roots. b/(2a)-b/(2a) is the axis; roots need the discriminant.
Assuming every quadratic factors with integers. The formula always works (in C\mathbb{C}); nice integer factoring is a gift, not a right.

History and stories

MacTutor's quadratic history is the honest spine: Babylonian completing-the-square algorithms for area problems; Euclid's geometry; Brahmagupta's more algebraic treatment with negatives; al-Khwārizmī's classified cases and geometric proofs; later European symbolic algebra packing cases into one formula.
al-Khwārizmī's ethic is pedagogy: show a method a stranger can repeat, then justify it with a diagram. That is why his name echoes in "algebra" and "algorithm."

Real world

  • Projectiles (idealized): height versus time is quadratic under constant gravity.
  • Area fencing problems: maximize area for fixed perimeter leads to a parabola in the model.
  • Optics and mirrors: parabolic reflectors focus parallel rays (geometry of the curve).
  • Business: revenue models with price and quantity sometimes produce quadratic profit.

Open when you want the machine-learning connection. Skip freely.

Field notes, extra examples, and glossary live here when you want more than the core path.

Carry this forward

  • Parabola, completing the square, formula, and factoring are one family.
  • Discriminant is geometry in a number.
  • Polynomials continue the degree ladder.
  • Next: exponentials and logarithms, where growth stops being polynomial.

Read more

Go deeper when curiosity hits - videos, essays, and primary trails.

Check your understanding

A short learning loop - try a few, learn from misses, mark complete when you have engaged. No timer, no scoreboard.

1.A quadratic function's graph is…
2.Completing the square…
3.Discriminant Δ > 0 means…
4.Babylonian quadratic history caution…
5.al-Khwārizmī's ethic in this chapter…

Try at least 3 core prompts, or choose I'll return later.