Study Guide

Transformations of graphs

IB Mathematics: Applications and Interpretation HL· Unit 2: Functions, Topic 3: Transformations of graphs· 20 min read

1. Translations of Graphs★☆☆☆☆⏱ 10 min

📘 Definition

Translation

Vertical: , Horizontal:

A rigid transformation that shifts all points on the graph by the same distance in a fixed direction. It does not change the shape, size or orientation of the graph.

Example:

Shifting a parabola 2 units left and 3 units up

📐 Worked Example

Given , write the equation of translated 3 units up and 2 units to the left. State the coordinates of the new vertex.

  1. 1

    Recall the horizontal translation rule: shifting 2 units left means replacing with :

  2. 2
    f(x+2)=(x+2)2f(x+2) = (x+2)^2
  3. 3

    A vertical translation 3 units up adds +3 outside the function:

  4. 4

    Final equation is :

  5. 5
    y=(x+2)2+3y = (x+2)^2 + 3
  6. 6

    Original vertex is . Shifting left 2 and up 3 gives new vertex:

  7. 7
    (−2,3)(-2, 3)

Exam tip:

Always confirm the direction of horizontal translations, they are the most common mistake on exam questions.

2. Reflections of Graphs★★☆☆☆⏱ 10 min

📘 Definition

Reflection

Over x-axis: , Over y-axis:

A transformation that flips a graph across a given line of reflection, producing a mirror image of the original graph.

📐 Worked Example

The original function has a y-intercept at and horizontal asymptote . Find the new intercept and asymptote after reflection over the x-axis.

  1. 1

    Reflection over the x-axis multiplies all function values by -1, so the new function is:

  2. 2
    y=−g(x)=−exy = -g(x) = -e^x
  3. 3

    Substitute to find the new y-intercept:

  4. 4
    y=−e0=−1y = -e^0 = -1
  5. 5

    The asymptote remains unchanged because .

  6. 6

    Final answer: intercept at , asymptote

Exam tip:

Label which axis you are reflecting over to avoid mixing up the transformation rule.

3. Stretches and Compressions★★★☆☆⏱ 15 min

📘 Definition

Stretch / Compression

Vertical stretch by : , Horizontal stretch by :

A non-rigid transformation that resizes a graph proportionally along the x or y axis, changing the distance between points but not the overall shape.

📐 Worked Example

Given , which has amplitude 1 and period , find the equation after a vertical stretch by factor 3 and a horizontal compression by factor 2. State the new amplitude and period.

  1. 1

    Vertical stretch by factor 3 multiplies the entire function by 3:

  2. 2
    y=3h(x)y = 3 h(x)
  3. 3

    A horizontal compression by factor 2 is equivalent to a horizontal stretch by , so replace with :

  4. 4
    y=3sin⁡(2x)y = 3 \sin(2x)
  5. 5

    New amplitude = 3 × original amplitude = 3, new period = original period × 1/2 =

4. Combined Transformations★★★★☆⏱ 15 min

When multiple transformations are applied, order matters. We always apply all transformations inside (horizontal transformations) first, then stretches/compressions, then transformations outside (vertical transformations), following the standard order of operations.

📐 Worked Example

Starting from , write the equation after shifting 1 unit right, stretching vertically by factor 2, then shifting 4 units down.

  1. 1

    Step 1: Shift 1 unit right (inside first): replace with :

  2. 2
    f(x−1)=(x−1)2f(x-1) = (x-1)^2
  3. 3

    Step 2: Stretch vertically by factor 2 (multiply by 2):

  4. 4
    2(x−1)22(x-1)^2
  5. 5

    Step 3: Shift 4 units down (vertical transformation last): subtract 4:

  6. 6
    y=2(x−1)2−4y = 2(x-1)^2 - 4
  7. 7

    If we had done the shift before the stretch, we would get the incorrect result .

✓ Quick check

Test your understanding of order for combined transformations

  1. What is the correct order of transformations to get from ?

    • A. Shift left 4, horizontal stretch by , vertical stretch by 3, shift up 1

    • B. Shift right 4, horizontal stretch by 2, vertical stretch by 3, shift up 1

    • C. Horizontal stretch by , shift left 2, vertical stretch by 3, shift up 1

    Reveal answer
    C —

    Correct! First factor out the coefficient of inside : , so we handle the stretch first, then the shift.

Exam tip:

Always factor out the coefficient of inside before identifying the horizontal shift, this will save you from common mistakes.

5. Common Pitfalls

Wrong move:

Interpret as a shift 3 units right

Why:

Changes inside are opposite the sign

Correct move:

shifts the graph 3 units left

Wrong move:

Call a horizontal stretch by factor 2

Why:

Stretch rules are swapped for horizontal transformations

Correct move:

is a horizontal compression by factor 2 (stretch by )

Wrong move:

Apply vertical transformations before horizontal transformations

Why:

Order of operations requires handling inside the function first

Correct move:

Always apply all transformations inside before transformations outside

Wrong move:

Forget to scale all y-values for a vertical stretch, only scaling the leading term

Why:

Every point on the graph is stretched vertically, not just the curve shape

Correct move:

Multiply all y-coordinates, including intercepts, by the vertical stretch factor

Wrong move:

Mix up reflection rules: is reflection over y-axis

Why:

Confusion between which coordinate is changed

Correct move:

flips the sign of y, so it is reflection over the x-axis

6. Quick Reference Cheatsheet

Transformation

Notation

Effect on

units up vertical translation

$y = f(x) + k

units right horizontal translation

units left horizontal translation

Reflection over x-axis

Reflection over y-axis

Vertical stretch by factor

Horizontal stretch by factor

What's Next

Transformations of graphs are a foundational tool for all function work in IB AI HL. You will use them constantly when working with trigonometric, exponential and logarithmic models for real-world data, when sketching graphs for optimisation, and when solving inverse function problems. Mastery of transformations will save you time on both paper 1 and paper 2 exam questions, and is essential for internal assessment modelling tasks.

Finished the guide? Put it into practice.

Choose your course to revise with illustrated notes and concept cards, then test what you know with a quiz.

Choose your course and start learning