Sub topic 1
Quadratic functions and the shape of a parabola
Prerequisites
This chapter assumes you can substitute values into expressions, plot points on a coordinate plane, take square roots including both signs, and expand expressions such as (x - 3)^2.
Quadratic functions
A quadratic function has an x^2 term as its highest power, such as y = x^2. Its graph is a U-shaped curve called a parabola. The simplest parabola, y = x^2, has its lowest point at the origin and is symmetric about the y-axis.
What the sign and size of a tell you
In the vertex form y = a(x - h)^2 + k, the number a controls the shape:
- If a > 0, the parabola opens up and has a minimum value.
- If a < 0, the parabola opens down and has a maximum value.
- If |a| > 1, the parabola is narrower than y = x^2.
- If 0 < |a| < 1, the parabola is wider than y = x^2.
Vertex form: y = a(x - h)^2 + k
Vertex form shows the turning point of the parabola directly. The values h and k shift the graph:
- h moves the graph left or right.
- k moves the graph up or down.
Reading the vertex (h, k), including the sign of h
The vertex is the point (h, k). Take care with the sign of h. In (x - h), a term like (x + 3) means h = -3, not 3.
Example: for y = 2(x - 1)^2 - 8, the vertex is (1, -8). Because a = 2 is positive, the parabola opens up and its minimum value is -8.
The following code checks this reading:
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]}Exercise
For y = -3(x + 2)^2 + 5, what are the vertex, the direction the parabola opens, and whether it is wider or narrower than y = x^2?
Show answer
The vertex is (-2, 5). Because a = -3 is negative, it opens down. Because |a| = 3 is greater than 1, it is narrower than y = x^2.