Composite Functions: Finding fg(x) and Its Domain | OCR B (MEI) A Level Maths notes
Free preview: Composite Functions: Finding fg(x) and Its Domain
A Function of a Function
Year 2 (A level only)
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 .

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 fg(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. |
๐ fg is not f times g
Wrong: for . That is the product . Right: .
โ๏ธ YOUR TURN 2
Try this first:
. Find and solve .
Answer:
- .
- , . Check: , .
โ๏ธ YOUR TURN 3
Try this first:
and for . Find and .
Answer:
- .
- (needs ).
Domain and Range of a Composite Function
The output of is the input of . So for to make sense, two things must be true:
- must be in the domain of (so exists), and
- must be in the domain of (so can accept it).
- If the range of includes values cannot take, you must cut down the domain of .
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.
Log in ยท Subscribe ยท Start free trial
All notes in Functions and Graphs
- Sketching Cubic and Quartic Graphs from Their Factors
- Reciprocal Graphs y = a/x and y = a/xยฒ and Their Asymptotes
- Using Points of Intersection to Solve Equations
- Direct and Inverse Proportion and Their Graphs
- Translating Graphs: y = f(x) + a and y = f(x + a)
- Stretching and Reflecting Graphs: y = af(x), y = f(ax), y = โf(x) and y = f(โx)
- Combining Transformations of Graphs
- What Makes a Function: Domain, Range, One-One and Many-One
- Composite Functions: Finding fg(x) and Its Domain
- Inverse Functions and Their Graphs: Reflecting in y = x
- The Modulus Function and the Graph of y = |ax + b|
- Modelling with Functions: Limitations and Refinements
- Move Up a Grade: A Level Maths Functions and Graphs
- Tricky Bits: A Level Maths Functions and Graphs
Video
What's inside for this topic
14 teacher notes, 228 practice questions, 61 flashcards, 7 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