01 / 20

Function
Transformations

Master shifts, stretches, and reflections to manipulate any function and predict how its graph changes.

IB Math: Applications and Interpretation

What Is a Transformation?

A transformation takes a parent function \( f(x) \) and produces a new function whose graph is a shifted, stretched, compressed, or reflected version of the original. Instead of plotting from scratch, you modify what you already know.

The Four Families of Transformations

Translations
Slide the graph horizontally or vertically without changing its shape.
Vertical Stretches
Scale outputs: the graph gets taller or shorter.
Horizontal Stretches
Scale inputs: the graph gets wider or narrower.
Reflections
Flip the graph across the \( x \)-axis or \( y \)-axis.

Why Transformations Matter

Real-world models rarely start at the origin or have unit amplitude. Transformations let you adjust a known model to fit new contexts: shifting a temperature curve to a different start time, stretching a growth model to a larger population, or reflecting a cost function.

The Master Formula

\( a \)
Vertical stretch/compression. If \( a < 0 \), reflects across the \( x \)-axis.
\( b \)
Horizontal stretch/compression. If \( b < 0 \), reflects across the \( y \)-axis.
\( h \)
Horizontal shift: right by \( h \) when \( h > 0 \).
\( k \)
Vertical shift: up by \( k \) when \( k > 0 \).

Vertical and Horizontal Translations

x y Right 2 Up 3
\(f(x)\)
\(f(x-2) + 3\)

Vertical Stretches and Compressions

x y
\(f(x)\)
\(2f(x)\)
\(0.5 f(x)\)

Horizontal Stretches and Compressions

x y
\(f(x)\)
\(f(2x)\)
\(f(0.5x)\)

Reflections Across the Axes

x y
\(f(x) = \sqrt{x+4}\)
\(-f(x)\)
\(f(-x)\)
\( -f(x) \)
Reflects across the \( x \)-axis: every \( y \)-value flips sign.
\( f(-x) \)
Reflects across the \( y \)-axis: every \( x \)-value flips sign.

Inside vs. Outside Changes

Inside \( f(\;\cdot\;) \) Outside \( f(\;\cdot\;) \)
Affects \( x \)-values (horizontal) \( y \)-values (vertical)
Direction Opposite to what you expect Same as what you expect
Translation \( f(x - h) \): right by \( h \) \( f(x) + k \): up by \( k \)
Stretch \( f(bx) \): compress by \( \frac{1}{b} \) \( a \cdot f(x) \): stretch by \( a \)
Reflection \( f(-x) \): across \( y \)-axis \( -f(x) \): across \( x \)-axis

How to Apply Transformations

1
Identify the parent function. Recognise the base shape: \( x^2 \), \( \sqrt{x} \), \( \sin x \), \( |x| \), etc.
2
Rewrite in master form. Express as \( a \cdot f\!\bigl(b(x - h)\bigr) + k \). Factor out \( b \) inside the bracket if needed.
3
Apply in order: horizontal stretch/reflect (\( b \)), then horizontal shift (\( h \)), then vertical stretch/reflect (\( a \)), then vertical shift (\( k \)).
4
Track key points. Transform 3-5 reference points from the parent. Plot them and connect.

Example 1: Translating \( x^2 \)

Sketch \( g(x) = (x + 3)^2 - 4 \). Identify the vertex and describe the transformation.

x y -3 -4

Example 2: Stretch and Reflect

Describe the transformation from \( f(x) = \sqrt{x} \) to \( g(x) = -2\sqrt{x} \).

1
Parent function: \( f(x) = \sqrt{x} \), starts at origin, increasing curve.
2
Identify parameters: \( a = -2 \), \( b = 1 \), \( h = 0 \), \( k = 0 \). No horizontal changes.
3
Vertical stretch by factor 2: every \( y \)-value is doubled.
4
Reflection across the \( x \)-axis (since \( a < 0 \)): the curve now goes downward.

Example 3: Combined Transformation

Write a formula for the function obtained by taking \( f(x) = |x| \), compressing horizontally by factor \( \frac{1}{3} \), then shifting up by 2.

1
Horizontal compression by \( \frac{1}{3} \): multiply \( x \) inside by \( b = 3 \) (reciprocal!). Result: \( f(3x) = |3x| \).
2
Shift up by 2: add \( k = 2 \) outside. Result: \( |3x| + 2 \).
3
Final answer: \( g(x) = |3x| + 2 \). The V-shape is 3 times narrower and raised by 2 units.

Common Mistakes

✕ Wrong Shift Direction
Seeing \( f(x - 3) \) and shifting left instead of right. Remember: the sign inside is opposite to the direction.
✕ Confusing \( a \) and \( b \)
Applying vertical stretch rules to a horizontal parameter. Always check: is the number inside or outside the function?
✕ Forgetting to Factor
Writing \( f(2x - 6) \) without factoring to \( f\!\bigl(2(x - 3)\bigr) \). The shift is 3, not 6.

Transformation Summary

Transformation Notation Effect on Graph
Shift right \( h \) \( f(x - h) \) Translate right
Shift up \( k \) \( f(x) + k \) Translate up
Vertical stretch \( a \cdot f(x),\; a > 1 \) Stretch from \( x \)-axis
Horizontal compress \( f(bx),\; b > 1 \) Compress toward \( y \)-axis
Reflect in \( x \)-axis \( -f(x) \) Flip vertically
Reflect in \( y \)-axis \( f(-x) \) Flip horizontally

Question 1 of 5

The graph of \( y = f(x) \) is shifted 4 units left and 7 units down. Which equation represents the transformed graph?

Question 2 of 5

What transformation does \( g(x) = f(3x) \) represent?

Question 3 of 5

The point \( (2, 5) \) is on the graph of \( y = f(x) \). What is the corresponding point on \( y = -f(x) + 3 \)?

Question 4 of 5

Which sequence of transformations maps \( f(x) = x^2 \) to \( g(x) = 2(x - 1)^2 + 5 \)?

Question 5 of 5

Given \( h(x) = f(2x - 6) \), what is the horizontal shift?