Graph Transformations

On this page

How translations and reflections move a graph, its key points and its equation.

Key facts

y=\mathrm{f}(x)+a moves the graph a up: (x,y) moves to (x,y+a)

y=\mathrm{f}(x+a) moves the graph a left: (x,y) moves to (x-a,y)

y=-\mathrm{f}(x) reflects the graph in the x-axis: (x,y) moves to (x,-y)

y=\mathrm{f}(-x) reflects the graph in the y-axis: (x,y) moves to (-x,y)

  • In each picture the dashed curve is y=\mathrm{f}(x).
  • A change outside the bracket changes y, the way its sign says: y=\mathrm{f}(x)-3 is 3 down.
  • A change inside the bracket changes x, the opposite way to its sign: y=\mathrm{f}(x-3) is 3 right.
  • To draw the new graph, move every key point (corners, turning points, where it crosses an axis), then join them in the same shape.
  • A trig graph moves the same way: y=\sin(x+30)^\circ is y=\sin x^\circ moved 30 left.

Worked example 1: Translating up or down

The graph of y=\mathrm{f}(x) is shown on the grid.

On the grid, draw the graph of y=\mathrm{f}(x)-3

  1. The −3 is outside the bracket, so every point moves 3 down. The x-coordinates stay the same.
  2. (-4,0) to (-4,-3), (-2,3) to (-2,0), (1,3) to (1,0), (3,1) to (3,-2)
  3. Join the new corners with straight lines, as the original graph is joined.

Now try this

The point (2,-1) lies on the graph of y=\mathrm{f}(x)

Write down the coordinates of the point it moves to on the graph of y=\mathrm{f}(x)+4

  1. +4 is outside the bracket: the graph moves 4 up, and the x-coordinate stays 2
  2. -1+4=3, so the point is (2,3)

More like this: practice questions

Worked example 2: Translating left or right

The graph of y=\mathrm{f}(x) is shown on the grid.

On the grid, sketch the graph of y=\mathrm{f}(x+4)

  1. The +4 is inside the bracket, so the graph moves 4 left. The y-coordinates stay the same.
  2. The maximum point (3,4) moves to (-1,4). The crossings (1,0) and (5,0) move to (-3,0) and (1,0)
  3. Why left: the new graph at x=-1 does what the old one did at -1+4=3.

Now try this

The graph of y=\mathrm{f}(x) has a turning point at (1,-4)

Write down the coordinates of the turning point of the graph of y=\mathrm{f}(x-5)

  1. −5 is inside the bracket: the graph moves 5 right, and the y-coordinate stays −4
  2. 1+5=6, so the turning point is (6,-4)

More like this: practice questions

Worked example 3: Reflecting in the y-axis

The graph of y=\mathrm{f}(x) is shown on the grid.

On the grid, draw the graph of y=\mathrm{f}(-x)

  1. The minus sign is inside the bracket, so each x-coordinate changes sign: a reflection in the y-axis. Each y-coordinate stays the same.
  2. (1,-2) to (-1,-2), (2,2) to (-2,2), (4,2) to (-4,2), (5,0) to (-5,0)
  3. The common wrong answers are a reflection in the x-axis and a rotation of 180°. Here every point keeps its height.

Now try this

The point (-5,3) lies on the graph of y=\mathrm{f}(x)

Write down the coordinates of the point it moves to on the graph of y=\mathrm{f}(-x)

  1. In \mathrm{f}(-x) the x-coordinate changes sign and the y-coordinate stays the same
  2. The point is (5,3)

More like this: practice questions

Worked example 4: Naming a reflection

Graph A has equation y=\mathrm{h}(x)

Graph B is the reflection of graph A in one of the axes.

Write down an equation of graph B.

  1. Compare matching points: (0,2) on A and (0,-2) on B, (1,1) and (1,-1). The x-coordinates are the same and the y-coordinates change sign.
  2. That is a reflection in the x-axis, so graph B is y=-\mathrm{h}(x)
  3. y=\mathrm{h}(-x) would be a reflection in the y-axis. Check which coordinate changes sign.

Now try this

Graph A has equation y=\mathrm{g}(x)

Graph B is the reflection of graph A in one of the axes.

Write down an equation of graph B.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

  1. (2,2) on A matches (-2,2) on B, and (3,2.5) matches (-3,2.5): the x-coordinate changes sign
  2. A reflection in the y-axis: y=\mathrm{g}(-x)

More like this: practice questions

Worked example 5: Reflecting, then translating

The graph of y=\mathrm{f}(x) is shown on the grid.

On the grid, draw the graph of y=\mathrm{f}(-x)+2

  1. Reflect first, then translate. \mathrm{f}(-x) reflects the graph in the y-axis, then +2 moves it 2 up.
  2. Each point (x,y) moves to (-x,y+2): (-4,1) to (4,3), (-2,-3) to (2,-1), (1,-1) to (-1,1), (2,1) to (-2,3)
  3. The minus sign is inside the bracket, so the reflection is in the y-axis, not the x-axis.

Now try this

The point (6,-1) lies on the graph of y=\mathrm{f}(x)

The graph of y=\mathrm{f}(x) is transformed to the graph of y=\mathrm{f}(-x)-4

Find the coordinates of the point that (6,-1) moves to.

  1. Reflect in the y-axis: (6,-1) moves to (-6,-1)
  2. Then 4 down: (-6,-5)

More like this: practice questions

Worked example 6: A translated sine graph

Here is a sketch of the graph of y=\sin x^\circ for 0\le x\le360

M is the maximum point.

The graph of y=\sin x^\circ is translated to give the graph of y=\sin(x-60)^\circ+3

M moves to N. Find the coordinates of N.

  1. \sin x^\circ is greatest, 1, when x=90, so M is (90,1)
  2. −60 inside the bracket: 60 right. +3 outside: 3 up.
  3. N is (90+60,\ 1+3)=(150,4)
  4. The question may not give the turning points: learn those of y=\sin x^\circ, (90,1) and (270,-1).

Now try this

Here is a sketch of the graph of y=\sin x^\circ for 0\le x\le360

L is the minimum point.

The graph of y=\sin x^\circ is translated to give the graph of y=\sin(x+30)^\circ-2

L moves to K. Find the coordinates of K.

  1. L is (270,-1). +30 inside the bracket: 30 left. −2 outside: 2 down.
  2. K is (270-30,\ -1-2)=(240,-3)

More like this: practice questions

Worked example 7: The equation after a translation

The curve with equation y=x^2+4x+1 is translated so that the point (-2,-3) on the curve moves to (1,2)

Find an equation of the translated curve.

  1. The point moves 3 right and 5 up.
  2. 3 right: replace every x with x-3. 5 up: add 5.
  3. y=(x-3)^2+4(x-3)+1+5so y=(x-3)^2+4(x-3)+6
  4. This need not be multiplied out. Multiplied out, it is y=x^2-2x+3. Check with (1,2): 1-2+3=2
  5. Putting the point's numbers into the equation does not find the translation: change x and add to y.

Now try this

The graph of y=\sin x^\circ is translated to give the graph of y=\mathrm{g}(x)

The point (90,1) moves to (30,4)

Find an expression for \mathrm{g}(x) in terms of x.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

  1. The point moves 60 left and 3 up
  2. 60 left: replace x with x+60. 3 up: add 3. So \mathrm{g}(x)=\sin(x+60)^\circ+3

More like this: practice questions

Practice questions