Composite Functions: Finding (f∘g)(x) and Its Domain | Analysis and Approaches IB Maths notes
Free preview: Composite Functions: Finding (f∘g)(x) and Its Domain
A Function of a Function
Analysis and approaches: SL and HL (SL 2.5). Applications and interpretation: HL only (AHL 2.7)
Watch: 1-minute explainer
Let's start with a machine picture. Put a number into one machine, then feed its output straight into a second machine. A juicer and then a freezer turn an orange into an ice lolly. Freezer first, then juicer? You'd get something very different.
- A composite function applies one function and then another to the result.
- If is applied first and second, we write .
💡 In plain words
- Read it from the inside out: the function written nearest to acts first.
- So in , first find , then put that answer into .

The diagram uses the short form fg(3). In IB notation that is : same meaning, g first.
Following the diagram
- Take and .
- Top row, : acts first, , then .
- Bottom row, : acts first, , then .
- The answers differ, so the order matters: in general .
The recipe: finding the expression for (f∘g)(x)
- Write with the whole of inside the bracket. Why: this middle line shows the examiner your method.
- In the rule for f, replace every x by , in brackets.
- Simplify, then check with one number.
👀 Watch me do it: find and for
| What I write | Why I do it |
|---|---|
| Step 1: g goes inside f. | |
| Step 2: f squares whatever it is given. | |
| Now f inside g: g adds 1 to whatever it is given. | |
| Check : and . | Step 3: both match the diagram. |
- You can also compose a function with itself: , sometimes written .
- With , .
📝 Write the middle step
Show , not just the final line. If you make a slip later, the middle step can still earn the method mark.
✏️ YOUR TURN 1
Try this first:
and . Find , , and .
Answer:
- ; .
- ; .
- Check: and .
Composites with Fractions, and f Composed with Itself
The recipe doesn't change when the functions get messier. The brackets are what keep you safe.
👀 Watch me do it: find and for and
| What I write | Why I do it |
|---|---|
| Replace the x in f by . | |
| Simplify the bottom. | |
| g doubles and adds 1. | |
| Single fraction over the common denominator. | |
| Check : and . | Agrees. |
A function composed with itself
- means apply f, then apply f again to the answer.
- Same recipe: put the whole of inside f.
👀 Watch me do it: find for
| What I write | Why I do it |
|---|---|
| f flips whatever it is given. | |
| Flipping twice gets you back where you started. | |
| So f undoes itself. | You'll meet this idea again with inverse functions. |
📝 f∘g is not f times g
Wrong: for . That is the product . Right: .
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Straight lines and functions (SL 2.1, 2.2, 2.5)
- Equations of Straight Lines: Gradient, y − y₁ = m(x − x₁) and ax + by + d = 0
- Parallel and Perpendicular Lines, Distances, Midpoints and Intersections
- Straight-Line Models: Using y = mx + c in Real Contexts
- What Makes a Function: Domain, Range, One-One and Many-One
- Composite Functions: Finding (f∘g)(x) and Its Domain
- Inverse Functions and Their Graphs: Reflecting in y = x
Video
What's inside for this topic
6 teacher notes, 61 practice questions, 37 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: What Makes a Function: Domain, Range, One-One and Many-One Next note: Inverse Functions and Their Graphs: Reflecting in y = x