Combining graph transformations

Combining graph transformations

Spec 1.4 · Edexcel International A Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Changes inside the brackets affect xx and behave backwards; changes outside affect yy and behave as expected.
  • f(x+a)f(x+a) moves the graph left by aa; f(ax)f(ax) stretches by scale factor 1a\frac1a parallel to the xx-axis.
  • Transform key points (turning points, intercepts), then draw the curve.
  • Order matters only when two transformations act on the same coordinate.
  • A full description needs the type, the direction or axis, and the size.

Single transformations

Changes inside the brackets move or stretch the graph horizontally; changes outside do so vertically.

A translation shifts the whole graph, a stretch scales it in one direction only, and a reflection flips it in an axis.

f(x)+af(x)+a is a translation (0a)\begin{pmatrix}0\\a\end{pmatrix}, and f(x+a)f(x+a) is a translation (−a0)\begin{pmatrix}-a\\0\end{pmatrix} (left by aa).

−6−4−2246−6−4−2246810xyy = a(x − b)² + cy = x²
Drag the sliders to stretch and shift y = x². The dashed curve is y = x². The vertex of the solid curve is at (b, c).

Inside the brackets (x)

  • f(x + a): left by a
  • f(ax): stretch, scale factor 1/a, parallel to the x-axis
  • f(−x): reflect in the y-axis

Outside (y)

  • f(x) + a: up by a
  • af(x): stretch, scale factor a, parallel to the y-axis
  • −f(x): reflect in the x-axis

Which transformation maps y=f(x)y=f(x) to y=f(x−2)y=f(x-2)?

Combining them

Treat the changes to the x- and y-coordinates separately, taking care over the order.

For a point (p,q)(p,q) on y=f(x)y=f(x), the image under each combined transformation is found by changing the xx-coordinate and the yy-coordinate separately.

The order of transformations matters only when two act on the same coordinate. 2f(x)+12f(x)+1 means stretch first, then translate; 2(f(x)+1)2(f(x)+1) means translate first, then stretch.

−3−2−11234524681012xy(1, 0)y = f(x)y = 2f(x − 1)
y = f(x) = x² (dashed) and y = 2f(x − 1): translate 1 right, then stretch by scale factor 2 in the y-direction; the vertex moves to (1, 0)
  • y=2f(3x)y=2f(3x)(p3, 2q)\left(\frac p3,\,2q\right)
  • y=f(−x)+1y=f(-x)+1(−p, q+1)(-p,\,q+1)
  • y=3−f(x2)y=3-f\left(\frac x2\right)(2p, 3−q)(2p,\,3-q)

The point (4,−1)(4,-1) lies on y=f(x)y=f(x). Which point lies on y=2f(x+1)−3y=2f(x+1)-3?

Worked example: a quadratic

Transform the turning point and intercepts, then draw or state the new curve.

Let f(x)=x2−2x−3=(x−1)2−4f(x)=x^2-2x-3=(x-1)^2-4, with minimum (1,−4)(1,-4) and roots −1-1, 33.

y=2f(x+1)y=2f(x+1): move left 11, stretch yy by 22: turning point (0,−8)(0,-8), roots ±2\pm2; equation y=2x2−8y=2x^2-8.

y=5−f(x)y=5-f(x): reflect in the xx-axis, then up 55: maximum (1,9)(1,9); equation y=−x2+2x+8y=-x^2+2x+8 with roots −2-2, 44.

Verify with one point: 5−f(1)=5+4=95-f(1)=5+4=9.

−4−3−2−112345−10−8−6−4−2246810xy(1, −4)(0, −8)(1, 9)y = f(x)y = 2f(x + 1)y = 5 − f(x)
y = f(x) (solid), y = 2f(x + 1) and y = 5 − f(x) (dashed), with their turning points.

The minimum of y=f(x)y=f(x) is (1,−4)(1,-4). Where is the minimum of y=f(2x)y=f(2x)?

Trigonometric graphs

Stretches change the period and amplitude; translations move the whole wave.

y=3+sin⁡2xy=3+\sin2x comes from y=sin⁡xy=\sin x by a stretch of scale factor 12\frac12 parallel to the xx-axis (period π\pi) and a translation up by 33. It oscillates between 22 and 44.

For y=−cos⁡(x+π4)y=-\cos\left(x+\frac{\pi}{4}\right): translate y=cos⁡xy=\cos x left by π4\frac{\pi}{4}, then reflect in the xx-axis. At x=0x=0 it equals −22-\frac{\sqrt2}{2}.

f(ax)f(ax) leaves the amplitude unchanged but makes the period 2πa\frac{2\pi}{a}.

123456−112345xy(π/4, 4)(3π/4, 2)y = 3 + sin 2xy = sin x
y = 3 + sin 2x (solid) against y = sin x (dashed): half the period, shifted up 3.
123456−1.5−1−0.50.511.5xy(0, −√2/2)y = −cos(x + π/4)y = cos x
y = −cos(x + π/4) (solid) against y = cos x (dashed).

What is the period of y=sin⁡3xy=\sin3x?

Describing transformations

Give the type, the direction or axis, and the size (a scale factor or vector).

"Stretch scale factor 12\frac12 parallel to the xx-axis" is complete; "squash it" is not.

When asked for the order, give the sequence in which transformations are applied to y=f(x)y=f(x).

−6−4−2246−3−2−1123xy(π/2, 3)y = f(x)y = 2f(x) + 1
y = sin x (dashed) and y = 2 sin x + 1: a stretch of scale factor 2 in the y-direction, then a translation of 1 unit up

Full marks

  • Stretch
  • scale factor ½
  • parallel to the x-axis

Not enough

  • "Squash it"
  • "Move it over"
  • "Flip it"

Describe the transformation that maps y=f(x)y=f(x) to y=f(2x)y=f(2x).

Try an exam question

The curve y=f(x)y=f(x) has a minimum point at (2,−3)(2,-3). Write down the coordinates of the turning point on the curve with equation (a) y=2f(x)y=2f(x), (b) y=f(x+3)y=f(x+3), (c) y=f(2x)+1y=f(2x)+1, (d) y=−f(x)y=-f(x), stating whether it is a maximum or minimum. (e) Describe fully the single transformation that maps y=f(x)y=f(x) to y=f(x+3)y=f(x+3).

[5 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which are the coordinates of the maximum point on the curve y=2f(3x)y=2f(3x)?

1 mark, marked against the mark scheme

Revision notes