Function Transformations
Introduction: Seeing Functions Move 📈
students, this lesson is about how graphs change when we change the rule of a function. In IB Mathematics: Applications and Interpretation SL, function transformations help you understand how a basic function can be stretched, shifted, flipped, or squeezed to model real situations more accurately. That matters because many real-world patterns are not perfectly simple. A company’s profit, the height of a thrown ball, or the spread of a trend can often be described by taking a known function and transforming it.
By the end of this lesson, you should be able to:
- explain the main ideas and vocabulary of function transformations,
- describe how a graph changes when a function is transformed,
- apply transformations to functions in context,
- connect transformations to graph interpretation and modeling,
- use examples to justify how a transformed function matches real data.
A good way to think about transformations is this: start with a basic graph, then change it in a controlled way. Instead of building a brand-new function from scratch, you modify an existing one. This is a powerful tool in mathematics and in technology-supported analysis because it helps you compare patterns quickly and fit models to data. ✨
Basic Types of Transformations
The parent function is the original, simplest version of a function. For example, $f(x)=x^2$ is a parent quadratic, and $f(x)=\lvert x\rvert$ is a parent absolute value function. Transformations change the graph without changing the basic shape completely.
The most common transformations are shifts, reflections, stretches, and compressions.
1. Translations: moving the graph
A translation shifts a graph left, right, up, or down.
For a function $f(x)$:
- $f(x)+k$ shifts the graph up by $k$ units,
- $f(x)-k$ shifts the graph down by $k$ units,
- $f(x-h)$ shifts the graph right by $h$ units,
- $f(x+h)$ shifts the graph left by $h$ units.
Notice the sign change inside the bracket. This is a common source of mistakes. If the function has $f(x-3)$, the graph moves right 3, not left 3.
Example: if $f(x)=x^2$, then $g(x)=(x-2)^2+1$ is the graph of $f(x)$ shifted right 2 and up 1. The vertex moves from $(0,0)$ to $(2,1)$.
This kind of transformation is useful in real life. Suppose a ball is thrown and the parabola’s highest point is not at the origin. A shifted quadratic can model the motion better than the parent graph.
2. Reflections: flipping across an axis
Reflections turn a graph over a line.
For a function $f(x)$:
- $-f(x)$ reflects the graph across the $x$-axis,
- $f(-x)$ reflects the graph across the $y$-axis.
Example: if $f(x)=\sqrt{x}$, then $g(x)=-\sqrt{x}$ is the reflection of the graph in the $x$-axis. Every point above the axis moves the same distance below it.
Reflections appear in context too. If a company’s profit is represented by $f(x)$ and losses are represented by negative values, then $-f(x)$ could describe the opposite pattern, such as reversing a gain into a cost model.
3. Vertical stretches and compressions
If you multiply the whole function by a number, the graph changes vertically.
For $g(x)=af(x)$:
- if $\lvert a\rvert>1$, the graph is stretched vertically,
- if $0<\lvert a\rvert<1$, the graph is compressed vertically.
If $a<0$, there is also a reflection in the $x$-axis.
Example: $g(x)=3x^2$ is a vertical stretch of $f(x)=x^2$ by factor $3$. The parabola becomes narrower. On the other hand, $g(x)=\tfrac12 x^2$ is wider because all $y$-values are halved.
This is important when fitting data. If a trend rises too quickly or too slowly compared with actual values, a vertical scale factor can help match the shape more accurately. 📊
4. Horizontal stretches and compressions
Changing the input affects the graph horizontally.
For $g(x)=f(bx)$:
- if $\lvert b\rvert>1$, the graph is horizontally compressed by factor $\tfrac{1}{\lvert b\rvert}$,
- if $0<\lvert b\rvert<1$, the graph is horizontally stretched by factor $\tfrac{1}{\lvert b\rvert}$.
Again, if $b<0$, there is also a reflection in the $y$-axis.
This rule is often harder to remember because the effect is the opposite of what many students first expect. For example, $g(x)=f(2x)$ makes the graph narrower, not wider.
If $f(x)=x^2$, then $g(x)=(2x)^2=4x^2$ is both a horizontal compression by factor $\tfrac12$ and a vertical stretch by factor $4$. The two descriptions give the same graph.
Interpreting Transformations from Equations and Graphs
A strong IB skill is moving between a graph and its equation. If you can read transformations from both directions, you can solve context problems faster and with more confidence.
Suppose you know the parent function $f(x)=\lvert x\rvert$. Then the transformed function
$$g(x)=-2\lvert x-4\rvert+3$$
has several changes:
- $x-4$ moves the graph right 4,
- the factor $2$ gives a vertical stretch by factor $2$,
- the negative sign reflects the graph across the $x$-axis,
- $+3$ moves the graph up 3.
The vertex of the parent graph at $(0,0)$ becomes $(4,3)$.
This type of notation is called transformation form. It is especially useful because you can identify the changes directly. In many exam questions, you may be asked to sketch or describe a transformed graph without using technology. Knowing the sequence of changes helps you do that.
When graphing, it often helps to start with a key point or a small table of values. For example, for $f(x)=x^2$, points like $(-1,1)$, $(0,0)$, and $(1,1)$ are easy to transform. Then apply the changes carefully. If the graph is shifted and stretched, transform the coordinates step by step. ✅
Function Transformations in Context
Function transformations are not just about drawing pretty graphs. They help model situations in the real world.
Example 1: Projectile motion
A ball thrown upward often follows a quadratic pattern. If the basic model is $f(x)=-x^2$, then a more realistic model could be
$$g(x)=-2(x-3)^2+5.$$
This tells us:
- the highest point is at $(3,5)$,
- the graph is narrower than the parent because of the factor $2$,
- the graph opens downward because of the negative sign.
In context, this might represent a ball reaching a maximum height of $5$ meters after $3$ seconds. The transformation gives meaning to the numbers, not just the shape.
Example 2: Temperature change over time
A daily temperature pattern can be modeled using a transformed sine curve. If $f(x)=\sin x$, then
$$g(x)=4\sin\left(x-\frac{\pi}{3}\right)+18$$
means:
- the graph oscillates around $y=18$,
- the amplitude is $4$,
- the pattern shifts right by $\tfrac{\pi}{3}$.
This could model temperature in degrees Celsius over time, where $18$ is the average temperature and $4$ is the typical variation above and below that average.
Example 3: Demand or sales patterns
Suppose a company’s weekly sales follow a basic curve, but a holiday causes the pattern to rise earlier and become larger. A horizontal shift and vertical stretch can represent this change. This is one reason transformations are useful in regression and fitting: they help adapt a known shape to observed data.
Technology, Regression, and Fitting
In IB AI SL, technology often helps analyze relationships. When you use a graphing calculator or software, you may compare a data set with a transformed model.
For example, if data looks like a parabola, you might start with $y=x^2$ and then find a transformed version such as
$$y=a(x-h)^2+k.$$
This form shows the vertex $(h,k)$ directly.
If the data is not exact, regression can help find values for $a$, $h$, and $k$ that fit the points best. The idea is not always to force the data to match perfectly, but to find a model that captures the main pattern. A transformed parent function often gives a sensible starting point.
Technology can also help you check whether a transformation is reasonable. If the graph of the model sits too high, too low, or changes too quickly, you may need to adjust the scale or shift. This is part of mathematical modeling: making a model that is useful, not just symbolic.
Common Mistakes to Avoid
Some errors happen often when working with transformations:
- confusing $f(x-h)$ with a shift left instead of right,
- forgetting that $-f(x)$ and $f(-x)$ are different reflections,
- assuming $f(2x)$ is a horizontal stretch instead of a compression,
- applying transformations in the wrong order when sketching,
- ignoring what the transformed graph means in context.
A helpful habit is to ask: “Is this change affecting the output or the input?” If it changes the output, the graph moves vertically or reflects in the $x$-axis. If it changes the input, the graph moves horizontally or reflects in the $y$-axis.
Conclusion
Function transformations are a key part of understanding functions in IB Mathematics: Applications and Interpretation SL. They allow you to take a known graph and adapt it to a new situation by shifting, reflecting, stretching, or compressing it. This makes graphing faster, modeling more realistic, and interpretation more meaningful.
students, when you can read the transformation notation and connect it to the shape and context of a graph, you are doing exactly the kind of reasoning the course expects. These skills support graph interpretation, data modeling, and technology-based analysis, all of which are central to the broader topic of Functions. 🌟
Study Notes
- A transformation changes the graph of a parent function without creating a completely new structure.
- $f(x)+k$ shifts up, and $f(x)-k$ shifts down.
- $f(x-h)$ shifts right, and $f(x+h)$ shifts left.
- $-f(x)$ reflects in the $x$-axis.
- $f(-x)$ reflects in the $y$-axis.
- $af(x)$ causes a vertical stretch if $\lvert a\rvert>1$ and a vertical compression if $0<\lvert a\rvert<1$.
- $f(bx)$ causes a horizontal compression if $\lvert b\rvert>1$ and a horizontal stretch if $0<\lvert b\rvert<1$.
- A negative factor inside or outside the function adds a reflection.
- Transformation form makes it easier to identify shifts, stretches, and reflections from an equation.
- In context, transformations help match models to real data such as motion, temperature, sales, and population trends.
- Technology and regression often use transformed parent functions to fit data more effectively.
- Always interpret the graph in terms of the situation, not just the algebra.
