Composite Functions: Finding fg(x) and Its Domain | Edexcel IAL Maths notes
Free preview: Composite Functions: Finding fg(x) and Its Domain
A Function of a Function
Unit P3 (WMA13): Pure Mathematics 3
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. |
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 P3.1 Algebraic Fractions, Functions and Modulus
- Simplifying Algebraic Fractions and Dividing by Linear Expressions
- 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|
- Solving Modulus Equations and Inequalities Graphically
- Combining Transformations of Graphs
Video
What's inside for this topic
7 teacher notes, 178 practice questions, 40 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