MathorynMathematical Formula Database

Calculus

Chain Rule

The chain rule differentiates a composition of functions: the derivative of the outer function at the inner function, times the derivative of the inner function.

ddx f(g(x))=f′(g(x)) g′(x)\frac{d}{dx}\,f\big(g(x)\big)=f'\big(g(x)\big)\,g'(x)
LaTeX\frac{d}{dx}\,f\big(g(x)\big)=f'\big(g(x)\big)\,g'(x)

Variables

ff
outer function
gg
inner function

Example

Differentiate h(x)=(3x+1)4h(x)=(3x+1)^4 at x=1x=1.

  1. h′(x)=4(3x+1)3⋅3h'(x)=4(3x+1)^3\cdot3.
  2. h′(1)=4⋅64⋅3h'(1)=4\cdot64\cdot3.

Answer: h′(1)=768h'(1)=768.

Related formulas