๐Ÿ”€ Combined Transformations

A Level Maths Year 2 ยท Algebra and Functions

Level 3 · Ages 17–18

← Back to topic overview
1 The Single Transformations (Recap)

Each single transformation was covered in Year 1 on Transformations of Graphs. Year 2 asks you to combine them.

EquationTransformation of $y = \mathrm{f}(x)$Point $(p, q)$ moves to
$y = \mathrm{f}(x) + d$Translation by $\begin{pmatrix} 0 \\ d \end{pmatrix}$$(p,\; q + d)$
$y = \mathrm{f}(x + c)$Translation by $\begin{pmatrix} -c \\ 0 \end{pmatrix}$$(p - c,\; q)$
$y = a\,\mathrm{f}(x)$Vertical stretch, scale factor $a$$(p,\; aq)$
$y = \mathrm{f}(bx)$Horizontal stretch, scale factor $\dfrac{1}{b}$$\left(\dfrac{p}{b},\; q\right)$
$y = -\mathrm{f}(x)$Reflection in the $x$-axis$(p,\; -q)$
$y = \mathrm{f}(-x)$Reflection in the $y$-axis$(-p,\; q)$
Outside the bracket affects $y$ and does what it says. Inside the bracket affects $x$ and does the opposite. $+3$ outside moves up $3$; $+3$ inside moves left $3$. $\times 2$ outside stretches by $2$; $\times 2$ inside stretches by $\tfrac12$.
2 Combining: $y = a\,\mathrm{f}(bx + c) + d$
Where a point goes
$(p,\; q)$ on $y = \mathrm{f}(x)$  $\longmapsto$  $\left(\dfrac{p - c}{b},\; aq + d\right)$ on $y = a\,\mathrm{f}(bx + c) + d$
Why? The new curve has height $aq + d$ at the $x$ for which $bx + c = p$, i.e. $x = \dfrac{p - c}{b}$. Solving "inside $= p$" is the most reliable way to find the new $x$-coordinate โ€” it avoids worrying about order at all.
  1. Horizontal changes (inside the bracket): translate by $-c$ first, then stretch by $\tfrac{1}{b}$. (Or write $b\left(x + \tfrac{c}{b}\right)$ and stretch first, then translate by $-\tfrac{c}{b}$.)
  2. Vertical changes (outside): stretch by $a$ (reflect if $a < 0$) first, then translate by $d$.
  3. Horizontal and vertical changes do not interfere with each other, so these two groups can be done in either order.
Order matters within a direction. $y = 2\mathrm{f}(x) + 3$ (stretch, then up $3$) is not the same as $y = 2\big(\mathrm{f}(x) + 3\big) = 2\mathrm{f}(x) + 6$ (up $3$, then stretch). The point $(1, 4)$ goes to $(1, 11)$ in the first and $(1, 14)$ in the second.
Worked Example 1 โ€” Two horizontal changes

Describe how to obtain $y = \mathrm{f}(2x - 6)$ from $y = \mathrm{f}(x)$, and find the image of $(4, 1)$.

โ‘ Route A: translate by $\begin{pmatrix} 6 \\ 0 \end{pmatrix}$ to get $\mathrm{f}(x - 6)$, then stretch horizontally by scale factor $\tfrac12$ to get $\mathrm{f}(2x - 6)$.
โ‘กRoute B: $\mathrm{f}(2x - 6) = \mathrm{f}\big(2(x - 3)\big)$: stretch by $\tfrac12$ to get $\mathrm{f}(2x)$, then translate by $\begin{pmatrix} 3 \\ 0 \end{pmatrix}$.
โ‘ขImage of $(4, 1)$: solve $2x - 6 = 4$, so $x = 5$. The image is $(5, 1)$.
Check Route A: $(4, 1) \to (10, 1) \to (5, 1)$ โœ“. Route B: $(4, 1) \to (2, 1) \to (5, 1)$ โœ“. The translation is $6$ in one route and $3$ in the other.
Worked Example 2 โ€” Tracking key points

The curve $y = \mathrm{f}(x)$ has a maximum at $(2, 5)$ and crosses the $y$-axis at $(0, 3)$. Find the corresponding points on $y = 3\mathrm{f}(x + 1) - 2$.

โ‘ Use $(p, q) \mapsto (p - 1,\; 3q - 2)$.
โ‘กMaximum: $(2, 5) \mapsto (1,\; 13)$. It is still a maximum, because $a = 3 > 0$.
โ‘ข$(0, 3) \mapsto (-1,\; 7)$. This is no longer on the $y$-axis.
Worked Example 3 โ€” Building a quadratic from $y = x^2$

Describe a sequence of transformations mapping $y = x^2$ onto $y = -2(x - 1)^2 + 4$.

โ‘ Translate by $\begin{pmatrix} 1 \\ 0 \end{pmatrix}$: $y = (x - 1)^2$.
โ‘กStretch vertically by scale factor $2$: $y = 2(x - 1)^2$.
โ‘ขReflect in the $x$-axis: $y = -2(x - 1)^2$.
โ‘ฃTranslate by $\begin{pmatrix} 0 \\ 4 \end{pmatrix}$: $y = -2(x - 1)^2 + 4$. The vertex $(0, 0)$ ends at $(1, 4)$, now a maximum.
Steps โ‘ก and โ‘ข can be combined as "stretch vertically by scale factor $-2$", but most mark schemes prefer the reflection stated separately.
Worked Example 4 โ€” A trigonometric graph

Describe the transformations from $y = \sin x$ to $y = 3\sin(2x + 60^\circ)$, and find the first maximum with $x > 0$.

โ‘ Inside: translate by $\begin{pmatrix} -60^\circ \\ 0 \end{pmatrix}$ to get $\sin(x + 60^\circ)$, then stretch horizontally by scale factor $\tfrac12$ to get $\sin(2x + 60^\circ)$. Equivalently, as $2x + 60^\circ = 2(x + 30^\circ)$, stretch by $\tfrac12$ first and then translate by $\begin{pmatrix} -30^\circ \\ 0 \end{pmatrix}$.
โ‘กOutside: stretch vertically by scale factor $3$.
โ‘ข$\sin$ has a maximum when its input is $90^\circ$: $2x + 60^\circ = 90^\circ \Rightarrow x = 15^\circ$. The maximum is $(15^\circ, 3)$.
โ‘ฃThe period is $360^\circ \div 2 = 180^\circ$ and the amplitude is $3$.
If you stretch by $\tfrac12$ first, the translation is then by $-30^\circ$ (because $2(x+30^\circ)$). If you translate first, it is by $-60^\circ$, then stretch. Mixing the two โ€” stretching first then translating by $-60^\circ$ โ€” is the classic error.
3 The Graphs of $y = \mathrm{f}(|x|)$ and $y = |\mathrm{f}(x)|$
GraphHow to draw itSymmetry
$y = |\mathrm{f}(x)|$Reflect the parts below the $x$-axis in the $x$-axisNever below the $x$-axis
$y = \mathrm{f}(|x|)$Keep the part for $x \geqslant 0$, delete the part for $x < 0$, then reflect the right-hand part in the $y$-axisSymmetric in the $y$-axis
Why $\mathrm{f}(|x|)$ works this way. For $x \geqslant 0$, $|x| = x$, so the curve is unchanged. For $x < 0$, $\mathrm{f}(|x|) = \mathrm{f}(-x)$, which is the value at the mirror-image point. So the left half is a copy of the right half.
-4 -3 -2 -1 1 2 3 4 -2 -1 1 2 3 4 5 6 x y (2, โˆ’1) (โˆ’2, โˆ’1) (0, 3) y = f(|x|) y = f(x), discarded
Worked Example 5 โ€” Comparing the two

$\mathrm{f}(x) = x^2 - 4x + 3$. Sketch $y = \mathrm{f}(|x|)$ and $y = |\mathrm{f}(x)|$, giving turning points and intercepts.

โ‘ $\mathrm{f}(x) = (x - 1)(x - 3) = (x - 2)^2 - 1$: roots $1$ and $3$, minimum $(2, -1)$, $y$-intercept $3$.
โ‘ก$y = \mathrm{f}(|x|)$ (diagram): roots at $x = \pm 1, \pm 3$; minima at $(\pm 2, -1)$; a sharp maximum at $(0, 3)$.
โ‘ข$y = |\mathrm{f}(x)|$: the section between $x = 1$ and $x = 3$ is reflected up, giving a maximum at $(2, 1)$; it touches the axis at $(1, 0)$ and $(3, 0)$; $y$-intercept $(0, 3)$.
Worked Example 6 โ€” A transformed modulus graph

Sketch $y = 2|x - 1| - 4$, giving the vertex and the intercepts.

โ‘ Start with $y = |x|$: translate by $\begin{pmatrix} 1 \\ 0 \end{pmatrix}$, stretch vertically by $2$, translate by $\begin{pmatrix} 0 \\ -4 \end{pmatrix}$.
โ‘กVertex $(0, 0) \mapsto (1, -4)$.
โ‘ข$x$-intercepts: $2|x - 1| = 4 \Rightarrow |x - 1| = 2 \Rightarrow x = -1$ or $x = 3$.
โ‘ฃ$y$-intercept: $2|{-1}| - 4 = -2$, so $(0, -2)$.
4 Quick Reference

Outside

Acts on $y$, does what it says.

Inside

Acts on $x$, does the opposite.

Point rule

$(p,q) \mapsto \left(\dfrac{p-c}{b},\; aq+d\right)$.

Vertical order

Stretch, then translate.

Horizontal order

Translate by $-c$, then stretch by $\tfrac1b$.

Safest method

New $x$: solve $bx + c = p$.

$|\mathrm{f}(x)|$

Reflect below-axis parts upward.

$\mathrm{f}(|x|)$

Copy the right half onto the left.

Max or min?

Swaps if $a < 0$.

5 Practice Questions
Question 1

The point $(3, -2)$ lies on $y = \mathrm{f}(x)$. Find its image on (a) $y = \mathrm{f}(x - 2) + 5$  (b) $y = 3\mathrm{f}(2x)$  (c) $y = 1 - \mathrm{f}(x)$.

โ–ถ Show solution

(a) $x - 2 = 3 \Rightarrow x = 5$; $y = -2 + 5 = 3$. Image $(5, 3)$.

(b) $2x = 3 \Rightarrow x = 1.5$; $y = 3(-2) = -6$. Image $(1.5, -6)$.

(c) $y = 1 - (-2) = 3$. Image $(3, 3)$.

Question 2

Describe fully the two transformations that map $y = \mathrm{f}(x)$ onto $y = \mathrm{f}(3x) - 4$.

โ–ถ Show solution

A stretch parallel to the $x$-axis with scale factor $\tfrac13$, and a translation by $\begin{pmatrix} 0 \\ -4 \end{pmatrix}$ (in either order, since one is horizontal and one vertical).

Question 3

Describe a sequence of transformations that maps $y = x^2$ onto $y = 4 - (x + 2)^2$, and state the vertex.

โ–ถ Show solution

Translate by $\begin{pmatrix} -2 \\ 0 \end{pmatrix}$: $y = (x + 2)^2$.

Reflect in the $x$-axis: $y = -(x + 2)^2$.

Translate by $\begin{pmatrix} 0 \\ 4 \end{pmatrix}$: $y = 4 - (x + 2)^2$.

Vertex $(-2, 4)$, a maximum.

Question 4

$y = \mathrm{f}(x)$ has a maximum point at $(4, 6)$. State the coordinates of the corresponding turning point, and its nature, on (a) $y = 2\mathrm{f}(x - 1) + 3$  (b) $y = \mathrm{f}(2x) - 6$  (c) $y = -\mathrm{f}(x)$.

โ–ถ Show solution

(a) $(5, 15)$, maximum.

(b) $(2, 0)$, maximum.

(c) $(4, -6)$, now a minimum because of the reflection.

Question 5

The point $(6, -1)$ lies on $y = \mathrm{f}(x)$. Find its image on $y = \mathrm{f}(2x + 4)$, and describe the transformation in two different orders.

โ–ถ Show solution

$2x + 4 = 6 \Rightarrow x = 1$. Image $(1, -1)$.

Order 1: translate by $\begin{pmatrix} -4 \\ 0 \end{pmatrix}$, then stretch horizontally by $\tfrac12$: $(6, -1) \to (2, -1) \to (1, -1)$ โœ“.

Order 2: $\mathrm{f}\big(2(x + 2)\big)$: stretch by $\tfrac12$, then translate by $\begin{pmatrix} -2 \\ 0 \end{pmatrix}$: $(6, -1) \to (3, -1) \to (1, -1)$ โœ“.

Question 6

The graph of $y = \mathrm{f}(x)$ is translated by $\begin{pmatrix} 3 \\ 0 \end{pmatrix}$ and then stretched parallel to the $x$-axis with scale factor $2$. Write down the equation of the new graph. Is it the same as doing the stretch first?

โ–ถ Show solution

After the translation: $y = \mathrm{f}(x - 3)$.

Stretching by $2$ replaces $x$ by $\tfrac{x}{2}$: $y = \mathrm{f}\left(\tfrac{x}{2} - 3\right)$.

Stretch first gives $y = \mathrm{f}\left(\tfrac{x}{2}\right)$, then translating gives $y = \mathrm{f}\left(\tfrac{x - 3}{2}\right) = \mathrm{f}\left(\tfrac{x}{2} - \tfrac32\right)$. These are different.

Question 7

Sketch $y = 3|x + 1| - 6$, giving the vertex and the points where it crosses the axes.

โ–ถ Show solution

Vertex $(-1, -6)$.

$x$-intercepts: $|x + 1| = 2 \Rightarrow x = 1$ or $x = -3$.

$y$-intercept: $3(1) - 6 = -3$, so $(0, -3)$.

A V shape with arms of gradient $\pm 3$.

Question 8

$\mathrm{f}(x) = (x - 2)(x + 1)$. Sketch (a) $y = |\mathrm{f}(x)|$ and (b) $y = \mathrm{f}(|x|)$, giving the coordinates of turning points and intercepts.

โ–ถ Show solution

$\mathrm{f}(x) = x^2 - x - 2 = \left(x - \tfrac12\right)^2 - \tfrac94$: roots $-1, 2$; minimum $\left(\tfrac12, -\tfrac94\right)$; $y$-intercept $-2$.

(a) Reflect the part between $-1$ and $2$: maximum $\left(\tfrac12, \tfrac94\right)$, touching the axis at $(-1, 0)$ and $(2, 0)$, $y$-intercept $(0, 2)$.

(b) Keep $x \geqslant 0$ (root $2$, minimum $\left(\tfrac12, -\tfrac94\right)$, $y$-intercept $-2$) and reflect in the $y$-axis.

Roots $x = \pm 2$; minima $\left(\pm\tfrac12, -\tfrac94\right)$; a sharp local maximum at $(0, -2)$. The root at $-1$ disappears.

Question 9

For $0^\circ \leqslant x \leqslant 360^\circ$, sketch $y = 2\cos(x - 60^\circ) + 1$. State its maximum and minimum points, its $y$-intercept, and the values of $x$ where it crosses the $x$-axis.

โ–ถ Show solution

From $y = \cos x$: translate by $\begin{pmatrix} 60^\circ \\ 0 \end{pmatrix}$, stretch vertically by $2$, translate by $\begin{pmatrix} 0 \\ 1 \end{pmatrix}$.

Maximum when $x - 60^\circ = 0^\circ$: $(60^\circ, 3)$. Minimum when $x - 60^\circ = 180^\circ$: $(240^\circ, -1)$.

$y$-intercept: $2\cos(-60^\circ) + 1 = 2 \times \tfrac12 + 1 = 2$, so $(0, 2)$.

$y = 0$: $\cos(x - 60^\circ) = -\tfrac12 \Rightarrow x - 60^\circ = 120^\circ$ or $240^\circ$, so $x = 180^\circ$ or $x = 300^\circ$.

Question 10

$\mathrm{f}(x) = 2x^2 - 12x + 13$.

(a) Write $\mathrm{f}(x)$ in the form $a(x + p)^2 + q$.  (b) Describe a sequence of transformations mapping $y = x^2$ onto $y = \mathrm{f}(x)$.  (c) Find the exact roots of $\mathrm{f}(x) = 0$.  (d) Sketch $y = |\mathrm{f}(x)|$ and state the number of solutions of $|\mathrm{f}(x)| = 5$.  (e) State the number of solutions of $\mathrm{f}(|x|) = 13$.

โ–ถ Show solution

(a) $2(x^2 - 6x) + 13 = 2\big((x - 3)^2 - 9\big) + 13 = 2(x - 3)^2 - 5$.

(b) Translate by $\begin{pmatrix} 3 \\ 0 \end{pmatrix}$, stretch vertically by scale factor $2$, then translate by $\begin{pmatrix} 0 \\ -5 \end{pmatrix}$.

(c) $(x - 3)^2 = \tfrac52 \Rightarrow x = 3 \pm \sqrt{\tfrac52} = 3 \pm \dfrac{\sqrt{10}}{2}$.

(d) The minimum $(3, -5)$ reflects to a local maximum $(3, 5)$, between the roots in (c); $y$-intercept $13$.

The line $y = 5$ touches the local maximum and crosses each outer arm once: three solutions.

(e) For $x \geqslant 0$: $2x^2 - 12x + 13 = 13 \Rightarrow 2x(x - 6) = 0 \Rightarrow x = 0$ or $6$.

Reflecting in the $y$-axis adds $x = -6$; $x = 0$ is its own mirror image. So three solutions: $x = -6, 0, 6$.

Combined Transformations · A Level Maths Year 2 · Created with MathJax