Transformations of functions

Transformations of functions

IB MYP Maths Extended: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • f(x)+af(x)+a moves the graph up by aa; f(x+a)f(x+a) moves it left by aa.
  • −f(x)-f(x) reflects in the xx-axis; f(−x)f(-x) reflects in the yy-axis.
  • kf(x)kf(x) is a vertical stretch by factor kk; f(kx)f(kx) is a horizontal stretch by factor 1k\frac1k.
  • Changes inside the brackets work in the opposite direction to what you expect.
  • To describe a transformation, name the type and give the details.

Translations

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

y=f(x)+ay=f(x)+a moves the graph up by aa: every yy-coordinate changes.

y=f(x+a)y=f(x+a) moves the graph left by aa: every xx-coordinate changes by −a-a.

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

−2246810−2246810xy(2, -1)(2, 2)(6, -1)f(x)f(x) + 3f(x − 4)
f(x) = (x − 2)² − 1 (dashed), f(x) + 3 and f(x − 4)
−6−4−2246−4−224681012xyy = x²y = (x − a)² + b
Slide y = (x − a)² + b

How does the graph of y=f(x+3)y=f(x+3) move compared with y=f(x)y=f(x)?

Reflections

Changing the sign of f(x) reflects in the x-axis; changing the sign of x reflects in the y-axis.

y=−f(x)y=-f(x): each yy-coordinate changes sign, so (4,6)(4,6) becomes (4,−6)(4,-6), and a minimum becomes a maximum.

y=f(−x)y=f(-x): each xx-coordinate changes sign.

−6−4−2246−6−4−2246xyf: minimum (2, -1)−f: maximum (2, 1)f(−x): minimum (-2, -1)f(x)−f(x)f(−x)
f(x) = (x − 2)² − 1 with −f(x) and f(−x)

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

Stretches

kf(x) stretches vertically by factor k; f(kx) stretches horizontally by factor 1/k.

y=kf(x)y=kf(x) multiplies every yy-coordinate by kk: (4,6)→(4,12)(4,6)\to(4,12) on y=2f(x)y=2f(x).

y=f(kx)y=f(kx) divides every xx-coordinate by kk: (4,6)→(2,6)(4,6)\to(2,6) on y=f(2x)y=f(2x).

Points on the axis you stretch from do not move.

−4−3−2−11234−4−22468xyf(x) = x² − 1y = a f(x)
Vertical stretch: y = a(x² − 1) against y = x² − 1 (dashed)
−4−3−2−11234−4−22468xyf(x) = x² − 1y = f(kx)
Horizontal stretch: y = f(kx) against y = x² − 1 (dashed)

The point (4,6)(4,6) is on y=f(x)y=f(x). Which point is on y=f(2x)y=f(2x)?

Combining transformations

Apply the transformations to key points one at a time; describe each by its type and details.

To describe a transformation, name its type and give the vector, the axis of reflection, or the scale factor and direction.

y=x2y=x^2 to y=(x+3)2−5y=(x+3)^2-5 is a translation with vector (−3−5)\begin{pmatrix} -3 \\ -5 \end{pmatrix}: the vertex moves from (0,0)(0,0) to (−3,−5)(-3,-5).

−8−6−4−224−6−4−2246810xy(0, 0)(-3, -5)y = x²y = (x + 3)² − 5
y = x² and y = (x + 3)² − 5

Worked example

The point (4,6)(4,6) is on y=f(x)y=f(x). Find its image on y=−f(x+1)y=-f(x+1).

Describe the transformation from y=x2y=x^2 to y=(x−1)2+4y=(x-1)^2+4.

Sketching and using transformed graphs

Mark the key points of the original, move each by the rule and join them with the same shape.

In context a transformation changes the model:

  • y=f(x)+4y=f(x)+4 lifts a bridge arch 44 m.
  • y=1.5f(x)y=1.5f(x) makes it 1.51.5 times as tall.
  • y=f(x2)y=f\left(\frac x2\right) makes it twice as wide.
−6−4−2246−22468101214xy(0, 9)(0, 13.5)(3, 0)(6, 0)f(x)1.5 f(x)f(x/2)
An arch f(x) = 9 − x² (dashed), made 1.5 times as tall, and twice as wide
  1. 1

    Mark key points

    intercepts, turning points, end points

  2. 2

    Move each point

    using the rule for the transformation

  3. 3

    Join them

    with the same shape of curve

Sketching a transformed graph

A bridge arch is modelled by y = f(x). Which equation makes the arch 4 m higher?

Try an exam question

The point (4,6)(4,6) is on the graph of y=f(x)y=f(x). Find the image of this point on the graph of y=−f(x+1)y=-f(x+1).

[3 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Where is the minimum point of the graph of y=f(x)+3y=f(x)+3?

1 mark, marked against the mark scheme

Revision notes