4.1 The Chain Rule

Key Takeaways

  • The Chain Rule differentiates composite functions f(g(x)) by computing the derivative of the outer function evaluated at the inner function, multiplied by the derivative of the inner function: d/dx[f(g(x))] = f'(g(x)) * g'(x).
  • The Generalized Power Rule states d/dx[(g(x))^n] = n*(g(x))^(n-1) * g'(x), extending the standard power rule to any differentiable base expression.
  • For multi-layered composite functions f(g(h(x))), work systematically from the outermost layer to the innermost layer: d/dx[f(g(h(x)))] = f'(g(h(x))) * g'(h(x)) * h'(x).
  • When differentiating products or quotients of composite expressions, factor out common lowest powers of binomial factors before expanding or simplifying.
  • Tabular and graphical problems require evaluating (f ∘ g)'(c) = f'(g(c)) * g'(c) by looking up inner function output g(c) first, then reading the outer derivative at that value f'(g(c)).
Last updated: August 2026

4.1 The Chain Rule

Quick Answer: The Chain Rule is the fundamental differentiation law for composite functions $y = f(g(x))$. It states that ddx[f(g(x))]=f(g(x))g(x)\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x) or in Leibniz notation dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} where $u = g(x)$. To differentiate an expression from the outside in, take the derivative of the outer function while keeping the inner function unchanged, then multiply by the derivative of the inside. Never differentiate the inside function on the first pass.


1. Conceptual Intuition: Composite Functions and Rate Transmission

A composite function represents a multi-stage process where the output of an inner function $u = g(x)$ becomes the direct input to an outer function $y = f(u)$. When the independent variable $x$ changes by a small amount $\Delta x$, it induces a change $\Delta u$ in the intermediate variable, which in turn induces a change $\Delta y$ in the final dependent variable.

The Mechanical Gear Ratio Analogy

Think of a mechanical gear train connecting three interlocking gears: Gear $A$ (output $y$), Gear $B$ (intermediate $u$), and Gear $C$ (input $x$):

  • If Gear $B$ rotates $3$ times as fast as Gear $C$, then $\frac{du}{dx} = 3$.
  • If Gear $A$ rotates $2$ times as fast as Gear $B$, then $\frac{dy}{du} = 2$.
  • The overall rate at which Gear $A$ rotates relative to Gear $C$ is the product of the transmission ratios: dydx=dydududx=2×3=6\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = 2 \times 3 = 6
                          The Chain Rule Rate Pipeline

      Input x  ───────> ┌─────────────┐ ───────> Intermediate u ───────> ┌─────────────┐ ───────> Output y
     (Variable)         │ g(x): Inner │          (g'(x) = du/dx)         │ f(u): Outer │         (f'(u) = dy/du)
                        └─────────────┘                                  └─────────────┘
                             │                                                  │
                             └────────────────── Rate Product ──────────────────┘
                                              dy/dx = (dy/du) · (du/dx)

Formal Formulations of the Chain Rule

Notation FrameworkMathematical ExpressionComponent Roles
Leibniz Form$\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}$$y = f(u)$ and $u = g(x)$
Lagrange / Prime Form$(f \circ g)'(x) = f'(g(x)) \cdot g'(x)$Outer derivative at inner input $\times$ inner derivative
Operator Form$\frac{d}{dx}[f(u)] = f'(u) \cdot \frac{du}{dx}$Chain factor $\frac{du}{dx}$ attached to any differentiated $u$

2. The Generalized Power Rule

The most frequent application of the Chain Rule on the CLEP Calculus exam occurs when an algebraic expression $g(x)$ is raised to a constant real power $n$. Let $u = g(x)$ and $y = u^n$. Since $\frac{dy}{du} = n u^{n-1}$, the derivative with respect to $x$ is:

ddx[(g(x))n]=n(g(x))n1g(x)\frac{d}{dx}\left[ (g(x))^n \right] = n (g(x))^{n-1} \cdot g'(x)

Step-by-Step Worked Examples

Example 1: Polynomial Base to an Integer Power

Find $\frac{dy}{dx}$ for $y = (3x^4 - 5x^2 + 7)^6$.

  1. Identify layers: Outer function $f(u) = u^6$; Inner function $u = g(x) = 3x^4 - 5x^2 + 7$.
  2. Differentiate outer layer: $f'(u) = 6u^5 = 6(3x^4 - 5x^2 + 7)^5$.
  3. Differentiate inner layer: $g'(x) = 12x^3 - 10x$.
  4. Multiply: dydx=6(3x45x2+7)5(12x310x)=12x(6x25)(3x45x2+7)5\frac{dy}{dx} = 6(3x^4 - 5x^2 + 7)^5 \cdot (12x^3 - 10x) = 12x(6x^2 - 5)(3x^4 - 5x^2 + 7)^5

Example 2: Radical Function (Fractional Power)

Find $f'(x)$ for $f(x) = \sqrt{5x^3 + 4} = (5x^3 + 4)^{1/2}$.

  1. Outer derivative: $\frac{1}{2}(5x^3 + 4)^{-1/2}$.
  2. Inner derivative: $\frac{d}{dx}[5x^3 + 4] = 15x^2$.
  3. Assemble and simplify: f(x)=12(5x3+4)1/215x2=15x225x3+4f'(x) = \frac{1}{2}(5x^3 + 4)^{-1/2} \cdot 15x^2 = \frac{15x^2}{2\sqrt{5x^3 + 4}}

Example 3: Rational Reciprocal Function (Negative Power)

Find $h'(t)$ for $h(t) = \frac{4}{(2t^2 + 3t)^3} = 4(2t^2 + 3t)^{-3}$.

  1. Outer derivative: $4 \cdot (-3)(2t^2 + 3t)^{-4} = -12(2t^2 + 3t)^{-4}$.
  2. Inner derivative: $4t + 3$.
  3. Assemble: h(t)=12(2t2+3t)4(4t+3)=12(4t+3)(2t2+3t)4h'(t) = -12(2t^2 + 3t)^{-4} \cdot (4t + 3) = -\frac{12(4t + 3)}{(2t^2 + 3t)^4}

3. Multi-Layer Nested Chain Rule

When a function contains three or more nested composite layers $y = f(g(h(x)))$, apply the Russian nesting doll principle: peel off one layer at a time from outside to inside, multiplying each successive derivative.

ddx[f(g(h(x)))]=f(g(h(x)))g(h(x))h(x)\frac{d}{dx}[f(g(h(x)))] = f'(g(h(x))) \cdot g'(h(x)) \cdot h'(x)

                 Multi-Layer Chain Rule: 3 Nested Layers

          Layer 1 (Outer):   d/du [ u³ ]            = 3 u²
                 │
          Layer 2 (Middle):  d/dv [ sin(v) ]        = cos(v)
                 │
          Layer 3 (Inner):   d/dx [ 4x² - 1 ]       = 8x
                 ▼
          Product: 3[sin(4x² - 1)]² · cos(4x² - 1) · 8x = 24x sin²(4x² - 1) cos(4x² - 1)

Detailed Worked Example: Differentiating $y = \sin^3(4x^2 - 1)$

Rewrite the trigonometric power explicitly to expose the nested hierarchy: y=[sin(4x21)]3y = [\sin(4x^2 - 1)]^3

  1. Outer Layer: $f(u) = u^3 \implies f'(u) = 3u^2 = 3[\sin(4x^2 - 1)]^2 = 3\sin^2(4x^2 - 1)$.
  2. Middle Layer: $g(v) = \sin(v) \implies g'(v) = \cos(v) = \cos(4x^2 - 1)$.
  3. Inner Layer: $h(x) = 4x^2 - 1 \implies h'(x) = 8x$.
  4. Final Product: dydx=3sin2(4x21)cos(4x21)8x=24xsin2(4x21)cos(4x21)\frac{dy}{dx} = 3\sin^2(4x^2 - 1) \cdot \cos(4x^2 - 1) \cdot 8x = 24x \sin^2(4x^2 - 1) \cos(4x^2 - 1)

Second Nested Example: $y = \tan(\sqrt{x^3 + 1})$

  • Outer: $\tan(u) \longrightarrow \sec^2(u) = \sec^2(\sqrt{x^3 + 1})$
  • Middle: $\sqrt{v} = v^{1/2} \longrightarrow \frac{1}{2\sqrt{v}} = \frac{1}{2\sqrt{x^3 + 1}}$
  • Inner: $x^3 + 1 \longrightarrow 3x^2$
  • Multiplying all three layers: y=sec2(x3+1)12x3+13x2=3x2sec2(x3+1)2x3+1y' = \sec^2(\sqrt{x^3 + 1}) \cdot \frac{1}{2\sqrt{x^3 + 1}} \cdot 3x^2 = \frac{3x^2 \sec^2(\sqrt{x^3 + 1})}{2\sqrt{x^3 + 1}}

4. Combining the Chain Rule with Product and Quotient Rules

CLEP Calculus exam questions frequently combine multiple rules in a single expression. Success requires disciplined algebraic bookkeeping and strategic factoring.

Combining Product Rule and Chain Rule

Problem: Find $f'(x)$ for $f(x) = x^4 (2x - 3)^5$.

  1. Set up Product Rule: $f'(x) = u'v + uv'$ where $u = x^4$ and $v = (2x - 3)^5$.
  2. Compute derivatives:
    • $u' = 4x^3$
    • $v' = 5(2x - 3)^4 \cdot \frac{d}{dx}[2x - 3] = 5(2x - 3)^4(2) = 10(2x - 3)^4$
  3. Apply Product Rule: f(x)=(4x3)(2x3)5+(x4)(10(2x3)4)f'(x) = (4x^3)(2x - 3)^5 + (x^4)(10(2x - 3)^4)
  4. Factor out the greatest common factor (GCF): Common factors are $2x^3$ and $(2x - 3)^4$: f(x)=2x3(2x3)4[2(2x3)+5x]f'(x) = 2x^3(2x - 3)^4 \left[ 2(2x - 3) + 5x \right] f(x)=2x3(2x3)4[4x6+5x]=2x3(2x3)4(9x6)=6x3(3x2)(2x3)4f'(x) = 2x^3(2x - 3)^4 [4x - 6 + 5x] = 2x^3(2x - 3)^4(9x - 6) = 6x^3(3x - 2)(2x - 3)^4

Key Algebraic Strategy: Never expand binomials like $(2x-3)^5$ algebraically! Always factor out the lowest power of the binomial from both terms.

Combining Quotient Rule and Chain Rule

Problem: Find $\frac{dy}{dx}$ for $y = \frac{(x+2)^3}{(3x - 1)^2}$.

  1. Quotient Rule framework: $\frac{u'v - uv'}{v^2}$.
  2. Differentiate numerator and denominator:
    • $u' = 3(x+2)^2(1) = 3(x+2)^2$
    • $v' = 2(3x - 1)^1(3) = 6(3x - 1)$
  3. Assemble quotient expression: dydx=3(x+2)2(3x1)2(x+2)3[6(3x1)][(3x1)2]2\frac{dy}{dx} = \frac{3(x+2)^2 (3x - 1)^2 - (x+2)^3 [6(3x - 1)]}{[(3x - 1)^2]^2}
  4. Factor numerator before simplifying: Factor out $3(x+2)^2(3x - 1)$: dydx=3(x+2)2(3x1)[(3x1)2(x+2)](3x1)4\frac{dy}{dx} = \frac{3(x+2)^2(3x - 1) \left[ (3x - 1) - 2(x+2) \right]}{(3x - 1)^4} Cancel one factor of $(3x - 1)$ from numerator and denominator: dydx=3(x+2)2[3x12x4](3x1)3=3(x+2)2(x5)(3x1)3\frac{dy}{dx} = \frac{3(x+2)^2 [3x - 1 - 2x - 4]}{(3x - 1)^3} = \frac{3(x+2)^2(x - 5)}{(3x - 1)^3}

5. Tabular and Graphical Chain Rule Problems

A hallmark of the CLEP exam is testing chain rule mechanics using numerical tables and graphs without analytical equations.

Comprehensive Tabular Problem

Consider the table of values for differentiable functions $f$ and $g$:

$x$$f(x)$$f'(x)$$g(x)$$g'(x)$
$1$$3$$-2$$4$$5$
$2$$1$$4$$3$$-1$
$3$$2$$6$$1$$2$
$4$$5$$-3$$2$$-4$

Evaluation 1: $(f \circ g)'(1)$

  1. Formula: $(f \circ g)'(1) = f'(g(1)) \cdot g'(1)$.
  2. Read inner output: From table at $x = 1$, $g(1) = 4$.
  3. Substitute inner output: $f'(g(1)) = f'(4)$.
  4. Read outer derivative: From table at $x = 4$, $f'(4) = -3$.
  5. Read inner derivative: From table at $x = 1$, $g'(1) = 5$.
  6. Multiply: $(f \circ g)'(1) = (-3) \cdot (5) = -15$.

Evaluation 2: $(g \circ f)'(2)$

  1. Formula: $(g \circ f)'(2) = g'(f(2)) \cdot f'(2)$.
  2. Inner output: $f(2) = 1 \implies g'(1)$.
  3. Table values: $g'(1) = 5$ and $f'(2) = 4$.
  4. Multiply: $(g \circ f)'(2) = (5) \cdot (4) = 20$.

Evaluation 3: Derivative of Squared Function $H(x) = [f(x)]^2$ at $x = 3$

  1. Formula: $H'(x) = 2f(x) \cdot f'(x)$.
  2. At $x = 3$: $H'(3) = 2 f(3) f'(3) = 2(2)(6) = 24$.

6. CLEP Traps and Exam Strategies

  • Trap 1: The "Premature Derivative" Fallacy. Writing $\frac{d}{dx}[\sin(x^3)] = \cos(3x^2)$ is completely wrong. You must evaluate the outer derivative at the original inner argument: $\cos(x^3) \cdot 3x^2$.
  • Trap 2: The "Forgotten Chain" Omission. Stopping after differentiating the outer shell: e.g., $\frac{d}{dx}[(5x^2 - 1)^4] = 4(5x^2 - 1)^3$. Always check: Did I multiply by the derivative of the inside? Here you must multiply by $10x$.
  • Trap 3: Tangent Line Slope Errors. When finding the tangent line equation for $y = f(g(x))$ at $x = c$, remember that the $y$-coordinate is $y_0 = f(g(c))$ and the slope is $m = f'(g(c))g'(c)$.
Test Your Knowledge

What is the derivative of the function f(x) = (5x^3 - 2x)^4?

A
B
C
D
Test Your Knowledge

What is the derivative of y = cos^4(3x^2)?

A
B
C
D
Test Your Knowledge

The table below gives values of differentiable functions f and g and their derivatives:

xf(x)f'(x)g(x)g'(x)
1234-2
45-116
If h(x) = f(g(x)), what is the value of h'(1)?

A
B
C
D
Test Your Knowledge

What is the equation of the tangent line to the curve y = sqrt(2x^2 + 1) at the point where x = 2?

A
B
C
D