Translations of Graphs
Theory
A translation slides a graph to a new position without changing its shape. This Year 11 Mathematics Advanced page shows how replacing \(y\) by \(y-k\) (i.e. \(y=f(x)+k\)) moves a graph up and replacing \(x\) by \(x-h\) (i.e. \(y=f(x-h)\)) moves it to the right, how points and key features such as the vertex, centre and asymptote move, and how completing the square shows the translation in a parabola or a circle.
A translation moves every point of a graph the same distance in the same direction. The shape, size and orientation of the graph do not change; only its position does. A vertical translation moves the graph up or down, a horizontal translation moves it left or right, and a translation can do both.
Vertical translation. Replacing \(y\) by \(y-k\) (i.e. \(y=f(x)+k\)) translates the graph \(k\) units up. Adding a negative number moves it down: \(y=f(x)-3\) is \(y=f(x)\) translated \(3\) units down (replace \(y\) by \(y+3\)).
Horizontal translation. Replacing \(x\) by \(x-h\) (i.e. \(y=f(x-h)\)) translates the graph \(h\) units to the right (for \(h\) positive). So \(y=f(x+2)\) is \(y=f(x)\) translated \(2\) units to the left. The sign seems backwards, but \(f(x-h)\) takes the value \(f(a)\) when \(x-h=a\), that is at \(x=a+h\): every height of the old graph now occurs \(h\) units further right.
Under \(y=f(x-h)+k\) every point moves \(h\) units right and \(k\) units up: \((a,b)\rightarrow(a+h,\ b+k)\). Key features move in the same way: the vertex of a parabola or of \(y=|x|\), the centre of a circle (its radius does not change) and the vertical asymptote of a hyperbola. In function notation, if \(g(x)=f(x-h)+k\) then \(g(a+h)=f(a)+k\).
When an equation is expanded, such as \(y=x^2-4x+9\), complete the square to see the translation: \(y=(x-2)^2+5\) is \(y=x^2\) translated \(2\) units right and \(5\) units up. Completing the square in \(x\) and in \(y\) does the same for a circle.
The translation rules (\(h\) and \(k\) positive):
| Translation | Replace | New graph | Point \((a,b)\) moves to |
|---|---|---|---|
| \(k\) units up | \(y\) by \(y-k\) | \(y=f(x)+k\) | \((a,\ b+k)\) |
| \(k\) units down | \(y\) by \(y+k\) | \(y=f(x)-k\) | \((a,\ b-k)\) |
| \(h\) units right | \(x\) by \(x-h\) | \(y=f(x-h)\) | \((a+h,\ b)\) |
| \(h\) units left | \(x\) by \(x+h\) | \(y=f(x+h)\) | \((a-h,\ b)\) |
Both together, \(h\) units right and \(k\) units up:
Translating the basic graphs \(h\) units right and \(k\) units up:
| Graph | Translated graph | Key feature |
|---|---|---|
| \(y=x^2\) | \(y=(x-h)^2+k\) | vertex \((h,k)\) |
| \(y=|x|\) | \(y=|x-h|+k\) | vertex \((h,k)\) |
| \(y=x^3\) | \(y=(x-h)^3+k\) | \((0,0)\rightarrow(h,k)\) |
| \(y=\dfrac{1}{x}\) | \(y=\dfrac{1}{x-h}+k\) | asymptotes \(x=h\), \(y=k\) |
| \(x^2+y^2=r^2\) | \((x-h)^2+(y-k)^2=r^2\) | centre \((h,k)\), radius \(r\) |
| \(ax+by+c=0\) | \(a(x-h)+b(y-k)+c=0\) | a parallel line |
| \(y\) | \(=\) | \(x^2+10x+21\) |
| \(\) | \(=\) | \((x^2+10x+25)+21-25\) |
| \(\) | \(=\) | \((x+5)^2-4\) |
| \(y\) | \(=\) | \(-(x^2-6x)-5\) |
| \(\) | \(=\) | \(-(x^2-6x+9)+9-5\) |
| \(\) | \(=\) | \(-(x-3)^2+4\) |
| \(3(x-2)-(y+1)+2\) | \(=\) | \(0\) |
| \(3x-6-y-1+2\) | \(=\) | \(0\) |
| \(3x-y-5\) | \(=\) | \(0\) |
How to find the equation of a translated graph
- Read the movement: right \(h\), replace \(x\) by \(x-h\); left \(h\), replace \(x\) by \(x+h\); up \(k\), replace \(y\) by \(y-k\); down \(k\), replace \(y\) by \(y+k\).
- Substitute into the original equation, with brackets around each replacement.
- Rearrange to make \(y\) the subject (a circle stays in the form \((x-h)^2+(y-k)^2=r^2\)). Expand only if a form such as \(y=x^2+bx+c\) is asked for.
- Check with a key point: the vertex or centre should have moved \(h\) right and \(k\) up.
How to describe a translation from an equation
- Write the equation in translated form, completing the square if it is expanded.
- Compare a key feature of the two graphs: vertex, centre or asymptote.
- State the distance and direction of each movement, e.g. "\(3\) units right and \(2\) units down".
Points and function values
- Points: under \(y=f(x-h)+k\), \((a,b)\rightarrow(a+h,\ b+k)\).
- Function values: for \(g(x)=f(x-h)+k\), substitute first: \(g(c)=f(c-h)+k\), then use the given value of \(f\).
Right \(4\): replace \(x\) by \(x-4\). Up \(1\): replace \(y\) by \(y-1\).
| \(y-1\) | \(=\) | \((x-4)^2\) |
| \(y\) | \(=\) | \((x-4)^2+1\) |
The vertex moves \((0,0)\rightarrow(0+4,\ 0+1)=(4,1)\).
\(\therefore\ \boldsymbol{y=(x-4)^2+1}\), with vertex \(\boldsymbol{(4,1)}\).
(a) Describe the translation.
(b) State the coordinates of the image of \((-1,4)\).
(c) Find \(g(-3)\).
(a) \(x\) is replaced by \(x+2\): \(2\) units left. Subtracting \(5\) (replacing \(y\) by \(y+5\)): \(5\) units down.
(b) Every point moves \((a,b)\rightarrow(a-2,\ b-5)\):
\((-1,4)\rightarrow(-1-2,\ 4-5)=\boldsymbol{(-3,-1)}\)
(c) Substitute \(x=-3\) into the translated rule:
| \(g(-3)\) | \(=\) | \(f(-3+2)-5\) |
| \(\) | \(=\) | \(f(-1)-5\) |
| \(\) | \(=\) | \(4-5\) |
| \(\) | \(=\) | \(\boldsymbol{-1}\) |
This agrees with (b): the image point \((-3,-1)\) lies on \(y=g(x)\).
Write in vertex form by completing the square:
| \(y\) | \(=\) | \(x^2+2x-1\) |
| \(\) | \(=\) | \((x^2+2x+1)-1-1\) |
| \(\) | \(=\) | \((x+1)^2-2\) |
Translate the vertex: \((-1,-2)\rightarrow(-1+3,\ -2+4)=(2,2)\).
| \(y\) | \(=\) | \((x-2)^2+2\) |
| \(\) | \(=\) | \(x^2-4x+4+2\) |
| \(\) | \(=\) | \(x^2-4x+6\) |
\(\therefore\ \boldsymbol{y=x^2-4x+6}\) with vertex \(\boldsymbol{(2,2)}\).
Complete the square in \(x\) and in \(y\):
| \(x^2+2x+y^2-8y\) | \(=\) | \(-8\) |
| \((x^2+2x+1)+(y^2-8y+16)\) | \(=\) | \(-8+1+16\) |
| \((x+1)^2+(y-4)^2\) | \(=\) | \(9\) |
\(x^2+y^2=9\) has centre \((0,0)\) and radius \(3\). The new circle has centre \((-1,4)\) and radius \(\sqrt{9}=3\).
\((0,0)\rightarrow(-1,4)\) is \(1\) unit left and \(4\) units up, and the radius is unchanged. Equivalently, replacing \(x\) by \(x+1\) and \(y\) by \(y-4\) in \(x^2+y^2=9\) gives the new circle.
\(\therefore\) the circle is \(x^2+y^2=9\) translated \(1\) unit left and \(4\) units up.
Common pitfalls
Frequently asked questions
What is a translation of a graph?
A translation slides every point of the graph the same distance in the same direction, up, down, left or right. The shape and size of the graph stay the same; only its position changes.
Why does f(x - h) move the graph to the right?
Because \(f(x-h)\) gives the old value \(f(a)\) when \(x-h=a\), that is when \(x=a+h\). Every height of the old graph now happens \(h\) units further right.
How do you translate a graph up or down?
Add a constant to the whole function. Replacing \(y\) by \(y-k\), i.e. \(y=f(x)+k\), moves the graph \(k\) units up; \(y=f(x)-k\) moves it \(k\) units down.
How do you find the new vertex after a translation?
Move the old vertex the same way as the graph: \(h\) right and \(k\) up sends \((a,b)\) to \((a+h,\ b+k)\). Or write the new equation as \(y=(x-h)^2+k\) and read the vertex \((h,k)\).
How do you translate a circle?
Replace \(x\) by \(x-h\) and \(y\) by \(y-k\). The circle \(x^2+y^2=r^2\) becomes \((x-h)^2+(y-k)^2=r^2\), with centre \((h,k)\) and the same radius \(r\).
Does a translation change the shape of a graph?
No. A translation only changes the position of the graph. Its shape, size and orientation, for example the radius of a circle or how wide a parabola is, stay exactly the same.