In short

The quadratic expression ax^2 + bx + c defines a function f(x) = ax^2 + bx + c whose graph is a parabola. Every parabola has a vertex at \left(-\frac{b}{2a},\, f\!\left(-\frac{b}{2a}\right)\right), an axis of symmetry x = -\frac{b}{2a}, and a single extreme value — a minimum when a > 0, a maximum when a < 0. Rewriting the expression in vertex form a(x - h)^2 + k makes the vertex (h, k) and the extreme value k immediately readable.

A cricket ball is hit straight up with a speed of 20 m/s. Its height at time t is h(t) = 20t - 5t^2 metres. When does the ball reach its highest point, and how high does it get? You could try different values of t by hand, but there is a faster way: the expression 20t - 5t^2 is a quadratic, and every quadratic traces out a curve called a parabola. The shape of that curve answers both questions at a glance — the highest point is the peak of the parabola.

This idea — treating a quadratic expression as a machine that takes in a number and returns a number — turns the expression into a function: f(x) = ax^2 + bx + c. And once you have a function, you have a graph. Where is the function at its lowest (or highest)? Where does it equal zero? Where is it positive, where negative? The parabola answers all of these questions visually.

The shape of a parabola

Every parabola y = ax^2 + bx + c has the same basic shape — a smooth U-curve (or an upside-down U). The sign of a decides the orientation.

The magnitude of a controls the width. A large |a| makes the parabola narrow (steep arms); a small |a| makes it wide (gentle arms). The value a = 1 gives the "standard" parabola y = x^2; a = 3 gives a narrower version, a = 0.5 gives a wider one.

Three parabolas with different values of aThree parabolas sharing the same vertex at the origin. The widest, with a equals one-half, has gentle arms. The middle one, with a equals 1, is the standard parabola. The narrowest, with a equals 2, has steep arms. All three open upward. x y 1 −1 2 −2 a = ½ a = 1 a = 2
Three upward-opening parabolas all with vertex at the origin: $y = \tfrac{1}{2}x^2$ (widest, muted), $y = x^2$ (standard, dark), and $y = 2x^2$ (narrowest, red). The bigger the coefficient $a$, the steeper and narrower the curve.

When a is negative, the picture flips. The parabola opens downward, the bowl becomes a hill, and the extreme point is a maximum instead of a minimum.

Upward versus downward parabolaTwo parabolas on the same axes. The left one is y equals x squared, opening upward with vertex at the origin, labelled a greater than 0 minimum. The right one is y equals negative x squared plus 8, opening downward with vertex at the point 0 comma 8, labelled a less than 0 maximum. x y minimum (a > 0) maximum (a < 0)
Two parabolas: $y = x^2$ opens upward with a minimum at the vertex, while $y = -x^2 + 8$ opens downward with a maximum at the vertex. The sign of $a$ flips the curve and swaps minimum for maximum.

The vertex and axis of symmetry

Every parabola is perfectly symmetric — the left half is a mirror image of the right half. The vertical line that divides the parabola into two mirror halves is the axis of symmetry. The point where the axis meets the parabola — the tip of the U (or the peak of the hill) — is the vertex.

The axis of symmetry always passes through x = -\frac{b}{2a}. This is the x-coordinate of the vertex. To find the y-coordinate, plug this value back into the function:

f\!\left(-\frac{b}{2a}\right) = a\left(-\frac{b}{2a}\right)^2 + b\left(-\frac{b}{2a}\right) + c = c - \frac{b^2}{4a}

So the vertex is at \left(-\frac{b}{2a},\; c - \frac{b^2}{4a}\right).

Where does the formula x = -b/(2a) come from? If you remember the quadratic formula, the two roots are \frac{-b + \sqrt{D}}{2a} and \frac{-b - \sqrt{D}}{2a}, where D = b^2 - 4ac. Their average is \frac{-b}{2a} — the \pm\sqrt{D} parts cancel. The vertex sits exactly at the midpoint of the two roots. Even when the roots are complex (and the parabola doesn't cross the axis at all), the formula still gives the correct location of the vertex.

A connection you already know

If the roots of ax^2 + bx + c = 0 are \alpha and \beta, then by Vieta's formulas, \alpha + \beta = -b/a. The midpoint of the roots is (\alpha + \beta)/2 = -b/(2a). This is exactly the x-coordinate of the vertex. The vertex, the midpoint of the roots, and the axis of symmetry are all the same x-value — three names for one idea.

Vertex form

There is a way to rewrite f(x) = ax^2 + bx + c that makes the vertex visible at a glance. It is called the vertex form:

f(x) = a(x - h)^2 + k

where (h, k) is the vertex.

Vertex form

Every quadratic function f(x) = ax^2 + bx + c can be written as

f(x) = a(x - h)^2 + k

where h = -\dfrac{b}{2a} and k = c - \dfrac{b^2}{4a}.

The point (h, k) is the vertex. The line x = h is the axis of symmetry. The value k is the minimum value of f when a > 0 and the maximum value when a < 0.

The conversion from standard form to vertex form is completing the square — the same trick that derived the quadratic formula. Start with f(x) = ax^2 + bx + c. Factor out a from the first two terms:

f(x) = a\left(x^2 + \frac{b}{a}x\right) + c

Complete the square inside the bracket by adding and subtracting \left(\frac{b}{2a}\right)^2:

f(x) = a\left(x^2 + \frac{b}{a}x + \frac{b^2}{4a^2} - \frac{b^2}{4a^2}\right) + c = a\left(x + \frac{b}{2a}\right)^2 - \frac{b^2}{4a} + c

And there it is: a(x - h)^2 + k with h = -b/(2a) and k = c - b^2/(4a).

The vertex form tells you three things immediately:

  1. The vertex is at (h, k) — you read it off without computing anything.
  2. The extreme value is k — the smallest value of f (when a > 0) or the largest (when a < 0).
  3. Why k is the extreme: (x - h)^2 \ge 0 for every real x. So a(x - h)^2 \ge 0 when a > 0, which means f(x) = a(x - h)^2 + k \ge k. The minimum value is k, achieved when x = h (so the squared term vanishes). The argument flips for a < 0.

Maximum and minimum values

This is the payoff. The question "what is the largest (or smallest) value this function can take?" has a one-line answer from vertex form.

No calculus needed. The answer comes straight from the algebra of completing the square.

Parabola with vertex, axis of symmetry, and minimum value markedThe parabola y equals x squared minus 6x plus 5 plotted from x equals negative 1 to x equals 7. The vertex is at the point 3 comma negative 4, marked with a filled circle. A vertical dashed line at x equals 3 shows the axis of symmetry. A horizontal dashed line at y equals negative 4 shows the minimum value. The roots at x equals 1 and x equals 5 are also marked. x y 1 2 3 4 5 6 vertex (3, −4) axis: x = 3 min = −4 root root
The parabola $y = x^2 - 6x + 5 = (x - 3)^2 - 4$. The vertex at $(3, -4)$ is the lowest point. The axis of symmetry $x = 3$ is the vertical dashed line through the vertex. The horizontal dashed line at $y = -4$ marks the minimum value. The roots ($x = 1$ and $x = 5$) sit symmetrically on either side of the axis, each exactly $2$ units away.

Physical meaning

If you throw a ball upward, its height at time t is a quadratic function of the form h(t) = -\frac{1}{2}gt^2 + v_0 t + h_0, where g is gravitational acceleration, v_0 is the initial velocity, and h_0 is the initial height. Since the coefficient of t^2 is negative (a = -g/2 < 0), the parabola opens downward. The vertex is the highest point of the trajectory — the maximum height. The t-coordinate of the vertex tells you when the ball reaches its peak; the h-coordinate tells you how high it goes. All from completing the square.

Interactive: exploring the vertex

Drag the red point along the parabola below. The readout shows the coordinates and the function value at each point. Notice how the function value decreases as you approach the vertex and increases as you move away from it — the vertex is the turning point.

Interactive vertex exploration on y equals x squared minus 6x plus 5An interactive graph of the parabola y equals x squared minus 6x plus 5. A draggable red point moves along the curve. A readout above the graph shows the x-coordinate and the function value. As the point is dragged toward x equals 3, the function value drops to its minimum of negative 4. drag the red point along the curve
Drag the red point along $y = x^2 - 6x + 5$. Watch $f(x)$ in the readout: it drops as you approach $x = 3$ and rises as you move away. The minimum value $f(3) = -4$ is the bottom of the U — the vertex.

Example 1: Convert $f(x) = 2x^2 - 12x + 14$ to vertex form and find the minimum

Step 1. Factor out a = 2 from the first two terms.

f(x) = 2(x^2 - 6x) + 14

Why: completing the square works cleanly when the coefficient of x^2 inside the bracket is 1. Factoring out 2 achieves that.

Step 2. Complete the square inside the bracket. Half of -6 is -3, and (-3)^2 = 9.

f(x) = 2(x^2 - 6x + 9 - 9) + 14 = 2\bigl((x - 3)^2 - 9\bigr) + 14

Why: you add and subtract 9 inside the bracket so the first three terms form a perfect square. The -9 compensates to keep the expression equal to the original.

Step 3. Distribute the 2 through the bracket.

f(x) = 2(x - 3)^2 - 18 + 14 = 2(x - 3)^2 - 4

Why: 2 \times (-9) = -18, and -18 + 14 = -4. The vertex form is now visible.

Step 4. Read off the vertex and minimum.

Vertex: (h, k) = (3, -4). Since a = 2 > 0, the parabola opens upward, and the minimum value is k = -4, achieved at x = 3.

Result. f(x) = 2(x - 3)^2 - 4. Minimum value is -4 at x = 3.

Graph of f of x equals 2 x squared minus 12 x plus 14 with vertex at 3 comma negative 4The parabola y equals 2 x squared minus 12 x plus 14 opens upward. The vertex is at the point 3 comma negative 4, marked with a filled red circle. The axis of symmetry is a vertical dashed line at x equals 3. The parabola crosses the x-axis near x equals 1.6 and x equals 4.4. x y 1 2 3 4 5 vertex (3, −4) x = 3
The graph of $f(x) = 2(x - 3)^2 - 4$. The vertex at $(3, -4)$ is the lowest point. The factor $a = 2$ makes the parabola narrower than the standard $y = x^2$. The dashed line $x = 3$ is the axis of symmetry.

The vertex tells you the full story: the function takes every value from -4 upward, its minimum is -4, and that minimum occurs exactly at x = 3. The graph confirms it — the lowest red dot sits at (3, -4), and the curve rises on both sides.

Example 2: A ball is thrown upward with height $h(t) = -5t^2 + 20t + 1$. Find the maximum height.

Step 1. Identify a = -5, b = 20, c = 1. Since a < 0, the parabola opens downward — the vertex is the highest point.

Why: a negative leading coefficient means the squared term eventually dominates in the negative direction. The function has a maximum, not a minimum.

Step 2. Find the t-coordinate of the vertex.

t = -\frac{b}{2a} = -\frac{20}{2(-5)} = -\frac{20}{-10} = 2

Why: the vertex formula -b/(2a) gives the time at which the maximum height occurs.

Step 3. Find the height at the vertex.

h(2) = -5(4) + 20(2) + 1 = -20 + 40 + 1 = 21

Why: plugging the vertex's t-value back into the original function gives the maximum height directly.

Step 4. Confirm by writing vertex form. Factor out -5:

h(t) = -5(t^2 - 4t) + 1 = -5(t^2 - 4t + 4 - 4) + 1 = -5(t - 2)^2 + 20 + 1 = -5(t - 2)^2 + 21

Why: vertex form -5(t - 2)^2 + 21 confirms the vertex is (2, 21), and since -5(t - 2)^2 \le 0, the function value is at most 21.

Result. The maximum height is 21 metres, reached at t = 2 seconds.

Height of a thrown ball as a downward-opening parabola with maximum at t equals 2, h equals 21The parabola h of t equals negative 5 t squared plus 20 t plus 1 opens downward. The vertex at the point 2 comma 21 is the maximum height, marked with a filled circle. The curve starts at h equals 1 when t equals 0 and returns to the ground shortly after t equals 4. t (s) h (m) 1 2 3 4 max height: 21 m t = 2 s h(0) = 1
The trajectory $h(t) = -5(t - 2)^2 + 21$. The ball starts at $h = 1$ when $t = 0$, rises to its maximum height of $21$ at $t = 2$, and comes back down. The entire flight is one half of a downward-opening parabola — the vertex form made the peak height readable without solving any equation.

The vertex form -5(t - 2)^2 + 21 is doing all the work. The (t - 2)^2 tells you the peak is at t = 2. The +21 tells you the peak height is 21. The -5 tells you the parabola opens downward. Three numbers, three facts, and the answer drops out.

Common confusions

Going deeper

If you came here to understand what a quadratic function looks like and how to find its vertex and extreme value, you have it — you can stop here. What follows connects the quadratic function to coordinate geometry and to the broader idea of transformations.

The parabola as a transformed y = x^2

Every quadratic function f(x) = a(x - h)^2 + k is a transformed version of the simplest parabola y = x^2. The transformation is built from three steps:

  1. Horizontal shift by h units: x^2 \to (x - h)^2. This moves the vertex from (0, 0) to (h, 0).
  2. Vertical stretch by factor |a| (and reflection if a < 0): (x - h)^2 \to a(x - h)^2. This changes the width and possibly flips the parabola.
  3. Vertical shift by k units: a(x - h)^2 \to a(x - h)^2 + k. This moves the vertex from (h, 0) to (h, k).

Every parabola you will ever meet is just y = x^2 slid, stretched, and flipped. This is why all parabolas look the same up to scaling — they are all the same curve, living in different places.

The focus-directrix definition

In coordinate geometry, a parabola has a precise definition: it is the set of all points equidistant from a fixed point (the focus) and a fixed line (the directrix). For the standard parabola y = x^2/(4p), the focus is at (0, p) and the directrix is the line y = -p. Every point on the curve is exactly as far from the focus as it is from the directrix.

This definition is the reason parabolas appear in satellite dishes and headlight reflectors: parallel rays hitting a parabolic mirror all bounce through the focus, concentrating energy at a single point. The shape is not just algebraically clean — it is physically useful.

Discriminant and the vertex

The y-coordinate of the vertex is k = c - b^2/(4a) = -D/(4a), where D = b^2 - 4ac is the discriminant. This connects two ideas that might have seemed separate:

The discriminant and the vertex position are two views of the same fact.

Where this leads next