Solved Exercises on Chain Rule Introduction in Differential Calculus

Master the chain rule for derivatives: detailed solutions, rules, methods, and key concepts for differential calculus students.

Solution: Exercises 1 to 3
1 Basic Chain Rule
Exercise 1
Find the derivative of:
\(f(x) = (x^2 + 1)^3\)
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^3\) and inner function \(h(x) = x^2 + 1\)
  2. Find the derivative of the outer function: \(g'(u) = 3u^2\)
  3. Find the derivative of the inner function: \(h'(x) = 2x\)
  4. Apply the chain rule: \(f'(x) = g'(h(x)) \cdot h'(x)\)
Original Function
\(f(x) = (x^2 + 1)^3\)
Outer Function
\(g(u) = u^3\)
Inner Function
\(h(x) = x^2 + 1\)
Step 1: Identify the composition

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

Step 2: Find the derivative of the outer function

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

Step 3: Find the derivative of the inner function

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

Step 4: Apply the chain rule

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

\(f'(x) = 6x(x^2 + 1)^2\)
Final answer:

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

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}\)

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

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

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

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

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}[2x] = 2\)

Step 4: Apply the chain rule

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

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

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

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\)

3 Trigonometric Chain Rule
Exercise 3
Find the derivative of:
\(h(x) = \sin(3x)\)
Definition:

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

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

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

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 inner function

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

Step 4: Apply the chain rule

\(h'(x) = g'(h(x)) \cdot h'(x) = \cos(3x) \cdot 3 = 3\cos(3x)\)

\(h'(x) = 3\cos(3x)\)
Final answer:

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

Applied rules:

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

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

Chain Rule Formula 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
Memory Aid
"derivative of the outside times derivative of the inside"
Mnemonic
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.
Common errors: Forgetting to multiply by the inner function's derivative, differentiating the outer function incorrectly, confusing which function is outer vs inner.
Exam preparation: Practice with various function combinations, memorize the formula, know when to apply it versus other rules.
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 Chain Rule
Exercise 4
Find the derivative of:
\(p(x) = \ln(x^2 + 1)\)
Definition:

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

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

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

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}[x^2 + 1] = 2x\)

Step 4: Apply the chain rule

\(p'(x) = g'(h(x)) \cdot h'(x) = \frac{1}{x^2 + 1} \cdot 2x = \frac{2x}{x^2 + 1}\)

\(p'(x) = \frac{2x}{x^2 + 1}\)
Final answer:

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

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}\)

5 Square Root Chain Rule
Exercise 5
Find the derivative of:
\(q(x) = \sqrt{4x + 3}\)
Definition:

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

Original Function
\(q(x) = \sqrt{4x + 3}\)
Rewrite
\(q(x) = (4x + 3)^{1/2}\)
Outer Function
\(g(u) = u^{1/2}\)
Inner Function
\(h(x) = 4x + 3\)
Step 1: Identify the composition

We have \(q(x) = \sqrt{4x + 3} = (4x + 3)^{1/2}\), which is a composite function with outer function \(g(u) = u^{1/2}\) and inner function \(h(x) = 4x + 3\)

Step 2: Find the derivative of the outer function

\(g'(u) = \frac{d}{du}[u^{1/2}] = \frac{1}{2}u^{-1/2} = \frac{1}{2\sqrt{u}}\)

Step 3: Find the derivative of the inner function

\(h'(x) = \frac{d}{dx}[4x + 3] = 4\)

Step 4: Apply the chain rule

\(q'(x) = g'(h(x)) \cdot h'(x) = \frac{1}{2\sqrt{4x + 3}} \cdot 4 = \frac{2}{\sqrt{4x + 3}}\)

\(q'(x) = \frac{2}{\sqrt{4x + 3}}\)
Final answer:

\(\frac{d}{dx}[\sqrt{4x + 3}] = \frac{2}{\sqrt{4x + 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}\)

Complete Guide: 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.
Unique Properties: The chain rule is fundamental in calculus as it allows differentiation of composite functions, which appear frequently in real-world applications.
Applications: Used in physics for rates of change, in economics for marginal analysis, in engineering for optimization, and in biology for growth models.
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: Chain Rule Applications
Exercise 6: Chain Rule Examples
Consider the following composite functions:
\(f_1(x) = (x^2 + 1)^3\)
\(f_2(x) = e^{2x}\)
\(f_3(x) = \sin(3x)\)

Analysis: The chart shows composite functions and their derivatives computed using the chain rule.

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

Questions & Answers

Question: How do I identify when to use the chain rule versus other differentiation rules?

Answer: Look for these patterns to identify when to use the chain rule:

Use Chain Rule When:

  • You have a function inside another function: \(f(g(x))\)
  • Expressions like \((...)^n\), \(\sqrt{...}\), \(e^{...}\), \(\ln(...)\), \(\sin(...)\), etc.
  • Functions composed together: \(\cos(x^2)\), \(\ln(x^3 + 1)\), \((2x + 1)^5\)

Use Other Rules When:

  • Functions multiplied together: \(f(x) \cdot g(x)\) → Product Rule
  • Functions divided: \(\frac{f(x)}{g(x)}\) → Quotient Rule
  • Functions added/subtracted: \(f(x) \pm g(x)\) → Sum/Difference Rules

The key is recognizing "nested" or "embedded" functions where one function operates on the result of another.

Question: Why do we multiply by the derivative of the inner function? Why isn't it just the derivative of the outer function?

Answer: This is a fundamental concept in calculus! The chain rule reflects how changes propagate through composite functions.

Think of it this way: If \(y = f(u)\) and \(u = g(x)\), then a small change in \(x\) causes a change in \(u\), which then causes a change in \(y\). The total rate of change of \(y\) with respect to \(x\) is the product of these two rates:

  • Rate of change of \(y\) with respect to \(u\): \(\frac{dy}{du} = f'(u)\)
  • Rate of change of \(u\) with respect to \(x\): \(\frac{du}{dx} = g'(x)\)
  • Total rate of change: \(\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}\)

For example, in \(f(x) = \sin(2x)\), the function changes twice as fast as \(\sin(x)\) because the inner function \(2x\) has a derivative of 2. That's why the answer is \(2\cos(2x)\) rather than just \(\cos(2x)\).

Question: Can the chain rule be applied multiple times in a single problem?

Answer: Absolutely! When you have a composition of three or more functions, you apply the chain rule repeatedly.

For example, if \(f(x) = \sin(e^{x^2})\), this is a triple composition: \(\sin\) of \(e\) of \(x^2\).

Working from outside to inside:

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

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

In general, for \(f(g(h(x)))\), the chain rule gives: \(f'(g(h(x))) \cdot g'(h(x)) \cdot h'(x)\)

The key is to systematically work from the outermost function to the innermost, multiplying all the derivatives together.

Question: Are there practical applications where the chain rule is particularly important?

Answer: The chain rule is essential in numerous real-world applications:

  • Physics: Finding rates of change in parametric equations, velocity and acceleration in curved paths
  • Engineering: Control systems, heat transfer, fluid dynamics where variables depend on other variables
  • Economics: Marginal analysis where utility or profit functions depend on multiple variables
  • Biology: Population models where growth rates depend on density-dependent factors
  • Chemistry: Reaction rates that depend on concentrations that change over time

For example, if temperature \(T\) depends on altitude \(h\), and altitude changes with time \(t\), then the rate of temperature change with time is \(\frac{dT}{dt} = \frac{dT}{dh} \cdot \frac{dh}{dt}\).

The chain rule allows us to understand how changes in one variable affect another through intermediate variables.

Question: How does the chain rule relate to implicit differentiation?

Answer: The chain rule is the foundation of implicit differentiation!

When differentiating implicitly, we treat \(y\) as a function of \(x\), so whenever we differentiate a term involving \(y\), we must apply the chain rule.

For example, if we have \(x^2 + y^2 = 1\) and differentiate both sides with respect to \(x\):

  • \(\frac{d}{dx}[x^2] = 2x\)
  • \(\frac{d}{dx}[y^2] = 2y \cdot \frac{dy}{dx}\) (using the chain rule!)
  • \(\frac{d}{dx}[1] = 0\)

This gives us: \(2x + 2y \cdot \frac{dy}{dx} = 0\), which we can solve for \(\frac{dy}{dx}\).

The chain rule is also crucial in partial differentiation when dealing with multivariable functions.