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:

Let's walk through an example.

Example 1: Basic Composite

Find the derivative of h(x) = (5x + 2)³

Outer function: 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

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

Getting Started: Practice Problem Set

Work through these. Don't look at the answers first.

  1. Differentiate (x³ + 2x)⁴
  2. Differentiate cos(4x²)
  3. Differentiate √(x² - 9)
  4. Differentiate ln(sin(x))
  5. Differentiate (eˣ + x)⁵

Answers:

  1. 4(x³ + 2x)³ · (3x² + 2)
  2. -sin(4x²) · 8x
  3. x / √(x² - 9)
  4. cos(x) / sin(x) = cot(x)
  5. 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.