Composite functions and transformations AI HL
A composite function applies one function and then another, and an inverse function undoes a function, which is only possible when the function is one-to-one on its domain. Transformations then show how a change to the equation of a curve translates, reflects or stretches its graph, and the order of two transformations matters. In an exam the calculator checks the work: it evaluates a composite at a point, solves an equation by graph, and shows the minimum or the asymptote of a transformed curve.
Formulas at a glance
None of the rules on this page is in the formula booklet, so learn them. They are definitions and rules that you apply to the function in the question.
Composite function: apply first, then
Not in the bookletInverse function undoes the function
Not in the bookletFinding an inverse
Write , swap and , then solve for
Not in the bookletTranslations
moves up ; moves right
Not in the bookletReflections
in the -axis; in the -axis
Not in the bookletVertical stretch, scale factor
Not in the bookletHorizontal stretch, scale factor
Not in the bookletWhich method to use
Decide whether the question is about combining or undoing functions, or about moving a graph, then work out which part of the equation changes the graph.
| The question has | Use | Notes |
|---|---|---|
| A value such as | Find first, then put the result into | The function nearest to the input is applied first. In general and differ |
| A function written as a composite, and the two parts are wanted | Look for the inner part that is worked out first and call it ; what is done to it afterwards is | Check by composing: must give the original |
| An equation such as | Form in terms of , then solve by hand or graph both sides on the calculator | Check every solution lies in the domain of |
| The inverse function | Write , swap and , then solve for | Check that . The domain of is the range of |
| An inverse is wanted but the function is not one-to-one | Restrict the domain so that each output has one input, then find the inverse | State the restriction, for example one side of the vertex of a quadratic |
| A new equation such as or | A translation: up , or right | The change inside the brackets moves the graph the opposite way to the sign |
| A new equation such as , , or | A reflection in the -axis, a reflection in the -axis, a vertical stretch with factor , or a horizontal stretch with factor | A change to acts on the horizontal direction and a change to the whole function acts vertically |
| Two or more transformations in one equation | Apply them in the order the arithmetic is done on : a stretch (multiply) before a translation (add), changing and of each point in turn | Only transformations in the same direction depend on their order, but then a stretch followed by a translation is a different curve from the translation followed by the stretch |
Section 1 of 2 AHL2.7
Composite and inverse functions
The composite function applies first and then to the result, so changing the order changes the answer. The inverse function reverses and exists only where is one-to-one. To find it, swap and and rearrange, restricting the domain if needed.
Composition and inverses
None of this is in the formula booklet. The notation, the inverse relationship and the need to restrict the domain so that an inverse exists are all knowledge you apply yourself.
Making an inverse exist
Restrict the domain so is one-to-one
Not in the formula booklet, but part of the AHL2.7 content. A many-to-one function like needs a restricted domain before is a genuine function.
Key terms
What is the domain of a function?
The domain is the set of input values for which the function is defined. It may be restricted by the context or stated in the question.
e.g. For , the domain is .
What is the range of a function?
The range is the set of output values that the function takes. The domain of is the range of .
e.g. For with , the range is .
What does one-to-one mean?
A function is one-to-one when each output comes from exactly one input. Only a one-to-one function has an inverse.
e.g. is not one-to-one on all real numbers since , but it is one-to-one when .
What happens when you compose a function with its inverse?
Applying a function and then its inverse returns the original input, so and on the appropriate domains.
e.g. If then , and .
Worked example, step by step
The question Calculator needed [6 marks]
A circular ripple spreads across a pond. At time seconds after it starts, its radius in metres is The area in square metres of a circle of radius is .
(a) Find , the area of the ripple after 3 seconds.
(b) Find the time at which the area of the ripple is .
(c) Find .
Worked solution: worked example
Answer: (a) (b) seconds (c)
Step 1 - Understand the composite.
: first turns the time into a radius, then turns the radius into an area. So
Why? The function written next to the input, , is applied first. The composite takes a time straight to an area.
Step 2 - Evaluate at .
, then M1 - Find and substitute into A1 -
Why? Work out the inner value first and keep it on the calculator for the next step. The result is the area after 3 seconds.
Step 3 - Solve .
Enter and on the calculator, with , and find the intersection: M1 - Form A1 -
Why? By hand, . The negative square root is rejected because a radius cannot be negative. This is the domain restriction: only has an inverse when .
Step 4 - Find the inverse of .
Write and solve for : M1 - Solve for A1 -
Why? The inverse undoes : it takes a radius back to the time. Check: , the original time.
M1 Find and substitute into
A1
M1 Form
A1
M1 Solve for
A1
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
Worked solution: practice question 1
(a) Solve
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 11 marks
Calculator steps: Evaluate a function at a point, Enter a function and draw its graph
Common mistakes
- Forgetting to restrict the domain when finding an inverse. If the original function isn't one-to-one over its stated domain, doesn't exist there - the restriction has to be stated as part of the answer, not left implicit.
- Applying the functions in the wrong order. means acts first - swapping the order gives , which is generally a different function entirely.
- Confusing with . The inverse function reverses ; it is not the reciprocal. Writing as is one of the most common notation slips at this level.
Section 2 of 2 AHL2.8
Graph transformations
Graph transformations change the equation of in fixed ways: and translate the graph, and stretch it, and and reflect it. When several are combined, the order in which they are applied affects the final graph. It covers describing a sequence of transformations and applying it to points.
Transformations of
These apply to every function type in the SL and AHL syllabus, including ones built to model real-life situations. None of this is in the formula booklet - you're expected to know the effect of each rule on the graph.
Key terms
What does y = f(x) + b do to a graph?
It translates the graph vertically by units: upwards when and downwards when . Every -coordinate changes by and the -coordinates stay the same.
e.g. is the graph of moved up units.
What does y = f(x - a) do to a graph?
It translates the graph horizontally by units, to the right when . The direction is opposite to the sign inside the bracket.
e.g. is moved units to the right, so its vertex is at .
How do you reflect a graph?
The graph of is the reflection of in the -axis, and is its reflection in the -axis.
e.g. If is on , then is on and is on .
What is a vertical stretch?
The graph of is a stretch parallel to the -axis with scale factor . Each -coordinate is multiplied by , and points on the -axis stay where they are. A horizontal stretch has scale factor : each -coordinate is multiplied by , and points on the -axis stay where they are.
e.g. If is on , then is on .
Worked example, step by step
The question Calculator needed [5 marks]
A designer models the profile of a bowl by the curve , where . The profile of a larger bowl is the curve
(a) Describe the two transformations that map the graph of onto the graph of , in the order they are applied.
(b) The curve has its minimum point at and passes through . Find the coordinates of the corresponding points on .
Worked solution: worked example
Answer: (a) A vertical stretch with scale factor , then a translation by (b) and
Step 1 - Compare with the general form.
The new equation has the form with , and .
Why? The inside the bracket changes the horizontal position. The multiplies the whole function, and the is added at the end.
Step 2 - Describe the transformations in order.
First a vertical stretch with scale factor , then a translation by the vector : units to the right and unit up. A1 - Vertical stretch with scale factor A1 - Translation
Why? The order matters. The stretch is applied first because is formed before is added. Translating up by first and then stretching would give , a different curve, because the stretch would double the shift.
Step 3 - Find the image points.
A point on moves to . The minimum point goes to , and goes to . M1 - Apply A1 - A1 -
Why? The translation to the right adds to every -coordinate. The vertical stretch doubles every -coordinate before is added.
Step 4 - Check on the calculator.
Enter and use the minimum tool: the minimum point is . Evaluating at gives .
Why? The calculator agrees with the image points, so the description of the transformations is consistent with the equation.
A1 Vertical stretch with scale factor
A1 Translation
M1 Apply
A1
A1
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Your score so far: 0 out of 6 marks
Calculator steps: Enter a function and draw its graph
Common mistakes
- Getting the sign backwards on a horizontal translation. shifts the graph units in the positive direction - the minus sign inside the brackets produces a shift to the right, which feels the wrong way round on first meeting it.
- Applying a stretch and a translation in the wrong order. In the graph is stretched first and then moved up . Moving it up first and then stretching would give , a different curve.
- Mixing up stretch scale factor with the value . In the horizontal stretch scale factor is , not itself - a large compresses the graph towards the -axis rather than stretching it out.
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Evaluate a function at a point
Used in: Composite and inverse functions
How to evaluate a function at a point on a TI-84 Plus CE
Call the function from the home screen | |
Press Y= and type the function into Y1: X,T,θ,n ^ 3 − 2 X,T,θ,n + 1. |
Y1=X^3-2X+1 |
Press 2nd mode (QUIT) to return to the home screen. Press vars, then ▶ to open the Y-VARS menu, choose 1:Function and then 1:Y1. Use this menu rather than typing the letter Y and the number 1. |
|
Type the x-value in brackets, ( 2 . 5 ), and press enter. , which is to 3 significant figures. |
Y1(2.5) 11.625 |
Another way: the table | |
Press 2nd window (TBLSET) and set Indpnt to Ask, then press 2nd graph (TABLE). The table is empty. Type 2 . 5 and press enter: the Y1 column fills in. |
X | Y1 2.5 | 11.625 |
Another way: trace the graph | |
Press graph to draw the graph, then trace. Type 2 . 5 (an X= prompt appears) and press enter. The cursor jumps to that x-value and the bottom of the screen shows the point. |
X=2.5 Y=11.625 |
Y1( from the Y-VARS menu is the exact route: the answer is the function's value, not a cursor position. Use the table when you want several values.
The full guide: Evaluate a function at a point
Enter a function and draw its graph
Used in: Composite and inverse functions, Graph transformations
How to enter a function and draw its graph on a TI-84 Plus CE
Enter the function in Y= and draw it | |
Press Y=. If there are old functions, move to each one with ▲ or ▼ and press clear to erase it. A function is only drawn while the = sign beside it is highlighted. |
Plot1 Plot2 Plot3 \Y1= \Y2= \Y3= |
With the cursor next to Y1=, type X,T,θ,n x² − 4 X,T,θ,n + 3. The calculator uses X,T,θ,n for . |
Plot1 Plot2 Plot3 \Y1=X²-4X+3 \Y2= \Y3= |
Press window and set Xmin = −2, Xmax = 6, Ymin = −2, Ymax = 8, leaving Xscl and Yscl as 1. For a negative number use the (−) key, not the subtraction key. |
WINDOW Xmin=-2 Xmax=6 Xscl=1 Ymin=-2 Ymax=8 Yscl=1 |
Press graph. The curve is an upward-opening parabola. It meets the -axis at . |
|
Draw more than one function, or hide one | |
Type the next function next to Y2= (press ▼ to reach it) and press graph again: every function whose = sign is highlighted is drawn. To keep a function but not draw it, move onto its = sign with ◀ and press enter, so the highlight disappears. Press enter again to turn it back on. |
|
If the graph is blank or cut off | |
Press zoom and choose 6:ZStandard to draw with the standard window, or choose 0:ZoomFit, which keeps your Xmin and Xmax and sets Ymin and Ymax so the whole curve fits. Choosing a window by hand is in set a good viewing window. For a graph that contains sin, cos or tan, check the angle mode first: press mode and see switching between degrees and radians. |
|
If the graph does not appear, the cause is usually the window, not the function. Look at the window values before you retype anything.
The full guide: Enter a function and draw its graph
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| AHL2.7 | Composite functions in context. The notation . Inverse function , including domain restriction. Finding an inverse function. . |
| AHL2.8 | Transformations of graphs. Students will be expected to be able to perform transformations on all functions from the SL and AHL section of this topic, and others in the context of modelling real-life situations. Translations: ; . Reflections: in the -axis , and in the -axis . Vertical stretch with scale factor : . Horizontal stretch with scale factor : . Composite transformations. Students should be made aware of the significance of the order of transformations. |
Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).
Quick questions
What order do you apply the functions in (f o g)(x)?
The inner function acts first. means you evaluate first, then substitute that result into .
Does a horizontal stretch move points closer to or further from the y-axis?
A horizontal stretch with scale factor , given by , moves points closer to the -axis when and further away when - the scale factor and the value of act in opposite directions.
How do you find the domain of an inverse function?
It is the range of the original function. If with , the range of is , so the domain of is .
How do I find the image of a point under several transformations?
Apply each transformation to the coordinates in turn. If is on , then on the -coordinate is unchanged and the -coordinate is , giving .
How do you evaluate a composite function at a number?
Work from the inside out. If and , then and .
Why does f(x - 3) move the graph to the right?
The output of at equals the original output at , so each point must be units further right to get the same value. A point of at appears at on .
Is (f o g)(x) the same as (g o f)(x)?
Not usually. If and , then but .
What happens to an asymptote under a transformation?
It is transformed in the same way as the rest of the graph. The graph of has the asymptote , so has the asymptote .
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.