Higher – Transformation of functions

Part ofMathsAlgebra

Key points about transformations of functions

Bullet points represented by lightbulbs
  • A function, 𝑓(𝑥) relates an input and an output. The equation 𝑦 = 𝑥² can be written as the function 𝑓(𝑥) = 𝑥². The notation for a function is 𝑓(𝑥) or 𝑔(𝑥) or ℎ(𝑥) and so on.

  • Functions may be transformed by and . The image is usually sketched on the same axes as the original graph. The image of coordinates can be predicted.

  • Sometimes transformations are combined. While its shape remains the same, the position/orientation of the graph may change.

  • A transformation can be applied to any graph including and functions, as well as shapes on a grid.

Make sure you can draw translations and reflections, as well as recognise 𝑦 = sin𝑥 and 𝑦 = cos𝑥 to help when transforming trigonometric graphs.

Back to top

Check your understanding

Back to top

Transformations that translate functions

A , 𝑓(𝑥) is translated by 𝑛 units by an addition or subtraction of 𝑛, usually an value.

  • 𝑓(𝑥) + 𝑛 translates 𝑓(𝑥) vertically up by vector
\(\begin{pmatrix}0 \\𝑛\end{pmatrix}\)

The point (𝑥, 𝑦) becomes (𝑥, 𝑦 + 𝑛).

  • 𝑓(𝑥) – 𝑛 translates 𝑓(𝑥) vertically down by vector
\(\begin{pmatrix} 0 \\ – 𝑛 \end{pmatrix}\)

The point (𝑥, 𝑦) becomes (𝑥, 𝑦 – 𝑛).

  • 𝑓(𝑥 + 𝑛) translates 𝑓(𝑥) horizontally to the left by vector
\(\begin{pmatrix} – 𝑛 \\ 0 \end{pmatrix}\)

The point (𝑥, 𝑦) becomes (𝑥 – 𝑛 , 𝑦).

  • 𝑓(𝑥 – 𝑛) translates 𝑓(𝑥) horizontally to the right by vector
\(\begin{pmatrix} 𝑛 \\ 0 \end{pmatrix}\)

The point (𝑥, 𝑦) becomes (𝑥 + 𝑛 , 𝑦).

Find out more below, along with a worked example

GCSE exam-style questions

A pen and a piece of paper with question marks on it.
  1. The graph of the function 𝑔(𝑥) forms the shape of triangle 𝐴𝐵𝐶.

Sketch the transformation of 𝑔(𝑥 + 3) and find the image A' of vertex A (–2, –2).

A coordinate grid showing triangle ABC. Point A is at approximately (–2, –2), point B at (4, 0), and point C at (3, 4). The axes are labelled x (horizontal) and y (vertical). The triangle’s sides are drawn with bold straight lines. A small circled point is marked on the positive y-axis slightly above the origin. Gridlines are evenly spaced, with numerical markings along both axes from –6 to 8 horizontally and –4 to 6 vertically.

  1. The function ℎ(𝑥) is shown.

Sketch the transformation ℎ(𝑥 – 6) + 2 and work out the image of the point (0, 5).

A coordinate grid showing the graph of a downward‑opening curve labelled h(x). The curve reaches a maximum at around (–1, 10) and then slopes downwards on both sides. Several points on the curve are marked with solid dots on the right-hand branch, at approximately y‑values 8, 6, 5, and 4. The x‑ and y‑axes are shown with arrows, gridlines, and numerical markings. A circled point is shown on the x‑axis slightly to the right of the origin.

  1. The diagram shows the wave function ℎ(𝑥 – 2) + 3.

Sketch the function ℎ(𝑥).

A coordinate grid showing an orange wavy curve labelled h(x−2)+3. The curve has a repeating up‑and‑down shape with peaks at roughly x=−1 and x=7, each reaching about y=5. It also has troughs near x=−4 and x=3, touching the x‑axis. The x‑ and y‑axes are drawn with arrows and numerical markings, with a circled point at the origin. The entire curve is shifted 2 units to the right and 3 units up compared with an implied original function.

Back to top

Transformations that reflect functions

A function, 𝑔(𝑥), is reflected when the sign is changed.

  • –𝑔(𝑥) reflects 𝑔(𝑥) in the 𝑥-axis. The point (𝑥, 𝑦) becomes (𝑥, – 𝑦).

  • 𝑔( – 𝑥) reflects 𝑔(𝑥) in the 𝑦-axis. The point (𝑥, 𝑦) becomes (– 𝑥, 𝑦).

  • –𝑔( – 𝑥) reflects 𝑔(𝑥) in both the 𝑥-axis and 𝑦-axis. The point (𝑥, 𝑦) becomes
    (– 𝑥, – 𝑦).

For functions that are about the , the resulting image will look the same.

When the function remains the same, it is said to be .

An invariant coordinate lies on the line of reflection.

Explore combined transformations and invariant points to support your confidence when working with transformations that reflect functions.

Follow the worked examples below

GCSE exam-style questions

A pen and a piece of paper with question marks on it.
  1. The function shown is 𝑔(𝑥).

Sketch the transformation 𝑔(– 𝑥).

Which point is the invariant?

 A coordinate grid showing the graph of a downward‑opening curve labelled g(x). The curve reaches a maximum at approximately (−2,10) before sloping downwards on both sides. The x‑ and y‑axes are shown with arrows, gridlines, and numerical markings. A circled point is marked on the x‑axis slightly to the right of the origin.

  1. The function shown is 𝑔(𝑥).

Sketch the transformation – 𝑔(𝑥).

Which point is the invariant?

A coordinate grid showing the graph of a downward‑opening curve labelled g(x). The curve reaches a maximum slightly to the left of the y‑axis, at around x=−1 and y=8, then slopes downwards on both sides. The x‑ and y‑axes are drawn with arrows, numerical markings, and gridlines. A circled point is marked on the x‑axis just to the right of the origin.

  1. The function ℎ(𝑥) is shown on the axes.

Sketch the transformation – ℎ( – 𝑥).

A coordinate grid with labelled x‑ and y‑axes, marked with arrows, gridlines, and numerical values. In the upper‑right quadrant, a small black polygon labelled h(x) is drawn. The shape has three straight sides, forming a slanted triangular outline, with its base stretching roughly from x=3 to x=8 and its peak near x=5 and y=5. A circled point marks the origin at the centre of the axes.

Back to top

What are combined transformations?

Combined transformations involve more than one translation, reflection or both.

When the transformations are of the same type, the order in which they are carried out does not matter.

For example:

  • – 𝑓(𝑥 + 3) is a reflection in the 𝑥-axis followed by a translation left 3 units.
  • 𝑓(– 𝑥) – 2 is a reflection in the 𝑦-axis followed by a translation down 2 units.

When a function has more than one transformation, the order matters. Check each part of the combined function carefully.

  • Transformations outside the brackets follow the standard order of operations (multiplication/reflection before addition/translation).

For example, –𝑓 (𝑥) + 2 means reflect in the 𝑥-axis first, then translate up 2 units.

  • Transformations inside the brackets can be more complex.

For example, 𝑓(– 𝑥 + 2) involves a reflection in the 𝑦-axis and a horizontal translation.

If you are unsure how a combined transformation looks, work out some coordinates to help you.

Follow the worked examples below

GCSE exam-style questions

A pen and a piece of paper with question marks on it.
  1. The function 𝑓(𝑥) is transformed to 3 + 𝑓(– 𝑥).

Work out the image of the point (5, – 2).

Black text on a white background showing the transformation f(x)→3+f(−x). Beneath it, the point (5,−2) is shown with an arrow pointing to a question mark, indicating the transformed coordinates are to be found.

  1. The function of 𝑝(𝑥) is transformed to 𝑞(𝑥).

Write 𝑞(𝑥) in terms of 𝑝(𝑥).

A coordinate grid showing two semicircular curves. The upper semicircle, drawn in black and labelled p(x), extends from x=−3 and reaches a maximum height of y=3. Below it is an orange semicircle labelled q(x), also centred on the y‑axis but lower, reaching a maximum of about y=1 at the same midpoint. Both curves are smooth arcs above and below the x‑axis respectively. The axes include arrows, gridlines, numerical markings, and a circled origin.

  1. The function 𝑓(𝑥) is transformed to – 𝑓(– 𝑥).

On a copy of the diagram, sketch – 𝑓(– 𝑥).

A coordinate grid showing the graph of a curve labelled f(x). The curve forms a smooth U‑shape with its minimum at the point (2,0). It decreases steeply to the left and rises steeply to the right. The x‑ and y‑axes have arrows, numerical labels, gridlines, and a circled origin at (0,0).

Back to top

Transformations on trigonometric graphs

Applying transformations of functions to graphs is carried out in the same way as other functions.

When using the function sin(𝑥), there are:

  • vertical translations for sin(𝑥) + 𝑛 and sin(𝑥) – 𝑛
  • horizontal translations for sin(𝑥 + 𝑛) and sin(𝑥 – 𝑛)
  • reflections for – sin(𝑥) and sin(– 𝑥)

Transformations can be combined.

Follow the worked examples below

GCSE exam-style questions

A pen and a piece of paper with question marks on it.
  1. Function 𝑓(𝑥) = cos(𝑥).

Work out a possible equation for the function 𝑔(𝑥) in terms of cos(𝑥), following a single transformation.

A coordinate grid showing two trigonometric curves. The black curve represents f(x)=cos(x), starting at y= 1 when x=0°, dipping to y=−1 at 180°, and rising again to y=1 at 360°. A second curve in purple has the same shape but is shifted horizontally; it starts at y=−1 at x=0°, peaks at y=1 at 180°, and returns to y=−1 at 360°. Above the graph, the expressions “f(x)=cos(x) and “g(x)=? are written. The axes include arrows, gridlines, degree markings, and a circled origin.

  1. ℎ(𝑥) = sin(𝑥).

Sketch the function 3 + sin(𝑥 + 45).

Work out the image of point 𝑃, (30, 0·5).

A coordinate grid displaying the graph of h(x)=sin(x). The sine curve oscillates between y=1 and y=−1, with key points marked at −360° , −270° , −180° , −90° , 0° , 90° , 180° , 270° , and 360° . A highlighted point P appears on the curve at approximately x=60° and y= 1. The axes include arrows, degree markings, gridlines, and a circled origin.

  1. The function 𝑓(𝑥) = sin(𝑥) is shown for values of 𝑥 from 0° to 360°.

Sketch the function 𝑓(– 𝑥) and write the function in terms of sin(𝑥).

Work out the image of point 𝑃, (90, 1).

A coordinate grid showing the graph of sin(x) from −360° - 360°. The sine curve oscillates smoothly between y=1 and y=−1. A point P is marked at (90°,1), where the curve reaches a maximum. The axes have arrows, degree markings, gridlines, and a circled origin at (0°, 0).

Back to top

Quiz – Transformations of functions

Practise what you've learned about transformation of functions with this quiz.

Now you've revised transformations of functions, why not look at geometric problems using vectors?

Back to top

More on Algebra

Find out more by working through a topic