Skip to content
LoveToCalc

Theorem — what does that mean?

Axis of symmetry

The vertical line a parabola is mirrored in. The same number is the x-coordinate of its vertex, and two coefficients give it to you.

In Swedish: Parabelns symmetrilinje

Axis of symmetry

The relation

x=−b2a

x = −b/(2a): the vertical line a parabola is mirrored in, and the x-coordinate of its turning point.

Solve for

x=2

x equals minus ((−8) divided by (2 times 2)), equals minus ((−8) divided by 4), equals minus (−2), equals 2

Working4 steps

Practice questions

You are given

  • x=-4
  • a=1

What the theorem says

For the parabola y = ax² + bx + c with a ≠ 0, the graph of a quadratic function. The line x = −b/(2a) cuts the parabola into two mirror images, and it is also where it turns — the x-coordinate of the vertex.

To get the height of the vertex, put that value back into the equation. The axis gives you the x part; one substitution gives you the y part.

Why −b/(2a)

It is the quadratic formula with the root struck out.

The formula gives x = (−b ± √D) / (2a). The two roots sit the same distance either side of −b/(2a) — the root is the distance and the plus and minus are the directions. The midpoint of two points equally far from the same number is that number.

It also means the axis exists even when the roots do not. If the discriminant is negative the parabola has no zeros, but it still turns, and it turns there.

The roots sit symmetrically

If you already have the roots you need no formula: the axis is their average.

x = (x₁ + x₂) / 2

That this holds follows from Vieta’s formulas, which say the sum of the roots is −b/a. Half of that sum is −b/(2a).

Worked examples

Example 1. Where is the axis of symmetry of y = 2x² − 8x + 5?

x = −(−8) / (2 · 2) = 8 / 4 = 2

The height of the vertex: y = 2 · 4 − 16 + 5 = −3. The vertex is (2, −3).

Example 2. A parabola has axis x = 3 and a = 1. What is b?

b = −2 · 1 · 3 = −6. The equation is y = x² − 6x + c for any c at all — c moves the parabola up and down without touching the axis.

Example 3. What is the smallest value of y = 3x² + 12x + 7?

x = −12 / 6 = −2, and y = 3 · 4 − 24 + 7 = −5. Since a is positive the parabola opens upwards, so −5 is the minimum.

Common mistakes

Common questions

How is this different from vertex form? Mathematically it is not. The h in vertex form is −b/(2a). The difference is where the number sits: here you work it out, there you read it off.

Is there an axis when there are no real roots? Yes. The parabola turns whether or not it reaches the x-axis, and the formula never touches the discriminant.

What does an axis at zero mean? That b = 0. The parabola y = ax² + c is symmetric about the y-axis, which is what a missing x term amounts to.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
a−b2x−(−8)2·22
b−2ax−2·2·2−8
x−b2a−(−8)2·22

Last reviewed October 6, 2026 ·How pages are reviewed

Ready-made worksheets with this formula

Sheets that ask this formula, with their answer keys. Open one to see the questions or print it.

High school

  • Quadratic functions and parabolas

    Eight questions on the vertex form and eight on the vertex and axis of symmetry from the coefficients. No calculator. The first one is worked.

PolynomialsAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.