Solved Exercises on Chain Rule Introduction in Calculus 1

Master the chain rule: composite function differentiation, nested derivatives, and advanced applications through these 5 detailed exercises.

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

Chain Rule: If \(y = f(g(x))\), then \(\frac{dy}{dx} = f'(g(x)) \cdot g'(x)\)

Chain rule method:
  1. Identify the outer function and inner function
  2. Find the derivative of the outer function
  3. Find the derivative of the inner function
  4. Multiply the results together
Original
\(f(x) = (3x + 2)^4\)
Outer: \(u^4\)
\(4u^3\)
Inner: \(3x+2\)
\(3\)
Result
\(12(3x+2)^3\)
Step 1: Identify outer and inner functions

Outer function: \(u^4\) where \(u = 3x + 2\)
Inner function: \(g(x) = 3x + 2\)

Step 2: Find derivative of outer function

\(\frac{d}{du}(u^4) = 4u^3\)
So \(f'(u) = 4u^3\)

Step 3: Find derivative of inner function

\(\frac{d}{dx}(3x + 2) = 3\)
So \(g'(x) = 3\)

Step 4: Apply chain rule

\(f'(x) = f'(g(x)) \cdot g'(x) = 4(3x + 2)^3 \cdot 3 = 12(3x + 2)^3\)

\(f'(x) = 12(3x + 2)^3\)
Final answer:

\(f'(x) = 12(3x + 2)^3\)

Applied rules:

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

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

• Constant Multiple Rule: \(\frac{d}{dx}[cf(x)] = c \cdot f'(x)\)

2 Trigonometric Chain Rule
Exercise 2
Find the derivative of:
\(f(x) = \sin(5x^2 + 3x)\)
Definition:

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

Original
\(f(x) = \sin(5x^2 + 3x)\)
Outer: \(\sin(u)\)
\(\cos(u)\)
Inner: \(5x^2+3x\)
\(10x+3\)
Result
\((10x+3)\cos(5x^2+3x)\)
Step 1: Identify outer and inner functions

Outer function: \(\sin(u)\) where \(u = 5x^2 + 3x\)
Inner function: \(g(x) = 5x^2 + 3x\)

Step 2: Find derivative of outer function

\(\frac{d}{du}[\sin(u)] = \cos(u)\)
So the derivative of the outer function is \(\cos(u)\)

Step 3: Find derivative of inner function

\(\frac{d}{dx}(5x^2 + 3x) = 10x + 3\)
So \(g'(x) = 10x + 3\)

Step 4: Apply chain rule

\(f'(x) = \cos(5x^2 + 3x) \cdot (10x + 3) = (10x + 3)\cos(5x^2 + 3x)\)

\(f'(x) = (10x + 3)\cos(5x^2 + 3x)\)
Final answer:

\(f'(x) = (10x + 3)\cos(5x^2 + 3x)\)

Applied rules:

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

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

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

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

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

Original
\(f(x) = e^{2x^3 - x}\)
Outer: \(e^u\)
\(e^u\)
Inner: \(2x^3-x\)
\(6x^2-1\)
Result
\((6x^2-1)e^{2x^3-x}\)
Step 1: Identify outer and inner functions

Outer function: \(e^u\) where \(u = 2x^3 - x\)
Inner function: \(g(x) = 2x^3 - x\)

Step 2: Find derivative of outer function

\(\frac{d}{du}[e^u] = e^u\)
So the derivative of the outer function is \(e^u\)

Step 3: Find derivative of inner function

\(\frac{d}{dx}(2x^3 - x) = 6x^2 - 1\)
So \(g'(x) = 6x^2 - 1\)

Step 4: Apply chain rule

\(f'(x) = e^{2x^3 - x} \cdot (6x^2 - 1) = (6x^2 - 1)e^{2x^3 - x}\)

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

\(f'(x) = (6x^2 - 1)e^{2x^3 - x}\)

Applied rules:

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

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

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

Chain Rule Fundamentals
\(\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)\)
Chain Rule Formula
Power Rule
\(\frac{d}{dx}[u^n] = nu^{n-1} \cdot u'\)
Chain rule for powers
Trigonometric
\(\frac{d}{dx}[\sin(u)] = \cos(u) \cdot u'\)
Chain rule for sine
Exponential
\(\frac{d}{dx}[e^u] = e^u \cdot u'\)
Chain rule for exponential
Key definitions:

Composite Function: A function formed by applying one function to the result of another

Outer Function: The "outside" function in a composite function

Inner Function: The "inside" function in a composite function

Chain Rule: The rule for differentiating composite functions

Chain Rule Methodology:
  1. Identify: Recognize the composite function structure
  2. Separate: Determine outer and inner functions
  3. Differentiate: Find derivatives of both functions
  4. Multiply: Apply the chain rule formula
  5. Simplify: Reduce to simplest form
Tip 1: Always identify the outermost function first.
Tip 2: Don't forget to multiply by the derivative of the inner function.
Tip 3: Look for functions inside parentheses, exponents, or under radicals.
Tip 4: The chain rule can be applied multiple times for complex compositions.
Common errors: Forgetting the inner derivative, misidentifying outer/inner functions, incorrect differentiation of basic functions.
Exam preparation: Practice with various function types (trig, exp, log), recognize when chain rule is needed, master basic derivatives.
Essential formulas:

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

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

• Trig with Chain: \(\frac{d}{dx}[\sin(u)] = \cos(u) \cdot u'\)

• Exp with Chain: \(\frac{d}{dx}[e^u] = e^u \cdot u'\)

• Log with Chain: \(\frac{d}{dx}[\ln(u)] = \frac{1}{u} \cdot u'\)

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

Nested Chain Rule: When there are multiple layers of composition, apply the chain rule repeatedly.

Original
\(f(x) = \sin^3(2x^2 + 1)\)
Layer 1: \(u^3\)
\(3u^2\)
Layer 2: \(\sin(v)\)
\(\cos(v)\)
Layer 3: \(2x^2+1\)
\(4x\)
Step 1: Identify the layers

This function has three layers: \(\sin^3(2x^2 + 1) = [(\sin(2x^2 + 1))^3]\)

Outer layer: \(u^3\) where \(u = \sin(2x^2 + 1)\)

Middle layer: \(\sin(v)\) where \(v = 2x^2 + 1\)

Inner layer: \(w = 2x^2 + 1\)

Step 2: Differentiate each layer

Outer: \(\frac{d}{du}[u^3] = 3u^2\)

Middle: \(\frac{d}{dv}[\sin(v)] = \cos(v)\)

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

Step 3: Apply the chain rule

\(f'(x) = 3[\sin(2x^2 + 1)]^2 \cdot \cos(2x^2 + 1) \cdot 4x\)

\(f'(x) = 12x\sin^2(2x^2 + 1)\cos(2x^2 + 1)\)

\(f'(x) = 12x\sin^2(2x^2 + 1)\cos(2x^2 + 1)\)
Final answer:

\(f'(x) = 12x\sin^2(2x^2 + 1)\cos(2x^2 + 1)\)

Applied rules:

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

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

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

5 Radical Chain Rule
Exercise 5
Find the derivative of:
\(f(x) = \sqrt{4x^3 - 2x + 1}\)
Definition:

Radical Chain Rule: Rewrite radicals as fractional powers: \(\sqrt{u} = u^{1/2}\)

Original
\(f(x) = \sqrt{4x^3 - 2x + 1}\)
Rewrite
\((4x^3-2x+1)^{1/2}\)
Outer: \(u^{1/2}\)
\(\frac{1}{2}u^{-1/2}\)
Inner: \(4x^3-2x+1\)
\(12x^2-2\)
Step 1: Rewrite the radical

\(\sqrt{4x^3 - 2x + 1} = (4x^3 - 2x + 1)^{1/2}\)

Step 2: Identify outer and inner functions

Outer function: \(u^{1/2}\) where \(u = 4x^3 - 2x + 1\)

Inner function: \(g(x) = 4x^3 - 2x + 1\)

Step 3: Find derivative of outer function

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

Step 4: Find derivative of inner function

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

Step 5: Apply chain rule

\(f'(x) = \frac{1}{2\sqrt{4x^3 - 2x + 1}} \cdot (12x^2 - 2)\)

\(f'(x) = \frac{12x^2 - 2}{2\sqrt{4x^3 - 2x + 1}}\)

\(f'(x) = \frac{6x^2 - 1}{\sqrt{4x^3 - 2x + 1}}\)

\(f'(x) = \frac{6x^2 - 1}{\sqrt{4x^3 - 2x + 1}}\)
Final answer:

\(f'(x) = \frac{6x^2 - 1}{\sqrt{4x^3 - 2x + 1}}\)

Applied rules:

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

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

• Algebraic Manipulation: Rewrite radicals as fractional exponents

Chain Rule Comprehensive Guide
\(\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)\)
Chain Rule
Key definitions:

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

Chain Rule: The rule for differentiating composite functions

Outer Function: The function applied last in a composition

Inner Function: The function applied first in a composition

Complete methodology:
  1. Analyze: Identify the composite function structure
  2. Separate: Determine outer and inner functions
  3. Differentiate: Find derivatives of both functions
  4. Multiply: Apply the chain rule formula
  5. Simplify: Reduce to simplest form
Tip 1: Look for functions inside parentheses, exponents, or under radicals.
Tip 2: Always identify the outermost function first.
Tip 3: Don't forget to multiply by the derivative of the inner function.
Tip 4: The chain rule can be applied multiple times for complex compositions.
Common errors: Forgetting the inner derivative, misidentifying outer/inner functions, incorrect differentiation of basic functions.
Exam preparation: Practice with various function types (trig, exp, log), recognize when chain rule is needed, master basic derivatives.
Formulas to know by heart:

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

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

• Trig with Chain: \(\frac{d}{dx}[\sin(u)] = \cos(u) \cdot u'\)

• Exp with Chain: \(\frac{d}{dx}[e^u] = e^u \cdot u'\)

• Log with Chain: \(\frac{d}{dx}[\ln(u)] = \frac{1}{u} \cdot u'\)

Exercise with Visualization: Composite Functions
Exercise 6: Graphing Composite Functions
Consider the following composite functions and their derivatives:
\(f_1(x) = (2x + 1)^3\) → \(f'_1(x) = 6(2x + 1)^2\)
\(f_2(x) = \sin(x^2)\) → \(f'_2(x) = 2x\cos(x^2)\)
\(f_3(x) = e^{x^2}\) → \(f'_3(x) = 2xe^{x^2}\)

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

  • \(f_1(x) = (2x + 1)^3\) → Chain rule: \(3(2x + 1)^2 \cdot 2 = 6(2x + 1)^2\)
  • \(f_2(x) = \sin(x^2)\) → Chain rule: \(\cos(x^2) \cdot 2x = 2x\cos(x^2)\)
  • \(f_3(x) = e^{x^2}\) → Chain rule: \(e^{x^2} \cdot 2x = 2xe^{x^2}\)

Questions & Answers

Question: I have trouble identifying when to use the chain rule versus other differentiation rules. Can you explain when exactly to apply the chain rule?

Answer: Great question! The chain rule is used specifically for composite functions. Here's how to recognize when to use it:

  • Composite Structure: Look for functions of the form \(f(g(x))\) where one function is "inside" another
  • Parentheses Raised to Powers: Like \((3x+2)^4\), \(\sin^2(x)\), or \(\sqrt{x^2+1}\)
  • Function Composition: Trigonometric functions of polynomials, exponential functions of polynomials, etc.

Examples requiring chain rule:

  • \((2x + 1)^5\) → Outer: \(u^5\), Inner: \(2x + 1\)
  • \(\cos(3x^2)\) → Outer: \(\cos(u)\), Inner: \(3x^2\)
  • \(e^{x^3}\) → Outer: \(e^u\), Inner: \(x^3\)

Examples NOT requiring chain rule:

  • \(3x^2 + 2x + 1\) → Just use power rule and addition rule
  • \(5x^4\) → Just use constant multiple and power rule

The key is recognizing when you have a function of a function rather than just a function.

Question: How does the chain rule work with logarithmic functions? I'm confused about \(\ln(3x^2 + 1)\).

Answer: The chain rule for logarithmic functions follows the same pattern:

General Formula: \(\frac{d}{dx}[\ln(g(x))] = \frac{1}{g(x)} \cdot g'(x)\)

For your example: \(\frac{d}{dx}[\ln(3x^2 + 1)]\)

  • Outer function: \(\ln(u)\) where \(u = 3x^2 + 1\)
  • Inner function: \(g(x) = 3x^2 + 1\)
  • Derivative of outer: \(\frac{d}{du}[\ln(u)] = \frac{1}{u}\)
  • Derivative of inner: \(\frac{d}{dx}[3x^2 + 1] = 6x\)
  • Chain rule: \(\frac{1}{3x^2 + 1} \cdot 6x = \frac{6x}{3x^2 + 1}\)

Key insight: The derivative of \(\ln(u)\) is always \(\frac{1}{u}\) multiplied by the derivative of the inside function.

More examples: \(\frac{d}{dx}[\ln(\sin x)] = \frac{1}{\sin x} \cdot \cos x = \cot x\)

Question: I get confused when there are multiple layers like \(\sin^2(3x)\). How do I handle nested chain rules?

Answer: For nested functions like \(\sin^2(3x)\), think of it as having multiple layers. Let's break down \(\sin^2(3x)\):

Layers:

  • Outer layer: \(u^2\) where \(u = \sin(3x)\)
  • Middle layer: \(\sin(v)\) where \(v = 3x\)
  • Inner layer: \(w = 3x\)

Derivatives of each layer:

  • \(\frac{d}{du}[u^2] = 2u = 2\sin(3x)\)
  • \(\frac{d}{dv}[\sin(v)] = \cos(v) = \cos(3x)\)
  • \(\frac{d}{dx}[3x] = 3\)

Chain rule application:

\(f'(x) = 2\sin(3x) \cdot \cos(3x) \cdot 3 = 6\sin(3x)\cos(3x)\)

Alternative approach: You can also rewrite \(\sin^2(3x) = [\sin(3x)]^2\) and treat it as \([f(g(h(x)))]^2\) where \(h(x) = 3x\), \(g(x) = \sin(x)\), and \(f(x) = x^2\).

The key is to work from the outside in, differentiating each layer and multiplying all the results together.