Skip to content

Business Mathematics and Statistics · Ch 5 — Differential Calculus (Functions & Graphs, Limits & Derivatives, Differentiation Techniques)

The Chain Rule and Implicit Differentiation

9

The Chain Rule and Implicit Differentiation

Many functions met in practice are composite functions — one function applied to the output of another, such as y=(3x2+5)4y=(3x^2+5)^4, which is 'raise-to-the-4th' applied to '3x2+53x^2+5'. Differentiating such a function directly from first principles, or by expanding it out, is usually impractical. The chain rule handles composites directly.

If y=f(u)y=f(u) and u=g(x)u=g(x), so that y=f(g(x))y=f(g(x)) is a function of xx via the intermediate variable uu, then

dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du}\cdot\frac{du}{dx}

In words: differentiate the 'outer' function with respect to its own variable uu, differentiate the 'inner' function with respect to xx, and multiply the two results together.

For y=(3x2+5)4y=(3x^2+5)^4: let u=3x2+5u=3x^2+5, so y=u4y=u^4. Then dydu=4u3\dfrac{dy}{du}=4u^3 and dudx=6x\dfrac{du}{dx}=6x, giving dydx=4u3⋅6x=24x(3x2+5)3\dfrac{dy}{dx} = 4u^3 \cdot 6x = 24x(3x^2+5)^3.

Implicit differentiation. Sometimes yy and xx are tied together by an equation that is not (and cannot easily be) solved to give yy explicitly as a function of xx — e.g. x2+y2=25x^2+y^2=25. We can still find dydx\dfrac{dy}{dx} by differentiating both sides of the equation with respect to xx, treating yy throughout as an unknown function of xx and applying the chain rule whenever a term involves yy (so that ddx(yn)=nyn−1dydx\dfrac{d}{dx}(y^n) = n y^{n-1}\dfrac{dy}{dx}, not simply nyn−1ny^{n-1}). After differentiating, we collect every term containing dydx\dfrac{dy}{dx} on one side and solve for it algebraically. …

Definition 1Chain Rule

If y=f(u)y=f(u) where u=g(x)u=g(x), then dydx=dydu⋅dudx\dfrac{dy}{dx} = \dfrac{dy}{du}\cdot\dfrac{du}{dx} — the derivative of a composite function is the product of the derivatives …

Definition 2Implicit Differentiation

A technique for finding dydx\dfrac{dy}{dx} when yy is defined implicitly by an equation in xx and yy (not solved explicitly for yy): differentiate both sides with respect to xx, applying the chain rule to every term in yy (so ddx(yn)=nyn−1dydx\dfrac{d}{dx}(y^n)=ny^{n-1}\dfrac{dy}{dx} …