A change outside the bracket of f(x){f(x)}f(x) acts on y,{y\text{,}}y, and one inside acts on x{x}x
Transforming a graph is on the Higher tier only. A transformed graph is sketched by moving the given graph's key points, then joining them in the same shape.
Key points
The key points of a graph are its turning points, the points where it crosses the axes and its end points.
Each translation slides the curve without turning it, and each reflection flips it over an axis.
A change outside the bracket moves only y{y}y and does what it says. A change inside moves only x{x}x and does the opposite. y=f(x+3){y = f(x + 3)}y=f(x+3) reaches each y{y}y-value 3 units sooner than y=f(x),{y = f(x)\text{,}}y=f(x), so its graph moves 3 left, and y=f(x−2){y = f(x - 2)}y=f(x−2) moves 2 right.
| Equation | Transformation | (x,y){(x, y)}(x,y) moves to |
|---|---|---|
| y=f(x)+a{y = f(x) + a}y=f(x)+a | translation a{a}a units up | (x,y+a){(x, y + a)}(x,y+a) |
| y=f(x+a){y = f(x + a)}y=f(x+a) | translation a{a}a units left | (x−a,y){(x - a, y)}(x−a,y) |
| y=−f(x){y = -f(x)}y=−f(x) | reflection in the x{x}x-axis | (x,−y){(x, -y)}(x,−y) |
| y=f(−x){y = f(-x)}y=f(−x) | reflection in the y{y}y-axis | (−x,y){(-x, y)}(−x,y) |
Wrong. To sketch y=f(x)−3{y = f(x) - 3}y=f(x)−3 for a curve through (0,0),{(0, 0)\text{,}}(0,0), (1,4){(1, 4)}(1,4) and (3,0),{(3, 0)\text{,}}(3,0), only the maximum is moved, to (1,1),{(1, 1)\text{,}}(1,1), and the curve is still drawn through (0,0){(0, 0)}(0,0) and (3,0).{(3, 0)\text{.}}(3,0).
Right. Every key point moves 3 down, so the curve passes through (0,−3),{(0, -3)\text{,}}(0,−3), (1,1){(1, 1)}(1,1) and (3,−3).{(3, -3)\text{.}}(3,−3). Check each point on the grid before joining them.
Wrong. To sketch y=f(−x),{y = f(-x)\text{,}}y=f(−x), the maximum (1,4){(1, 4)}(1,4) is moved to (1,−4),{(1, -4)\text{,}}(1,−4), which reflects the graph in the x{x}x-axis.
Right. y=f(−x){y = f(-x)}y=f(−x) changes the sign of x{x}x only, so (1,4){(1, 4)}(1,4) moves to (−1,4),{(-1, 4)\text{,}}(−1,4), a reflection in the y{y}y-axis. Changing both signs, to (−1,−4),{(-1, -4)\text{,}}(−1,−4), is a rotation of 180° about the origin.
To name a reflected graph, see which coordinate of one point off the axes changes sign.
Naming a reflected graph
On a grid, the point (2,5){(2, 5)}(2,5) on y=g(x){y = g(x)}y=g(x) is reflected to (−2,5){(-2, 5)}(−2,5) on curve C.{C\text{.}}C. Write an equation of C.{C\text{.}}C.
- Only the x{x}x-coordinate changes sign, so C{C}C is the reflection of y=g(x){y = g(x)}y=g(x) in the y{y}y-axis.
- A minus sign on x{x}x does this, so C{C}C is y=g(−x).{y = g(-x)\text{.}}y=g(−x).
Combine two changes, or find a graph's equation from one moved point
For a reflection and a translation, or two translations, follow each key point through one change at a time.
The reflection acts only on x{x}x and the translation only on y,{y\text{,}}y, so either can come first.
When both changes act on y,{y\text{,}}y, as in y=−f(x)+2,{y = -f(x) + 2\text{,}}y=−f(x)+2, reflect first, then translate.
Sketching a translation in both directions
A U-shaped graph y=f(x){y = f(x)}y=f(x) has its minimum at (5,−1){(5, -1)}(5,−1) and crosses the x{x}x-axis at (4,0){(4, 0)}(4,0) and (6,0).{(6, 0)\text{.}}(6,0). Sketch y=f(x+4)+3.{y = f(x + 4) + 3\text{.}}y=f(x+4)+3.
- The +4{+4}+4 inside the bracket moves every x{x}x 4 left, and the +3{+3}+3 outside moves every y{y}y 3 up.
- Subtracting 4 from each x{x}x and adding 3 to each y{y}y sends (5,−1),{(5, -1)\text{,}}(5,−1), (4,0){(4, 0)}(4,0) and (6,0){(6, 0)}(6,0) to (1,2),{(1, 2)\text{,}}(1,2), (0,3){(0, 3)}(0,3) and (2,3).{(2, 3)\text{.}}(2,3).
- Draw the same U shape through these points.
A translation of p{p}p right and q{q}q up, by (pq),{\begin{pmatrix} p \\ q \end{pmatrix}\mathclose{\text{,}}}(pq), turns y=f(x){y = f(x)}y=f(x) into
y=f(x−p)+q y = f(x - p) + q y=f(x−p)+qwith p{p}p or q{q}q negative for a move left or down. Use it to work backwards from one point's move to the new equation, replacing every x{x}x in the expression with (x−p),{(x - p)\text{,}}(x−p), never the point's coordinates.
Finding the equation of a translated curve
The curve y=f(x),{y = f(x)\text{,}}y=f(x), where f(x)=x2+2x−3,{f(x) = x^2 + 2x - 3\text{,}}f(x)=x2+2x−3, is translated so that the point (1,0){(1, 0)}(1,0) moves to (3,4).{(3, 4)\text{.}}(3,4). Find an equation of the new curve.
- The point moves 3−1=2{3 - 1 = 2}3−1=2 right and 4−0=4{4 - 0 = 4}4−0=4 up, so the new curve is y=f(x−2)+4.{y = f(x - 2) + 4\text{.}}y=f(x−2)+4.
- Replace every x{x}x with (x−2),{(x - 2)\text{,}}(x−2), then add 4, giving y=(x−2)2+2(x−2)−3+4.y = {(x - 2)^2} + 2{(x - 2)} - 3 + 4\text{.}y=(x−2)2+2(x−2)−3+4.
- Collect the numbers, −3+4=1,{-3 + 4 = 1\text{,}}−3+4=1, so y=(x−2)2+2(x−2)+1.y = {(x - 2)^2} + 2{(x - 2)} + 1\text{.}y=(x−2)2+2(x−2)+1.
A sketch is marked on its moved key points, so label each one with its coordinates. An equation may be left unexpanded or given in an equivalent form, such as −y=g(x){-y = g(x)}−y=g(x) for y=−g(x),{y = -g(x)\text{,}}y=−g(x), but any expansion must be correct.
Move the key points of sine, tangent and circle graphs
Sine, tangent and circle graphs are transformed by moving their key points. A translated circle keeps its radius, so only its centre changes.
Because the centre stays on the y{y}y-axis, the circle meets it at its highest and lowest points.
Mark the key points a question does not give, then move them:
- Circle x2+y2=r2{x^2 + y^2 = r^2}x2+y2=r2 has its centre at (0,0){(0, 0)}(0,0) and radius r.{r\text{.}}r.
- Sine y=sinx∘,{y = \sin x^\circ\text{,}}y=sinx∘, drawn in the guide Trigonometric and Exponential Graphs, has a maximum at (90,1){(90, 1)}(90,1) and a minimum at (270,−1),{(270, -1)\text{,}}(270,−1), for 0≤x≤360.{0 \le x \le 360\text{.}}0≤x≤360.
- Tangent y=tanx∘{y = \tan x^\circ}y=tanx∘ crosses the x{x}x-axis at x=0,{x = 0\text{,}}x=0, 180 and 360, with asymptotes at x=90{x = 90}x=90 and x=270,{x = 270\text{,}}x=270, for 0≤x≤360.{0 \le x \le 360\text{.}}0≤x≤360.
Translating x2+y2=r2{x^2 + y^2 = r^2}x2+y2=r2 by a{a}a right and b{b}b up gives
(x−a)2+(y−b)2=r2 (x - a)^2 + (y - b)^2 = r^2 (x−a)2+(y−b)2=r2with centre (a,b){(a, b)}(a,b) and the same radius r.{r\text{.}}r. Use it to write a moved circle's equation or to read its centre.
Translating a sine graph
The graph of y=sinx∘{y = \sin x^\circ}y=sinx∘ is translated so that its maximum (90,1){(90, 1)}(90,1) moves to (30,1).{(30, 1)\text{.}}(30,1). Write an equation of the new graph.
- The maximum moves only left, by 90−30=60.{90 - 30 = 60\text{.}}90−30=60.
- A move of 60 left is +60{+60}+60 inside the bracket, so the new graph is y=sin(x+60)∘.{y = \sin(x + 60)^\circ\text{.}}y=sin(x+60)∘.
Reflecting y=sinx∘{y = \sin x^\circ}y=sinx∘ in the x{x}x-axis gives y=−sinx∘,{y = -\sin x^\circ\text{,}}y=−sinx∘, whose maximum (270,1){(270, 1)}(270,1) is the image of the minimum.
- Why does y=f(x+3){y = f(x + 3)}y=f(x+3) move a graph left, not right?
- How does testing one point tell the two reflections and a rotation apart?
The point (4,−1){(4, -1)}(4,−1) lies on y=f(x).{y = f(x)\text{.}}y=f(x). What are the coordinates of its image on y=−f(x)+3?{y = -f(x) + 3\text{?}}y=−f(x)+3?
Solution
(4,4){(4, 4)}(4,4)
What are the coordinates of the centre of the circle (x+5)2+(y−1)2=4?{(x + 5)^2 + (y - 1)^2 = 4\text{?}}(x+5)2+(y−1)2=4?
Solution
(−5,1){(-5, 1)}(−5,1)
Where are the asymptotes of y=tan(x+30)∘{y = \tan(x + 30)^\circ}y=tan(x+30)∘ for 0≤x≤360?{0 \le x \le 360\text{?}}0≤x≤360?
Solution
x=60{x = 60}x=60 and x=240{x = 240}x=240