## What you need to know

A **transformation** is something that is done to a graph/function that causes it to change in some way. This topic is about the effects that changing a function has on its graph.

There are two types of transformation you must be familiar with: **translations**and **reflections**. Throughout this topic, we will use the notation \bf{f(x)} to refer to a function and describe the changes that happen to it.

Make sure you are happy with the following topics before continuing:

**Translation in the x-axis**

Translation in the x-axis is a **shift left or right**.

These look like: f(x + a); where a is added to each input before it is passed into the function, changing all values of x everywhere in the question.

As a result, the whole graph is translated by a in the **negative **x **direction **(left).

+a Translates Left

-a Translates Right

For instance on the axis shown:

y = \textcolor{limegreen}{-x^3+4}

and

y = \textcolor{limegreen}{-(x}\textcolor{red}{-2}\textcolor{limegreen}{)^3+4}

\textcolor{red}{-2} means 2 units to the right.

**Translation in the y-axis**

Translation in the y-axis is a **shift up or down**.

These look like f(x) + a; were the function adds the value of a on top of all of its outputs.

This means that the y values on the graph (the outputs of the function) are all increased by a.

As a result, the whole graph is translated by a in the **positive **y **direction** (up).

+a Translates Up

-a Translates Down

For instance:

y =\textcolor{limegreen}{(x-3)^2 +1}

and

y=\textcolor{limegreen}{(x-3)^2 +1}\textcolor{red}{+3}

**Example: **Let \textcolor{Orange}{f(x) = x^2}. Sketch, on the same axes, the graphs of \textcolor{Orange}{f(x)}, \textcolor{limegreen}{f(x) + 4}, and \textcolor{blue}{f(x + 1)}.

Firstly, you should recall the parabolic shape of the graph \textcolor{Orange}{y=x^2}.

Now, in the case of the graph

\textcolor{limegreen}{f(x) + 4 = x^2 + 4},

every y coordinate is increased by 4 and thus the whole graph is shifted upwards by 4. In the case of the graph

\textcolor{blue}{f(x + 1) = (x + 1)^2},

every x coordinate is decreased by 1, and thus the whole graph is shifted left by 1. The resulting graphs should look like those in green and blue (respectively).

**Reflection in the x-axis**

When a function/graph is reflected in a line, everything on one side of the line is flipped over and swapped with everything on the other side of the line.

These look like -f(x); in this case, every positive y value is made **negative** and every negative y is made positive. As a result, the whole graph is **reflected in the x-axis**.

For instance:

y = \textcolor{limegreen}{\sin(x)}

and

y=\textcolor{red}{\bf{-}}\textcolor{limegreen}{\sin(x)}

**Reflection in the y-axis**

These look like f(-x); in this case, every positive x value is made negative and every negative x is made positive. As a result, the whole graph is **reflected in the y-axis**.

For instance:

y = \textcolor{limegreen}{2x+4}

and

y=\textcolor{red}{\bf{-}}\textcolor{limegreen}{2x+4}

**Example: **Let \textcolor{Orange}{f(x) = x^2 - 3x}. Sketch, on the same axes, the graphs of \textcolor{Orange}{f(x)}, \textcolor{blue}{f(-x)}, and \textcolor{limegreen}{-f(x)}.

Now, in the case of the graph

f(-x)= (-x)^2 - 3(-x) = \textcolor{blue}{x^2 +3x},

every positive x coordinate is made negative and vice versa, and thus the whole graph is reflected in the y-axis. In the case of the graph

-f(x) = -(x^2 - 3x) = \textcolor{Orange}{-x^2 + 3x},

every positive y coordinate is made negative and vice versa, and thus the whole graph is reflected in the x-axis. The resulting graphs should look like those in green and blue (respectively).

### Example Questions

1) Let f(x) = \dfrac{1}{x}. Sketch, on the same axes, the graphs of f(x) and f(x - 3).

If you don’t recall the shape of the reciprocal graph, click here (https://mathsmadeeasy.co.uk/gcse-maths-revision/plotting-quadratic-and-harder-graphs-gcse-revision-and-worksheets/).

Now, f(x - 3) = \dfrac{1}{x - 3} is a translation of positive 3 in the x-direction. So, we get

2) Let f(x) = x^2 - x - 6. Sketch, on the same axes, the graphs of f(x) and -f(x) + 4.

Firstly, x^2 - x - 6 factorises to (x - 3)(x + 2), so it is a positive quadratic with roots at 3 and -2.

Now, -f(x) + 4 is both a reflection in the x-axis and a translation of 4 in the positive y-direction. We should do the reflection first and the translation second – it often helps to sketch the intermediate step to help you, and you can always rub it out afterwards. Here, the dotted line will be the intermediate step (the reflection before the translation). So, we get

Bonus questions: what would happen if you did the translation first and then the reflection? How would this answer be different, or would it be different at all?

Bonus questions: what would happen if you did the translation first and then the reflection? How would this answer be different, or would it be different at all?

3) Below is a graph of f(x) with 3 coordinates A, B, and C marked on. Sketch f(-x), and mark on the new locations of A, B, and C using A’, B’ and C’ respectively.

So, f(-x) means a reflection in the y-axis. In terms of the individual coordinates, the negative x values will be made positive and the positive x values will be made negative. So, we get

### Worksheets and Exam Questions

#### (NEW) Graph Transformations Exam Style Questions - MME

Level 8-9#### Graph Shifts and Stretches (Mixed) - Drill Questions

Level 8-9#### Transformation Of Graphs - Drill Questions

Level 8-9#### Graph Transformations x-Stretch x-shift - Drill Questions

Level 8-9#### Graph Transformations y-Stretch y-shift - Drill Questions

Level 6-7### Videos

#### Graph Transformations Q1

GCSE MATHS#### Graph Transformations Q2

GCSE MATHS### Learning resources you may be interested in

We have a range of learning resources to compliment our website content perfectly. Check them out below.