The derivative of the composition of two functions is given by the chain rule, which states that the derivative of
. The graphs of
and its derivative are colored blue and purple. The tangent to
at the red point is the green line.