Composition is the operation of applying one function and then another to the result. If f and g are functions, the composite g ∘ f (read 'g of f' or 'g circle f') is defined by (g ∘ f)(x) = g(f(x)). The function written on the right acts first. For this to make sense, f(x) must lie in the domain of g.
Key terms
- Composite function g ∘ f
- x ↦ g(f(x))
- Inner function
- the function applied first
- Outer function
- the function applied second
- Associativity
- h ∘ (g ∘ f) = (h ∘ g) ∘ f
- Identity function
- I(x) = x
Key formulas
Summary
- (g ∘ f)(x) = g(f(x)); f acts first.
- Composition is associative but not commutative.
- The domain of g ∘ f must respect both functions.
In everyday life: A trader buys coffee in dollars, converts to Birr (one function), then adds 15% VAT (a second function); the final price is a composition.
Check yourself
- If f(x) = x + 2 and g(x) = 3x, find (f ∘ g)(1) and (g ∘ f)(1).
- Write h(x) = √(x² + 1) as a composition.
- Why may dom(g ∘ f) be smaller than dom(f)?
Practice questions
1. If f(x) = 2x + 1 and g(x) = x² − 3, find (g ∘ f)(2).
Show answer
Answer: 22
Apply f first: f(2) = 5. Then g(5) = 25 − 3 = 22.
On WeLearn
The full lesson: reading notes, worked examples, class activities and the Unit 1 quiz
Study Composition of Functions on WeLearnTeach Composition of Functions with WeLearn
We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.
