Evaluating Derivatives of Composite Functions- Calculus Techniques
What Is a Composite Function?
A composite function is one function plugged into another. You see it written as f(g(x)) — the output of g(x) becomes the input of f.
Example: If f(x) = x² and g(x) = 3x + 1, then f(g(x)) = (3x + 1)². That's a composite function.
Simple enough. Now here's where students lose points.
The Chain Rule: Your Only Real Tool
Every time you differentiate a composite function, you're using the chain rule. There is no workaround. There is no shortcut that works every time.
The rule:
(f ∘ g)'(x) = f'(g(x)) · g'(x)
In plain English: take the derivative of the outer function, evaluate it at the inner function, then multiply by the derivative of the inner function.
Why Does It Work?
Think of it as a production line. The inner function processes x first, then the outer function processes the result. The rate of change of the final output with respect to x depends on how both stages amplify or reduce changes.
Mathematically, it's the product of those amplification rates. That's it.
How To Actually Do It
Here's the step-by-step process that works every time:
- Identify the outer function — what's being applied last?
- Identify the inner function — what's being fed into the outer?
- Differentiate the outer function, but leave the inner function alone inside it
- Differentiate the inner function
- Multiply the two derivatives together
Let's walk through an example.
Example 1: Basic Composite
Find the derivative of h(x) = (5x + 2)³
Outer function: u³ where u = 5x + 2
Inner function: 5x + 2
Step 1: Derivative of outer = 3u²
Step 2: Derivative of inner = 5
Step 3: Multiply = 3(5x + 2)² · 5 = 15(5x + 2)²
Done.
Example 2: Nested Composites
Find the derivative of h(x) = sin(x² + 3x)
This has two layers of nesting. You apply the chain rule twice.
Outer function: sin(u) where u = x² + 3x
Inner of that: x² + 3x
Step 1: Derivative of sin(u) = cos(u)
Step 2: Derivative of u = 2x + 3
Step 3: Multiply = cos(x² + 3x) · (2x + 3)
That's it. No extra steps.
Example 3: Three Layers
Find the derivative of h(x) = e^(sin(x²))
Layer 1 (outermost): e^u, u = sin(x²)
Layer 2: sin(v), v = x²
Layer 3: x²
Derivative = e^(sin(x²)) · cos(x²) · 2x
You just multiply the derivatives of each layer together.
Common Mistakes That Cost You Points
- Forgetting to multiply by the inner derivative — this is the most common error. Students differentiate the outer function at the inner, then stop. You need that second factor.
- Treating the chain rule like the product rule — they're different operations. Chain rule is for composition. Product rule is for products.
- Not identifying layers correctly — if you misidentify what's outer and inner, you'll get garbage.
- Simplifying too early — keep it factored until you're done differentiating. Expanding (5x+2)³ before differentiating just makes your life harder.
Product Rule vs Chain Rule vs Quotient Rule
Students mix these up constantly. Here's when to use each:
| Situation | Rule | Formula |
|---|---|---|
| One function inside another | Chain Rule | f'(g(x)) · g'(x) |
| Two functions multiplied | Product Rule | f·g' + f'·g |
| One function divided by another | Quotient Rule | (f'·g - f·g') / g² |
If you have sin(x) · x², that's a product. Use the product rule.
If you have sin(x²), that's a composition. Use the chain rule.
Power Rule + Chain Rule: The Most Common Case
When the outer function is a power, you get a predictable pattern:
d/dx [uⁿ] = n·uⁿ⁻¹ · u'
This covers (3x+1)², √(x²+1), 1/(x+5)³, and any power of a function.
For the square root case, remember that √u = u^(1/2).
Practical Tips for Faster Work
- Introduce a substitution variable for the inner function when things get messy. Let u = inner function, find du/dx, then substitute back.
- Check your answer by plugging in a simple value. If h(x) = (2x+1)³, then h'(0) should equal 3(1)² · 2 = 6.
- Practice recognizing patterns. Most textbook problems use a small set of outer functions: powers, trig functions, exponentials, logarithms.
Getting Started: Practice Problem Set
Work through these. Don't look at the answers first.
- Differentiate (x³ + 2x)⁴
- Differentiate cos(4x²)
- Differentiate √(x² - 9)
- Differentiate ln(sin(x))
- Differentiate (eˣ + x)⁵
Answers:
- 4(x³ + 2x)³ · (3x² + 2)
- -sin(4x²) · 8x
- x / √(x² - 9)
- cos(x) / sin(x) = cot(x)
- 5(eˣ + x)⁴ · (eˣ + 1)
When the Chain Rule Doesn't Apply
If you see a sum or difference of separate functions, you differentiate each term separately — no chain rule needed for those operations.
If you see a product, use the product rule — but if either factor is itself a composite, you need the chain rule for that factor too.
Most calculus problems mix these rules. Know when each one is required.