Calculus / Unit 1 CAL 0007 worked example, 60 to 90 seconds
Building and Taking Apart Compositions
The idea
Calculus often needs a function split into an inner part and an outer part. First, find the expression computed first; that is the inner function g(x). Second, write the outer function f as what is done to that result. Third, check by composing: f(g(x)) must rebuild the original. To evaluate a composition at a number, work inside out: compute g at the number, then feed that value to f.
In practice
Worked example: write h(x) = √(x² + 9) as a composition. Step one: the inner part is g(x) = x² + 9. Step two: the outer part is f(x) = √x. Step three: f(g(x)) = √(x² + 9), the original. Evaluate at x = 4: g(4) = 16 + 9 = 25, then f(25) = 5, so h(4) = 5. Second: sin(3x) has inner part 3x and outer part sin x. Third: for f(x) = 2x − 1 and g(x) = x², f(g(3)) = f(9) = 17, while g(f(3)) = g(5) = 25.
Where people slip
Do not confuse the composition f(g(x)) with the product f(x)g(x). For f(x) = x² and g(x) = x + 3 at x = 2, the composition is 25 but the product is 20. The chain rule, later, depends on reading the inner function correctly.
Your place on the trail
Every lesson rests on earlier ones and opens later ones. Tap any to jump.
Builds on
Unlocks
Something wrong in this lesson? Flag it · Sources for Calculus