What you'll learn
This guide covers advanced differentiation techniques essential for AP Calculus AB success: the chain rule for composite functions, implicit differentiation for equations not solved for y, and finding derivatives of inverse functions. These techniques extend your differentiation toolkit beyond basic power, product, and quotient rules, enabling you to tackle the complex functions frequently appearing in AP exam questions.
Key terms and definitions
Composite function — a function formed when one function is applied to the result of another, written as f(g(x)) or (f ∘ g)(x), where g is the inner function and f is the outer function.
Chain rule — the differentiation technique stating that the derivative of a composite function f(g(x)) equals the derivative of the outer function evaluated at the inner function, multiplied by the derivative of the inner function: d/dx[f(g(x))] = f'(g(x)) · g'(x).
Implicit differentiation — a technique for finding dy/dx when y cannot be easily isolated, by differentiating both sides of an equation with respect to x and treating y as a function of x.
Implicit function — a relation between x and y defined by an equation where y is not isolated on one side, such as x² + y² = 25.
Inverse function — a function f⁻¹ that reverses the action of function f, where f(f⁻¹(x)) = x and f⁻¹(f(x)) = x, represented graphically as a reflection across the line y = x.
Related rates — problems involving multiple variables changing with respect to time, solved using the chain rule and implicit differentiation.
Leibniz notation — the dy/dx notation for derivatives, particularly useful for chain rule expressions like dy/dx = (dy/du)(du/dx).
Outer function — in a composite function f(g(x)), the function f that is applied last to the result of the inner function.
Core concepts
The chain rule for composite functions
The chain rule is indispensable when differentiating composite functions. The key is identifying the inner and outer functions correctly.
Standard form: If y = f(u) where u = g(x), then: dy/dx = (dy/du) · (du/dx)
Alternatively: d/dx[f(g(x))] = f'(g(x)) · g'(x)
Step-by-step process:
- Identify the outer function f and inner function g
- Differentiate the outer function with respect to the inner function
- Multiply by the derivative of the inner function
- Simplify the result
Common composite functions:
For y = (ax + b)ⁿ:
- Outer function: uⁿ where u = ax + b
- dy/dx = n(ax + b)ⁿ⁻¹ · a = na(ax + b)ⁿ⁻¹
For y = sin(g(x)):
- dy/dx = cos(g(x)) · g'(x)
For y = eᵍ⁽ˣ⁾:
- dy/dx = eᵍ⁽ˣ⁾ · g'(x)
For y = ln(g(x)):
- dy/dx = g'(x)/g(x)
Multiple composition:
When functions are composed multiple times, apply the chain rule repeatedly. For y = f(g(h(x))): dy/dx = f'(g(h(x))) · g'(h(x)) · h'(x)
Example: y = sin²(3x) = [sin(3x)]²
- Outermost: u², where u = sin(3x)
- Middle: sin(v), where v = 3x
- Innermost: 3x
- dy/dx = 2sin(3x) · cos(3x) · 3 = 6sin(3x)cos(3x) = 3sin(6x)
Implicit differentiation
When equations cannot be easily solved for y, implicit differentiation allows you to find dy/dx without isolating y.
Fundamental principle:
Treat y as an implicit function of x. When differentiating terms containing y, apply the chain rule, remembering that d/dx[y] = dy/dx.
Key differentiation patterns:
- d/dx[y] = dy/dx
- d/dx[y²] = 2y · dy/dx (chain rule applied)
- d/dx[y³] = 3y² · dy/dx
- d/dx[xy] = x · dy/dx + y · 1 (product rule, then chain rule for y)
- d/dx[x²y] = x² · dy/dx + y · 2x
- d/dx[sin(y)] = cos(y) · dy/dx
Process for implicit differentiation:
- Differentiate both sides of the equation with respect to x
- Apply chain rule to any term containing y (multiply by dy/dx)
- Apply product rule to terms with both x and y
- Collect all terms with dy/dx on one side
- Factor out dy/dx
- Solve for dy/dx
- Simplify if possible
Second derivatives implicitly:
To find d²y/dx² from an implicit equation:
- Find dy/dx using implicit differentiation
- Differentiate dy/dx with respect to x, treating it as an implicit function
- Substitute the expression for dy/dx from step 1 where needed
Derivatives of inverse functions
The derivative of an inverse function can be found using the relationship between a function and its inverse.
Inverse function theorem:
If f has an inverse f⁻¹ and f is differentiable at f⁻¹(a) with f'(f⁻¹(a)) ≠ 0, then:
(f⁻¹)'(a) = 1/f'(f⁻¹(a))
In Leibniz notation, if y = f⁻¹(x): dy/dx = 1/(dx/dy)
Practical application:
- Given y = f⁻¹(x), recognize that x = f(y)
- Differentiate x = f(y) implicitly: 1 = f'(y) · dy/dx
- Solve: dy/dx = 1/f'(y)
- Express in terms of x if required
Derivatives of specific inverse functions:
The AP Calculus AB curriculum includes these inverse trigonometric derivatives:
- d/dx[sin⁻¹(x)] = 1/√(1 - x²), for -1 < x < 1
- d/dx[cos⁻¹(x)] = -1/√(1 - x²), for -1 < x < 1
- d/dx[tan⁻¹(x)] = 1/(1 + x²), for all x
These can be derived using implicit differentiation or the inverse function theorem.
Chain rule with inverse functions:
When inverse functions appear in composite form:
d/dx[sin⁻¹(g(x))] = g'(x)/√(1 - [g(x)]²)
d/dx[tan⁻¹(g(x))] = g'(x)/(1 + [g(x)]²)
Combining differentiation techniques
Many AP Calculus AB problems require multiple differentiation techniques simultaneously.
Strategy for complex problems:
- Identify all functions present (products, quotients, composites)
- Determine the primary rule needed (product, quotient, or chain)
- Apply chain rule within other rules as needed
- Work systematically from outside to inside
Example structures:
For y = (x² + 1)³sin(2x):
- Product rule for (x² + 1)³ and sin(2x)
- Chain rule for (x² + 1)³
- Chain rule for sin(2x)
For implicit equation x²y + sin(xy) = 3:
- Product rule for x²y
- Chain rule for sin(xy)
- Product rule within the chain rule for xy
Applications and related rates
The chain rule underpins related rates problems where multiple quantities change with respect to time.
Related rates framework:
- Identify all variables and what's given (rates of change)
- Write an equation relating the variables
- Differentiate both sides with respect to time t (using implicit differentiation and chain rule)
- Substitute known values
- Solve for the unknown rate
Common related rates contexts:
- Expanding circles (relating radius and area rates)
- Moving objects (relating position, distance, and angle rates)
- Filling containers (relating volume and height rates)
- Ladder problems (relating horizontal and vertical distances)
Worked examples
Example 1: Chain rule with exponential functions
Question: Find dy/dx for y = e^(3x²-5x)
Solution: Identify: Outer function f(u) = eᵘ, inner function u = 3x² - 5x
Step 1: Differentiate outer function f'(u) = eᵘ
Step 2: Differentiate inner function du/dx = 6x - 5
Step 3: Apply chain rule dy/dx = eᵘ · (du/dx) = e^(3x²-5x) · (6x - 5)
Answer: dy/dx = (6x - 5)e^(3x²-5x)
Example 2: Implicit differentiation
Question: For the circle x² + y² = 25, find: (a) dy/dx (b) the equation of the tangent line at point (3, 4)
Solution (a): Step 1: Differentiate both sides with respect to x d/dx[x²] + d/dx[y²] = d/dx[25]
Step 2: Apply differentiation rules (chain rule for y²) 2x + 2y · dy/dx = 0
Step 3: Solve for dy/dx 2y · dy/dx = -2x dy/dx = -2x/(2y) = -x/y
Answer (a): dy/dx = -x/y
Solution (b): Step 1: Find slope at (3, 4) dy/dx|₍₃,₄₎ = -3/4
Step 2: Use point-slope form y - 4 = -3/4(x - 3) y - 4 = -3x/4 + 9/4 y = -3x/4 + 9/4 + 16/4 y = -3x/4 + 25/4
Answer (b): y = -3x/4 + 25/4 or 3x + 4y = 25
Example 3: Derivative of inverse function
Question: If f(x) = x³ + 2x + 1, find (f⁻¹)'(4).
Solution: Step 1: Use the inverse function theorem (f⁻¹)'(4) = 1/f'(f⁻¹(4))
Step 2: Find f⁻¹(4) by solving f(x) = 4 x³ + 2x + 1 = 4 x³ + 2x - 3 = 0 By inspection or trial: x = 1 works 1³ + 2(1) - 3 = 0 ✓ So f⁻¹(4) = 1
Step 3: Find f'(x) f'(x) = 3x² + 2
Step 4: Evaluate f'(1) f'(1) = 3(1)² + 2 = 5
Step 5: Apply the formula (f⁻¹)'(4) = 1/5
Answer: (f⁻¹)'(4) = 1/5
Common mistakes and how to avoid them
• Forgetting to multiply by dy/dx in implicit differentiation — Always remember that differentiating y with respect to x requires the chain rule. For y², write 2y · dy/dx, not just 2y.
• Incorrectly applying chain rule to products — For xy, use the product rule first: d/dx[xy] = x(dy/dx) + y, not just dy/dx. The chain rule applies to compositions, not products.
• Losing the inner function in chain rule — When differentiating sin(3x²), students often write cos(3x²) and forget to multiply by 6x. Always multiply by the derivative of the inner function.
• Misidentifying inner and outer functions — In (2x + 1)⁵, the outer function is u⁵ and inner is 2x + 1. Don't confuse which function is applied first to x versus which is applied last.
• Sign errors with inverse trigonometric derivatives — Remember cos⁻¹(x) has a negative derivative: -1/√(1 - x²), while sin⁻¹(x) is positive: 1/√(1 - x²).
• Incorrect substitution in inverse function derivatives — When using (f⁻¹)'(a) = 1/f'(f⁻¹(a)), ensure you evaluate f' at f⁻¹(a), not at a.
Exam technique for "Differentiation: Composite, Implicit, and Inverse Functions"
• Show every step explicitly — AP Calculus AB free-response questions award partial credit. Write out "let u = ..." for chain rule problems, show the product rule structure before differentiating, and clearly indicate where you apply implicit differentiation.
• Use correct notation throughout — Write dy/dx, not y' alone in implicit differentiation contexts. Use proper function notation f'(x) versus (f⁻¹)'(x). Notation errors can cost points even with correct mathematical reasoning.
• Simplify strategically — On multiple-choice questions, simplify to match answer formats. On free-response, simplify enough to demonstrate understanding, but don't spend excessive time on algebraic manipulation unless specifically requested.
• Check domain restrictions — When working with inverse trigonometric functions or inverse function derivatives, verify that x-values fall within appropriate domains. Note restrictions like -1 ≤ x ≤ 1 for sin⁻¹(x) and cos⁻¹(x).
Quick revision summary
The chain rule differentiates composite functions: multiply the derivative of the outer function (evaluated at the inner) by the derivative of the inner function. Implicit differentiation finds dy/dx without isolating y by differentiating both sides and applying the chain rule to y-terms. For inverse functions, (f⁻¹)'(a) = 1/f'(f⁻¹(a)). Master these techniques individually, then combine them systematically. Remember key inverse trigonometric derivatives: d/dx[sin⁻¹(x)] = 1/√(1-x²), d/dx[tan⁻¹(x)] = 1/(1+x²). Always show complete working and use proper notation for maximum marks.