πŸ”„ Graph Transformations

Translations and Reflections of Functions

GCSE Maths Β· Ages 15–16 Β· Foundation & Higher
1 Function Notation β€” $f(x)$
We write $y = f(x)$ to mean "the function of $x$". This is a shorthand for any equation in $x$, for example $f(x) = x^2 - 3$ or $f(x) = \sin x$. Using $f(x)$ lets us describe transformations generally β€” the rules apply to any graph, not just one specific equation.

$f(x)$ β€” the original function (the starting graph)

$f(x) + a$ β€” add $a$ to every output (y-value) of $f$

$f(x + a)$ β€” replace every $x$ input with $x + a$ before applying $f$

$-f(x)$ β€” negate every output (flip all y-values)

$f(-x)$ β€” replace every $x$ input with $-x$ before applying $f$

πŸ”‘ Key idea: Transformations outside the function β€” e.g. $f(x) + a$ β€” affect y-values (vertical effects). Transformations inside the function β€” e.g. $f(x + a)$ β€” affect x-values (horizontal effects), and horizontal effects are often the opposite direction to what you might expect!
TransformationNotationTypeDirection
Shift up by $a$$f(x) + a$TranslationVertical (outside)
Shift right by $a$$f(x - a)$TranslationHorizontal (inside)
Reflection in x-axis$-f(x)$ReflectionVertical (outside)
Reflection in y-axis$f(-x)$ReflectionHorizontal (inside)
2 Vertical Translations β€” $f(x) + a$
Vertical Translation
$$y = f(x) + a$$

Shifts the graph up by $a$ units if $a > 0$, or down by $|a|$ units if $a < 0$.
Every point $(x,\ y)$ on $f(x)$ moves to $(x,\ y + a)$.

-3-2 -11 23 30 -3 x y y=f(x) f(x)+3 f(x)βˆ’3 +3 βˆ’3

$f(x)+3$ (red) shifts up 3; $f(x)-3$ (blue) shifts down 3. Original $f(x)=x^2$ shown dashed.

How to apply a vertical translation

  1. Identify the value of $a$ (positive = up, negative = down).
  2. Add $a$ to the y-coordinate of every key point (roots, turning point, intercepts).
  3. x-coordinates of all points stay the same β€” only y-values change.
  4. Draw the same shape curve, shifted vertically.
Worked Example β€” Vertical Translation: $f(x) = x^2 - 1$, find $f(x) + 4$
β‘ The original curve $y = x^2 - 1$ has vertex $(0, -1)$, roots at $x = \pm 1$, y-intercept $(0, -1)$.
β‘‘$f(x) + 4$ shifts every y-value up by $4$. New equation: $y = x^2 - 1 + 4 = x^2 + 3$.
β‘’Key points transformed: vertex $(0,-1) \to (0,\ 3)$. Roots: solve $x^2+3=0$ β€” no real solutions (curve now above x-axis).
βœ“$y = x^2 + 3$ β€” same U-shape, lifted 4 units, no longer crosses x-axis.
3 Horizontal Translations β€” $f(x + a)$
Horizontal Translation
$$y = f(x + a)$$

Shifts the graph left by $a$ units if $a > 0$, or right by $|a|$ units if $a < 0$.
Every point $(x,\ y)$ on $f(x)$ moves to $(x - a,\ y)$.

⚠️ The most common mistake in GCSE:
$f(x + 3)$ moves the graph LEFT by 3, NOT right.
$f(x - 3)$ moves the graph RIGHT by 3, NOT left.
Think of it this way: $f(x+3)$ reaches the same $y$-value when $x$ is 3 less than before β€” so the graph moves left.
-3-2 -11 23 4 x y f(x) f(xβˆ’2) f(x+2) +2β†’ ←+2

$f(x-2)$ (red) shifts right 2; $f(x+2)$ (blue) shifts left 2. Note: vertices marked with dots.

How to apply a horizontal translation

  1. Identify the value of $a$ in $f(x + a)$.
  2. Every point $(x, y)$ moves to $(x - a,\ y)$ β€” subtract $a$ from every x-coordinate.
  3. y-coordinates of all points stay the same β€” only x-values change.
  4. Draw the same shape curve, shifted horizontally.
Worked Example β€” Horizontal Translation: $f(x) = x^2$, sketch $f(x - 3)$
β‘ $f(x-3)$ means shift the graph of $f(x) = x^2$ to the right by 3 (because $a = -3$, so we move in the direction $-a = +3$).
β‘‘New equation: $y = (x-3)^2$. Vertex moves from $(0, 0)$ to $(3, 0)$.
β‘’All key points shift right by 3: any point $(x, y)$ on $y=x^2$ becomes $(x+3, y)$ on $y=(x-3)^2$.
βœ“Same U-shape, vertex now at $(3, 0)$, y-intercept now at $(0, 9)$ since $(0-3)^2 = 9$.
4 Combined Translation β€” $f(x + a) + b$
You can combine a horizontal and a vertical translation in one step. The transformation $y = f(x + a) + b$ shifts the graph left by $a$ (or right if $a$ is negative) and up by $b$ (or down if $b$ is negative). Every point $(x,\ y)$ moves to $(x - a,\ y + b)$.
Combined Translation
$$y = f(x + a) + b \quad \text{β€” vector } \begin{pmatrix} -a \\ b \end{pmatrix}$$

The translation vector shows the shift: $-a$ in the x-direction, $+b$ in the y-direction.

Worked Example β€” Combined: $f(x) = x^2$, describe the transformation to $y = (x + 1)^2 - 4$
β‘ Write in the form $f(x+a)+b$: here $a = +1$ and $b = -4$.
β‘‘Horizontal shift: $a = +1$, so move left by 1.
β‘’Vertical shift: $b = -4$, so move down by 4.
β‘£Translation vector: $\begin{pmatrix} -1 \\ -4 \end{pmatrix}$. Vertex moves from $(0,0)$ to $(-1, -4)$.
βœ“New vertex: $(-1,\ -4)$. Roots: $(x+1)^2 = 4 \Rightarrow x+1 = \pm 2 \Rightarrow x = 1$ or $x = -3$.
πŸ’‘ Link to completing the square: When a quadratic is written in completed-square form $y = (x+p)^2 + q$, it describes a translation of $y = x^2$ by vector $\begin{pmatrix}-p\\q\end{pmatrix}$. The vertex is at $(-p, q)$.
5 Reflection in the x-axis β€” $-f(x)$
Reflection in the x-axis
$$y = -f(x)$$

Every y-value is negated. Points on the x-axis stay fixed.
Each point $(x,\ y)$ maps to $(x,\ -y)$.

$y = f(x) = x^2 - 2x$ (original)

-112 013 -1 x y min(1,βˆ’1)

$y = -f(x) = -(x^2 - 2x)$ (reflected)

-112 01-1 -3 x y max(1, 1)

$-f(x)$ flips the curve in the x-axis: roots stay fixed, the minimum $(1,-1)$ becomes a maximum $(1, 1)$, and U-shape becomes ∩-shape.

What stays the same: Any point where $y = 0$ (i.e. where the curve crosses the x-axis) does not move β€” because $-(0) = 0$.
What changes: Maxima become minima, minima become maxima. U-shapes become ∩-shapes and vice versa.
Worked Example β€” Reflection in x-axis: $f(x) = \sin x$, describe $-f(x)$
β‘ $-f(x) = -\sin x$ reflects $y = \sin x$ in the x-axis.
β‘‘Points where $\sin x = 0$ (at $0Β°, 180Β°, 360Β°, \ldots$) stay the same.
β‘’The maximum at $(90Β°, 1)$ becomes a minimum at $(90Β°, -1)$.
β‘£The minimum at $(270Β°, -1)$ becomes a maximum at $(270Β°, 1)$.
βœ“$y = -\sin x$ is a sine wave that starts going down instead of up, with the same period and amplitude.
6 Reflection in the y-axis β€” $f(-x)$
Reflection in the y-axis
$$y = f(-x)$$

Every x-value is negated. Points on the y-axis stay fixed.
Each point $(x,\ y)$ maps to $(-x,\ y)$.

$y = f(x) = x^2 - 2x$ (original)

-112 012 -1-2 x y min(1,βˆ’1)

$y = f(-x) = x^2 + 2x$ (reflected)

-2-11 012 -1-2 x y min(βˆ’1,βˆ’1)

$f(-x)$ reflects in the y-axis: the curve is mirrored left↔right. Root at $x=2$ moves to $x=-2$; vertex at $(1,-1)$ moves to $(-1,-1)$.

What stays the same: Any point on the y-axis (where $x = 0$) stays fixed β€” because $-0 = 0$.
What changes: Every root at $x = r$ moves to $x = -r$. The shape is mirrored left to right.
Worked Example β€” Reflection in y-axis: $f(x) = 2^x$, describe $f(-x)$
β‘ $f(-x) = 2^{-x} = \left(\frac{1}{2}\right)^x$ reflects $y = 2^x$ in the y-axis.
β‘‘The y-intercept $(0, 1)$ stays fixed (it's on the y-axis).
β‘’The point $(3, 8)$ on $f(x)$ maps to $(-3, 8)$ on $f(-x)$.
β‘£$y = 2^x$ is a growth curve (rising right); $y = 2^{-x}$ is a decay curve (falling right).
βœ“The reflection of an exponential growth curve in the y-axis gives an exponential decay curve.
7 Effect on Key Points

It's very efficient to track how transformations move specific coordinates. In the exam you will often be given a point on $f(x)$ and asked for its image under a transformation.

Transformation Point $(x,\ y)$ maps to… x changes? y changes?
$f(x) + a$$(x,\ y + a)$NoYes, add $a$
$f(x - a)$$(x + a,\ y)$Yes, add $a$No
$f(x + a)$$(x - a,\ y)$Yes, subtract $a$No
$f(x+a)+b$$(x - a,\ y + b)$Yes, subtract $a$Yes, add $b$
$-f(x)$$(x,\ -y)$NoYes, negate
$f(-x)$$(-x,\ y)$Yes, negateNo
Worked Example β€” Tracking a point: $f(x)$ passes through $(4,\ 5)$

Find the image of $(4, 5)$ under each transformation:

β‘ $f(x) + 2$: y increases by 2 β†’ $(4,\ 7)$
β‘‘$f(x - 3)$: x increases by 3 β†’ $(7,\ 5)$
β‘’$f(x + 1)$: x decreases by 1 β†’ $(3,\ 5)$
β‘£$-f(x)$: y negated β†’ $(4,\ -5)$
β‘€$f(-x)$: x negated β†’ $(-4,\ 5)$
β‘₯$f(x+2)-1$: x decreases by 2, y decreases by 1 β†’ $(2,\ 4)$
8 Quick Reference

$f(x) + a$

Vertical shift
$a>0$: up by $a$
$a<0$: down by $|a|$
$(x,y) \to (x, y+a)$

$f(x - a)$

Horizontal shift right by $a$
$a>0$: right
$a<0$: left
$(x,y) \to (x+a, y)$

$f(x + a)$

Horizontal shift LEFT by $a$
⚠️ Opposite to sign!
$(x,y) \to (x-a, y)$

$f(x+a)+b$

Combined translation
Vector $\begin{pmatrix}-a\\b\end{pmatrix}$
$(x,y) \to (x-a, y+b)$

$-f(x)$

Reflect in x-axis
y-values negated
$(x,y) \to (x, -y)$
Roots stay fixed

$f(-x)$

Reflect in y-axis
x-values negated
$(x,y) \to (-x, y)$
y-intercept stays fixed

9 Practice Questions
Question 1 β€” Identifying transformations

Describe the transformation that maps $y = f(x)$ onto each of the following:

(a) $y = f(x) + 5$    (b) $y = f(x - 4)$    (c) $y = -f(x)$    (d) $y = f(x + 2) - 1$    (e) $y = f(-x)$

β–Ά Show solution

(a) $y = f(x) + 5$: Translation up by 5. Vector $\begin{pmatrix}0\\5\end{pmatrix}$.

(b) $y = f(x-4)$: Translation right by 4. Vector $\begin{pmatrix}4\\0\end{pmatrix}$.

(c) $y = -f(x)$: Reflection in the x-axis.

(d) $y = f(x+2)-1$: Translation left 2 and down 1. Vector $\begin{pmatrix}-2\\-1\end{pmatrix}$.

(e) $y = f(-x)$: Reflection in the y-axis.

Question 2 β€” Translating a specific function

The graph of $y = x^2$ is transformed. Write the equation of the new graph after each transformation:

(a) Translate up by 6    (b) Translate right by 5    (c) Translate left 2, down 3    (d) Translate by vector $\begin{pmatrix}4\\-1\end{pmatrix}$

β–Ά Show solution

(a) $y = x^2 + 6$

(b) $y = (x-5)^2$

(c) Translate left 2 β†’ $f(x+2)$; down 3 β†’ $-3$. So: $y = (x+2)^2 - 3$

(d) Vector $\begin{pmatrix}4\\-1\end{pmatrix}$ means right 4, down 1: $y = (x-4)^2 - 1$

Question 3 β€” Tracking a point

The point $(3, -2)$ lies on the graph of $y = f(x)$. Find the coordinates of the image of this point on the graph of:

(a) $y = f(x) - 5$    (b) $y = f(x + 4)$    (c) $y = -f(x)$    (d) $y = f(-x)$    (e) $y = f(x-1) + 3$

β–Ά Show solution

(a) $f(x)-5$: $y$ decreases by 5 β†’ $(3,\ -7)$

(b) $f(x+4)$: $x$ decreases by 4 β†’ $(-1,\ -2)$

(c) $-f(x)$: $y$ negated β†’ $(3,\ 2)$

(d) $f(-x)$: $x$ negated β†’ $(-3,\ -2)$

(e) $f(x-1)+3$: $x$ increases by 1, $y$ increases by 3 β†’ $(4,\ 1)$

Question 4 β€” Translation vector

The graph of $y = \sin x$ is translated by vector $\begin{pmatrix}90\\0\end{pmatrix}$. Write the equation of the resulting graph and describe how it relates to $y = \cos x$.

β–Ά Show solution

A translation right by 90Β° is achieved by replacing $x$ with $x - 90Β°$:

$$y = \sin(x - 90Β°)$$

Since $\sin(x - 90Β°) = -\cos x$, the resulting graph is $y = -\cos x$.

Alternatively, $y = \cos x$ is $y = \sin x$ translated left by 90Β°: $\sin(x + 90Β°) = \cos x$.

Question 5 β€” Reflections of a quadratic

The graph of $y = x^2 - 6x + 5$ has roots at $x = 1$ and $x = 5$, and a minimum at $(3, -4)$.

(a) Write the equation of its reflection in the x-axis. State the new turning point and roots.

(b) Write the equation of its reflection in the y-axis. State the new roots.

β–Ά Show solution

(a) Reflection in x-axis β†’ $y = -(x^2 - 6x + 5) = -x^2 + 6x - 5$

Turning point: $(3, -4) \to (3, 4)$ β€” becomes a maximum at $(3, 4)$.

Roots: unchanged at $x = 1$ and $x = 5$ (y-values were already 0).

(b) Reflection in y-axis β†’ replace $x$ with $-x$: $y = (-x)^2 - 6(-x) + 5 = x^2 + 6x + 5$

New roots: solve $x^2 + 6x + 5 = 0 \Rightarrow (x+1)(x+5) = 0 \Rightarrow x = -1$ and $x = -5$.

(These are the negatives of the original roots $1$ and $5$, as expected.)

Question 6 β€” Completed square and transformation

Show that $y = x^2 + 4x + 7$ can be written as $y = (x+2)^2 + 3$. Hence describe the transformation that maps $y = x^2$ onto $y = x^2 + 4x + 7$.

β–Ά Show solution

Complete the square: $y = (x+2)^2 - 4 + 7 = (x+2)^2 + 3$ βœ“

This is in the form $f(x+2)+3$ where $f(x) = x^2$.

So the transformation is: translation left 2, up 3.

Translation vector: $\begin{pmatrix}-2\\3\end{pmatrix}$.

The vertex moves from $(0,0)$ to $(-2, 3)$.

Question 7 β€” Describing a transformation from two graphs

Graph A has the equation $y = f(x)$ and passes through the points $(-2, 0)$, $(0, -4)$, $(2, 0)$ and has minimum at $(0, -4)$.

Graph B passes through $(-2, 4)$, $(0, 0)$, $(2, 4)$ with minimum at $(0, 0)$.

Describe the transformation that maps Graph A to Graph B.

β–Ά Show solution

Compare key points. Minimum of A is $(0,-4)$; minimum of B is $(0,0)$.

The x-coordinate of the minimum hasn't changed, but y went from $-4$ to $0$ β€” an increase of $4$.

Check another point: $(-2, 0)$ on A maps to $(-2, 4)$ on B β€” y increased by 4. βœ“

Transformation: $y = f(x) + 4$ β€” a vertical translation up by 4.

Question 8 β€” Reflection of exponential

The graph of $y = 3^x$ passes through $(0, 1)$, $(1, 3)$ and $(2, 9)$.

(a) Write the equation of its reflection in the x-axis. Find three points on this reflected graph.

(b) Write the equation of its reflection in the y-axis. Find three points on this reflected graph.

β–Ά Show solution

(a) Reflection in x-axis: $y = -3^x$

Points: $(0,-1)$, $(1,-3)$, $(2,-9)$ β€” all y-values negated.

(b) Reflection in y-axis: $y = 3^{-x} = \left(\frac{1}{3}\right)^x$

Points: $(0,1)$, $(-1,3)$, $(-2,9)$ β€” all x-values negated.

Note: $(0,1)$ stays fixed in both reflections (it lies on both axes).

Question 9 β€” Combined transformation

The graph of $y = f(x)$ has a maximum at $(2, 7)$ and crosses the x-axis at $x = -1$ and $x = 5$.

The graph of $y = f(x + 3) + 2$ is drawn. Find:

(a) The coordinates of the maximum on the new graph.

(b) The x-coordinates where the new graph crosses the x-axis.

β–Ά Show solution

The transformation is: left 3 (subtract 3 from x), up 2 (add 2 to y).

(a) Maximum: $(2, 7) \to (2-3,\ 7+2) = (-1,\ 9)$

(b) x-intercepts of $f(x)$ are at $x=-1$ and $x=5$, where $y=0$.
After transformation: x-values shift left by 3.
$x=-1 \to x=-4$; $x=5 \to x=2$.
But the y-values also shift up by 2, so $y=0$ on $f$ becomes $y=2$ on the new graph.
So the new graph does NOT cross the x-axis at these points β€” it crosses where $f(x+3) = -2$.

These cannot be found without more information about $f$. The new x-intercepts are not simply at $x=-4$ and $x=2$ β€” this is a common error.

Question 10 β€” Full description and sketch

$f(x) = x^2 - 4$.

(a) Sketch $y = f(x)$, labelling the roots and y-intercept.

(b) On the same axes, sketch $y = -f(x)$, labelling the turning point.

(c) On a new set of axes, sketch $y = f(x - 2)$, labelling the vertex and roots.

(d) Write down the equation of the graph produced when $y = f(x)$ is reflected in the y-axis. Is it different from $f(x)$?

β–Ά Show solution

(a) $y = x^2 - 4$: roots at $x = \pm 2$ (i.e. $(-2,0)$ and $(2,0)$); y-intercept at $(0,-4)$; vertex (minimum) at $(0,-4)$. U-shaped parabola.

(b) $y = -f(x) = -(x^2-4) = -x^2+4$: Same roots at $x = \pm 2$; turning point flips to maximum at $(0, 4)$. ∩-shaped parabola.

(c) $y = f(x-2) = (x-2)^2-4$: Shift right 2. Vertex moves from $(0,-4)$ to $(2,-4)$. New roots: $(x-2)^2 = 4 \Rightarrow x-2 = \pm 2 \Rightarrow x=0$ or $x=4$.

(d) $y = f(-x) = (-x)^2-4 = x^2-4$. This is identical to $f(x)$! Since $y=x^2-4$ is symmetric about the y-axis (it only contains even powers of $x$), reflecting it in the y-axis gives the same graph.

Graph Transformations Β· GCSE Maths Revision Β· Created with MathJax