Composite
Functions
Learn to build, evaluate, and interpret composite functions, and determine reasonable domains for real-world contexts.
What Is a Composite Function?
A composite function takes the output of one function and feeds it as the input of another. We write it as \( (f \circ g)(x) = f(g(x)) \).
Think of it as a two-step machine: first \( g \) processes \( x \), then \( f \) processes the result.
The Function Machine Model
Why Do Composites Matter?
The Formal Definition
Finding the Domain of \( f \circ g \)
\( f \circ g \) vs \( g \circ f \): Order Matters
Composition is not commutative. In general, \( f(g(x)) \neq g(f(x)) \). Swapping the order usually produces a completely different function.
| \( f \circ g \) | \( g \circ f \) | |
|---|---|---|
| Inner | \( g \) runs first | \( f \) runs first |
| Outer | \( f \) wraps around | \( g \) wraps around |
| Example | \( f(x)=x^2,\; g(x)=x+1 \) | \( f(x)=x^2,\; g(x)=x+1 \) |
| Result | \( (x+1)^2 \) | \( x^2+1 \) |
How to Evaluate a Composite
Example 1: Numeric Evaluation
Let \( f(x) = 2x + 3 \) and \( g(x) = x^2 - 1 \). Find \( (f \circ g)(4) \).
Example 2: Algebraic Expression
Let \( f(x) = x^2 \) and \( g(x) = 3x - 5 \). Find \( (f \circ g)(x) \).
Example 3: Domain Restrictions
Let \( f(x) = \sqrt{x} \) and \( g(x) = 5 - 2x \). Find \( (f \circ g)(x) \) and its domain.
Example 4: Real-World Context
A circular oil spill grows. Its radius \(r\) (in meters) after \(t\) hours is \( r(t) = 3t \). The area \(A\) of a circle is \( A(r) = \pi r^2 \). Find the area as a function of time.
Decomposing a Composite Function
Sometimes you need to work backwards: given a composite, identify the inner and outer functions.
Outer: \( f(x) = x^3 \)
Outer: \( f(x) = \sqrt{x} \)
Composing Three Functions
You can chain more than two functions. For \( f \circ g \circ h \), evaluate from the innermost outward:
Example: Let \( f(x) = x + 1 \), \( g(x) = 2x \), \( h(x) = x^2 \). Then:
Common Mistakes to Avoid
Summary at a Glance
| Concept | Key Idea | Watch Out |
|---|---|---|
| \( f \circ g \) Notation | \( f(g(x)) \) | \( \neq g(f(x)) \) |
| Evaluation | Inner first, then outer | Don't multiply |
| Domain | \( x \in \text{dom}(g) \) and \( g(x) \in \text{dom}(f) \) | Check both restrictions |
| Decomposition | Last operation = outer | Multiple valid splits |
| Context | Chain dependent quantities | Units and reasonable domain |
Question 1 of 5
If \( f(x) = 3x - 2 \) and \( g(x) = x + 4 \), what is \( (f \circ g)(5) \)?
Question 2 of 5
If \( f(x) = x^2 \) and \( g(x) = x - 3 \), what is \( (f \circ g)(x) \)?
Question 3 of 5
Given \( f(x) = \sqrt{x} \) and \( g(x) = 7 - x \), what is the domain of \( (f \circ g)(x) \)?
Question 4 of 5
The temperature \(T\) (in \(^\circ\mathrm{C}\)) at altitude \(a\) km is \( T(a) = 20 - 6a \). A balloon's altitude after \(t\) minutes is \( a(t) = 0.5t \). Which expression gives temperature as a function of time?
Question 5 of 5
If \( h(x) = (4x + 1)^5 \), which pair of functions satisfies \( h(x) = f(g(x)) \)?