Composite Functions
In a composite function, the output of one function becomes the input of another. If is the inner function and is the outer function, their composition is .
The chain rule tells us how to differentiate this nested structure without losing the effect of the inner function.
The Chain Rule Theorem
The inner function stays inside the outer function, so the derivative of the composite function multiplies two rates that act in sequence.
If , with differentiable at and differentiable at , then the derivative is the derivative of the outer function evaluated at the inner function, multiplied by the derivative of the inner function.
Formally, if we let , then . Its derivative is defined as:
This is the chain rule. Work from the outermost layer inward, keep each inner expression in place until its turn, and multiply the derivatives.
Applying the Chain Rule
The following examples show how the same process works with two and three layers. In each one, name the outer function and the inner function before differentiating, because the chain rule multiplies the outer derivative by the inner derivative.
Power Form Functions
Find the first derivative of .
Solution:
First, we need to break this function down into two parts: an outer function and an inner function.
- Inner function () is the expression inside the parentheses: .
- Outer function () is the power operation: .
Next, we find the derivative of each function:
- Derivative of the inner function: .
- Derivative of the outer function: .
Now, we can combine them using the chain rule:
Finally, we substitute back in and simplify the expression:
Trigonometric Functions
Find the first derivative of .
Solution:
We can rewrite this function as . This is a case where we need to apply the chain rule more than once because there are three layers of functions.
- Innermost function:
- Middle function:
- Outermost function:
Then, we differentiate each layer:
- Derivative of the outermost function:
- Derivative of the middle function:
- Derivative of the innermost function:
Combine them all using the chain rule:
Now, substitute and back in step-by-step to get the final result:
Exercises
Each problem nests one function inside another, so the chain rule is needed. Identify the outer and the inner function before differentiating.
- Find the first derivative of .
- Find the first derivative of .
Answer Key
-
Solution for
Step 1: Identify the functions
- Inner function:
- Outer function:
Step 2: Find the derivative of each
Step 3: Combine with the chain rule
Step 4: Don't forget to substitute back
-
Solution for
This function is . We'll use the multi-layered chain rule.
Step 1: Identify the functions
- Innermost function:
- Middle function:
- Outermost function:
Step 2: Find the derivative of each
Step 3: Combine with the chain rule
Step 4: Substitute back and simplify