Skip to content

Mathematics · Ch 8 — Differentiation

Theorem: Derivative of a Composite Function (the Chain Rule)

8.1.2

Theorem: Derivative of a Composite Function (the Chain Rule)

Theorem (Chain Rule). If y=f(u)y=f(u) is a differentiable function of uu, and u=g(x)u=g(x) is a differentiable function of xx, then yy is a differentiable function of xx, and dydx=dydu⋅dudx.\dfrac{dy}{dx}=\dfrac{dy}{du}\cdot\dfrac{du}{dx}.

Proof (using increments). Let xx change by a small amount δx\delta x (assume δx≠0\delta x\ne0). This produces a corresponding small change δu\delta u in u=g(x)u=g(x), which in turn produces a corresponding small change δy\delta y in y=f(u)y=f(u). Assuming uu is not locally constant so δu≠0\delta u\ne0, we can write the exact algebraic identity δyδx=δyδu⋅δuδx.\dfrac{\delta y}{\delta x}=\dfrac{\delta y}{\delta u}\cdot\dfrac{\delta u}{\delta x}. Since u=g(x)u=g(x) is continuous (being differentiable), as δx→0\delta x\to0 we also get δu→0\delta u\to0. Taking the limit δx→0\delta x\to0 on both sides, the right side becomes (lim⁡δu→0δyδu)(lim⁡δx→0δuδx)=dydu⋅dudx\left(\displaystyle\lim_{\delta u\to0}\dfrac{\delta y}{\delta u}\right)\left(\displaystyle\lim_{\delta x\to0}\dfrac{\delta u}{\delta x}\right)=\dfrac{dy}{du}\cdot\dfrac{du}{dx}, both of which exist and are finite because yy is differentiable in uu and uu is differentiable in xx. Since the right-hand side has a finite limit, the left-hand side lim⁡δx→0δyδx=dydx\displaystyle\lim_{\delta x\to0}\dfrac{\delta y}{\delta x}=\dfrac{dy}{dx} must exist too, and equals that same product. This proves yy is differentiable in xx with dydx=dydu⋅dudx\dfrac{dy}{dx}=\dfrac{dy}{du}\cdot\dfrac{du}{dx}.

Equivalent Leibniz form. Writing the composite directly as y=f[g(x)]y=f[g(x)], the same result reads ddxf[g(x)]=f′[g(x)]⋅g′(x)\dfrac{d}{dx}f[g(x)]=f'[g(x)]\cdot g'(x): differentiate the outer function ff at the point g(x)g(x), then multiply by the derivative of the inner function gg. …