Graph transformations

Graph transformations

Spec 2.9 · Edexcel A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • y=f(x)+ay=f(x)+a moves the graph up aa; y=f(x+a)y=f(x+a) moves it left aa.
  • y=af(x)y=af(x) is a stretch parallel to the yy-axis, scale factor aa.
  • y=f(ax)y=f(ax) is a stretch parallel to the xx-axis, scale factor 1a\dfrac1a.
  • y=−f(x)y=-f(x) reflects in the xx-axis; y=f(−x)y=f(-x) reflects in the yy-axis.
  • Changes inside the bracket act on xx and do the opposite of what you expect; changes outside act on yy.

Translations

Adding outside the bracket moves the graph up; adding inside moves it left.

  • y=f(x)+ay=f(x)+a is a translation by (0a)\binom{0}{a}.
  • y=f(x+a)y=f(x+a) is a translation by (−a0)\binom{-a}{0}.

Asymptotes move too: y=1x+3y=\dfrac1x+3 has asymptotes x=0x=0 and y=3y=3; y=1x+2y=\dfrac{1}{x+2} has x=−2x=-2 and y=0y=0.

−4−2246810−6−4−224681012xy(3, −4)y = x²y = (x − a)² + b
y = (x − a)² + b is y = x² translated by (a, b). Here a = 3, b = −4.

The point (5,1)(5,1) is on y=f(x)y=f(x). Where is its image on y=f(x−2)y=f(x-2)?

Stretches

A multiplier outside stretches in the yy-direction by aa; inside it stretches in the xx-direction by 1a\frac1a.

A stretch scales distances from one axis only. y=af(x)y=af(x) multiplies yy-coordinates by the scale factor aa and keeps xx-intercepts. y=f(ax)y=f(ax) divides xx-coordinates by aa and keeps the yy-intercept.

For y=sin⁡xy=\sin x, y=3sin⁡xy=3\sin x has amplitude 33 and y=sin⁡2xy=\sin2x has period π\pi.

123456−3−2−1123xyy = sin xy = a sin(bx)
y = a sin(bx) against y = sin x. a changes the amplitude, b changes the period.

y = af(x)

  • Stretch parallel to y-axis
  • Scale factor a
  • x-intercepts stay

y = f(ax)

  • Stretch parallel to x-axis
  • Scale factor 1/a
  • y-intercept stays

Describe y=f(3x)y=f(3x).

Reflections

A minus outside the bracket reflects in the xx-axis; a minus inside reflects in the yy-axis.

A reflection gives the mirror image in an axis. y=−f(x)y=-f(x) changes the sign of every yy-coordinate; y=f(−x)y=f(-x) changes the sign of every xx-coordinate.

For y=x2−6x+5y=x^2-6x+5: reflecting in the xx-axis gives y=−x2+6x−5y=-x^2+6x-5, and in the yy-axis gives y=x2+6x+5y=x^2+6x+5. A reflection in the xx-axis turns a maximum into a minimum.

−3−2−1123−1123456xyy = 0(0, 1)y = eˣy = e⁻ˣ
y = e⁻ˣ is the reflection of y = eˣ in the y-axis. Both have asymptote y = 0.

The point (2,5)(2,5) is on y=f(x)y=f(x). Where is its image on y=−f(x)y=-f(x)?

Combined transformations

For y=af(bx+c)+dy=af(bx+c)+d work as you would evaluate it: the bracket first, then aa, then dd.

A combined transformation applies two or more in sequence. Order matters when a stretch and a translation act in the same direction: 2f(x)+12f(x)+1 is not 2(f(x)+1)=2f(x)+22(f(x)+1)=2f(x)+2.

For y=3+cos⁡2xy=3+\cos2x the maximum is 44, the minimum 22, the period π\pi and the yy-intercept (0,4)(0,4).

12345612345xy(0, 4)(π/2, 2)(π, 4)y = cos xy = 3 + cos 2x
y = 3 + cos 2x: y = cos x stretched by ½ parallel to the x-axis, then up 3.

Worked example

Describe y=2f(−x)+1y=2f(-x)+1 and track the point (3,−2)(3,-2).

Which transformations take y=f(x)y=f(x) to y=f(x+1)−3y=f(x+1)-3?

On standard curves

Track turning points, intercepts and asymptotes through each transformation, and label the new coordinates.

  • Polynomials: if x3−4xx^3-4x has roots −2,0,2-2,0,2, then f(x−1)f(x-1) has roots −1,1,3-1,1,3.
  • Reciprocals: transform the asymptote lines too.
  • Trigonometric: stretches change amplitude and period; tan⁡x\tan x asymptotes move under f(ax)f(ax) and f(x+a)f(x+a).
  • Exponentials: y=ex+cy=e^x+c has asymptote y=cy=c; y=e−xy=e^{-x} decays.
−4−3−2−112345−10−8−6−4−2246810xy(−1, 0)(1, 0)(3, 0)y = f(x)y = f(x − 1)
f(x − 1) moves the roots of x³ − 4x from −2, 0, 2 to −1, 1, 3.

What is the horizontal asymptote of y=ex+5y=e^{x}+5?

Try an exam question

The point P(3,−2)P(3,-2) lies on the curve y=f(x)y=f(x). Write down the coordinates of the image of PP on each of these curves: (a) y=f(x+2)y=f(x+2), (b) y=f(x)+2y=f(x)+2, (c) y=2f(x)y=2f(x), (d) y=f(2x)y=f(2x).

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Write down the coordinates of the image of this point on the curve y=f(x+2)y=f(x+2).

1 mark, marked against the mark scheme

Revision notes