Quadratics

Axis of Symmetry of a Parabola: Formula and How to Find It

For a parabola y=ax2+bx+cy = ax^2 + bx + c, the axis of symmetry is the vertical line x=−b2ax = -\frac{b}{2a}. If the equation is in vertex form y=a(x−h)2+ky = a(x-h)^2 + k, the axis is simply x=hx = h.

x=−b2ax = -\frac{b}{2a}

Try it with your numbers

Show every step

The axis always runs through the vertex of the parabola, so finding one gives you the other. The sections below show where the formula comes from, how to handle negatives and fractions, a way to check any answer in ten seconds, and the cases where the formula does not apply.

What is the axis of symmetry of a parabola?

Picture folding the graph along a vertical line so that the left half lands exactly on the right half. That fold line is the axis of symmetry. Every point (x,y)(x, y) on the parabola has a mirror partner (2h−x,y)(2h - x, y) at the same height on the other side of the line x=hx = h. The axis is a line, so its answer is written as an equation such as x=3x = 3, never just the number 33.

One fact makes the whole topic easier: the axis depends only on aa and bb. Changing cc slides the entire parabola up or down, and a vertical slide cannot move a vertical mirror line. That is why y=x2−6xy = x^2 - 6x and y=x2−6x+100y = x^2 - 6x + 100 have the same axis, x=3x = 3, even though their vertices are far apart.

The formula needs a≠0a \neq 0. If a=0a = 0, the equation is a straight line with no turning point, and nothing to mirror. For how the axis fits into sketching the whole curve, see graphing quadratic functions, and for the equation y=ax2+bx+cy = ax^2 + bx + c itself, see the standard form of a quadratic.

Quick check

A parabola has its vertex at (3,−5)(3, -5). Write the equation of its axis of symmetry.

Where does the axis of symmetry formula come from?

Parabola y = 2x² − 12x + 7 with equal-height points (0, 7) and (6, 7) and axis x = 3
Setting y equal to c gives the points (0, 7) and (6, 7), and their midpoint x = 3 is the axis.

The cleanest derivation needs no calculus and no heavy algebra, only the mirror idea. Take y=ax2+bx+cy = ax^2 + bx + c. At x=0x = 0 the height is cc. Find the other point at height cc by solving ax2+bx+c=cax^2 + bx + c = c:

ax2+bx=0⇒x(ax+b)=0⇒x=0 or x=−baax^2 + bx = 0 \quad\Rightarrow\quad x(ax + b) = 0 \quad\Rightarrow\quad x = 0 \text{ or } x = -\frac{b}{a}

Two points at the same height must be mirror images, so the axis sits exactly halfway between them:

x=0+(−ba)2=−b2ax = \frac{0 + \left(-\frac{b}{a}\right)}{2} = -\frac{b}{2a}

The same result appears when you complete the square. Rewriting y=ax2+bx+cy = ax^2 + bx + c as a(x+b2a)2+constanta\left(x + \frac{b}{2a}\right)^2 + \text{constant} exposes h=−b2ah = -\frac{b}{2a} directly, and completing the square is the method that produces vertex form for any quadratic. The quadratic formula shows the symmetry in a third way: its ±\pm sign places the two solutions at equal distances on either side of the same value −b2a-\frac{b}{2a}.

The roots are evenly spaced around the axis

The solutions x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} sit exactly b2−4ac2∣a∣\frac{\sqrt{b^2 - 4ac}}{2|a|} to the left and right of x=−b2ax = -\frac{b}{2a}.

This gives the discriminant a physical meaning: it controls how far the roots sit from the axis. When b2−4ac<0b^2 - 4ac < 0, the roots are complex numbers, but their real part is still −b2a-\frac{b}{2a}. The parabola never reaches the x-axis, yet the axis of symmetry is still a real, visible line.

How to find the axis of symmetry from standard form

Follow these steps for any equation y=ax2+bx+cy = ax^2 + bx + c:

  1. Put the terms in order of power, so you can see which number multiplies x2x^2 and which multiplies xx.
  2. Read off aa and bb with their signs. Ignore cc.
  3. Substitute into x=−b2ax = -\frac{b}{2a}, using parentheses around negative values.
  4. Write the answer as an equation, x=…x = \dots

A faster mental route: halve bb, divide by aa, then flip the sign. For b=−12b = -12 and a=2a = 2, half of −12-12 is −6-6, dividing by 22 gives −3-3, and flipping the sign gives 33.

Example 1. Find the axis of symmetry and vertex of y=2x2−12x+7y = 2x^2 - 12x + 7.

Here a=2a = 2 and b=−12b = -12.

x=−−122(2)=124=3x = -\frac{-12}{2(2)} = \frac{12}{4} = 3

The axis is x=3x = 3. For the vertex, put x=3x = 3 back into the function: y=2(9)−36+7=18−36+7=−11y = 2(9) - 36 + 7 = 18 - 36 + 7 = -11. The vertex is (3,−11)(3, -11).

Example 2. Find the axis of symmetry of y=−3x2−9x+4y = -3x^2 - 9x + 4.

Both a=−3a = -3 and b=−9b = -9 are negative, which is where most sign errors happen.

x=−−92(−3)=9−6=−32x = -\frac{-9}{2(-3)} = \frac{9}{-6} = -\frac{3}{2}

The axis is x=−32x = -\frac{3}{2}. A quick check: at x=0x = 0 the height is 44. The mirror of 00 across −32-\frac{3}{2} is −3-3, and y(−3)=−27+27+4=4y(-3) = -27 + 27 + 4 = 4. The heights match.

The trap that costs the most points is reading aa and bb by position instead of by power. In y=5+3x−x2y = 5 + 3x - x^2, the first number is not aa. Here a=−1a = -1 and b=3b = 3, so x=−32(−1)=32x = -\frac{3}{2(-1)} = \frac{3}{2}.

Axis of symmetry in vertex form and factored form

Standard form needs a formula, but the other two forms usually need no real calculation. Choose the method based on what the equation already shows you.

Form Equation Axis of symmetry
Standard y=ax2+bx+cy = ax^2 + bx + c x=−b2ax = -\frac{b}{2a}
Vertex y=a(x−h)2+ky = a(x-h)^2 + k x=hx = h
Factored y=a(x−r1)(x−r2)y = a(x - r_1)(x - r_2) x=r1+r22x = \frac{r_1 + r_2}{2}

In vertex form, the sign inside the bracket is the trap. The pattern is (x−h)(x - h), so y=−2(x+5)2+1y = -2(x+5)^2 + 1 has h=−5h = -5, not 55. Rewrite x+5x + 5 as x−(−5)x - (-5) if you doubt it. Notice that a=−2a = -2 and k=1k = 1 are irrelevant to the axis.

Example 3. Find the axis of symmetry of y=2(x+3)(x−8)y = 2(x+3)(x-8).

The x-intercepts are x=−3x = -3 and x=8x = 8. The axis is their average:

x=−3+82=52x = \frac{-3 + 8}{2} = \frac{5}{2}

Confirm by expanding: y=2(x2−5x−24)=2x2−10x−48y = 2(x^2 - 5x - 24) = 2x^2 - 10x - 48. Then x=−−102(2)=104=52x = -\frac{-10}{2(2)} = \frac{10}{4} = \frac{5}{2}. Both routes agree.

The midpoint method is the one that reveals the connection with solving quadratic equations by factoring: once you have the roots, the axis costs one addition and one halving. It only works when the roots are real, though. For a parabola that misses the x-axis, use −b2a-\frac{b}{2a} instead.

Quick check

Find the axis of symmetry of y=3(x−1)(x+6)y = 3(x-1)(x+6).

How to find and check the axis of symmetry on a graph

On a graph, locate the turning point, the highest or lowest spot on the curve, and read its x-coordinate. If the vertex is hard to read, use any two points at the same height. The axis is the vertical line halfway between them. For (−1,6)(-1, 6) and (7,6)(7, 6), the midpoint of the x-values is −1+72=3\frac{-1 + 7}{2} = 3, so the axis is x=3x = 3. This works only when the two heights are exactly equal.

Try this: Graph y=x2−4x−5y = x^2 - 4x - 5. Find its x-intercepts, average them, and compare the result with −b2a-\frac{b}{2a}. Then pick one point on the curve and locate its mirror partner across your line.

A reliable way to verify any algebraic answer is to test symmetry directly: if x=hx = h is the axis, then f(h+d)=f(h−d)f(h + d) = f(h - d) for every distance dd. Take Example 1, where f(x)=2x2−12x+7f(x) = 2x^2 - 12x + 7 and h=3h = 3. Try d=1d = 1:

f(4)=32−48+7=−9,f(2)=8−24+7=−9f(4) = 32 - 48 + 7 = -9, \qquad f(2) = 8 - 24 + 7 = -9

The values match, so x=3x = 3 is correct. A wrong axis, say x=2x = 2, fails at once: f(3)=−11f(3) = -11 and f(1)=−3f(1) = -3 are not equal.

The axis is also the quickest guide when you sketch a parabola for quadratic inequalities. Mark the axis, plot the roots on either side, and the sign pattern of the curve is clear without any further plotting.

Is the axis of symmetry always vertical?

Not always. A parabola written as x=ay2+by+cx = ay^2 + by + c opens left or right, and its axis is horizontal. The roles of xx and yy swap, and so does the formula: y=−b2ay = -\frac{b}{2a}.

Example 4. Find the axis of symmetry of x=y2−4y+1x = y^2 - 4y + 1.

Here a=1a = 1 and b=−4b = -4.

y=−−42(1)=42=2y = -\frac{-4}{2(1)} = \frac{4}{2} = 2

The axis is the horizontal line y=2y = 2. The vertex has y=2y = 2, so its x-coordinate is x=4−8+1=−3x = 4 - 8 + 1 = -3, giving the vertex (−3,2)(-3, 2).

Not every curve has one

A function such as y=x4−3x2y = x^4 - 3x^2 mirrors across x=0x = 0 because f(−x)=f(x)f(-x) = f(x). A cubic like y=x3y = x^3 has no mirror line, only point symmetry about the origin.

The idea reaches well beyond parabolas. In geometry, an axis of symmetry (or line of symmetry) is any line that folds a shape onto itself. An isosceles triangle has one, a rectangle has two, a square has four, and a circle has infinitely many. Even a single angle has one: the angle bisector is the axis of symmetry of the angle, which is why it appears in the discussion of types of angles.

Quick check

Find the axis of symmetry of x=y2+10y+2x = y^2 + 10y + 2.

Where is the axis of symmetry used in real problems?

Whenever a quantity rises and then falls, the turning point sits on the axis, and the axis formula hands you the input where the peak happens. That is the setup in projectile motion, revenue models, and fencing problems with a fixed amount of material.

Example 5. A ball is thrown so that its height in feet after tt seconds is h(t)=−16t2+64t+5h(t) = -16t^2 + 64t + 5. When is it highest, and how high does it get?

The peak time is the axis of symmetry in the variable tt:

t=−642(−16)=6432=2t = -\frac{64}{2(-16)} = \frac{64}{32} = 2

The maximum height is h(2)=−16(4)+64(2)+5=−64+128+5=69h(2) = -16(4) + 64(2) + 5 = -64 + 128 + 5 = 69 feet. Symmetry also tells you the ball is back at its starting height of 55 feet at t=4t = 4, the mirror of t=0t = 0 across t=2t = 2. Check: h(4)=−256+256+5=5h(4) = -256 + 256 + 5 = 5.

Typical places where the axis gives the answer directly:

  • The time at which a thrown object reaches its peak
  • The price that maximizes revenue in a demand model
  • The side length that maximizes the area of a fenced rectangle

Many quadratic word problems reduce to this single step. Satellite dishes and headlight reflectors depend on the same geometry: a parabolic dish aims along its axis, and signals arriving parallel to the axis bounce to one focal point that also lies on it.

Practice problems

0 of 5 solved

  1. Find the axis of symmetry of y=x2+6x+5y = x^2 + 6x + 5.

  2. Find the axis of symmetry of y=2(x+6)2−1y = 2(x+6)^2 - 1.

  3. Find the axis of symmetry of y=−x2+8x−3y = -x^2 + 8x - 3.

  4. A parabola has x-intercepts at x=−9x = -9 and x=2x = 2. Find its axis of symmetry.

  5. The parabola y=2x2+kx+3y = 2x^2 + kx + 3 has axis of symmetry x=5x = 5. Find kk.

Common questions

What is the formula for the axis of symmetry?

For y=ax2+bx+cy = ax^2 + bx + c the axis of symmetry is the vertical line x=−b2ax = -\frac{b}{2a}. For vertex form y=a(x−h)2+ky = a(x-h)^2 + k it is x=hx = h. For factored form it is the average of the two x-intercepts.

Is the axis of symmetry the same as the vertex?

No. The vertex is a single point, such as (3,−11)(3, -11), while the axis of symmetry is the whole vertical line x=3x = 3 that passes through it. They share the same x-coordinate, which is why finding one gives you the other.

Does every quadratic function have an axis of symmetry?

Yes. Every parabola is a stretched and shifted copy of y=x2y = x^2, so it always has exactly one line of symmetry. This holds even when the parabola never touches the x-axis.

Can the axis of symmetry be horizontal?

Yes, for a parabola that opens left or right, written x=ay2+by+cx = ay^2 + by + c. Its axis is the horizontal line y=−b2ay = -\frac{b}{2a}. Functions of the form y=ax2+bx+cy = ax^2 + bx + c always have a vertical axis.

How do you find the axis of symmetry from two points?

If two points on the parabola have the same y-value, the axis is the vertical line halfway between their x-values. For (−1,6)(-1, 6) and (7,6)(7, 6) that is x=3x = 3. This only works when the heights match.

What happens to the axis of symmetry when a is negative?

The formula x=−b2ax = -\frac{b}{2a} works the same way. A negative aa only flips the parabola upside down, so the vertex becomes a maximum, and the axis stays in the same place.

Up next