Sub topic 6
How a, h, and k Move and Reshape y = x²
This chapter assumes you can substitute values into an expression, plot points, take positive and negative square roots, and expand a binomial such as (x − 3)². It also assumes you have met vertex form, y = a(x − h)² + k.
Every parabola in vertex form is the parent graph y = x² after a few moves. Once you know which parameter does which move, you can predict the picture from the equation without plotting many points.
The parent graph
The parent function is y = x², which is vertex form with a = 1, h = 0, k = 0. Its vertex is (0, 0), its axis of symmetry is x = 0, and it opens upward. Five points are enough to describe it:
| x | −2 | −1 | 0 | 1 | 2 |
|---|---|---|---|---|---|
| y | 4 | 1 | 0 | 1 | 4 |
Every transformation below changes these five points and then redraws the curve through them.
k moves the graph vertically
Adding k to the output shifts every point up or down by k units.
- If k > 0, the graph moves up.
- If k < 0, the graph moves down.
Because only y-values change, the axis of symmetry stays where it was. For y = x² − 4, the vertex is (0, −4) and the graph is the parent shifted down 4 units.
h moves the graph horizontally
Replacing x with (x − h) shifts the graph horizontally by h units. The direction is the part learners most often get backwards.
- In y = (x − 3)², the graph moves right 3 units, and the vertex is (3, 0).
- In y = (x + 3)², the graph moves left 3 units, and the vertex is (−3, 0).
The reason is that the parent's low point occurs where the inside of the square is zero. For (x − 3)², that happens at x = 3. For (x + 3)², it happens at x = −3, because x + 3 is x − (−3).
a stretches, compresses, and reflects
The coefficient a multiplies the output of the squared part. It changes the shape, not the position of the vertex.
| Value of a | Effect | Column | Column |
|---|---|---|---|
| a > 0 | Opens up, vertex is the minimum point | ||
| a < 0 | Opens down (reflection across the horizontal line through the vertex), vertex is the maximum point | ||
| \ | a\ | > 1 | Narrower: stretched vertically |
| 0 < \ | a\ | < 1 | Wider: compressed vertically |
| \ | a\ | = 1 | Same width as the parent |
A useful measuring rule: one unit to the right or left of the vertex, the graph is exactly |a| units above or below it. For y = 3x², one step from the vertex reaches height 3. For y = ½x², one step reaches height 0.5, and two steps reach 2. The case a = 0 is excluded, because then the function is a horizontal line, not a parabola.
A negative a is a reflection and a size change at the same time. For a = −2, the graph is flipped over and also twice as steep as the parent.
The combined rule: where each point goes
All three effects can be written as one rule for moving a point (x, y) on the parent graph:
(x, y) → (x + h, a·y + k)
The x-coordinate is shifted by h. The y-coordinate is first multiplied by a, and only then shifted by k. This is why k is not scaled by a: the vertex of y = 5(x − 1)² + 2 is (1, 2), not (1, 10).
A worked example
Describe and plot y = −2(x + 1)² + 3.
- Read the parameters: a = −2, and since x + 1 = x − (−1), h = −1. Also k = 3.
- Interpret them. The graph opens down, is narrower than the parent, and has its vertex at (−1, 3). The axis of symmetry is x = −1.
- Transform the parent points with (x, y) → (x − 1, −2y + 3):
| Parent point | Image point |
|---|---|
| (−2, 4) | (−3, −5) |
| (−1, 1) | (−2, 1) |
| (0, 0) | (−1, 3) |
| (1, 1) | (0, 1) |
| (2, 4) | (1, −5) |
Check one point directly. At x = 1, y = −2(1 + 1)² + 3 = −2(4) + 3 = −5, which matches (1, −5).
The same mapping is easy to automate:
def transform_points(a, h, k, xs=(-2, -1, 0, 1, 2)):
"""Map parent points (x, x^2) onto y = a(x - h)^2 + k."""
return [(x + h, a * x**2 + k) for x in xs]
print(transform_points(-2, -1, 3))
# [(-3, -5), (-2, 1), (-1, 3), (0, 1), (1, -5)]The list matches the table. The code applies the rule (x, y) → (x + h, a·y + k) with y = x², so a·y becomes a·x².
What the transformations imply about range
Because a and k together fix the vertex height and the opening direction, they also fix the range:
- If a > 0, the range is y ≥ k.
- If a < 0, the range is y ≤ k.
The value of h does not affect the range, since a horizontal shift only slides the graph sideways. In the example above, a = −2 and k = 3, so the range is y ≤ 3.
Common errors
- Reading h with the wrong sign. Writing the vertex of y = (x + 4)² as (4, 0) instead of (−4, 0).
- Multiplying k by a. The vertical shift is applied after scaling, so it is not scaled.
- Treating a as a horizontal stretch. A larger |a| makes the graph narrower, not wider, because the same horizontal step produces a larger rise.
- Confusing a(x − h)² with (ax − h)². The second form puts the multiplier inside the square, and it changes the vertex to (h/a, 0) rather than (h, 0). Vertex form places a outside the square.
- Forgetting the reflection from a negative a. A negative a changes the opening direction and the vertex becomes a maximum.
Summary table
| Parameter | Moves or changes | Positive value | Negative value | Column | Column |
|---|---|---|---|---|---|
| a | Direction and width | Opens up | Opens down | ||
| h | Horizontal position | Shift right (written x − h) | Shift left (written x + \ | h\ | ) |
| k | Vertical position | Shift up | Shift down |
Exercise
For y = 0.5(x − 4)² − 1, state the vertex, the opening direction, whether the graph is wider or narrower than y = x², and the range. Then find the y-intercept.
Show answer
Here a = 0.5, h = 4, and k = −1. The vertex is (4, −1). Since a > 0, the graph opens up. Since 0 < |a| < 1, it is wider than the parent. The range is y ≥ −1. For the y-intercept, set x = 0: y = 0.5(0 − 4)² − 1 = 0.5(16) − 1 = 7, so the y-intercept is (0, 7).
Exercise
Write the equation of the parabola obtained from y = x² by shifting 3 units left and 2 units down, reflecting it across a horizontal line through its vertex, and making it three times as steep. Give its vertex and range.
Show answer
Shifting left 3 gives h = −3, so the inside is (x + 3). Shifting down 2 gives k = −2. Reflecting makes a negative, and being three times as steep makes |a| = 3, so a = −3. The equation is y = −3(x + 3)² − 2. The vertex is (−3, −2), and since a < 0 the range is y ≤ −2.