Historical Context & Motivation
Long before graphing calculators existed, mathematicians needed efficient ways to understand how changing a formula would change its graph. Rather than re-plotting every single point from scratch, they discovered that certain algebraic changes — adding a constant, multiplying by a factor, or flipping a sign — always produce the same geometric effect on the curve. This insight, now called function transformation, lets you predict the shape and position of a graph without plotting dozens of points.
The central question this topic addresses is simple but powerful: if you already know the graph of f(x), how can you quickly sketch the graph of a modified version like f(x) + 3, 2f(x), or f(−x) without recalculating every point? Understanding transformations means you only need to master a few parent functions and then adapt them to any situation.
Core Principles & Definitions
Every function transformation falls into one of three families. A translation (or shift) slides the entire graph horizontally or vertically without changing its shape. A stretch (or compression) scales the graph by pulling it away from or squeezing it toward an axis. A reflection flips the graph across the x-axis or y-axis like a mirror. These three families, combined, account for all the transformations you need in SL 2.6.
Vertical Translation
Horizontal Translation
Vertical Stretch / Compression
Horizontal Stretch / Compression
Reflections
Visual Explanation — Translations
The diagram below shows the parent function f(x) = x² alongside three translated versions. Notice how each translation moves the entire parabola without altering its width or shape. The vertical shift moves every point the same number of units up or down, while the horizontal shift moves every point the same number of units left or right.
A crucial pattern to notice: horizontal translations work in the opposite direction to the sign you see inside the brackets. Writing f(x − 2) moves the graph to the right, not the left. This is because when you replace x with (x − 2), every original output now requires an x-value that is 2 units larger to produce the same result. Vertical translations, on the other hand, are straightforward: f(x) + d shifts the graph in the direction of the sign of d.
Mathematical Framework
The IB formula booklet presents transformations using a general template. Starting from a known function y = f(x), the transformed function can be written in a single expression that captures shifts, stretches, and reflections all at once.
Stretches, Compressions & Reflections in Detail
While translations simply slide a graph, stretches and reflections change its appearance more dramatically. A vertical stretch multiplies every y-coordinate by a scale factor, pulling the graph away from the x-axis. A horizontal compression squeezes the graph toward the y-axis. And reflections flip the graph across an axis like a mirror image. The diagram below uses f(x) = x² to illustrate these effects.
| Transformation | Equation Form | Effect on Graph |
|---|---|---|
| Vertical stretch (factor a) | y = a × f(x), |a| > 1 | Graph pulled away from x-axis; heights multiplied by a |
| Vertical compression (factor a) | y = a × f(x), 0 < |a| < 1 | Graph pushed toward x-axis; heights multiplied by a |
| Horizontal compression (factor 1/b) | y = f(bx), |b| > 1 | Graph squeezed toward y-axis; widths divided by |b| |
| Horizontal stretch (factor 1/b) | y = f(bx), 0 < |b| < 1 | Graph stretched away from y-axis; widths multiplied by 1/|b| |
| Reflection in x-axis | y = −f(x) | All y-values negated; graph flips upside-down |
| Reflection in y-axis | y = f(−x) | All x-values negated; graph flips left-to-right |
Worked Example
Suppose you know the graph of f(x) = x². Describe the transformations needed to obtain the graph of g(x) = −2(x − 3)² + 5, and state the coordinates of the new vertex.
Common Mistakes & Clarifications
Function transformations have a few well-known pitfalls that trip up even strong students. The table below highlights the most common mistakes alongside the correct interpretation. If you can avoid these errors, you'll handle most IB exam questions with confidence.
| Common Mistake | Why It's Wrong | Correct Approach |
|---|---|---|
| f(x + 3) shifts the graph right | The sign inside the bracket is opposite to the direction of movement | f(x + 3) shifts 3 units LEFT. To shift right, write f(x − 3). |
| f(2x) stretches the graph horizontally | Multiplying x by a number > 1 compresses, not stretches | f(2x) compresses horizontally by factor ½. To stretch, use f(½x). |
| Confusing −f(x) with f(−x) | One reflects vertically, the other horizontally — they are different transformations | −f(x) reflects in the x-axis. f(−x) reflects in the y-axis. |
| Applying transformations in the wrong order | Order matters when combining stretches, reflections, and translations | Apply stretches/reflections FIRST, then translations. |
| Forgetting to factor out b before identifying c | In f(2x − 6), the horizontal shift is NOT 6 — you must factor: f(2(x − 3)) | Always write the inside as b(x − c) first. Here c = 3, so shift right 3. |
Connection to Advanced Topics
Function transformations are not just an isolated topic — they form the foundation for many advanced ideas you'll encounter later in mathematics. The table below compares what you learn in SL 2.6 with how the same concepts appear at higher levels.
| SL 2.6 Concept | Advanced Extension | Where You'll See It |
|---|---|---|
| Vertical / horizontal translations | Vector translations in 2D and 3D geometry; phase shifts in trigonometric modeling | HL Geometry & Trigonometry, Physics (wave motion) |
| Vertical stretches | Amplitude changes in sinusoidal models; linear transformations of random variables in statistics | SL/HL Statistics, Physics (simple harmonic motion) |
| Horizontal stretches | Period changes in trigonometric functions; time-scaling in differential equations | HL Calculus, Signal Processing |
| Reflections | Symmetry analysis (even/odd functions); matrix transformations in linear algebra | HL Functions, University Linear Algebra |
| Combined transformations (general form) | Composition of functions; affine transformations in computer graphics | HL Functions, Computer Science |
Mastering transformations now gives you a powerful mental toolkit. When you encounter sinusoidal models in Topic 3 or regression curves in Topic 4, you'll recognise the same patterns: a stretch here, a shift there, perhaps a reflection. The algebraic language of a, b, c, and d will reappear in every new function family you study.
Practice Problems
Lesson Summary
Function transformations let you modify any parent function's graph using four parameters. A vertical translation (y = f(x) + d) slides the graph up or down. A horizontal translation (y = f(x − c)) slides it left or right — remembering that the direction is opposite to the sign. A vertical stretch (y = a × f(x)) scales y-values by factor |a|, while a horizontal stretch (y = f(bx)) compresses or stretches widths by factor 1/|b|. Reflections use negative signs: −f(x) flips across the x-axis, and f(−x) flips across the y-axis.
The general form y = a × f(b(x − c)) + d captures every SL 2.6 transformation. When applying multiple transformations, always perform stretches and reflections before translations. The inside-vs-outside rule is your compass: changes inside the brackets affect x (horizontally, in reverse), changes outside affect y (vertically, as expected). Master these patterns and you can transform any function's graph quickly and accurately on your IB exam.