Sub topic 3
Zero, one, or two x-intercepts
This chapter assumes you can substitute values into expressions, plot points, take square roots (including both signs), and expand or factor simple binomials such as (x - 3)^2. It uses vertex form, y = a(x - h)^2 + k, with a not equal to 0.
Counting the x-intercepts
An x-intercept is a point where the graph meets the x-axis, so y = 0. Setting y = 0 gives:
(x - h)^2 = -k/a
A squared real number cannot be negative, so the sign of -k/a decides the count.
- If -k/a > 0, there are two x-intercepts: x = h ± sqrt(-k/a).
- If -k/a = 0, there is one x-intercept: x = h. The vertex sits on the x-axis.
- If -k/a < 0, there are no x-intercepts. The parabola lies entirely above or below the x-axis.
import math
def parabola_features(a, h, k):
"""Features of y = a(x - h)^2 + k, with a != 0."""
y_intercept = a * h**2 + k
ratio = -k / a
if ratio > 0:
r = math.sqrt(ratio)
x_intercepts = [h - r, h + r]
elif ratio == 0:
x_intercepts = [h]
else:
x_intercepts = []
return {
"vertex": (h, k),
"axis": h,
"y_intercept": y_intercept,
"x_intercepts": x_intercepts,
}
print(parabola_features(2, 1, -8))
# {'vertex': (1, -8), 'axis': 1, 'y_intercept': -6, 'x_intercepts': [-1.0, 3.0]}Using symmetry to add points
The axis of symmetry, x = h, reflects every point. A point at horizontal distance d from the axis has a mirror image at distance d on the other side, with the same y-value. For y = 2(x - 1)^2 - 8, the y-intercept (0, -6) lies one unit left of the axis x = 1, so its mirror is (2, -6).
Graphing a parabola step by step
- Plot the vertex (h, k) and draw the axis x = h as a dashed line.
- Substitute x = 0 to find the y-intercept, then reflect it.
- Find the x-intercepts, if any exist.
- Choose one more x-value, such as x = 4, and reflect it.
- Join the points with a smooth curve.
For y = 2(x - 1)^2 - 8, the vertex is (1, -8), the y-intercepts are (0, -6) and (2, -6), the x-intercepts are (-1, 0) and (3, 0), and x = 4 gives (4, 10), which reflects to (-2, 10).
Converting standard form to vertex form
Take y = x^2 - 6x + 5. Half of -6 is -3, and (x - 3)^2 = x^2 - 6x + 9. So x^2 - 6x + 5 = (x - 3)^2 - 4, and the vertex is (3, -4).
Writing the equation from the vertex and one more point
Suppose the vertex is (2, -3) and the graph passes through (4, 5). Substitute into y = a(x - 2)^2 - 3: 5 = a(4 - 2)^2 - 3, so 8 = 4a and a = 2. The equation is y = 2(x - 2)^2 - 3.
Exercise
How many x-intercepts does y = -(x + 2)^2 + 3 have, and what are they?
Show answer
Here a = -1, h = -2, and k = 3, so -k/a = 3 > 0. There are two x-intercepts: x = -2 ± sqrt(3).