Compared with a⋅f(x−h)+k,g has a=2,h=3 and k=1. There is no horizontal scaling, so b=1.
g(x)=2f(x−3)+1
2
Shift right 3
The x−3 inside moves every point right 3. The vertex goes from (0,0) to (3,0), and (1,1) goes to (4,1).
3
Stretch vertically by 2
Doubling the output doubles each height, so (4,1) becomes (4,2). The vertex, at height 0, stays at (3,0).
4
Shift up 1
Adding 1 lifts every point. The vertex lands at (3,1), and (1,1) and (−1,1) land at (4,3) and (2,3).
(1,1)→(4,3),(−1,1)→(2,3)
(1,1)→(4,3)(−1,1)→(2,3)
5
Check with the formula
Put the three new x-values into g. Each one gives the height the moves predicted.
g(x)=2(x−3)2+1g(3)=1g(4)=3g(2)=3
Result
Shift right 3, stretch vertically by 2, then shift up 1. The vertex moves to (3,1), and (±1,1) move to (4,3) and (2,3).
Your turn
1. One like the example
Describe the graph of h(x)=−(x+2)2+4 compared with y=x2, and give its vertex.
Show the answer and explanation
Reflect across the x-axis, shift left 2 and up 4. The vertex is (−2,4).
h(x)=−f(x−(−2))+4, so a=−1 flips the parabola to open downward, h=−2 shifts it left 2 and k=4 lifts it 4. The vertex (0,0) moves to (−2,4), and (±1,1) move to (−1,3) and (−3,3).
h(x)=−(x+2)2+4h(−2)=4h(−1)=3h(−3)=3
2. A variation
Describe g(x)=21(x−1)2−2 compared with y=x2. Give the vertex, and find where the point (2,4) of y=x2 lands.
Show the answer and explanation
Shift right 1, squash vertically by 21 and shift down 2. The vertex is (1,−2), and (2,4) lands at (3,0).
Here a=21,h=1 and k=−2. A factor between 0 and 1 squashes the heights toward the x-axis, so the parabola is wider. The point rule sends (2,4) to (2+1,21⋅4−2)=(3,0), and g(3)=21⋅4−2=0 confirms it.
g(x)=21(x−1)2−2g(1)=−2g(3)=0
3. Somewhere new
The parabola y=x2 is reflected across the x-axis, then shifted right 1 and up 9. Write its equation and find where it crosses the x-axis.
Show the answer and explanation
g(x)=−(x−1)2+9, crossing at x=4 and x=−2.
The reflection gives −x2, the shift right gives −(x−1)2 and the shift up gives −(x−1)2+9. It crosses the x-axis where (x−1)2=9, so x−1=3 or x−1=−3. The vertex (1,9) sits halfway between the two crossings.
g(x)=−(x−1)2+9g(1)=9g(4)=0g(−2)=0
Keep exploring
In Graph, move the slider ato −2. The graph of g flips to open downward, and its vertex stays at (3,1). The line under the graph says what each of a,h and k does.