Sub topic 5
The Axis of Symmetry x = h
This chapter assumes you can read the vertex (h, k) from y = a(x - h)^2 + k, including the sign of h. It also assumes you can substitute values into an expression and plot points on a coordinate plane. Here you will learn why the vertical line x = h splits a parabola into two mirror-image halves. You will also learn how to use that line to find extra points without extra calculation.
What the axis of symmetry is
The axis of symmetry is a vertical line that passes through the vertex. If you fold the graph along this line, the left half lands exactly on the right half.
For a parabola in vertex form, y = a(x - h)^2 + k, the axis is the line
x = h
The value of k does not affect it, and neither does a. Only the horizontal position of the vertex matters.
| Equation | h | Vertex | Axis of symmetry |
|---|---|---|---|
| y = (x - 4)^2 + 1 | 4 | (4, 1) | x = 4 |
| y = -2(x + 3)^2 - 5 | -3 | (-3, -5) | x = -3 |
| y = 0.5x^2 + 7 | 0 | (0, 7) | x = 0 (the y-axis) |
| y = 3(x - 2.5)^2 | 2.5 | (2.5, 0) | x = 2.5 |
The axis is not part of the parabola. Draw it as a dashed line, because it is a guide for you and not a curve of the function.
Why the symmetry holds
Pick any distance d from the axis. The point d units to the right of the axis has x-coordinate h + d. The point d units to the left has x-coordinate h - d. Substitute both into the equation:
- Right: y = a((h + d) - h)^2 + k = a d^2 + k
- Left: y = a((h - d) - h)^2 + k = a(-d)^2 + k = a d^2 + k
A squared number is the same whether the number is positive or negative, so both points give the same y-value. This is the whole reason the graph is symmetric. The squared term (x - h)^2 only "sees" the distance from h, not the direction.
The reflection rule
Writing the flipped x-coordinate as h - d, where d = x - h, gives a single formula:
mirror x = h - (x - h) = 2h - x
The y-coordinate does not change. So the mirror of (x, y) across x = h is (2h - x, y).
Consider y = 2(x - 1)^2 - 8. Here h = 1, so the mirror of x is 2(1) - x = 2 - x. The table shows the pairs.
| x | Distance from axis | y | Mirror x |
|---|---|---|---|
| 1 | 0 | -8 | 1 (the vertex mirrors to itself) |
| 2 | 1 | -6 | 0 |
| 3 | 2 | 0 | -1 |
| 4 | 3 | 10 | -2 |
Read the table in reverse as well. The point (0, -6) is the y-intercept, and its mirror is (2, -6). You get a second point at height -6 without any further calculation. The x-intercept (3, 0) mirrors to (-1, 0), which is the other x-intercept.
The vertex is the only point that is its own mirror image, because its distance from the axis is 0.
Checking the rule in code
The following program computes y for a few x-values, reflects each x across the axis, and computes y again. Each pair should match.
def f(a, h, k, x):
return a * (x - h) ** 2 + k
def mirror(h, x):
return 2 * h - x
a, h, k = 2, 1, -8
for x in [0, 3, 4]:
m = mirror(h, x)
print(f"x={x}: y={f(a, h, k, x)} mirror x={m}: y={f(a, h, k, m)}")Running it prints:
x=0: y=-6 mirror x=2: y=-6
x=3: y=0 mirror x=-1: y=0
x=4: y=10 mirror x=-2: y=10Try changing a, h, and k to other values, including fractions. The two y-values in each line stay equal for every choice of a, h, and k.
Worked example: finding the axis and adding points
Take y = -(x + 4)^2 + 7.
- Rewrite x + 4 as x - (-4). This shows h = -4 and k = 7.
- The vertex is (-4, 7), and the axis is x = -4.
- Since a = -1 is negative, the parabola opens downward, and the vertex is the highest point.
- Evaluate one point: at x = -1, y = -(3)^2 + 7 = -2. So (-1, -2) is on the graph.
- Reflect: 2h - x = 2(-4) - (-1) = -7. So (-7, -2) is also on the graph.
- Check: at x = -7, y = -(-3)^2 + 7 = -2. This matches.
Two evaluated points would normally be needed to place a point on each side. With the axis, one evaluation gives two points.
Using the axis in the other direction
So far you have found the axis from the equation. You can also find the axis from the graph, or from partial information about it.
If two points on a parabola have the same y-value, the axis passes halfway between them. Its x-value is the average of their x-values:
h = (x1 + x2) / 2
This gives a quick check on the earlier example. The x-intercepts of y = 2(x - 1)^2 - 8 are -1 and 3, and (-1 + 3) / 2 = 1. That matches h = 1.
The same idea works for any pair at equal height, not just for x-intercepts. For instance, (0, -6) and (2, -6) average to x = 1.
This is the main way to recover h when a problem gives you a graph or a table of values and no equation. A later chapter uses it to write an equation from a graph.
Common errors
Getting the sign of h wrong
In y = (x + 3)^2 - 1, the axis is x = -3, not x = 3. The form is (x - h), so a plus sign inside the bracket means h is negative. A quick check is to find the x that makes the bracket zero: x + 3 = 0 gives x = -3.
Writing the axis as a y-equation
The axis is vertical, so it is written x = h. Writing y = k describes a horizontal line through the vertex, which is not the axis of a parabola that opens up or down.
Reflecting with the wrong rule
Changing x to -x only works when h = 0. For any other axis, use 2h - x. For example, with the axis x = 3, the mirror of x = 5 is 2(3) - 5 = 1, not -5. The distance check helps: 5 is 2 units right of the axis, so the mirror is 2 units left, at 1.
Changing the y-value when reflecting
Reflection across a vertical line moves the point sideways only. The mirror point has the same y-value. If your reflected point has a different height, an arithmetic error has crept in.
Using the k-value as part of the axis
In y = 2(x - 1)^2 - 8, the number -8 shifts the graph down. It does not move the axis. Only h appears in the axis equation.
How this fits into graphing
The axis does the following work in the graphing procedure that comes later in this tutorial:
- It tells you where to center your table of x-values. Choose values at equal distances on both sides of h.
- It halves the number of evaluations. Each point you compute gives you a second one.
- It lets you complete a sketch when one side is cut off by the edge of your graph paper or window.
Exercise
For y = -(x + 4)^2 + 7, the point (-1, -2) lies on the graph. State the axis of symmetry and the mirror point of (-1, -2).
Show answer
The axis is x = -4. The mirror x is 2(-4) - (-1) = -7, so the mirror point is (-7, -2).
Exercise
A parabola has x-intercepts at x = -2 and x = 6. What is its axis of symmetry, and what is the x-coordinate of the vertex?
Show answer
The axis is halfway between the intercepts: (-2 + 6) / 2 = 2. So the axis is x = 2, and the vertex has x-coordinate 2.
Exercise
A parabola has axis x = 2 and passes through (5, 3). Name a second point on it at the same height. Then explain what is wrong with the answer (-5, 3).
Show answer
The mirror of x = 5 is 2(2) - 5 = -1, so (-1, 3) is on the parabola. The answer (-5, 3) uses the rule x -> -x, which only works when the axis is x = 0. Here (-5, 3) is 7 units from the axis, while (5, 3) is only 3 units from it.
Exercise
In y = 3(x - 2.5)^2 + 1, the point (3, 1.75) lies on the graph. Find its mirror point and confirm it lies on the graph.
Show answer
The axis is x = 2.5, so the mirror x is 2(2.5) - 3 = 2. Check: 3(2 - 2.5)^2 + 1 = 3(0.25) + 1 = 1.75. The mirror point (2, 1.75) lies on the graph.