Chain Rule - Intuition

Given 𝒽(𝑥) = 𝑓(𝑔(𝑥)), then

Indent

Example

Suppose we want to compute the derivative of a composite function 𝒽(𝑥)

𝒽(𝑥) = (5 - 6𝑥)5

  • 𝑔(𝑥) = 5 - 6𝑥
  • 𝑓(𝑥) = 𝑥5
  • 𝑔’(𝑥) = -6
  • 𝑓’(𝑥) = 5𝑥4

Apply chain rule

  • 𝑑/𝑑𝑥[𝒽(𝑥)] = 𝑑/𝑑𝑥[𝑓(𝑔(𝑥))]
  • 𝑑/𝑑𝑥[𝒽(𝑥)] = 𝑓’(𝑔(𝑥)) * 𝑔’(𝑥)
  • 𝑑/𝑑𝑥[𝒽(𝑥)] = 5(5 - 6𝑥)4 * -6
  • 𝑑/𝑑𝑥[𝒽(𝑥)] = -30(5 - 6𝑥)4

Multivariable Chain Rule

where:

This is similar to the definition of a directional derivative

Examples