Chapter 7 Differential Calculus
Section 7.3 Calculation Rules7.3.4 Composition of Functions
Finally, we investigate composition of functions (see Module 6, Section 6.6.3): what happens if a function (the inner function) is substituted into another function (the outer function)? In mathematics, such a composition is denoted by with . That is, first the value of a function is determined depending on the variable . The value calculated this way is then used as an argument of the function . This results in the final function value .
Chain Rule 7.3.7
The derivative of the function with can be calculated applying the chain rule:
Here, the expression is considered in such a way that is a function of and thus, the derivative is taken with respect to ; then is evaluated for .
The following phrase is a useful summary: the derivative of a composite function is the product of the outer derivative and the inner derivative.
Here, the expression is considered in such a way that is a function of and thus, the derivative is taken with respect to ; then is evaluated for .
The following phrase is a useful summary: the derivative of a composite function is the product of the outer derivative and the inner derivative.
This differentiation rule shall be illustrated by a few examples.
Example 7.3.8
Find the derivative of the function with . To apply the chain rule, inner and outer functions must be identified. If we take the function as the inner function , then the outer function is given by . With this, we have the required form .
Taking the derivative of the inner function with respect to results in . For the outer derivative, the function is differentiated with respect to , which results in . Inserting these terms into the chain rule results in the derivative of the function with
As a second example, let's calculate the derivative of with . For the inner function the assignment and for the outer function the assignment is appropriate. Taking the inner and the outer derivative results in and . Inserting these terms into the chain rule results in the derivative of the function :
Taking the derivative of the inner function with respect to results in . For the outer derivative, the function is differentiated with respect to , which results in . Inserting these terms into the chain rule results in the derivative of the function with
As a second example, let's calculate the derivative of with . For the inner function the assignment and for the outer function the assignment is appropriate. Taking the inner and the outer derivative results in and . Inserting these terms into the chain rule results in the derivative of the function :