1 / 5100%
Study Notes: Derivatives of Composite Functions
I. Introduction to Composite Functions
Definition: A composite function is a function formed by applying one function to the result
of another function. It's essentially a "function of a function."
Structure: Think of it as "functions within functions."
Example: Consider the function f(x) = sin(x^2). Here, the sine function is applied to
the result of the function x^2.
Formal Definition:
Let f and g be functions. The composite function, denoted as f(g(x)) or (f g)(x), is
defined as applying g to x first, and then applying f to the result g(x).
Domain and Range: The domain of f(g(x)) is the set of all x in the domain of g such that
g(x) is in the domain of f.
Components of a Composite Function:
Inner Function (or Intermediate Variable): The function that is applied first (e.g., g(x) in
f(g(x))). This is often considered the "inside" function.
Outer Function: The function that is applied to the result of the inner function (e.g., f(x)
in f(g(x))). This is the "outside" function.
Independent Variable: The variable that is input into the inner function (e.g., x).
Dependent Variable: The final output of the composite function (e.g., f(g(x))).
Examples:
y = sin(x^2): Inner function: g(x) = x^2; Outer function: f(u) = sin(u) (where u = g(x))
y = ln(3x + 1): Inner function: g(x) = 3x + 1; Outer function: f(u) = ln(u)
y = e^(cos(x)): Inner function: g(x) = cos(x); Outer function: f(u) = e^u
Multi-Layered Composites: Composite functions can have multiple layers of nesting.
Example: y = sin(√(x^2 + 1)) This has three layers: x^2 + 1, the square root, and the sine
function.
II. The Chain Rule: The Core of Composite Function Differentiation
The Essence: The chain rule provides a method for differentiating composite functions. It
states that the derivative of a composite function is the product of the derivatives of the outer
and inner functions.
Intuitive Understanding: Think of it as "peeling back the layers" of the composite function,
differentiating each layer in turn, and multiplying the results.
Mathematical Formulation:
If y = f(u) and u = g(x), and both f and g are differentiable, then:
dy/dx = (dy/du) (du/dx)
This means the derivative of y with respect to x is equal to the derivative of y with
respect to u, multiplied by the derivative of u with respect to x.
Chain Rule for Multiple Layers:
For a composite function with multiple layers, the chain rule extends:
If y = f(z), z = g(u), and u = h(x), then:
dy/dx = (dy/dz) (dz/du) (du/dx)
You multiply the derivatives of each layer, working from the outermost to the
innermost function.
Key Steps in Applying the Chain Rule:
1. Decomposition: Break down the composite function into its component functions (inner,
outer, and any intermediate layers). Identify the intermediate variables.
2. Differentiation of Each Layer: Find the derivative of each component function with
respect to its own variable.
3. Multiplication: Multiply the derivatives of all the layers together.
4. Substitution (Back-Substitution): Replace the intermediate variables with their original
expressions in terms of the independent variable (x). Simplify the result.
III. Differentiation Examples: Different Types of Composite Functions
1. Power Function Composite (e.g., (g(x))^n)
Example: Find the derivative of y = (x^2 + 1)^3
Decomposition:
Inner function: u = g(x) = x^2 + 1
Outer function: y = u^3
Differentiation:
du/dx = 2x
dy/du = 3u^2
Multiplication:
dy/dx = (dy/du) (du/dx) = 3u^2 2x = 6xu^2
Back-Substitution:
dy/dx = 6x(x^2 + 1)^2
2. Exponential Function Composite (e.g., e^(g(x)))
Example: Find the derivative of y = e^(sin(x))
Decomposition:
Inner function: u = g(x) = sin(x)
Outer function: y = e^u
Differentiation:
du/dx = cos(x)
dy/du = e^u
Multiplication:
dy/dx = (dy/du) (du/dx) = e^u cos(x)
Back-Substitution:
dy/dx = e^(sin(x)) cos(x)
3. Logarithmic Function Composite (e.g., ln(g(x)))
Example: Find the derivative of y = ln(x^2 + 4)
Decomposition:
Inner function: u = g(x) = x^2 + 4
Outer function: y = ln(u)
Differentiation:
du/dx = 2x
dy/du = 1/u
Multiplication:
dy/dx = (dy/du) (du/dx) = (1/u) 2x = 2x/u
Back-Substitution:
dy/dx = 2x / (x^2 + 4)
4. Trigonometric Function Composite (e.g., sin(g(x)), cos(g(x)), tan(g(x)))
Example: Find the derivative of y = cos(3x)
Decomposition:
Inner function: u = g(x) = 3x
Outer function: y = cos(u)
Differentiation:
du/dx = 3
dy/du = -sin(u)
Multiplication:
dy/dx = (dy/du) (du/dx) = -sin(u) 3 = -3sin(u)
Back-Substitution:
dy/dx = -3sin(3x)
Example: Find the derivative of y = tan(x^2)
Decomposition:
Inner function: u = g(x) = x^2
Outer function: y = tan(u)
Differentiation:
du/dx = 2x
dy/du = sec^2(u)
Multiplication:
dy/dx = (dy/du) (du/dx) = sec^2(u) 2x = 2xsec^2(u)
Back-Substitution:
dy/dx = 2xsec^2(x^2)
5. Combining Multiple Rules
Example: Find the derivative of y = e^(x^2 + 1)
This combines the exponential and power function rules.
Decomposition:
Inner function: u = x^2 + 1
Outer function: y = e^u
Differentiation:
du/dx = 2x
dy/du = e^u
Multiplication:
dy/dx = (dy/du) (du/dx) = e^u 2x = 2xe^u
Back-Substitution:
dy/dx = 2xe^(x^2 + 1)
IV. Common Mistakes and Tips for Success
1. Common Errors:
Missing a Layer: Forgetting to differentiate one of the layers in a multi-layered composite
function.
Example: In y = sin(x^2), incorrectly stating dy/dx = cos(x^2) (missing the derivative of
x^2).
Confusing Inner and Outer Derivatives: Incorrectly applying the derivative of the inner
function to the intermediate variable.
Example: In y = (x^2 + 1)^3, incorrectly calculating the derivative as 3x^2(x^2 +
1)^2 (instead of 6x(x^2 + 1)^2).
Incorrect Formula Application: Using the wrong derivative formula for the outer
function.
Example: Confusing the derivative of e^x with the derivative of x^n.
Sign Errors: Making mistakes with signs, especially when differentiating trigonometric
functions.
Example: Forgetting the negative sign when differentiating cos(x).
2. Helpful Techniques:
Prioritize Decomposition: Always start by clearly identifying the inner and outer
functions, and any intermediate variables. Write them down explicitly.
Memorize Basic Derivatives: Master the derivatives of power functions, exponential
functions, logarithmic functions, and trigonometric functions. This is fundamental.
Work "Outside-In": When dealing with multiple layers, start differentiating from the
outermost function and work your way inwards. This helps ensure you don't miss any layers.
Simplify After Differentiation: Use algebraic manipulation and trigonometric identities
to simplify the final result. This makes the answer easier to understand and use.
Practice, Practice, Practice: The chain rule requires practice. Work through many
examples of different types of composite functions to build proficiency.
Use Notation Consistently: Clearly label your variables and derivatives to avoid
confusion.
Check Your Work: If possible, use a graphing calculator or online derivative calculator
to verify your answers.
V. Practice Problems
1. Power Function: Find the derivative of y = (2x - 5)^4
2. Exponential Function: Find the derivative of y = e^(3x)
3. Logarithmic Function: Find the derivative of y = ln(5x + 2)
4. Trigonometric Function: Find the derivative of y = sin(4x)
5. Combined Functions: Find the derivative of y = cos(x^3)
6. More Complex: Find the derivative of y = √(x^2 + 2x)
7. Multi-Layered: Find the derivative of y = e^(sin(2x))
8. Power Function with a Trigonometric Function: Find the derivative of y = (cos(x))^2
9. Logarithmic with a Power Function: Find the derivative of y = ln(x^4 + 1)
10. Exponential with a Logarithmic Function: Find the derivative of y = e^(ln(x))
Solutions to Practice Problems:
1. dy/dx = 8(2x - 5)^3
2. dy/dx = 3e^(3x)
3. dy/dx = 5/(5x + 2)
4. dy/dx = 4cos(4x)
5. dy/dx = -3x^2sin(x^3)
6. dy/dx = (2x + 2) / (2√(x^2 + 2x)) = (x+1)/√(x^2+2x)
7. dy/dx = 2cos(2x)e^(sin(2x))
8. dy/dx = -2cos(x)sin(x)
9. dy/dx = 4x^3 / (x^4 + 1)
10. dy/dx = 1/x
VI. Conclusion
The chain rule is a fundamental concept in calculus, enabling the differentiation of a wide variety
of functions. Mastering the chain rule, along with the derivatives of basic functions, is crucial for
success in calculus and related fields. By understanding the concept, practicing regularly, and
avoiding common pitfalls, you can confidently differentiate composite functions and build a
strong foundation for further calculus studies. Remember to always break down the function,
differentiate each layer, and apply the chain rule systematically.
Students also viewed