Composite functions
Practice Flashcards
Flip to reveal answersWhat is a composite function?
Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.
All 16 Flashcards — Composite functions
Sign up free to track progress and get spaced-repetition review schedules.
Question
What is a composite function?
Answer
A composite function applies one function to the output of another. f(g(x)): first apply g to x, then apply f to the result. Notation: (f ∘ g)(x) = f(g(x)) — read "f of g of x."
Question
What does the notation (f ∘ g)(x) mean? Which function is applied first?
Answer
(f ∘ g)(x) = f(g(x)). g is applied first (the inner function), then f is applied to the result (the outer function). Think of it like nested brackets — work from the inside out.
Question
f(x) = x + 2, g(x) = 3x. Write f(g(x)) step by step.
Answer
Step 1: g(x) = 3x (the inner function). Step 2: f(g(x)) = f(3x) = (3x) + 2 = 3x + 2. Substitute g(x) = 3x wherever x appears in f.
Question
Exam trap: A student writes f(g(x)) = f(x) × g(x). What is the error?
Answer
Composition (f ∘ g) is not multiplication. f(g(x)) means "substitute g(x) into f" — apply one function to the output of the other. f(x) × g(x) means multiply the two outputs — a completely different operation.
Question
What are the two steps for evaluating f(g(a)) at a specific value a?
Answer
Step 1: Calculate the inner function first — find g(a). Step 2: Substitute that result into f — find f(g(a)). Always work inside out: inner function first, outer function second.
Question
f(x) = 2x + 1, g(x) = x². Find f(g(3)).
Answer
Step 1: g(3) = 3² = 9. Step 2: f(g(3)) = f(9) = 2(9) + 1 = 19.
Question
f(x) = x − 4, g(x) = 3x + 2. Find g(f(5)).
Answer
Step 1: f(5) = 5 − 4 = 1. Step 2: g(f(5)) = g(1) = 3(1) + 2 = 5. Note: this asks for g(f(5)), so f is applied first, then g.
Question
Exam trap: A student evaluates f(g(4)) by computing f(4) first, then applying g. What is the error?
Answer
They applied the functions in the wrong order. For f(g(4)): compute the inner function g(4) first, then substitute into f. The function written on the right (inside the bracket) is always applied first.
Question
How do you write f(g(x)) as an algebraic expression?
Answer
Step 1: Write out g(x). Step 2: Substitute g(x) into f — replace every x in f(x) with the expression g(x). Step 3: Simplify if possible.
Question
f(x) = 2x + 3, g(x) = x². Find f(g(x)) as a simplified expression.
Answer
g(x) = x². f(g(x)) = f(x²) = 2(x²) + 3 = 2x² + 3.
Question
f(x) = x − 1, g(x) = 3x. Find g(f(x)) and simplify.
Answer
f(x) = x − 1. g(f(x)) = g(x − 1) = 3(x − 1) = 3x − 3.
Question
Exam trap: f(x) = (x + 1)². A student writes f(g(x)) = (g(x))² + 1 without checking. What should they have done?
Answer
They applied the wrong rule. f(x) = (x + 1)² means: take the input, add 1, then square. f(g(x)) = (g(x) + 1)² — substitute g(x) for x throughout. Always replace every x in f with the full expression g(x), including inside brackets.
Question
Is f(g(x)) always equal to g(f(x))? Give a counterexample.
Answer
No — in general f(g(x)) ≠ g(f(x)). Counterexample: f(x) = x + 1, g(x) = x². f(g(x)) = x² + 1. g(f(x)) = (x + 1)² = x² + 2x + 1. These are different.
Question
f(x) = x², g(x) = x + 3. Calculate f(g(2)) and g(f(2)). Compare the results.
Answer
f(g(2)): g(2) = 5, then f(5) = 25. g(f(2)): f(2) = 4, then g(4) = 7. f(g(2)) = 25 ≠ g(f(2)) = 7. The order of composition matters.
Question
If f(g(x)) = x and g(f(x)) = x for all x, what special relationship do f and g have?
Answer
f and g are inverse functions of each other: g = f⁻¹ (and f = g⁻¹). Each function "undoes" the other. Example: f(x) = 2x + 1 and g(x) = (x − 1)/2 satisfy f(g(x)) = x and g(f(x)) = x.
Question
Exam trap: A question asks for g(f(x)) and a student computes f(g(x)) instead. How can they check which order is correct?
Answer
Read carefully: g(f(x)) means "f is inside g" — apply f first, then g. Memory check: the function closest to x (written on the right) is always applied first. In g(f(x)): f is closer to x → f goes first → then g.
Read the notes
Full study notes for Composite functions
Topic 2.2 hub
Functions, domains, ranges, and graphs
More from Topic 2.2
All flashcards in this topic
Math AI SL exam skills
Paper structures & tips
Track your progress with spaced repetition
Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.
Start Free