9709 Pure 1 · 1.2 Functions · Session 2 of 5
One function's output becomes another function's input. Get the order wrong and you get a different answer, every time.
Do Now · 5 min
Start from \(x = 2\) each time. Tap to check.
Two different answers from the same starting number. The order you apply the functions in changes the result.
Direct instruction · 1 of 5
A composite function takes the output of one function and uses it as the input of another. Nothing new is being calculated. You're chaining two rules you already know.
Think of an assembly line
Station 1 takes a part and does something to it. Station 2 takes whatever comes off station 1 and does something else to it. Swap the order of the stations and a different product comes off the line, even though both stations do exactly the same job either way.
Direct instruction · 2 of 5 · notation
Cambridge exam notation
No circle, the letters just sit next to each other. \(f\) is written right next to \(x\), so \(f\) is applied first. Then \(g\) is applied to that result.
Khan Academy notation
Read "f composed with g". \(g\) is written right next to \(x\), inside the brackets, so \(g\) is applied first. Then \(f\) is applied to that result.
The rule that works for both: find whichever function is written closest to \(x\) and do that one first, then apply the other to the result. Don't just read left to right. In both notations, the function you meet first on the page is applied second.
On a Cambridge paper, always answer in \(gf(x)\) form. That's what the mark scheme expects.
Direct instruction · 3 of 5 · worked example
Direct instruction · 4 of 5 · the condition
\(gf\) can only be formed when the whole range of \(f\) fits inside the domain of \(g\).
\(g\) has to be able to accept every single output \(f\) could ever produce. If \(f\) can output a number \(g\) isn't defined for, the chain breaks at that point.
See it break, with real numbers
One input sent \(f\)'s output somewhere \(g\) can't follow. That's enough on its own: \(gf\) cannot be formed for this \(f\) and \(g\). The next slide lets you drag \(f\)'s domain and watch the verdict flip.
This exact condition shows up on real Cambridge papers with different letters. On the June 2025 paper most candidates missed it. The ones who got credit named exactly which range wasn't inside which domain, the same move you just made.
Direct instruction · 4 of 5 · see it flip
Drag \(k\) below about 2.24 (\(\sqrt{5}\)) and the range of \(f\) dips to include numbers \(\le 5\), which \(g\) can't accept, and the verdict flips to red. Nothing about \(g\) changed. Only \(f\)'s domain did, which changed \(f\)'s range. That's the whole condition in one slider.
Worked example · real past paper · Specimen Paper 1, Q2
The full question asks you to solve \(f^{-1}(x) = gf(x)\). Today: find \(gf(x)\), the piece you already have the tools for.
That's \(gf(x)\) done. Next, a quick preview of how \(f^{-1}\) itself is found, so that equation isn't a black box.
Preview · Session 3
Full inverse-function theory, including when an inverse exists at all, is Session 3. Here's just the mechanic, so today's equation isn't a mystery.
Session 3 covers why swapping \(x\) and \(y\) works, when an inverse exists at all, and finishes solving \(f^{-1}(x) = gf(x)\), that is \(\tfrac{x - 2}{3} = 12x - 4\).
Worked example · real past paper · 9709/11 June 2023, Q8(a) · 1 of 2
\(f(x) = 1 + \dfrac{2a}{x - a}\) for \(x > a\), and \(g(x) = bx - 2\). Given that \(f(7) = \tfrac{5}{2}\) and \(gf(5) = 4\), find \(a\) and \(b\). [4]
With \(a\) known, the second fact, \(gf(5) = 4\), is what finds \(b\).
Worked example · real past paper · 9709/11 June 2023, Q8(a) · 2 of 2
Examiners noted that students who found \(f(5)\) first did best. A common slip was dropping the "1 +" from \(f\).
Practice · together · 6 min
Practice · on your own · 7 min
Direct instruction · 5 of 5 · recap
Notation. Whichever symbol you see, \(gf(x)\) or \((f \circ g)(x)\), find the function touching \(x\) and apply that one first. On a Cambridge paper, answer in \(gf(x)\) form.
The existence condition. \(gf\) only exists when the whole range of \(f\) fits inside the domain of \(g\). Check the two sets, and name them in your answer. That's what the mark scheme rewards.
Next session: one-one functions and inverses in full, including finishing today's Specimen Paper question.
Exit ticket · 5 min
Four questions, each with a fresh pair of functions.