Derivative Chain Rule

Composition of Functions

Composition of Functions is a way to chain together so that the output of the first inner function becomes the input of the next outer function. . Note that we read this from right to left starting with the input of x then applying the function g and finally applying the function f. The first function produces (x, g(x)). The output becomes the input for the next stage producing (g(x), f(g(x)). Ultimately the composition function, c(x) above, is made up of the ordered pairs (x, f(g(x)). In the app enter a formula for the first inner function g(x) in terms of x. It is graphed in the xy-plane in blue in the left window. Next enter a formula for the second outer function f(u) in terms of u. It is graphed in the uy-plane in green in the right window. Adjust the value of the specific value of x = a. This is indicated by the brown length. The intermediate output g(a) is indicated by the purple length. This is an output y-value (vertical length) in the left window, but it becomes an input u-value (horizontal length) in the right window. The output f(g(a)) is illustrated in orange as the output in both windows for f and c.

Differentiating a Composition of Two Functions

The Chain Rule (official name) could also be called the Composition Rule, since it is for finding the derivative of a composition of two functions. It could also be called the Substitution Rule, because to use it we make a substitution u = g(x) to form the function f(u). In the app check the checkbox for Tangent Lines to see the tangent lines to the three function at x = a for g and c and at u = g(a) for f. The slopes of these three tangent lines are the derivatives, and they are illustrated by the vertical vectors in the app. Values of the three derivatives are shown. Do you see a relationship among these three slopes? You might notice that the one we are looking for (the slope of the red tangent line) is the product of the other two.

Chain Rule

Check the checkbox for Derivative to see a statement of the Derivative Chain Rule along with formulas and values based on the specific functions and values in the app. Check the Proof checkbox to see the steps of a formal proof of the Chain Rule.