Skip to content

Mathematics · Ch 10 — Differential Calculus – Differentiability and Methods of Differentiation

Examples on Chain Rule

10.4.2

Examples on Chain Rule

This section is pure practice at recognising the outer function / inner function split that the chain rule (Theorem 10.5) needs, and at combining it with the other rules when several layers or several factors are present.

Worked illustration — a square root of a sum. For F(x)=x2+1F(x)=\sqrt{x^2+1}, take the inner function u=g(x)=x2+1u=g(x)=x^2+1 and the outer function f(u)=uf(u)=\sqrt{u}. Since f′(u)=12u−1/2=12uf'(u)=\tfrac12 u^{-1/2}=\tfrac{1}{2\sqrt u} and g′(x)=2xg'(x)=2x, the chain rule gives F′(x)=f′(g(x)) g′(x)=12x2+1⋅2x=xx2+1F'(x)=f'(g(x))\,g'(x) = \dfrac{1}{2\sqrt{x^2+1}}\cdot2x = \dfrac{x}{\sqrt{x^2+1}}.

Worked illustration — telling sin⁡(x2)\sin(x^2) apart from sin⁡2x\sin^2x. These look similar but have different inner/outer splits. For y=sin⁡(x2)y=\sin(x^2): inner u=x2u=x^2, outer sin⁡u\sin u, so dydx=cos⁡(u)⋅2x=2xcos⁡(x2)\dfrac{dy}{dx}=\cos(u)\cdot2x = 2x\cos(x^2). For y=sin⁡2x=(sin⁡x)2y=\sin^2x=(\sin x)^2: inner u=sin⁡xu=\sin x, outer u2u^2, so dydx=2u⋅cos⁡x=2sin⁡xcos⁡x=sin⁡2x\dfrac{dy}{dx}=2u\cdot\cos x = 2\sin x\cos x = \sin2x (using the double-angle identity). The lesson: always ask which operation is applied last — that is the outer function.

Worked illustration — a high power. For y=(x3−1)100y=(x^3-1)^{100}: inner u=x3−1u=x^3-1 (u′=3x2u'=3x^2), outer u100u^{100} (100u99100u^{99}), so dydx=100(x3−1)99⋅3x2=300x2(x3−1)99\dfrac{dy}{dx}=100(x^3-1)^{99}\cdot3x^2 = 300x^2(x^3-1)^{99} — the chain rule turns what would be an impossible binomial expansion into a one-line answer.

Worked illustration — chain rule nested inside a product. For y=(2x+1)5(x3−x+1)4y=(2x+1)^5(x^3-x+1)^4, apply the product rule with u=(2x+1)5u=(2x+1)^5 and v=(x3−x+1)4v=(x^3-x+1)^4, computing u′u' and v′v' themselves by the chain rule: u′=5(2x+1)4⋅2=10(2x+1)4u'=5(2x+1)^4\cdot2=10(2x+1)^4 and v′=4(x3−x+1)3(3x2−1)v'=4(x^3-x+1)^3(3x^2-1); then dydx=uv′+vu′=4(x3−x+1)3(3x2−1)(2x+1)5+10(2x+1)4(x3−x+1)4\dfrac{dy}{dx}=uv'+vu' = 4(x^3-x+1)^3(3x^2-1)(2x+1)^5+10(2x+1)^4(x^3-x+1)^4, which factors to 2(2x+1)4(x3−x+1)3[(2x+1)(3x2−1)⋅2+10(x3−x+1)]2(2x+1)^4(x^3-x+1)^3\big[(2x+1)(3x^2-1)\cdot 2+10(x^3-x+1)\big] after collecting the common factors (2x+1)4(x3−x+1)3(2x+1)^4(x^3-x+1)^3 — the chain rule and product rule work together seamlessly.

Worked illustration — exponential composite. For y=esin⁡xy=e^{\sin x}: inner u=sin⁡xu=\sin x (u′=cos⁡xu'=\cos x), outer eue^u (eue^u), so dydx=eucos⁡x=cos⁡x esin⁡x\dfrac{dy}{dx}=e^u\cos x = \cos x\, e^{\sin x}. …