Transformations of graphs

Transformations of graphs

Spec 1.12 · Edexcel International A Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • y=f(x)+ay=f(x)+a translates up by aa; y=f(x+a)y=f(x+a) translates left by aa.
  • y=af(x)y=af(x) is a stretch parallel to the yy-axis, scale factor aa; y=−f(x)y=-f(x) reflects in the xx-axis.
  • y=f(ax)y=f(ax) is a stretch parallel to the xx-axis with scale factor 1a\frac1a.
  • Inside the bracket the effect is the opposite of what you expect.
  • Transform the key points: intercepts, turning points and asymptotes.

Translations

f(x)+af(x)+a moves the graph up by aa; f(x+a)f(x+a) moves it left by aa.

A translation moves the whole graph without turning or resizing it. A change inside the bracket acts on xx and goes the opposite way to the sign, so f(x−3)f(x-3) moves the graph 33 to the right.

If ff has a minimum at (2,−3)(2,-3), then f(x)+4f(x)+4 has a minimum at (2,1)(2,1) and f(x−3)f(x-3) has one at (5,−3)(5,-3).

−6−4−2246−4−224681012xyy = (x − a)² + by = x²
The dashed curve is y = x². The solid curve is y = (x − a)² + b. Move the sliders: a shifts the graph right, b shifts it up.

What does y=f(x+2)y=f(x+2) do to the graph of y=f(x)y=f(x)?

Stretches and reflections

af(x)af(x) stretches vertically by factor aa; f(ax)f(ax) stretches horizontally by factor 1a\frac1a.

A stretch enlarges the graph in one direction only. In af(x)af(x) every yy-coordinate is multiplied by aa; if a<0a<0 it also reflects in the xx-axis.

In f(ax)f(ax) every xx-coordinate is divided by aa, so y=sin⁡2xy=\sin2x has period 180∘180^\circ. Roots do not move in a vertical stretch.

−6−4−2246−4−3−2−11234xyy = a sin(bx)y = sin x
Dashed: y = sin x. Solid: y = a sin(bx). Slider a stretches vertically (amplitude a); b squeezes horizontally (period 2π/b). Axis in radians.

What is the scale factor of the stretch y=f(3x)y=f(3x), parallel to the xx-axis?

Standard graphs transformed

Apply each rule to the key points and asymptotes of the standard graph.

For y=x2y=x^2: y=(x−2)2+1y=(x-2)^2+1 has its vertex at (2,1)(2,1). For y=1xy=\frac1x: y=1x+2−3y=\frac1{x+2}-3 has asymptotes x=−2x=-2 and y=−3y=-3.

y=sin⁡(x−30∘)y=\sin(x-30^\circ) has its first maximum at (120∘,1)(120^\circ,1); y=cos⁡x+2y=\cos x+2 has maximum 33, minimum 11; y=tan⁡2xy=\tan2x has asymptotes at 45∘45^\circ, 135∘135^\circ, ... and y=(x−1)3y=(x-1)^3 is y=x3y=x^3 moved 11 right.

−6−5−4−3−2−11234−10−8−6−4−224xyx = −2y = −3(-5/3, 0)(0, -5/2)y = 1/(x + 2) − 3
y = 1/(x + 2) − 3 is y = 1/x moved 2 left and 3 down, so the asymptotes move to x = -2 and y = -3.

What are the maximum and minimum values of y=cos⁡x+2y=\cos x+2?

Sketching a transformed graph

Transform the key points one transformation at a time, and label their new coordinates.

With f(x)=x2−4x+1=(x−2)2−3f(x)=x^2-4x+1=(x-2)^2-3: y=f(x+3)y=f(x+3) has its minimum at (−1,−3)(-1,-3); y=f(2x)y=f(2x) at (1,−3)(1,-3); y=−f(x)y=-f(x) has its maximum at (2,3)(2,3).

−4−3−2−1123456−6−4−2246810xy(2, -3)(-1, -3)(1, -3)(2, 3)y = f(x)y = f(x + 3)y = f(2x)y = -f(x)
f(x) = x² − 4x + 1 with minimum (2, -3), and three transformations: f(x + 3) has minimum (-1, -3), f(2x) has minimum (1, -3), and -f(x) has maximum (2, 3).

Worked example

The graph of y=f(x)y=f(x) has a minimum at (2,−3)(2,-3). Find the minimum or maximum of y=f(x)+1y=f(x)+1 and y=f(2x)y=f(2x).

The graph of y=f(x)y=f(x) has a minimum at (2,−3)(2,-3). Where is the maximum of y=−f(x)y=-f(x)?

Try an exam question

The curve y=f(x)y=f(x) has a minimum at (2,−3)(2,-3). Write down the coordinates of the turning point on each curve: (a) y=f(x)+1y=f(x)+1 (b) y=f(2x)y=f(2x) (c) y=−f(x)y=-f(x).

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which of the following is the minimum point of the graph of y=f(x)+4y=f(x)+4?

1 mark, marked against the mark scheme

Revision notes