Chalk−1

Math · College algebra · Worked example

Transform the graph of y = x²

Describe how to get the graph of g⁡(x)=2⁢(x−3)2+1 from the graph of f⁡(x)=x2, and find where the vertex and the points (±1,1) end up.

g⁡(x)=2⁢(x−3)2+1

Try one — Chalk checks each line

Read a, h and k

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

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).

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).

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)

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)=12⁢(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 12 and shift down 2. The vertex is (1,−2), and (2,4) lands at (3,0).

Here a=12, 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,12⋅4−2) =(3,0), and g⁡(3)=12⋅4−2=0 confirms it.

g⁡(x)=12⁢(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 a to −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.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Transform it in Graph Check the points in Math Study the 5 key terms Open worked example on a board Transformations in Math Reference

Your existing work stays on this device. Examples open as editable copies.