Solved Exercises on Chain Rule Practice with Composite Functions in Differential Calculus

Master chain rule practice with composite functions: detailed solutions, rules, methods, and key concepts for differential calculus students.

Solution: Exercises 1 to 3
1 Polynomial Composite Chain Rule
Exercise 1
Find the derivative of:
\(f(x) = (x^3 - 2x + 1)^4\)
Definition:

Chain Rule: If \(f(x) = g(h(x))\), then \(f'(x) = g'(h(x)) \cdot h'(x)\)

Method:
  1. Identify the outer function \(g(u) = u^4\) and inner function \(h(x) = x^3 - 2x + 1\)
  2. Find the derivative of the outer function: \(g'(u) = 4u^3\)
  3. Find the derivative of the inner function: \(h'(x) = 3x^2 - 2\)
  4. Apply the chain rule: \(f'(x) = g'(h(x)) \cdot h'(x)\)
Original Function
\(f(x) = (x^3 - 2x + 1)^4\)
Outer Function
\(g(u) = u^4\)
Inner Function
\(h(x) = x^3 - 2x + 1\)
Step 1: Identify the composition

We have \(f(x) = (x^3 - 2x + 1)^4\), which is a composite function with outer function \(g(u) = u^4\) and inner function \(h(x) = x^3 - 2x + 1\)

Step 2: Find the derivative of the outer function

\(g'(u) = \frac{d}{du}[u^4] = 4u^3\)

Step 3: Find the derivative of the inner function

\(h'(x) = \frac{d}{dx}[x^3 - 2x + 1] = 3x^2 - 2\)

Step 4: Apply the chain rule

\(f'(x) = g'(h(x)) \cdot h'(x) = 4(x^3 - 2x + 1)^3 \cdot (3x^2 - 2)\)

Step 5: Write the final answer

\(f'(x) = 4(3x^2 - 2)(x^3 - 2x + 1)^3\)

\(f'(x) = 4(3x^2 - 2)(x^3 - 2x + 1)^3\)
Final answer:

\(\frac{d}{dx}[(x^3 - 2x + 1)^4] = 4(3x^2 - 2)(x^3 - 2x + 1)^3\)

Applied rules:

• Chain Rule: \(\frac{d}{dx}[g(h(x))] = g'(h(x)) \cdot h'(x)\)

• Power Rule: \(\frac{d}{dx}[x^n] = nx^{n-1}\)

• Sum Rule: \(\frac{d}{dx}[u + v] = u' + v'\)

2 Exponential Composite Chain Rule
Exercise 2
Find the derivative of:
\(g(x) = e^{x^2 - 3x}\)
Definition:

Chain Rule: If \(f(x) = g(h(x))\), then \(f'(x) = g'(h(x)) \cdot h'(x)\)

Original Function
\(g(x) = e^{x^2 - 3x}\)
Outer Function
\(g(u) = e^u\)
Inner Function
\(h(x) = x^2 - 3x\)
Step 1: Identify the composition

We have \(g(x) = e^{x^2 - 3x}\), which is a composite function with outer function \(g(u) = e^u\) and inner function \(h(x) = x^2 - 3x\)

Step 2: Find the derivative of the outer function

\(g'(u) = \frac{d}{du}[e^u] = e^u\)

Step 3: Find the derivative of the inner function

\(h'(x) = \frac{d}{dx}[x^2 - 3x] = 2x - 3\)

Step 4: Apply the chain rule

\(g'(x) = g'(h(x)) \cdot h'(x) = e^{x^2 - 3x} \cdot (2x - 3)\)

Step 5: Write the final answer

\(g'(x) = (2x - 3)e^{x^2 - 3x}\)

\(g'(x) = (2x - 3)e^{x^2 - 3x}\)
Final answer:

\(\frac{d}{dx}[e^{x^2 - 3x}] = (2x - 3)e^{x^2 - 3x}\)

Applied rules:

• Chain Rule: \(\frac{d}{dx}[g(h(x))] = g'(h(x)) \cdot h'(x)\)

• Exponential Rule: \(\frac{d}{dx}[e^x] = e^x\)

• Power Rule: \(\frac{d}{dx}[x^n] = nx^{n-1}\)

3 Trigonometric Composite Chain Rule
Exercise 3
Find the derivative of:
\(h(x) = \cos(x^2 + 1)\)
Definition:

Chain Rule: If \(f(x) = g(h(x))\), then \(f'(x) = g'(h(x)) \cdot h'(x)\)

Original Function
\(h(x) = \cos(x^2 + 1)\)
Outer Function
\(g(u) = \cos(u)\)
Inner Function
\(h(x) = x^2 + 1\)
Step 1: Identify the composition

We have \(h(x) = \cos(x^2 + 1)\), which is a composite function with outer function \(g(u) = \cos(u)\) and inner function \(h(x) = x^2 + 1\)

Step 2: Find the derivative of the outer function

\(g'(u) = \frac{d}{du}[\cos(u)] = -\sin(u)\)

Step 3: Find the derivative of the inner function

\(h'(x) = \frac{d}{dx}[x^2 + 1] = 2x\)

Step 4: Apply the chain rule

\(h'(x) = g'(h(x)) \cdot h'(x) = -\sin(x^2 + 1) \cdot 2x\)

Step 5: Write the final answer

\(h'(x) = -2x\sin(x^2 + 1)\)

\(h'(x) = -2x\sin(x^2 + 1)\)
Final answer:

\(\frac{d}{dx}[\cos(x^2 + 1)] = -2x\sin(x^2 + 1)\)

Applied rules:

• Chain Rule: \(\frac{d}{dx}[g(h(x))] = g'(h(x)) \cdot h'(x)\)

• Trigonometric Rule: \(\frac{d}{dx}[\cos(x)] = -\sin(x)\)

• Power Rule: \(\frac{d}{dx}[x^n] = nx^{n-1}\)

Advanced Chain Rule Techniques and Applications
\(\frac{d}{dx}[g(h(x))] = g'(h(x)) \cdot h'(x)\)
Chain Rule
Leibniz Notation
\(\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}\)
Substitution Form
Function Form
\([f(g(x))]' = f'(g(x)) \cdot g'(x)\)
Composite Form
Multiple Composition
\([f(g(h(x)))]' = f'(g(h(x))) \cdot g'(h(x)) \cdot h'(x)\)
Triple Composition
Key definitions:

Composite Function: A function formed by applying one function to the result of another: \(f(g(x))\).

Chain Rule: A formula for computing the derivative of the composition of two or more functions.

Outer Function: The function applied last in the composition.

Inner Function: The function applied first in the composition.

Advanced methodology:
  1. Identify the composition structure: Determine how many functions are nested.
  2. Separate into layers: Work from outermost to innermost function.
  3. Differentiate each layer: Apply appropriate rule for each function type.
  4. Multiply the derivatives: Combine all derivatives according to the chain rule.
  5. Simplify: Combine like terms and factor if possible.
Tip 1: Always start from the outermost function and work inward.
Tip 2: For multiple compositions, multiply all derivatives together.
Tip 3: Keep track of what each derivative is evaluated at.
Tip 4: Practice with various function combinations to build intuition.
Common errors: Forgetting to multiply by inner function derivatives, misidentifying outer vs inner functions, applying incorrect differentiation rules.
Advanced applications: Implicit differentiation, parametric equations, related rates, and optimization problems.
Related formulas:

• Product Rule: \(\frac{d}{dx}[uv] = u'v + uv'\)

• Quotient Rule: \(\frac{d}{dx}\left[\frac{u}{v}\right] = \frac{u'v - uv'}{v^2}\)

• Power Rule: \(\frac{d}{dx}[x^n] = nx^{n-1}\)

• Sum Rule: \((u + v)' = u' + v'\)

Solution: Exercises 4 to 5
4 Logarithmic Composite Chain Rule
Exercise 4
Find the derivative of:
\(p(x) = \ln(\sin(x))\)
Definition:

Chain Rule: If \(f(x) = g(h(x))\), then \(f'(x) = g'(h(x)) \cdot h'(x)\)

Original Function
\(p(x) = \ln(\sin(x))\)
Outer Function
\(g(u) = \ln(u)\)
Inner Function
\(h(x) = \sin(x)\)
Step 1: Identify the composition

We have \(p(x) = \ln(\sin(x))\), which is a composite function with outer function \(g(u) = \ln(u)\) and inner function \(h(x) = \sin(x)\)

Step 2: Find the derivative of the outer function

\(g'(u) = \frac{d}{du}[\ln(u)] = \frac{1}{u}\)

Step 3: Find the derivative of the inner function

\(h'(x) = \frac{d}{dx}[\sin(x)] = \cos(x)\)

Step 4: Apply the chain rule

\(p'(x) = g'(h(x)) \cdot h'(x) = \frac{1}{\sin(x)} \cdot \cos(x)\)

Step 5: Simplify the expression

\(p'(x) = \frac{\cos(x)}{\sin(x)} = \cot(x)\)

\(p'(x) = \cot(x)\)
Final answer:

\(\frac{d}{dx}[\ln(\sin(x))] = \cot(x)\)

Applied rules:

• Chain Rule: \(\frac{d}{dx}[g(h(x))] = g'(h(x)) \cdot h'(x)\)

• Logarithmic Rule: \(\frac{d}{dx}[\ln(x)] = \frac{1}{x}\)

• Trigonometric Rule: \(\frac{d}{dx}[\sin(x)] = \cos(x)\)

5 Nested Composite Chain Rule
Exercise 5
Find the derivative of:
\(q(x) = \sin(e^{x^2})\)
Definition:

Chain Rule: If \(f(x) = g(h(x))\), then \(f'(x) = g'(h(x)) \cdot h'(x)\)

Original Function
\(q(x) = \sin(e^{x^2})\)
Outer Function
\(g(u) = \sin(u)\)
Middle Function
\(h(v) = e^v\)
Inner Function
\(k(x) = x^2\)
Step 1: Identify the composition

We have \(q(x) = \sin(e^{x^2})\), which is a triple composite function: \(\sin\) of \(e\) of \(x^2\)

Step 2: Find the derivative of the outer function

\(g'(u) = \frac{d}{du}[\sin(u)] = \cos(u)\)

Step 3: Find the derivative of the middle function

\(h'(v) = \frac{d}{dv}[e^v] = e^v\)

Step 4: Find the derivative of the inner function

\(k'(x) = \frac{d}{dx}[x^2] = 2x\)

Step 5: Apply the chain rule for multiple compositions

\(q'(x) = g'(h(k(x))) \cdot h'(k(x)) \cdot k'(x)\)

\(q'(x) = \cos(e^{x^2}) \cdot e^{x^2} \cdot 2x\)

Step 6: Write the final answer

\(q'(x) = 2x e^{x^2} \cos(e^{x^2})\)

\(q'(x) = 2x e^{x^2} \cos(e^{x^2})\)
Final answer:

\(\frac{d}{dx}[\sin(e^{x^2})] = 2x e^{x^2} \cos(e^{x^2})\)

Applied rules:

• Chain Rule: \(\frac{d}{dx}[g(h(k(x)))] = g'(h(k(x))) \cdot h'(k(x)) \cdot k'(x)\)

• Trigonometric Rule: \(\frac{d}{dx}[\sin(x)] = \cos(x)\)

• Exponential Rule: \(\frac{d}{dx}[e^x] = e^x\)

Complete Guide: Advanced Chain Rule and Key Concepts
\(\frac{d}{dx}[g(h(x))] = g'(h(x)) \cdot h'(x)\)
Chain Rule Formula
Key definitions:

Composite Function: A function formed by applying one function to the result of another: \(f(g(x))\).

Chain Rule: A formula for computing the derivative of the composition of two or more functions.

Outer Function: The function applied last in the composition.

Inner Function: The function applied first in the composition.

Complete methodology:
  1. Identify the composition: Look for nested functions.
  2. Separate into outer and inner functions: Determine what function is applied last.
  3. Differentiate the outer function: Keep the inner function intact.
  4. Differentiate the inner function: Apply standard differentiation rules.
  5. Multiply the results: Combine the derivatives according to the chain rule.
Tip 1: Think of it as peeling layers of an onion - work from outside to inside.
Tip 2: The derivative of the outer function is evaluated at the inner function.
Tip 3: Don't forget to multiply by the derivative of the inner function!
Tip 4: Practice recognizing composite functions in various forms.
Advanced Properties: The chain rule is fundamental in calculus as it allows differentiation of composite functions, which appear frequently in real-world applications.
Higher Order Chain Rule: For \(f(g(x))\), the second derivative is \(f''(g(x))[g'(x)]^2 + f'(g(x))g''(x)\).
Related formulas to know:

• Basic Chain Rule: \(\frac{d}{dx}[g(h(x))] = g'(h(x)) \cdot h'(x)\)

• Power Chain Rule: \(\frac{d}{dx}[f(x)]^n = n[f(x)]^{n-1} \cdot f'(x)\)

• Exponential Chain Rule: \(\frac{d}{dx}[e^{f(x)}] = e^{f(x)} \cdot f'(x)\)

• Trigonometric Chain Rule: \(\frac{d}{dx}[\sin(f(x))] = \cos(f(x)) \cdot f'(x)\)

Exercise with Visualization: Advanced Chain Rule Examples
Exercise 6: Complex Composite Functions
Consider the following complex composite functions:
\(f_1(x) = (x^3 - 2x + 1)^4\)
\(f_2(x) = e^{x^2 - 3x}\)
\(f_3(x) = \cos(x^2 + 1)\)

Analysis: The chart shows complex composite functions and their derivatives computed using advanced chain rule techniques.

  • \(f_1(x) = (x^3 - 2x + 1)^4 \rightarrow f_1'(x) = 4(3x^2 - 2)(x^3 - 2x + 1)^3\)
  • \(f_2(x) = e^{x^2 - 3x} \rightarrow f_2'(x) = (2x - 3)e^{x^2 - 3x}\)
  • \(f_3(x) = \cos(x^2 + 1) \rightarrow f_3'(x) = -2x\sin(x^2 + 1)\)

Questions & Answers

Question: How do I handle composite functions with multiple layers? When do I stop applying the chain rule?

Answer: For composite functions with multiple layers, you apply the chain rule repeatedly until you reach the innermost function:

For a function like \(f(g(h(x)))\), the chain rule gives: \(f'(g(h(x))) \cdot g'(h(x)) \cdot h'(x)\)

For \(\sin(e^{x^2})\), you have three layers:

  • Outer: \(\sin(u)\) → derivative is \(\cos(u)\)
  • Middle: \(e^v\) → derivative is \(e^v\)
  • Inner: \(x^2\) → derivative is \(2x\)

The result is: \(\cos(e^{x^2}) \cdot e^{x^2} \cdot 2x\)

You stop when you reach a function that can be differentiated directly using basic rules (not composite).

Question: What happens when I have a composite function multiplied by another function? Do I use the product rule and chain rule together?

Answer: Yes, you'll often need to combine the product rule and chain rule!

For example, if you have \(f(x) = x^2 \cdot \sin(x^3)\), you have:

  • A product of two functions: \(u(x) = x^2\) and \(v(x) = \sin(x^3)\)
  • The second function \(v(x) = \sin(x^3)\) is composite and needs the chain rule

First, apply the product rule: \(f'(x) = u'(x)v(x) + u(x)v'(x)\)

Then, for \(v'(x)\), apply the chain rule: \(\frac{d}{dx}[\sin(x^3)] = \cos(x^3) \cdot 3x^2\)

So: \(f'(x) = 2x \cdot \sin(x^3) + x^2 \cdot \cos(x^3) \cdot 3x^2 = 2x\sin(x^3) + 3x^4\cos(x^3)\)

Identify the primary operation first, then apply appropriate rules as needed.

Question: How does the chain rule work with inverse functions?

Answer: The chain rule is fundamental to differentiating inverse functions!

If \(y = f(x)\) and \(x = f^{-1}(y)\), then by the chain rule:

\(\frac{d}{dx}[f(f^{-1}(x))] = \frac{d}{dx}[x] = 1\)

Using the chain rule: \(f'(f^{-1}(x)) \cdot \frac{d}{dx}[f^{-1}(x)] = 1\)

Therefore: \(\frac{d}{dx}[f^{-1}(x)] = \frac{1}{f'(f^{-1}(x))}\)

For example, for the inverse sine function: \(\frac{d}{dx}[\arcsin(x)] = \frac{1}{\cos(\arcsin(x))} = \frac{1}{\sqrt{1-x^2}}\)

This shows how the chain rule connects a function and its inverse.

Question: Are there practical applications where I might encounter complex composite functions requiring the chain rule?

Answer: Complex composite functions appear frequently in real-world applications:

  • Physics: Wave functions \(\sin(kx - \omega t)\), where both position and time are involved
  • Engineering: Control systems with feedback loops creating nested functions
  • Economics: Utility functions depending on consumption functions that depend on income
  • Biology: Population models where growth rates depend on density-dependent factors
  • Finance: Compound interest with continuously changing interest rates

For example, if temperature varies with altitude, and altitude changes with time, the temperature as a function of time involves a composite function that requires the chain rule to differentiate.

Question: How does the chain rule relate to partial derivatives?

Answer: The chain rule is fundamental in multivariable calculus for partial derivatives!

For a function \(z = f(x, y)\) where both \(x\) and \(y\) depend on \(t\), the total derivative is:

\(\frac{dz}{dt} = \frac{\partial f}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial f}{\partial y} \cdot \frac{dy}{dt}\)

This is essentially an extension of the chain rule to multiple variables. Each path from the dependent variable to the independent variable contributes to the total rate of change.

For example, if \(z = x^2y\) where \(x = \sin(t)\) and \(y = \cos(t)\), then:

  • \(\frac{\partial z}{\partial x} = 2xy\), \(\frac{dx}{dt} = \cos(t)\)
  • \(\frac{\partial z}{\partial y} = x^2\), \(\frac{dy}{dt} = -\sin(t)\)

So \(\frac{dz}{dt} = 2xy \cdot \cos(t) + x^2 \cdot (-\sin(t))\)