Functions & Their Graphs
Composing Functions
Evaluating and simplifying the composition of two functions.
Feeding One Function into Another
Before reading on, think about putting on socks, then shoes. Now think about putting on shoes, then socks. Both involve the exact same two actions — but the order clearly changes the result in a way that matters. Function composition works the same way: combining two functions by feeding one's output into the other as input, where the order genuinely changes the outcome.
Definition — Composition of Functions
Worked Example — Evaluating a Composition
Worked Example — Finding a Symbolic Composition and Showing Order Matters
Function Explorer
Transform: g(x) = a·f(b(x − h)) + k
Composition
Analysis (of the transformed function, in view)
- y-intercept
- (0, 0)
- x-intercepts
- (-9.42, 0), (-6.28, 0), (-3.14, 0), (0, 0), (3.14, 0), (6.28, 0), (9.42, 0)
- Extrema
- local min at (-7.85, -1); local max at (-4.71, 1); local min at (-1.57, -1); local max at (1.57, 1); local min at (4.71, -1); local max at (7.85, 1)
- Inflection points
- (-9.42, 0), (-6.28, 0), (-3.14, 0), (0, 0), (3.14, 0), (6.28, 0), (9.42, 0)
- Vertical asymptotes
- none found in view
- Horizontal asymptotes
- none found
- Domain
- all real numbers in view
- Range (estimated)
- approximately [-1, 1]
Tip
Common Mistakes
Reading f(g(x)) as f(x) times g(x), confusing composition with multiplication.
f(g(x)) means substituting the entire expression g(x) in for x inside f — it's a substitution, not a multiplication of the two functions.
Assuming (f ∘ g)(x) and (g ∘ f)(x) are always the same, the way multiplication of two numbers doesn't depend on order.
Composition is generally not commutative — check both orders separately, since applying the functions in a different sequence usually produces a different expression.
Key Takeaways
- Composition (f ∘ g)(x) = f(g(x)) evaluates the inner function first, then feeds its result into the outer function.
- Composition is generally not commutative — (f ∘ g)(x) and (g ∘ f)(x) are usually different expressions.
- Evaluating or simplifying from the inside out keeps composition organized.
Summary
Composition chains two functions together, in an order that genuinely matters. The next lesson asks a related question: is there a function that exactly undoes another one?
Sign in to track your progress and mark this lesson complete.
Track your progress