- Published on
- • 2 min read
Chain rule
- Authors
- Name
- Vincent Doan
- Socials
The chain rule is a fundamental concept in calculus that deals with the derivative of a composition of functions. If you have a function nested inside another function, the chain rule allows you to find the derivative of the whole composition.
Given two functions, and , and you want to find the derivative of their composition, i.e., , the chain rule states:
Here's a breakdown of how it works:
- Differentiate the outer function with respect to its variable (treating as the variable). This gives .
- Differentiate the inner function with respect to . This gives .
- Multiply these two derivatives together.
To illustrate, consider the function:
Here, is the inner function, and is the outer function.
Differentiating with respect to gives:
Differentiating with respect to gives:
Using the chain rule, the derivative of with respect to is:
In essence, the chain rule allows us to "peel off" layers of a function and differentiate each layer step by step, multiplying the results as we go. It's a powerful tool when dealing with nested or composite functions.