The Chain Rule
The Chain Rule is a fundamental technique in calculus that allows us to differentiate composite functions. A composite function is one in which one function is nested inside another. The Chain Rule helps us find the derivative of such functions by taking the derivative of the outer function and multiplying it by the derivative of the inner function.
The Chain Rule Formula
If you have a composite function f(x)=g(h(x)), where g is a function of h(x), and h(x) is a function of x, the Chain Rule states that the derivative of f(x) is:
f′(x)=g′(h(x))⋅h′(x)
This means you:
- Differentiate the outer function g with respect to its argument h(x).
- Multiply by the derivative of the inner function h(x).
Steps to Apply the Chain Rule:
- Identify the outer function g(x) and the inner function h(x).
- Differentiate the outer function g(x) with respect to h(x), leaving the inner function h(x) unchanged.
- Multiply this derivative by the derivative of the inner function h(x).
Example 1: Differentiating a Simple Composite Function
Let’s differentiate f(x)=sin(x2).
-
Identify the outer and inner functions:
- Outer function g(u)=sin(u), where u=x2.
- Inner function h(x)=x2.
-
Differentiate the outer function with respect to u:
dud(sin(u))=cos(u)
-
Differentiate the inner function with respect to x:
dxd(x2)=2x
-
Apply the Chain Rule:
f′(x)=cos(x2)⋅2x
So, the derivative of f(x)=sin(x2) is:
f′(x)=2xcos(x2)
Example 2: Differentiating a More Complex Function
Let’s differentiate f(x)=ln(3x2+5).
-
Identify the outer and inner functions:
- Outer function g(u)=ln(u), where u=3x2+5.
- Inner function h(x)=3x2+5.
-
Differentiate the outer function with respect to u:
dud(ln(u))=u1
-
Differentiate the inner function with respect to x:
dxd(3x2+5)=6x
-
Apply the Chain Rule:
f′(x)=3x2+51⋅6x
So, the derivative of f(x)=ln(3x2+5) is:
f′(x)=3x2+56x
Example 3: Chain Rule with Trigonometric Functions
Let’s differentiate f(x)=sin(5x3).
-
Identify the outer and inner functions:
- Outer function g(u)=sin(u), where u=5x3.
- Inner function h(x)=5x3.
-
Differentiate the outer function with respect to u:
dud(sin(u))=cos(u)
-
Differentiate the inner function with respect to x:
dxd(5x3)=15x2
-
Apply the Chain Rule:
f′(x)=cos(5x3)⋅15x2
So, the derivative of f(x)=sin(5x3) is:
f′(x)=15x2cos(5x3)
Example 4: Chain Rule with Exponential Functions
Let’s differentiate f(x)=e3x2+2x.
-
Identify the outer and inner functions:
- Outer function g(u)=eu, where u=3x2+2x.
- Inner function h(x)=3x2+2x.
-
Differentiate the outer function with respect to u:
dud(eu)=eu
-
Differentiate the inner function with respect to x:
dxd(3x2+2x)=6x+2
-
Apply the Chain Rule:
f′(x)=e3x2+2x⋅(6x+2)
So, the derivative of f(x)=e3x2+2x is:
f′(x)=(6x+2)e3x2+2x
Key Points to Remember
- The Chain Rule is used when differentiating a composite function, which is a function inside another function.
- The Chain Rule formula is: f′(x)=g′(h(x))⋅h′(x), where g(h(x)) is the composite function.
- Step-by-step approach:
- Differentiate the outer function with respect to the inner function.
- Multiply by the derivative of the inner function.
- Be mindful of nested functions, including polynomials, trigonometric functions, logarithms, and exponentials.
Summary of the Chain Rule:
- Composite Function: f(x)=g(h(x))
- Derivative: f′(x)=g′(h(x))⋅h′(x)
- Steps:
- Differentiate the outer function.
- Multiply by the derivative of the inner function.
- Application: The Chain Rule applies to a wide range of composite functions (including polynomials, trigonometric, logarithmic, and exponential functions).
By mastering the Chain Rule, you can differentiate complex functions that involve multiple layers of composition and relationships between functions.