A-level Mathematics2.11 Transformations of graphs

All books

2.11 Transformations of graphs — Learn

Prerequisites: function notation from 2.10; the graph of y=x2y = x^2 and y=x3y = x^3; completing the square from 2.3.

By the end of this section you can: apply the transformations y=af(x)y = af(x), y=f(x)+ay = f(x) + a, y=f(x+a)y = f(x + a) and y=f(ax)y = f(ax); say whether a transformation acts on the input or on the output; and combine transformations in the right order.

1. Four transformations, one idea

A transformation changes the graph of y=f(x)y = f(x) in a predictable way. The key question is whether it acts on the output yy or on the input xx.

Equation What changes Effect
y=af(x)y = af(x) the output stretch vertically by aa
y=f(x)+ay = f(x) + a the output translate up by aa
y=f(x+a)y = f(x + a) the input translate left by aa
y=f(ax)y = f(ax) the input stretch horizontally by 1a\frac{1}{a}

Two of the four act inside the function, on xx. Those act in the opposite direction to what the number suggests. Adding aa inside moves the graph left. Multiplying xx by aa inside squeezes the graph towards the yy-axis.

2. Transformations of the output

Transforming the output does what it says. To find the new equation, apply the change to the whole expression.

Example 1. The curve y=x2y = x^2 is stretched vertically by a factor of 33.

Multiply the output by 33:

y=3x2.y = 3x^2.

Example 2. The curve y=x2y = x^2 is translated 44 units upwards.

Add 44 to the output:

y=x2+4.y = x^2 + 4.

3. Transformations of the input

Transforming the input changes which value of ff is used. Replace every xx with the new input.

Example 3. The curve y=x2y = x^2 is translated 22 units to the right.

A shift to the right by 22 means the curve reaches each height later, so replace xx with x−2x - 2:

y=(x−2)2.y = (x - 2)^2.

Check: the vertex of y=x2y = x^2 is at x=0x = 0; the new vertex is where x−2=0x - 2 = 0, which is x=2x = 2. The graph moved right.

Example 4. The curve y=x2y = x^2 is stretched horizontally by a factor of 12\frac{1}{2}.

A horizontal stretch by 12\frac{1}{2} replaces xx with 2x2x:

y=(2x)2=4x2.y = (2x)^2 = 4x^2.

The curve is squeezed, so it rises twice as fast as before.

4. Combining transformations

When two transformations are applied, the order matters when one acts on the input and one on the output.

Example 5. Given f(x)=x2f(x) = x^2, describe y=2f(x−1)+3y = 2f(x - 1) + 3.

Replace xx with x−1x - 1 first, giving (x−1)2(x - 1)^2. Multiply the result by 22, giving 2(x−1)22(x - 1)^2. Add 33:

y=2(x−1)2+3.y = 2(x - 1)^2 + 3.

Compare f(2x)+1f(2x) + 1 and 2f(x)+12f(x) + 1 for f(x)=x2+1f(x) = x^2 + 1:

f(2x)+1=4x2+2,2f(x)+1=2x2+3.f(2x) + 1 = 4x^2 + 2, \qquad 2f(x) + 1 = 2x^2 + 3.

The first doubles the input, the second doubles the output, and the two answers are different.

5. Try it: the transformation explorer

Predict first. For y=a[k(x−h)]2+vy = a[k(x - h)]^2 + v, the vertex should sit at (h,v)(h, v). If you change the horizontal scale kk while hh and vv stay the same, will the vertex move? Write your prediction down before you touch the sliders.

Figure 1

Test. Move each slider and watch the curve and the vertex. The panel reports the equation and the vertex.

Explain. Which slider squeezes the curve without moving the vertex? Which slider moves the vertex left when you increase it? Write two sentences distinguishing a transformation of the input from a transformation of the output.

Progress check

Return to the chapter problem. The original arch is y=4−x24y = 4 - \frac{x^2}{4} on −4≤x≤4-4 \le x \le 4.

  1. A second tunnel uses the same shape but is twice as wide. A horizontal stretch by a factor of 22 replaces xx with x2\frac{x}{2}. Write the new equation.
  2. Where does the new arch meet the road? Solve your equation from part 1.
  3. The new arch is the same height at the centre. Explain why widening the arch does not change its greatest height.
  4. What happens to the lorry clearance when the arch is widened? Use your answer from 2.6 to justify one sentence.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.