Functions · AA SL & HL
Graph transformations
Translate, reflect and stretch graphs at SL; explore combined input, modulus and reciprocal transformations in labelled HL sections.
Course focus: AA SL: basic translations, reflections and stretches (SL 2.11). General combined inputs f(ax+b), modulus and reciprocal graph transformations are HL (AHL 2.16).
Before you start: Function notation and key graph features.
Build it from the beginning
Imagine marking points on a familiar graph before moving it. An outside change acts on the height of each point; an inside change asks which new input reaches the old input. One tracked point often resolves a confusing sign.
A first walkthrough
A point \((2,5)\) lies on \(y=f(x)\). Where does it move on \(y=f(x-3)+1\)?
- The old input 2 is reached when \(x-3=2\), so the new input is 5.
- The outside +1 changes the output from 5 to 6.
- The new point is \((5,6)\): right 3, up 1.
The foundations behind the method
HL extensionUnderstand what the symbols mean
Think of a graph as a set of input-output points. An operation outside f changes outputs; an operation inside f changes the input needed to reach the same old output. Track a known point, especially an intercept or turning point, rather than relying only on memorised descriptions.
How the ideas connect
If (u,v) lies on y=f(x), then \(y=af(b(x-h))+k\) has corresponding point \((h+u/b,av+k)\), for nonzero b. Solve the inner input equation to derive the horizontal change. This explains why horizontal scale factors are reciprocal and why several transformations must be applied in a stated order.
Start with the idea
Build your understanding
Transformations move known points and features without requiring a new graph calculation from scratch. Separate changes to inputs from changes to outputs: this prevents the common mistake of reading an inside shift in the same direction as an outside shift.
Point mapping
HL extensionFor \(y=af(b(x-c))+d\), an original point \((u,v)\) maps to \((c+u/b,av+d)\), provided \(b\ne0\).
Features travel too
Endpoints, asymptotes and excluded inputs transform along with ordinary points. A plausible-looking curve with the wrong domain is still the wrong graph.
Compare the approaches
Choose by the information in the question, rather than the formula you recognise first.
Outside change
When it helpsScale, reflect or shift the output coordinate.
Check before using itNegative output scale reflects in the x-axis.
Inside change
When it helpsSolve for the new input that produces an old input.
Check before using itA factor of 2 inside compresses horizontal distances by one half.
Your method plan
- Write a coordinate mapping instead of guessing an order.
- Transform several landmarks and the domain boundaries.
- Check asymptotes, reflections and range.
Learn the methods
Learn step by step
1. Outside affects output
Adding k outside f raises every y-coordinate by k. Multiplying outside by a scales y-coordinates by a, and a negative multiplier also reflects in the x-axis. Track a known point rather than relying entirely on memorised wording.
Reflections
Why this formula works
A minus sign outside reverses every output’s sign. A minus sign inside asks for the old value at the opposite input. These are reflections in different axes because they change different coordinates.
\(y=-f(x)\): x-axis reflection. \(y=f(-x)\): y-axis reflection.
Quick example
The point \((2,3)\) becomes \((2,-3)\) on −f(x), but (−2,3) on \(f(-x)\).
2. Inside affects input
Replacing x by \(x-h\) shifts the graph right by h: the original input \(x_{0}\) is reached at the new \(x=x_{0}+h\). Replacing x by bx scales horizontal coordinates by \(\frac{1}{b}\), with reflection in the y-axis if \(b<0\). The apparent reversal of horizontal signs comes from solving for the new input location.
Track a landmark through a transformation
- Original: y = x²
- Shifted: y = (x − 2)² + 1
3. Combined transformations
HL extensionFor \(y=af(b(x-h))+k\), a point (u,v) becomes \((h+\frac{u}{b},k+av)\), \(b\ne 0\). This formula fixes the order: scaling and reflection relative to the inside bracket precede the shift h. Expressions such as \(f(2x-6)\) should first be rewritten \(f(2(x-3))\).
General point mapping
HL extensionWhy this formula works
The original point uses input u and output v. On the new graph, solve \(b(x-h)=u\) for its x-coordinate, then transform its output to \(av+k\). This derives the coordinate mapping and explains the reciprocal horizontal scale.
\((u,v)\mapsto(h+u/b,k+av)\) for \(y=af(b(x-h))+k\) \(b\ne 0\).
Quick example
Under \(y=2f(3(x-1))+4\), a point \((6,5)\) becomes \((3,14)\): solve \(3(x-1)=6\), then \(2\times 5+4=14\).
Worked example: A combined transformation
The graph \(y=f(x)\) contains \((2,3)\). Find its corresponding point on \(y=-2f(3(x-1))+4\).
- Set the new inside input to 2: \(3(x-1)=2\), so \(x=\frac{5}{3}\).
- The output becomes −\(2(3)+4=-2\).
- The new point is \((\frac{5}{3},-2)\).
Worked example: A transformed domain
f has domain [\(0,6\)]. Find the domain of \(y=f(2(x-1))\).
- The inner input must lie in [\(0,6\)]: \(0\le 2(x-1)\le 6\).
- Divide by 2 and add 1, giving \(1\le x\le 4\).
- The domain contracts horizontally and shifts right. Applying a vertical scale to this graph would not alter that domain.
4. Absolute-value graphs
HL extensionFor \(y=|f(x)|\), reflect only portions below the x-axis upwards. For \(y=f(|x|)\), keep the \(x\ge 0\) half and mirror it to the left; discard the original negative-x half. These two operations are not interchangeable.
Modulus distinctions
HL extensionWhy this formula works
Absolute value replaces a negative number by its positive counterpart. Applying it to outputs folds the graph upward; applying it to inputs copies the right-hand input branch onto the left.
\(|f(x)|\) changes outputs; \(f(|x|)\) changes which inputs are used.
Quick example
For \(f(x)=x-2\), \(|f(x)|\) has vertex \((2,0)\), while \(f(|x|)=|x|-2\) has vertex \((0,-2)\).
Worked example: Two different modulus graphs
For \(f(x)=x-1\), describe \(|f(x)|\) and \(f(|x|)\).
- \(|f(x)|=|x-1|\) has vertex \((1,0)\); reflect the line portion below the axis.
- \(f(|x|)=|x|-1\) has vertex \((0,-1)\); mirror the right half of f.
- The first never has negative output; the second has minimum −1.
5. Sketch with landmarks
A useful sketch labels transformed roots, stationary points, endpoints, holes and asymptotes. Transform known points exactly before joining them with the original curve shape. Keep the original restrictions visible: a point mapping can move a hole, but cannot fill it. The next sections handle domain/range inequalities and reciprocal graphs explicitly.
6. Transform domains and ranges as well as points
HL extensionA point mapping changes every permitted x and y, including interval endpoints and holes. A negative scale reverses endpoint order, so rewrite the result from least to greatest. For an inside transform \(b(x-h)\), solve the original domain inequality rather than guessing shifts. A vertical transform \(ay+k\) acts on range values. Open endpoints remain open under a nonzero affine transformation, and closed endpoints remain closed.
Transform domains and ranges as well as points
HL extensionWhy this formula works
The allowed inner inputs are the original domain values u, so solving \(b(x-h)=u\) gives their new locations. The same output calculation \(y=av+k\) transports range values, with a negative a reversing their order.
\(x=h+u/b\) \(y=k+av\), for \(b\ne 0\). Apply these maps to the complete allowed sets.
Quick example
If the original range is [−\(1,3\)], then −\(2f(x)+4\) has range [−\(2,6\)], not [\(6,-2\)].
Worked example: Move both restrictions
f has domain [\(1,5\)] and range [−\(2,4\)]. Find the domain and range of \(g(x)=-3f(2x-1)+2\).
- Require \(1\le 2x-1\le 5\), giving \(1\le x\le 3\).
- Map the range endpoints: −\(3(-2)+2=8\) and −\(3(4)+2=-10\).
- The new range is [−\(10,8\)]. It is closed because both original endpoints are attained.
7. Reciprocal graphs: 1/f is not the inverse function
HL extensionThe reciprocal keeps the input and replaces each nonzero output v by \(\frac{1}{v}\). Outputs 1 and −1 stay fixed, large magnitudes become small and signs are retained. A genuine zero of a continuous f usually becomes a vertical asymptote of \(\frac{1}{f}\), but inspect one-sided signs and behaviour. If f was undefined at a pole, the reciprocal remains undefined there even when its limit is zero: draw a hole unless a continuous extension is explicitly defined. Do not add an x-intercept to an originally excluded point.
Reciprocal graphs: 1/f is not the inverse function
HL extensionWhy this formula works
At every allowed nonzero value, multiplication by the reciprocal gives 1. This directly determines the value mapping and exclusions. An inverse function instead swaps input and output; the two operations have different domains and graph rules.
\(h(x)=1/f(x)\), with domain \(\{x\in\operatorname{dom}f:f(x)\ne0\}\). Points (x,v) map to \((x,\frac{1}{v})\) \(v\ne 0\).
Quick example
For \(f(x)=\frac{1}{x-2}\), the reciprocal simplifies to \(x-2\), but \(x=2\) is still excluded. The result is a line with a hole at \((2,0)\).
Worked example: Build a reciprocal sketch from a quadratic
For \(f(x)=x^{2}-4\), describe \(h(x)=\frac{1}{f}(x)\) and its main features.
- The domain excludes \(x=-2\) and \(x=2\), where f has zeros. These are vertical asymptotes of h.
- \(h(0)=-\frac{1}{4}\). Between the excluded roots the denominator is negative; outside it is positive.
- As \(|x|\) increases, h tends to zero. It has no x-intercepts because its numerator is 1, and a horizontal asymptote \(y=0\).
Quick formula reference
For revision once you understand the methods above. Check the conditions before using a formula.
General point mapping
HL extension\((u,v)\mapsto(h+u/b,k+av)\) for \(y=af(b(x-h))+k\), \(b\ne 0\).
Return to the explanation →Reflections
\(y=-f(x)\): x-axis reflection. \(y=f(-x)\): y-axis reflection.
Return to the explanation →Modulus distinctions
HL extension\(|f(x)|\) changes outputs; \(f(|x|)\) changes which inputs are used.
Return to the explanation →Transform domains and ranges as well as points
HL extension\(x=h+u/b\), \(y=k+av\), for \(b\ne 0\). Apply these maps to the complete allowed sets.
Return to the explanation →Reciprocal graphs: 1/f is not the inverse function
HL extension\(h(x)=1/f(x)\), with domain \(\{x\in\operatorname{dom}f:f(x)\ne0\}\). Points (x,v) map to \((x,\frac{1}{v})\), \(v\ne 0\).
Return to the explanation →Learn to diagnose an error
Spot the mistake
HL extensionThe statement below is incorrect. Identify the missing condition or reasoning before opening the explanation.
\(y=f(2x)\) doubles every horizontal coordinate.
Explain and repair the mistake
It halves them. The old input u is reached when \(2x=u\). An old point (6,4) becomes (3,4), demonstrating a horizontal compression.
Connect and apply
Put the ideas together
A more demanding application of this guide’s methods. This is a learning stage; any additional HL content is labelled separately.
Map an endpoint and an asymptote
HL extensionFor \(f(x)=\sqrt{x}\), describe \(g(x)=3\sqrt{2(x-1)}-4\).
- The mapping is \((u,v)\mapsto(1+u/2,3v-4)\). The endpoint \((0,0)\) becomes \((1,-4)\).
- Points \((1,1)\) and \((4,2)\) become \((1.5,-1)\) and \((3,2)\). These provide accurate sketch landmarks.
- The radicand requires \(x\ge1\); the positive output scale gives range \(y\ge-4\).
- The factor 2 halves horizontal distances from the new endpoint. It does not double the x-coordinates.
What would a negative outside multiplier change?
Check your reasoning
It would reflect outputs about the shifted horizontal baseline and reverse the range inequality. The valid input domain would still come from the radicand.
Common mistakes and how to avoid them
- Horizontal scaling uses the reciprocal factor.
- Factor the inside expression before identifying a translation.
- f(
- x
- ) and
- f(x)
- are different graphs.
Practise independently
Build confidence, then apply it
Try each question before opening its hint or solution. If a method is new, return to the walkthrough, then try again. These learning stages describe the practice sequence; additional HL content is labelled separately.
- 1
Build confidence
Where does \((4,7)\) move on \(y=f(x)+2\)?
Need a starting point?
Only the output changes.
Show the worked solution
- Keep the input 4 and add 2 to the output.
- The image is \((4,9)\).
- 2
Apply and explain
Where does \((4,7)\) move on \(y=-f(x)\)?
Need a starting point?
A negative outside multiplier changes the output sign.
Show the worked solution
- The input remains 4 and the output becomes -7.
- The image is \((4,-7)\), a reflection in the x-axis.
- 3
Check your understanding
HL extensionWhere does (2,3) move under \(y=2f(x-1)-4\)?
Show the worked solution
It moves to (3,2): shift the input right by 1, double the output, then subtract 4.
- 4
Use the method
Where does \((4,5)\) move under \(y=f(x+2)-3\)?
Show the worked solution
The graph shifts two left and three down, so the point becomes \((2,2)\).
- 5
Combine the skills
HL extensionTransform domains and ranges as well as points
If f is defined for \(x>2\), what is the domain of \(f(-x)\)?
Show the worked solution
Require −\(x>2\). Dividing by −1 reverses the inequality, giving \(x<-2\).
- 6
Combine the skills
HL extensionReciprocal graphs: 1/f is not the inverse function
Is the reciprocal of \(f(x)=2x+1\) equal to its inverse?
Show the worked solution
No. The reciprocal is \(\frac{1}{2x+1}\), \(x\ne -\frac{1}{2}\). The inverse is \(\frac{x-1}{2}\) on all real inputs.
Finished? Use the linked question bank below to practise selecting the method without a guide telling you which rule to use.
Using these methods in exam questions
AA Paper 1
No calculatorPractise the algebra and exact values by hand. Keep fractions, surds and multiples of π exact where required. Show the steps that justify the result.
AA Paper 2
GDC requiredUse graphing, numerical solving or statistical tools when appropriate. Write the setup before giving the output, and keep extra precision until the final answer.
For this topic: Label axes, intercepts and relevant asymptotes. For a numerical root, state the equation and search interval; a graph window that misses an intersection is not evidence that no solution exists.
Paper 3: build a connected argument
Both AA HL and AI HL Paper 3 contain two extended problem-solving questions. A question develops a theme, so keep useful earlier results, test small cases and explain any proposed general rule. A calculator pattern can suggest a result; your mathematical reasoning must support it.
- Identify what the first part establishes and record the conditions under which it holds.
- When a later part introduces a new definition or model, connect it to methods you already know rather than assuming a new formula must have been memorised.
- Check the conclusion against an earlier numerical case and explain its meaning or limitation.
For the first-assessment-2021 courses. IB assessment reference ↗
Find a specific method or formula
Now practise the method
If you opened this guide from a question, return to that tab and try the method without looking at the example. Your answer stays in the question tab.
Practise this subtopic →Want a broader practice session? Explore IB Maths AA SL practice questions →Explore IB Maths AA HL practice questions →Try free IB Maths exam-style questions and worked solutions →
Core-topic coverage checked against Haese Core Topics HL (2019), chapters 16. The explanations, diagrams and exercises here are original Arc material.
Original Arc Practice teaching notes for Maths AA. Core and HL sections are distinguished above. These notes follow the first-assessment-2021 course and are not an official IB publication or a complete syllabus checklist. IB course reference. Report a correction.