Functions are one of the most fundamental concepts in IB Mathematics Analysis and Approaches. They appear throughout the entire course — from algebra and calculus to statistics and modelling. A solid understanding of functions and how they transform is essential for success at both SL and HL.
In this guide, we cover the essential ideas: what a function is, how to describe its domain and range, how to find inverse and composite functions, and — crucially — how graph transformations work. Transformations are a favourite topic in IB exams because they test both algebraic manipulation and graphical understanding. The IB values conceptual understanding, so we will focus not just on how to perform these operations but why they work the way they do.
Your IB formula booklet contains the key transformation rules. The goal here is to understand the logic behind them so you can apply them confidently under exam conditions.
Core Concepts
What Is a Function?
A function is a rule that assigns to each input value (from the domain) exactly one output value (in the range). We write or simply .
The vertical line test is a quick visual check: if any vertical line intersects a graph more than once, the graph does not represent a function.
Domain and Range
The domain of a function is the set of all permitted input values (-values). The range is the set of all possible output values (-values).
Common domain restrictions include:
- Division by zero: for , we need
- Square roots of negatives: for , we need
- Logarithms of non-positive numbers: for , we need
To find the range, consider the behaviour of the function — its maximum and minimum values, asymptotes, and end behaviour. Sketching the graph (by hand or on your GDC) is often the most efficient approach.
Composite Functions
The composite function means "apply first, then ." The order matters: in general.
To evaluate , replace every in the formula for with the expression .
Example: If and , then:
The domain of is the set of -values in the domain of for which is in the domain of .
Inverse Functions
The inverse function reverses the effect of . If , then . Formally, .
A function has an inverse if and only if it is one-to-one (injective) — each output comes from exactly one input. Graphically, this means it passes the horizontal line test.
To find the inverse algebraically:
- Write
- Swap and
- Solve for
- Write
Graphical property: The graph of is the reflection of the graph of in the line .
Key relationship: The domain of is the range of , and the range of is the domain of .
Self-Inverse Functions
A function is self-inverse if , which means . Examples include and . The graph of a self-inverse function is symmetric about the line .
Graph Transformations
Transformations modify the graph of a function. The IB formula booklet includes these, but understanding the logic is key.
Translations (Shifts)
| Transformation | Effect on graph | Example |
|---|---|---|
| Vertical shift up by units | shifts parabola up 3 | |
| Vertical shift down by units | shifts parabola down 2 | |
| Horizontal shift right by units | shifts right 1 | |
| Horizontal shift left by units | shifts left 4 |
The crucial insight: horizontal transformations are "opposite to what you might expect." The expression shifts the graph right, not left. Think of it this way: to get the same -value, must be 3 units larger.
Using vector notation, is a translation by the vector .
Reflections
| Transformation | Effect on graph |
|---|---|
| Reflection in the -axis (multiply all -values by ) | |
| Reflection in the -axis (replace with ) |
Stretches (Dilations)
| Transformation | Effect on graph |
|---|---|
| Vertical stretch by factor (multiply all -values by ) | |
| Horizontal stretch by factor (compress by factor ) |
Again, horizontal stretches are "opposite": compresses the graph horizontally by a factor of 2 (everything happens twice as fast).
Order of Transformations
When multiple transformations are combined, the order matters. A useful approach is to think of the transformation as acting on the or variable:
- Inside the function (affecting ): Apply in reverse order — stretches first, then translations.
- Outside the function (affecting ): Apply in the written order — stretches first, then translations.
For example, :
- Horizontal shift right 3 (inside)
- Vertical stretch by factor 2 (outside)
- Vertical shift up 1 (outside)
Strategy Tips
Tip 1: Sketch Graphs on Your GDC
When unsure about a transformation, graph both the original and transformed function on your GDC to visually confirm the effect. This builds intuition and catches algebraic errors.
Tip 2: Track Key Points Through Transformations
Choose 3-4 key points on the original graph (intercepts, vertex, endpoints). Apply the transformation to each point. Plot the new points and connect them. This method is reliable and scores well in exams.
Tip 3: Remember the "Opposite" Rule for Horizontal Changes
Anything that happens inside the function (affecting ) works in the opposite direction to what you might expect. shifts right, compresses. Train yourself to pause and think about horizontal transformations.
Tip 4: Use the Swap Method for Inverses
The "swap and , then solve" method is the most reliable way to find inverse functions. Always verify by checking that .
Tip 5: State Domain Restrictions Explicitly
In IB exams, marks are often awarded for stating the domain and range. Do not skip this step, especially for inverse functions where the domain of equals the range of .
Worked Example: Example 1
Let and . Find: (a) (b)
(a)
(b) First: . Then: .
So .
Worked Example: Example 2
Find the inverse of , , and state its domain.
Let .
Swap and : .
Solve for :
So , with domain .
Note: The domain of () corresponds to the range of (which is all real numbers except 2, the value the horizontal asymptote approaches).
Worked Example: Example 3
The graph of passes through the point . Find the corresponding point on the graph of .
We need , so .
When : .
The corresponding point is .
Worked Example: Example 4
Describe a sequence of transformations that maps to .
Comparing with :
- Reflection in the -axis:
- Translation left 2 units:
- Translation up 5 units:
Using vector notation, after the reflection, the graph is translated by .
Practice Problems
Problem 1
Let , . Find and verify that .
Problem 2
The graph of has a vertex at . Find the coordinates of the vertex after the transformation .
Problem 3
Given and , show that and are inverse functions.
Problem 4
Sketch the graph of given that . State the range of .
Problem 5
The function is defined by for . Show that is self-inverse.
Want to check your answers and get step-by-step solutions?
Common Mistakes
-
Getting the direction of horizontal translations wrong. Remember: shifts right by , and shifts left by . This is the single most common error in transformation questions.
-
Confusing the order in composite functions. means apply first, then . Read the notation carefully: means " after ."
-
Forgetting to swap domain and range for inverses. The domain of is the range of . If you restrict the domain of (e.g., to make it one-to-one), this determines the range of .
-
Applying transformations in the wrong order. When combining multiple transformations, the order of operations matters. Horizontal changes (inside the function) act in reverse order.
-
Not stating the domain. Many IB mark schemes award a specific mark for stating the domain of the inverse function. Never skip this.
-
Assuming all functions have inverses. A function must be one-to-one to have an inverse. If it is not (e.g., on all of ), you must restrict the domain first.
Frequently Asked Questions
Why do horizontal transformations work in the opposite direction?
Think about it this way: for , the function outputs the same -value as , but the input needs to be 3 units larger to compensate for the subtraction. So the graph shifts right. The key is that the transformation acts on the input, not the output.
Do I need to memorise all the transformation rules?
The transformation rules are summarised in your IB formula booklet. However, you should understand them well enough that you can reconstruct them quickly. Exam questions require fluent application, not just recall.
How do I find the domain and range of a composite function?
The domain of is all values of in the domain of such that is in the domain of . The range can be found by considering what outputs produces and how acts on those values. Graphing on your GDC is often the fastest way.
What is the difference between $f^{-1}(x)$ and $\frac{1}{f(x)}$?
is the inverse function (it reverses the mapping). is the reciprocal of the function value. These are completely different! For example, if , then , but .
How are transformations tested in the IB exam?
Transformations appear in multiple ways: describing transformations given an equation, writing the equation from a description, finding images of points, and sketching transformed graphs. You should be comfortable with all these question types.
Key Takeaways
Functions assign exactly one output to each input. The domain is the set of valid inputs, and the range is the set of possible outputs.
Composite functions apply one function after another. In , apply first, then . Order matters.
Inverse functions reverse the mapping. Use the swap-and-solve method. Remember that the domain and range swap between a function and its inverse.
Horizontal transformations are counterintuitive. Changes inside the function brackets (-direction) act in the opposite direction. This is the most important thing to internalise.
Track key points through transformations. This is the most reliable method for sketching transformed graphs and is a standard IB approach.
Always state the domain. Especially for inverse functions and compositions, the domain is worth marks and shows mathematical precision.
