01 / 21

Function
Transformations

Master how shifts, stretches, and reflections change the graph of any function: from \( f(x) \) to \( af(b(x - h)) + k \).

IB Mathematics AA

What Are Transformations?

A transformation takes a parent function and produces a new function whose graph is a modified version of the original. Instead of plotting new points from scratch, we apply systematic rules to shift, stretch, compress, or reflect the entire curve.

Translation
Slides the graph up, down, left, or right without changing its shape.
Stretch / Compress
Scales the graph vertically or horizontally, changing its "steepness" or "width".
Reflection
Flips the graph across the \( x \)-axis or \( y \)-axis, creating a mirror image.

Why Do Transformations Matter?

Every function family: quadratics, cubics, exponentials, trigonometric, shares a parent function. Learning transformations means you can sketch any member of the family quickly by modifying the parent.

Visualising the Four Types

\(x\) \(y\) \(f(x)\) \(+k\) (up) \(f(x-h)\) \(-f(x)\) (reflect) Parent

The Master Formula

\( a \)
Vertical stretch by \( |a| \). If \( a < 0 \), reflects in the \( x \)-axis.
\( b \)
Horizontal stretch by \( \tfrac{1}{|b|} \). If \( b < 0 \), reflects in the \( y \)-axis.
\( h \)
Horizontal translation: right \( h \) units (note the minus sign inside).
\( k \)
Vertical translation: up \( k \) units.

Translations: Shifts

\(x\) \(y\) \(f(x) = x^2\) \(f(x-2)\) \(f(x)+2\) +2 right +2 up

Stretches and Compressions

\(x\) \(y\) \(f(x)\) \(2f(x)\) \(f(2x)\)
\( a \cdot f(x) \)
Vertical stretch by factor \( |a| \). Multiply every \( y \)-value by \( a \).
\( f(bx) \)
Horizontal compression by factor \( \tfrac{1}{|b|} \). Divide every \( x \)-value by \( b \).

Reflections: Flipping Graphs

\(x\) \(y\) \(f(x)=x^3\) \(-f(x)\) and \(f(-x)\)
\( -f(x) \)
Reflection in the \( x \)-axis: negate every \( y \)-value. Flips the graph upside down.
\( f(-x) \)
Reflection in the \( y \)-axis: negate every \( x \)-value. Flips the graph left-right.

Inside vs Outside Changes

The most important distinction: changes inside the function argument affect the \( x \)-coordinates, while changes outside affect the \( y \)-coordinates.

Inside: \( f(\ldots x \ldots) \) Outside: \( \ldots f(x) \ldots \)
Affects \( x \)-coordinates \( y \)-coordinates
Direction Opposite to sign Same as sign
Translation \( f(x - h) \): right \( h \) \( f(x) + k \): up \( k \)
Stretch \( f(bx) \): compress by \( \tfrac{1}{b} \) \( af(x) \): stretch by \( a \)
Reflect \( f(-x) \): in \( y \)-axis \( -f(x) \): in \( x \)-axis

Order of Operations

When multiple transformations are combined in \( y = a\,f(b(x - h)) + k \), apply them in the correct order to avoid errors:

1
Horizontal stretch/reflect using \(b\).
2
Vertical stretch/reflect using \(a\).
3
Horizontal translation using \(h\).
4
Vertical translation using \(k\).

Step-by-Step Method

1
Identify the parent function: what is \( f(x) \)? (e.g., \( x^2 \), \( \sin x \), \( e^x \))
2
Rewrite in standard form: express as \( y = a\,f(b(x - h)) + k \). Factor carefully inside the argument.
3
Read off parameters: identify \( a \), \( b \), \( h \), and \( k \).
4
Describe each transformation in words (IB requires this for full marks).
5
Sketch: plot key points of the parent, apply transformations in order, draw the new curve.

Example 1: Quadratic

1
Parent: \( f(x) = x^2 \)
2
Parameters: \( a = 3 \), \( b = 1 \), \( h = 2 \), \( k = 1 \)
3
Vertical stretch by factor 3
4
Horizontal translation 2 units right
5
Vertical translation 1 unit up

Example 2: Trigonometric

\(x\) \(y\) \(\pi\) \(2\pi\) 1 -1 3 \(\sin x\) \(-2\sin(3x)+1\) \(y = 1\)
1
Horizontal compression by factor \( \tfrac{1}{3} \): period becomes \( \tfrac{2\pi}{3} \)
2
Vertical stretch by factor 2 and reflection in the \( x \)-axis (since \( a = -2 \))
3
Vertical translation 1 unit up

Example 3: Combined Transform

Step 1: Rewrite the argument in factored form:

Step 2: Now read off transformations from the standard form \( f(b(x - h)) \) in the correct order:

1
Horizontal compression by factor \( \tfrac{1}{2} \) (since \( b = 2 \))
2
Horizontal translation 3 units right (since \( h = 3 \))

Common Mistakes

Wrong shift direction
Saying \( f(x - 3) \) shifts left 3. It shifts right: the minus sign is counter-intuitive.
Forgetting to factor
Reading \( f(2x - 4) \) as "shift right 4" instead of rewriting as \( f(2(x-2)) \): shift right 2, compress by \( \tfrac{1}{2} \).
Stretch vs compress
Calling \( f(3x) \) a "horizontal stretch by 3". It is a compression by \( \tfrac{1}{3} \): x-values get divided.

Transformation Summary

Equation Form Transformation Effect on Points
\( f(x) + k \) Translate up \( k \) \( (x, y) \to (x, y+k) \)
\( f(x - h) \) Translate right \( h \) \( (x, y) \to (x+h, y) \)
\( af(x) \) Vertical stretch by \( |a| \) \( (x, y) \to (x, ay) \)
\( f(bx) \) Horizontal compress by \( \tfrac{1}{|b|} \) \( (x, y) \to (\tfrac{x}{b}, y) \)
\( -f(x) \) Reflect in \( x \)-axis \( (x, y) \to (x, -y) \)
\( f(-x) \) Reflect in \( y \)-axis \( (x, y) \to (-x, y) \)

Question 1 of 5

The graph of \( y = x^2 \) is translated 4 units left and 3 units down. What is the equation of the new graph?

Question 2 of 5

The function \( g(x) = -3f(x) \) is obtained from \( f(x) \). Which transformations have been applied?

Question 3 of 5

The function \( y = \sin(2x - \pi) \) can be written as \( y = \sin\!\bigl(2(x - \tfrac{\pi}{2})\bigr) \). Which sequence of transformations maps \( y = \sin x \) to this function?

Question 4 of 5

The point \( (2, 5) \) lies on \( y = f(x) \). What are the coordinates of the corresponding point on \( y = 4f(x - 3) + 1 \)?

Question 5 of 5

Which equation represents the graph of \( y = e^x \) after a reflection in the \( y \)-axis followed by a vertical translation of 2 units up?