Mathematics / Calculus I Single-Variable Differential Calculus 100% Free Open Access
Chapter 6 • Theory & Derivations

The Chain Rule, Inverse Functions, Higher Derivatives & The Leibniz Rule

Advanced differential mechanics: Caratheodory formulation and proof of the Chain Rule, implicit differentiation of algebraic curves, derivatives of inverse functions, inverse trigonometric and inverse hyperbolic derivatives, logarithmic differentiation, and the General Leibniz Rule for the n-th derivative of a product with mathematical induction proof.

§6.1 The Chain Rule Theorem & Rigorous Carathéodory Formulation

1. Statement of the Chain Rule Theorem

$$\mathbf{\text{Theorem: If } g \text{ is differentiable at } x_0 \text{ and } f \text{ is differentiable at } g(x_0), \text{ then the composite function } (f \circ g) \text{ is differentiable at } x_0 \text{ with:}}$$ $$\mathbf{(f \circ g)'(x_0) = f'(g(x_0)) \cdot g'(x_0) \quad \text{or in Leibniz notation: } \frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}}$$

2. The Classic Proof Pitfall & Carathéodory's Resolution

The naive attempt writes $\frac{\Delta y}{\Delta x} = \frac{\Delta y}{\Delta u} \cdot \frac{\Delta u}{\Delta x}$. This fails whenever $\Delta u = g(x_0 + h) - g(x_0) = 0$ for values of $h \ne 0$ (division by zero).

Carathéodory's Theorem: A function $f$ is differentiable at $u_0$ if and only if there exists a function $\Phi(u)$ that is continuous at $u_0$ such that for all $u$:

$$f(u) - f(u_0) = \Phi(u)(u - u_0), \quad \text{with } \Phi(u_0) = f'(u_0)$$

Rigorous Proof of Chain Rule: Let $u = g(x)$ and $u_0 = g(x_0)$. By Carathéodory's characterization for $f$ at $u_0$:

$$f(g(x)) - f(g(x_0)) = \Phi(g(x)) [g(x) - g(x_0)]$$

Dividing by $x - x_0$ for $x \ne x_0$:

$$\frac{f(g(x)) - f(g(x_0))}{x - x_0} = \Phi(g(x)) \cdot \frac{g(x) - g(x_0)}{x - x_0}$$

As $x \to x_0$: because $g$ is differentiable at $x_0$, it is continuous at $x_0$, so $\lim_{x \to x_0} g(x) = g(x_0) = u_0$. Since $\Phi$ is continuous at $u_0$, $\lim_{x \to x_0} \Phi(g(x)) = \Phi(u_0) = f'(g(x_0))$. Thus:

$$(f \circ g)'(x_0) = f'(g(x_0)) \cdot g'(x_0) \quad \blacksquare$$

§6.2 Implicit Differentiation & Geometry of Algebraic Plane Curves

1. Implicit Functions & The Method of Implicit Differentiation

An equation of the form $F(x, y) = 0$ defines $y$ as an implicit function of $x$. Instead of solving explicitly for $y = f(x)$, we differentiate both sides of $F(x, y) = 0$ with respect to $x$, treating $y$ as an unknown differentiable function of $x$ and applying the Chain Rule $\frac{d}{dx}[g(y)] = g'(y) \frac{dy}{dx}$:

$$\frac{d}{dx}[F(x, y)] = 0 \implies \text{Solve algebraically for } \frac{dy}{dx}$$

2. Higher-Order Implicit Derivatives

To find the second derivative $\frac{d^2y}{dx^2}$, differentiate the expression for $\frac{dy}{dx}$ with respect to $x$, applying the Quotient Rule, Product Rule, and Chain Rule, and then substitute the expression for $\frac{dy}{dx}$ to express $\frac{d^2y}{dx^2}$ purely in terms of $x$ and $y$.

§6.3 Derivatives of Inverse Functions & Inverse Transcendental Relations

1. Derivative of the Inverse Function Theorem

$$\mathbf{\text{Theorem: If } f \text{ is strictly monotonic and differentiable at } x_0 \text{ with } f'(x_0) \ne 0, \text{ then } f^{-1} \text{ is differentiable at } y_0 = f(x_0) \text{ with:}}$$ $$(f^{-1})'(y_0) = \frac{1}{f'(x_0)} = \frac{1}{f'(f^{-1}(y_0))} \quad \text{or } \frac{dx}{dy} = \frac{1}{\frac{dy}{dx}}$$

2. Derivatives of Inverse Trigonometric Functions

Let $y = \arcsin x$ for $x \in (-1, 1)$. Then $x = \sin y$ with $y \in (-\pi/2, \pi/2)$:

$$\frac{d}{dx}[x] = \frac{d}{dx}[\sin y] \implies 1 = \cos y \frac{dy}{dx} \implies \frac{dy}{dx} = \frac{1}{\cos y} = \frac{1}{\sqrt{1 - \sin^2 y}} = \frac{1}{\sqrt{1 - x^2}}$$

Similarly:

$$\frac{d}{dx}[\arccos x] = -\frac{1}{\sqrt{1 - x^2}}, \qquad \frac{d}{dx}[\arctan x] = \frac{1}{1 + x^2}, \qquad \frac{d}{dx}[\operatorname{arcsec} x] = \frac{1}{|x|\sqrt{x^2 - 1}}$$

3. Derivatives of Inverse Hyperbolic Functions

$$\frac{d}{dx}[\operatorname{arsinh} x] = \frac{1}{\sqrt{x^2 + 1}}, \qquad \frac{d}{dx}[\operatorname{arcosh} x] = \frac{1}{\sqrt{x^2 - 1}} \quad (x > 1), \qquad \frac{d}{dx}[\operatorname{artanh} x] = \frac{1}{1 - x^2} \quad (|x| < 1)$$

§6.4 Logarithmic Differentiation & Successive Higher-Order Derivatives

1. Logarithmic Differentiation

For functions involving complicated products, quotients, or variable powers $y = [u(x)]^{v(x)}$:

  1. Take the natural logarithm of both sides: $\ln y = v(x) \ln u(x)$.
  2. Differentiate implicitly with respect to $x$: $\frac{1}{y} \frac{dy}{dx} = v'(x) \ln u(x) + v(x) \frac{u'(x)}{u(x)}$.
  3. Multiply through by $y$: $\frac{dy}{dx} = [u(x)]^{v(x)} \left[ v'(x) \ln u(x) + \frac{v(x) u'(x)}{u(x)} \right]$.

2. Successive Derivatives & Notations

The $n$-th derivative $f^{(n)}(x) = \frac{d^n y}{dx^n}$ is obtained by iteratively differentiating $n$ times.

3. The General Leibniz Rule for the $n$-th Derivative of a Product

$$\mathbf{(f \cdot g)^{(n)}(x) = \sum_{k=0}^n \binom{n}{k} f^{(n-k)}(x) g^{(k)}(x)}$$

where $\binom{n}{k} = \frac{n!}{k!(n-k)!}$ are binomial coefficients. This theorem is proven rigorously by mathematical induction using Pascal's identity $\binom{n}{k-1} + \binom{n}{k} = \binom{n+1}{k}$.

TIERED UNIVERSITY HONORS PROBLEMS

Step-by-Step Solved Examination Problems

Comprehensive analytical derivations, multi-tier solutions (Foundational, Intermediate Exam, and Honors/Proof Challenge) with complete line-by-line verification.

Tier 1: Foundational Example 6.1: Logarithmic Differentiation of Variable Exponent Towers

Find the exact derivative $\frac{dy}{dx}$ for: (a) $y = x^{\sin x}$ for $x > 0$, and (b) $y = \frac{(x^2 + 1)^3 \sqrt{2x + 5}}{(3x - 1)^4}$ at $x = 2$.

Step 1: Take Logarithm of (a)
$$\ln y = \ln(x^{\sin x}) = \sin x \ln x$$

Convert exponent into product.

Step 2: Differentiate Implicitly for (a)
$$\frac{1}{y}\frac{dy}{dx} = \cos x \ln x + \sin x \left(\frac{1}{x}\right) \implies \frac{dy}{dx} = x^{\sin x} \left[ \cos x \ln x + \frac{\sin x}{x} \right]$$

Multiplying through by $y = x^{\sin x}$.

Step 3: Logarithmic Differentiation for (b)
$$\ln y = 3\ln(x^2 + 1) + \frac{1}{2}\ln(2x + 5) - 4\ln(3x - 1)$$

Expand product and quotient using log laws.

Step 4: Differentiate and Evaluate at $x = 2$
$$\frac{1}{y}\frac{dy}{dx} = 3\left(\frac{2x}{x^2+1}\right) + \frac{1}{2}\left(\frac{2}{2x+5}\right) - 4\left(\frac{3}{3x-1}\right) = 3\left(\frac{4}{5}\right) + \frac{1}{9} - 4\left(\frac{3}{5}\right) = \frac{12}{5} + \frac{1}{9} - \frac{12}{5} = \frac{1}{9}$$

At $x = 2$, $y = \frac{(5)^3 \sqrt{9}}{(5)^4} = \frac{125 imes 3}{625} = \frac{3}{5}$. Thus $\frac{dy}{dx} = \left(\frac{3}{5}\right)\left(\frac{1}{9}\right) = \frac{1}{15}$.

Final Answer & Physical Insight

\text{(a) } \frac{dy}{dx} = x^{\sin x}\left[\cos x \ln x + \frac{\sin x}{x}\right], \qquad \text{(b) } \left.\frac{dy}{dx}\right|_{x=2} = \frac{1}{15}

Tier 2: Intermediate Exam Example 6.2: Implicit Differentiation and Second Derivative of the Folium of Descartes

Consider the Folium of Descartes $x^3 + y^3 = 6xy$. (a) Find the derivative $\frac{dy}{dx}$ in terms of $x$ and $y$. (b) Find the equation of the tangent line at the symmetric point $(3, 3)$. (c) Compute the second derivative $\frac{d^2y}{dx^2}$ at $(3, 3)$.

Step 1: Differentiate Implicitly with Respect to $x$
$$3x^2 + 3y^2 \frac{dy}{dx} = 6\left(y + x \frac{dy}{dx}\right) \implies x^2 + y^2 \frac{dy}{dx} = 2y + 2x \frac{dy}{dx}$$

Dividing by 3 and applying the product rule to $6xy$.

Step 2: Solve for $\frac{dy}{dx}$
$$\frac{dy}{dx}(y^2 - 2x) = 2y - x^2 \implies \frac{dy}{dx} = \frac{2y - x^2}{y^2 - 2x}$$

Isolating $\frac{dy}{dx}$.

Step 3: Evaluate Tangent Line at $(3, 3)$
$$\left.\frac{dy}{dx}\right|_{(3,3)} = \frac{2(3) - 3^2}{3^2 - 2(3)} = \frac{6 - 9}{9 - 6} = \frac{-3}{3} = -1 \implies y - 3 = -1(x - 3) \implies y = -x + 6$$

The tangent line at $(3, 3)$ has slope $m = -1$.

Step 4: Compute Second Derivative $\frac{d^2y}{dx^2}$ at $(3,3)$
$$\frac{d^2y}{dx^2} = \frac{(2y' - 2x)(y^2 - 2x) - (2y - x^2)(2yy' - 2)}{(y^2 - 2x)^2}$$

Substituting $x = 3, y = 3, y' = -1$: numerator is $[2(-1) - 6](9 - 6) - (6 - 9)[2(3)(-1) - 2] = [-8](3) - (-3)[-8] = -24 - 24 = -48$. Denominator is $(9 - 6)^2 = 9$. Thus $\frac{d^2y}{dx^2} = -\frac{48}{9} = -\frac{16}{3}$.

Final Answer & Physical Insight

\frac{dy}{dx} = \frac{2y - x^2}{y^2 - 2x}, \quad \text{Tangent: } y = -x + 6, \quad \left.\frac{d^2y}{dx^2}\right|_{(3,3)} = -\frac{16}{3}

Tier 3: Honors / Proof Challenge Example 6.3: General Leibniz Rule for Higher Derivatives & Mathematical Induction

(a) Prove the General Leibniz Rule $(fg)^{(n)} = \sum_{k=0}^n \binom{n}{k} f^{(n-k)} g^{(k)}$ by mathematical induction for all $n \in \mathbb{N}$. (b) Apply the Leibniz rule to compute the exact 10th derivative $y^{(10)}$ of $y = x^3 e^{2x}$.

Step 1: Base Case $n = 1$
$$(fg)' = \binom{1}{0} f' g + \binom{1}{1} f g' = f' g + f g'$$

This matches the standard Product Rule, establishing the base case.

Step 2: Inductive Step using Pascal's Identity
$$(fg)^{(n+1)} = \frac{d}{dx}\left[ \sum_{k=0}^n \binom{n}{k} f^{(n-k)} g^{(k)} \right] = \sum_{k=0}^n \binom{n}{k} f^{(n+1-k)} g^{(k)} + \sum_{k=0}^n \binom{n}{k} f^{(n-k)} g^{(k+1)}$$

Re-indexing the second sum and combining via Pascal's identity $\binom{n}{k} + \binom{n}{k-1} = \binom{n+1}{k}$ yields $\sum_{k=0}^{n+1} \binom{n+1}{k} f^{(n+1-k)} g^{(k)} \quad \blacksquare$.

Step 3: Apply to $y = x^3 e^{2x}$ with $n = 10$
$$f(x) = e^{2x} \implies f^{(m)}(x) = 2^m e^{2x}; \qquad g(x) = x^3$$

Notice $g'(x) = 3x^2, g''(x) = 6x, g'''(x) = 6$, and $g^{(k)}(x) = 0$ for all $k \ge 4$. Thus only terms $k = 0, 1, 2, 3$ survive!

Step 4: Compute the Surviving 4 Terms
$$\begin{aligned} y^{(10)} &= \binom{10}{0} 2^{10} e^{2x} (x^3) + \binom{10}{1} 2^9 e^{2x} (3x^2) + \binom{10}{2} 2^8 e^{2x} (6x) + \binom{10}{3} 2^7 e^{2x} (6) \ &= e^{2x} 2^7 \left[ 2^3 x^3 + 10(2^2)(3x^2) + 45(2)(6x) + 120(6) \right] \ &= 128 e^{2x} \left[ 8x^3 + 120x^2 + 540x + 720 \right] = 1024 e^{2x} \left[ x^3 + 15x^2 + \frac{135}{2}x + 90 \right] \end{aligned}$$

Factor out common powers of 2.

Final Answer & Physical Insight

y^{(10)} = 1024 e^{2x} \left( x^3 + 15x^2 + \frac{135}{2}x + 90 \right) = 128 e^{2x} (8x^3 + 120x^2 + 540x + 720)