A function f(x) is a rule turning an input into an output. A composite fg(x) means "do g, then f". The inverse f−1 undoes f: swap x and y and rearrange. Some inputs can't be used, such as values that make you divide by zero.
Form and evaluate composite functions such as fg(x) and ff(x).
Find an inverse function f−1(x).
Identify values that must be excluded from the domain.
Pause and think
A machine doubles a number, then adds 3. It outputs 17. What went in? How did you work it out?
7: you subtracted 3, then halved. Running the machine backwards with the inverse operations in reverse order is exactly how an inverse function works.
Section 2 of 14
Core idea
Start hereA machine
Think of a function as a machine: drop in a number, it does something fixed (double it, add 3), and out comes the answer. Run it backwards and you get the inverse; feed one machine into another and you get a composite.
The big idea
f(3): put in 3. f−1 reverses f. fg(x)=f(g(x)): g first, then f.
1. Evaluating and inverses
A function machine and its inverse
To undo f, reverse the steps and the order: f−1(x)=2x−3.
Worked examplef(x)=2x+3
f(4) and f−1(x).
Goal
Value; inverse.
Strategy
Swap the roles: solve y=2x+3 for x.
1
f(4)=11
Substitute.
2
y=2x+3⇒x=2y−3
Undo: subtract 3, halve.
3
f−1(x)=2x−3
Rename the input x.
Answer11; 2x−3.
✓ Checkf−1(11)=4 ✓.
2. Composite functions
Worked examplef(x)=2x+3, g(x)=x2
fg(x), gf(x), gf(1).
Goal
Composites.
Strategy
Inner function first.
1
fg(x)=f(x2)=2x2+3
Square first.
2
gf(x)=g(2x+3)=(2x+3)2
Double-add first.
3
gf(1)=52=25
Evaluate.
Answer2x2+3; (2x+3)2; 25.
✓ Checkfg(1)=5=25: order matters ✓.
⚠️ Common misconceptionf−1(x)=f(x)1The inverse undoes f; it isn't the reciprocal.
Pause and think
f(x)=4x−1. Find f−1(x).
4(x+1).
Quick check
If f(x)=2x+1 and g(x)=x2, find fg(3) and gf(3).
fg(3)=f(9)=19; gf(3)=g(7)=49. Order matters.
Summary
Inverse: rearrange.
fg: g first.
Key words
Inverse function
Reverses a function.
Composite function
Function of a function.
📜 HistoryWho wrote f(x) first?The notation f(x) was introduced by Leonhard Euler in 1734. Before that, mathematicians described functions in words. Euler also gave us e, i and Σ, and popularised π: perhaps the greatest inventor of notation in history.
🤯 Fun factEncryption is a function.A secret code is a function from plain messages to coded ones, and decoding is its inverse. Modern encryption uses functions that are easy to compute but practically impossible to invert without a secret key.
Keep reading for free
Create a free account to read the rest of this lesson: key formulae, worked examples, explore the graph, common mistakes, exam tip, guided practice and more. Your answers are checked and your progress is saved.