AP Calculus AB Unit 3: Advanced Differentiation Techniques
Unit 3: Differentiation: Composite, Implicit, and Inverse Functions
Unit Overview
In Units 1 and 2, you mastered the definition of the derivative and basic rules (Power, Product, Quotient) for explicit functions. Unit 3 dramatically expands your toolkit, determining how to differentiate composite functions (Chain Rule), relations where $y$ cannot be isolated (Implicit Differentiation), and inverse functions. These techniques are the backbone of differential calculus and are heavily tested in both Multiple Choice and Free Response questions on the AP Exam.
The Chain Rule (Topic 3.1)
The Chain Rule is arguably the most vital differentiation rule in Calculus. It is used when differentiating composite functions—functions inside of other functions.
Definition and Formula
If $y = f(g(x))$, where $f$ is a differentiable function of $g(x)$ and $g$ is a differentiable function of $x$, then:
\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)
In Leibniz notation, if $y$ is a function of $u$ and $u$ is a function of $x$:
\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}
Conceptual Approach: The "Onion" Analogy
Think of a composite function like an onion with layers. To get to the center, you must peel the layers one by one, starting from the outside.
- Differentiate the Outside Function: Treat the inside stuff as a single variable chunk. Do not change the inside yet.
- Multiply by the Derivative of the Inside: Apply the chain rule by multiplying your result by the derivative of what was inside.

Mnemonic: "Douter, Inner, Dinner"
A helpful memory trick introduced in previous study circles is "Douter, Inner, Dinner":
- Douter: Derivative of the outer function (keep the inner function inside parentheses unchanged).
- Inner: Keep the inner function alone initially.
- Dinner: Multiply by the Derivative of the inner function.
Worked Example
Problem: Differentiate $y = \sin(x^3 + 5)$.
- Outer function ($f$): $\sin(\dots)$ $\rightarrow$ Derivative is $\cos(\dots)$
- Inner function ($g$): $x^3 + 5$ $\rightarrow$ Derivative is $3x^2$
Apply the rule:
y' = \underbrace{\cos(x^3 + 5)}{f'(g(x))} \cdot \underbrace{(3x^2)}{g'(x)}
y' = 3x^2\cos(x^3 + 5)
Note: A common trap is forgetting to leave the inside function alone during the first step. The derivative is NOT $\cos(3x^2)$.
Implicit Differentiation (Topic 3.2)
Explicit functions look like $y = x^2 - 4$. Implicit relations have $x$ and $y$ mixed together, such as $x^2 + y^2 = 25$ (a circle). You often cannot isolate $y$ easily, so you differentiate with respect to $x$ across the entire equation.
The Procedure
- Differentiate both sides of the equation with respect to $x$.
- Crucial Step: Whenever you differentiate a term containing $y$, you must multiply by the chain rule factor $\frac{dy}{dx}$ (or $y'$). This is because $y$ is a function of $x$.
- Collect all terms with $\frac{dy}{dx}$ on one side.
- Factor out $\frac{dy}{dx}$ and solve for it.
This method is essential when the variable you are deriving doesn't match the variable in the denominator of the derivative notation (e.g., differentiating $y^2$ with respect to $x$).

Worked Example
Problem: Find $\frac{dy}{dx}$ for the circle $x^2 + y^2 = 25$ at the point $(3, 4)$.
Differentiate with respect to $x$:
\frac{d}{dx}(x^2) + \frac{d}{dx}(y^2) = \frac{d}{dx}(25)
2x + 2y \cdot \frac{dy}{dx} = 0Isolate $\frac{dy}{dx}$:
2y(\frac{dy}{dx}) = -2x
\frac{dy}{dx} = \frac{-2x}{2y} = -\frac{x}{y}Evaluate at $(3, 4)$:
\frac{dy}{dx}\bigg|_{(3,4)} = -\frac{3}{4}
Tangent Line: Since we know the slope is $-\frac{3}{4}$ and the point is $(3,4)$, the tangent line equation is:
y - 4 = -\frac{3}{4}(x - 3)
Higher-Order Implicit Differentiation
The AP Exam loves to ask for the second derivative ($ \frac{d^2y}{dx^2} $) of an implicit relation.
Process:
- Find $\frac{dy}{dx}$ first.
- Differentiate your result again using Quotient Rule or Product Rule.
- Substitution: Your answer will likely contain a $\frac{dy}{dx}$ term. You MUST substitute your expression from Step 1 back into this term to express the final answer solely in terms of $x$ and $y$.
Differentiating Inverse Functions (Topic 3.3)
Inverse functions swap inputs and outputs. If $f(a) = b$, then $f^{-1}(b) = a$. Geometrically, the graph of $f^{-1}(x)$ is the reflection of $f(x)$ across the line $y=x$. This reflection creates a specific relationship between their slopes.
The Rule
The derivative of the inverse function at a point is the reciprocal of the derivative of the original function at the corresponding point.
(f^{-1})'(x) = \frac{1}{f'(f^{-1}(x))}
Or, simpler terms:
(f^{-1})'(b) = \frac{1}{f'(a)}
Where the point $(a, b)$ is on the original graph $f$, and $(b, a)$ is on the inverse graph $f^{-1}$.

Strategic Approach for AP Questions
AP questions usually give you a table of values rather than a function definition. Follow this "Table Method" algorithm:
Question: Given $f(x)$ is invertible and differentiable, find $(f^{-1})'(3)$.
- Identify the Goal: We need the slope of the inverse at $x = 3$. This means the Input of the Inverse is 3.
- Swap to Original: If the Input of the Inverse is 3, then the Output of the Original $f(x)$ is 3. Find $x$ such that $f(x) = 3$. Let's say the table shows $f(1) = 3$.
- Differentiate specific point: Find $f'(1)$ from the table/function.
- Reciprocate: Your answer is $\frac{1}{f'(1)}$.
Memory Aid: The slope of the inverse is "1 over the slope of the original"… but at the swapped $x$-value.
Inverse Trigonometric Functions (Topic 3.4)
You must memorize the derivatives of the inverse trig functions (arcsin, arccos, arctan). These appear frequently in multiple-choice sections and integration problems later.
The "Big Three" Formulas
Assuming $u$ is a differentiable function of $x$ (Chain Rule applied):
Arcsine:
\frac{d}{dx}[\sin^{-1}(u)] = \frac{u'}{\sqrt{1-u^2}}Arccosine:
\frac{d}{dx}[\cos^{-1}(u)] = -\frac{u'}{\sqrt{1-u^2}}
(Note: It is just the negative of arcsine)Arctangent:
\frac{d}{dx}[\tan^{-1}(u)] = \frac{u'}{1+u^2}
(Note: No square root in the denominator)
The "Co" Rule
Just like with regular trig derivatives, the "Co" functions (arccosine, arccotangent, arccosecant) always gain a negative sign in their derivative.
Geometric Derivation Support
If you forget the formula for $y = \sin^{-1}(x)$, you can use implicit differentiation:
- Rewrite as $\sin(y) = x$.
- Differentiate: $\cos(y) \cdot y' = 1$.
- Solve: $y' = \frac{1}{\cos(y)}$.
- Use a reference triangle with hypotenuse 1 and opposite side $x$ to find $\cos(y)$ in terms of $x$ ($\sqrt{1-x^2}$).

Selecting Procedures & Exponential Bases (Topic 3.5)
In Unit 3, you also formalize derivatives for general exponential and logarithmic functions.
General Exponentials and Logs
While $\frac{d}{dx}(e^x) = e^x$, bases other than $e$ require a correction factor of $\ln(base)$.
- Exponential: $\frac{d}{dx}(a^u) = a^u \cdot \ln(a) \cdot u'$
- Logarithmic: $\frac{d}{dx}(\log_a u) = \frac{1}{u \cdot \ln(a)} \cdot u'$
Strategy: When to use what?
- Variable in base, constant power ($x^2$): Power Rule.
- Constant base, variable power ($2^x$): Exponential Rule.
- Variable in base AND variable in power ($x^x$): Logarithmic Differentiation. Take $\ln$ of both sides -> $ \ln y = x \ln x $ -> use Implicit Differentiation.
Summary of Common Mistakes & Pitfalls
- Chain Rule Incomplete: Students often differentiate the inner function but forget to multiply by it. Or, they change the inner function while differentiating the outer one (e.g., saying the derivative of $\cos(x^2)$ is $-\sin(2x)$ instead of $-\sin(x^2) \cdot 2x$).
- Implicit Algebra Errors: When finding $y''$, forgetting to substitute the expression for $y'$ back into the equation.
- Inverse Function Swaps: Confusing the $x$ and $y$ values. Remember: if the question asks for $(f^{-1})'(3)$, look for where $y=3$ on the original graph, not where $x=3$.
- Trig Chains: Forgetting that $\sin^2(x)$ is $(\sin(x))^2$. The derivative requires chain rule: $2\sin(x)\cos(x)$.
- Notation Confusion: $(f^{-1}(x))'$ is the derivative of the inverse. $(f(x))^{-1}$ is the reciprocal $1/f(x)$. These are completely different!
Final Hints from Previous Students
- When two variables are multiplied (like $xy$), you MUST use the Product Rule during implicit differentiation: $x \cdot y' + y \cdot 1$.
- Simplify your first derivative before taking a second derivative. It saves massive amounts of time.
- If evaluating a derivative at a specific point, plug the numbers in immediately after differentiating. Do not simplify the algebra of the derivative expression first; arithmetic is faster than algebra.
- For Inverse Trig: Memorize $\tan^{-1}$ and $\sin^{-1}$ thoroughly; they appear most often.