Mathfolis

Chain Rule

Unit 2 · Differentiation — Rules

What is the Chain Rule?

The Chain Rule tells you how to differentiate a composite function — a function inside another function. If y = f(g(x)), you multiply the derivative of the outer function (evaluated at the inner) by the derivative of the inner function.

Chain Rule Formula

Leibniz notation
dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}
Prime notation
ddx[f(g(x))]=f(g(x))g(x)\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)

Common Patterns

Power
ddx[un]=nun1u\frac{d}{dx}[u^n] = n u^{n-1} \cdot u'
Exponential
ddx[eu]=euu\frac{d}{dx}[e^u] = e^u \cdot u'
Sin / Cos / Tan
ddx[sinu]=cosuu,ddx[cosu]=sinuu\frac{d}{dx}[\sin u] = \cos u \cdot u', \quad \frac{d}{dx}[\cos u] = -\sin u \cdot u'
Natural log
ddx[lnu]=uu\frac{d}{dx}[\ln u] = \frac{u'}{u}
Type 1

Basic Composition

A function nested inside another — power, trig, exponential, or natural log. One clean application of the chain rule.

Example 1

Find the derivative of the function.

f(x)=(3x2+1)5f(x) = (3x^2 + 1)^5
Example 2

Find the derivative of the function.

g(x)=sin(x3)g(x) = \sin(x^3)

Practice more of this type— AI-generated · infinite problems

Generate Problems →
Type 2

Chain Rule + Product Rule

When the function is a product of two expressions and at least one requires the chain rule. Apply the product rule first, then chain rule inside.

Example 3

Find the derivative of the function.

h(x)=x2esinxh(x) = x^2 e^{\sin x}

Practice more of this type— AI-generated · infinite problems

Generate Problems →
Type 3

Evaluate at a Point

Find the derivative using the chain rule, then substitute a specific x value to get a numerical answer.

Example 4

Find f′(0) for the function.

f(x)=ln(x2+e)f(x) = \ln(x^2 + e)

Practice more of this type— AI-generated · infinite problems

Generate Problems →
Chain Rule | AP Calculus AB — Mathfolis