ACEpath
Select Subject
Select Unit

The Chain Rule Basics

ddx[f(g(x))]=f(g(x))g(x)\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)

Using Leibniz notation: dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

Chain Rule With Other Rules

Combine chain rule with other differentiation rules:

  • (ef(x))=ef(x)f(x)(e^{f(x)})' = e^{f(x)} \cdot f'(x)
  • (sin(f(x)))=cos(f(x))f(x)(\sin(f(x)))' = \cos(f(x)) \cdot f'(x)
  • (ln(f(x)))=f(x)f(x)(\ln(f(x)))' = \frac{f'(x)}{f(x)}

Implicit Differentiation Steps

  1. Differentiate both sides with respect to x
  2. Apply chain rule to y-terms: ddx(yn)=nyn1dydx\frac{d}{dx}(y^n) = ny^{n-1} \cdot \frac{dy}{dx}
  3. Collect all dydx\frac{dy}{dx} terms on one side
  4. Solve for dydx\frac{dy}{dx}

Example: x2+y2=25x^2 + y^2 = 25 2x+2ydydx=02x + 2y \cdot \frac{dy}{dx} = 0 dydx=xy\frac{dy}{dx} = -\frac{x}{y}

Second Derivatives Of Implicit Functions

First find dydx\frac{dy}{dx} implicitly, then differentiate again with respect to x, applying chain rule and product rule as needed.

Derivative Of An Inverse Function Formula

If g = f-1, then: g(x)=1f(g(x))g'(x) = \frac{1}{f'(g(x))}

Alternatively: if f(a) = b and f'(a) exists and ≠ 0, then: (f1)(b)=1f(a)(f^{-1})'(b) = \frac{1}{f'(a)}

Derivatives Of Inverse Trigonometric Functions

FunctionDerivativeDomain
arcsinx\arcsin x11x2\frac{1}{\sqrt{1-x^2}}
arccosx\arccos x11x2-\frac{1}{\sqrt{1-x^2}}
arctanx\arctan x11+x2\frac{1}{1+x^2}all real x

Derivatives Of General Exponential And Logarithmic Functions

Exponential: ddx(ax)=axlna\frac{d}{dx}(a^x) = a^x \ln a

Logarithmic: ddx(logax)=1xlna\frac{d}{dx}(\log_a x) = \frac{1}{x \ln a}

ddx(lnx)=1x\frac{d}{dx}(\ln x) = \frac{1}{x}

Higher-order Derivatives

Higher-Order Derivatives (Second and Higher)

Second derivative: f(x)=ddx[f(x)]=d2ydx2f''(x) = \frac{d}{dx}[f'(x)] = \frac{d^2y}{dx^2}

nth derivative: f(n)(x)=dndxn[f(x)]f^{(n)}(x) = \frac{d^n}{dx^n}[f(x)]

Notation: f''(x), y''', f(n)(x), or dnydxn\frac{d^ny}{dx^n}