Chapter 3: Composite, Implicit, and Inverse Function Differentiation
The chain rule is often called the most important differentiation technique in all of calculus. While the basic derivative rules let you handle sums, products, and quotients, it is the chain rule that unlocks the vast majority of functions you will encounter on the AP Calculus exam and beyond. In this chapter, we build from the chain rule to implicit differentiation, inverse function derivatives, and higher-order derivatives, forming a complete toolkit for differentiating virtually any function.
In This Chapter
3.1 The Chain Rule
Consider the function $h(x) = \sin(x^2)$. We know how to differentiate $\sin(x)$ and we know how to differentiate $x^2$, but $\sin(x^2)$ is a composition—one function nested inside another. None of the basic rules (power, product, quotient) directly apply. The chain rule is the tool designed precisely for this situation.
How to Think About It
The chain rule asks you to identify two layers of the function:
- The outer function $f$: the last operation applied.
- The inner function $g$: the input to the outer function.
You then multiply two quantities: the derivative of the outer function evaluated at the inner function, and the derivative of the inner function. A helpful mnemonic is: "derivative of the outside, leave the inside alone, then multiply by the derivative of the inside."
For the function $h(x) = \sin(x^2)$, the outer function is $f(u) = \sin u$ and the inner function is $g(x) = x^2$. So:
- Derivative of outer: $f'(u) = \cos u$, evaluated at the inside: $\cos(x^2)$.
- Derivative of inner: $g'(x) = 2x$.
- Result: $h'(x) = \cos(x^2) \cdot 2x = 2x\cos(x^2)$.
Multiple Layers of Composition
When three or more functions are composed, the chain rule extends naturally. For $y = f(g(h(x)))$, we get $$\frac{dy}{dx} = f'(g(h(x))) \cdot g'(h(x)) \cdot h'(x).$$ Each layer contributes its own derivative, evaluated at everything still inside it, and we multiply all these factors together. Think of peeling an onion from the outside inward.
Find $\dfrac{d}{dx}\left[\cos^3(x)\right]$.
Solution. Rewrite as $[\cos(x)]^3$. Here the outer function is $u^3$ and the inner function is $\cos x$.
Apply the chain rule: $$\frac{d}{dx}[\cos(x)]^3 = 3[\cos(x)]^2 \cdot (-\sin x) = -3\cos^2(x)\sin(x).$$
The key insight is recognizing that the exponent $3$ is the outermost operation acting on $\cos x$. The power rule gives $3[\cos x]^2$, and then we multiply by the derivative of the inside, which is $-\sin x$.
Find $\dfrac{d}{dx}\left[e^{3x^2 + 1}\right]$.
Solution. The outer function is $e^u$ and the inner function is $u = 3x^2 + 1$.
Since $\frac{d}{du}e^u = e^u$, we have $$\frac{d}{dx}\left[e^{3x^2+1}\right] = e^{3x^2+1} \cdot \frac{d}{dx}(3x^2+1) = e^{3x^2+1} \cdot 6x = 6x\,e^{3x^2+1}.$$
The exponential function has the special property that its derivative is itself, so the outer derivative simply reproduces the original exponential. All the action comes from the inner derivative $6x$.
Find $\dfrac{d}{dx}\left[\ln(\sin(e^x))\right]$.
Solution. There are three nested functions here. Identify them from outside to inside:
- Outermost: $\ln(u)$ with derivative $\frac{1}{u}$.
- Middle: $\sin(v)$ with derivative $\cos(v)$.
- Innermost: $e^x$ with derivative $e^x$.
Apply the chain rule layer by layer: $$\frac{d}{dx}\left[\ln(\sin(e^x))\right] = \frac{1}{\sin(e^x)} \cdot \cos(e^x) \cdot e^x.$$
Simplify using $\frac{\cos\theta}{\sin\theta} = \cot\theta$: $$= e^x \cot(e^x).$$
Each function in the chain contributes one factor to the derivative. Practice identifying the layers, and the computation becomes mechanical.
Find $\dfrac{d}{dx}\left[\ln(x^3 + 5)\right]$.
Solution. The outer function is $\ln(u)$ with derivative $\frac{1}{u}$, and the inner function is $u = x^3 + 5$.
Apply the chain rule: $$\frac{d}{dx}\left[\ln(x^3+5)\right] = \frac{1}{x^3+5} \cdot 3x^2 = \frac{3x^2}{x^3+5}.$$
A useful pattern emerges: $\frac{d}{dx}[\ln(g(x))] = \frac{g'(x)}{g(x)}$ for any differentiable $g > 0$. This rule appears constantly in AP Calculus, particularly in related-rates and implicit differentiation problems involving logarithms.
Find $\dfrac{d}{dx}\left[x^2 \cos(x^3)\right]$.
Solution. This is a product of $x^2$ and $\cos(x^3)$. Apply the product rule first: $$\frac{d}{dx}\left[x^2 \cos(x^3)\right] = 2x\cos(x^3) + x^2 \cdot \frac{d}{dx}[\cos(x^3)].$$
Now handle $\frac{d}{dx}[\cos(x^3)]$ with the chain rule: outer $\cos(u)$, inner $u = x^3$: $$\frac{d}{dx}[\cos(x^3)] = -\sin(x^3) \cdot 3x^2 = -3x^2\sin(x^3).$$
Combine: $$\frac{d}{dx}\left[x^2\cos(x^3)\right] = 2x\cos(x^3) + x^2(-3x^2\sin(x^3)) = 2x\cos(x^3) - 3x^4\sin(x^3).$$
The rule of thumb: when the chain rule and another rule (product, quotient) are both needed, apply the outer rule first, then handle any composite pieces with the chain rule.
Explore the chain rule: see how changing the inner function g(x) affects the composite f(g(x)) and its derivative.
3.2 Implicit Differentiation
Not every relationship between $x$ and $y$ can be written in the form $y = f(x)$. Consider the equation of a circle $x^2 + y^2 = 25$. Solving for $y$ gives $y = \pm\sqrt{25 - x^2}$, which is not a single function. Many important curves in mathematics—ellipses, hyperbolas, and more exotic curves—are defined implicitly by equations relating $x$ and $y$.
Implicit differentiation allows us to find $\frac{dy}{dx}$ without first solving for $y$. The technique is powerful and essential for the AP exam.
The Procedure
- Differentiate both sides of the equation with respect to $x$, treating $y$ as a function of $x$.
- Every time you differentiate an expression involving $y$, apply the chain rule: the derivative of a function of $y$ picks up a factor of $\frac{dy}{dx}$.
- Collect all terms containing $\frac{dy}{dx}$ on one side of the equation.
- Factor out $\frac{dy}{dx}$ and solve for it.
The critical point is step 2. Since $y$ depends on $x$, the derivative of $y^2$ with respect to $x$ is not simply $2y$; by the chain rule, it is $2y \cdot \frac{dy}{dx}$.
Explore implicit curves: the circle x² + y² = r² and its tangent line at a chosen point.
Find $\dfrac{dy}{dx}$ for $x^2 + y^2 = 25$.
Solution. Differentiate both sides with respect to $x$:
$$\frac{d}{dx}(x^2) + \frac{d}{dx}(y^2) = \frac{d}{dx}(25)$$ $$2x + 2y\,\frac{dy}{dx} = 0.$$Solve for $\frac{dy}{dx}$:
$$2y\,\frac{dy}{dx} = -2x$$ $$\frac{dy}{dx} = -\frac{x}{y}.$$This result makes geometric sense. At the point $(3, 4)$ on the circle, the slope of the tangent line is $-\frac{3}{4}$, and the radius to that point has slope $\frac{4}{3}$. The tangent is perpendicular to the radius, exactly as Euclidean geometry predicts for a circle.
Find the equation of the tangent line to $\dfrac{x^2}{9} + \dfrac{y^2}{4} = 1$ at the point $(x_0, y_0) = \left(\frac{3\sqrt{2}}{2}, \sqrt{2}\right)$.
Solution. First find $\frac{dy}{dx}$. Differentiate implicitly:
$$\frac{2x}{9} + \frac{2y}{4} \cdot \frac{dy}{dx} = 0$$ $$\frac{dy}{dx} = -\frac{2x/9}{2y/4} = -\frac{2x}{9} \cdot \frac{4}{2y} = -\frac{4x}{9y}.$$Evaluate at the given point:
$$\frac{dy}{dx}\bigg|_{\left(\frac{3\sqrt{2}}{2},\,\sqrt{2}\right)} = -\frac{4 \cdot \frac{3\sqrt{2}}{2}}{9\sqrt{2}} = -\frac{6\sqrt{2}}{9\sqrt{2}} = -\frac{2}{3}.$$The tangent line is:
$$y - \sqrt{2} = -\frac{2}{3}\left(x - \frac{3\sqrt{2}}{2}\right).$$Simplifying: $y = -\frac{2}{3}x + \sqrt{2} + \sqrt{2} = -\frac{2}{3}x + 2\sqrt{2}.$
Find $\dfrac{dy}{dx}$ for $x^3 + y^3 = 6xy$.
Solution. This famous curve, the folium of Descartes, cannot be solved explicitly for $y$ in closed form. Implicit differentiation is the only practical approach.
Differentiate both sides with respect to $x$:
$$3x^2 + 3y^2\,\frac{dy}{dx} = 6y + 6x\,\frac{dy}{dx}.$$On the right side, we used the product rule on $6xy$: the derivative of $6xy$ with respect to $x$ is $6\left(y + x\frac{dy}{dx}\right) = 6y + 6x\frac{dy}{dx}$.
Collect terms with $\frac{dy}{dx}$:
$$3y^2\,\frac{dy}{dx} - 6x\,\frac{dy}{dx} = 6y - 3x^2$$ $$\frac{dy}{dx}(3y^2 - 6x) = 6y - 3x^2$$ $$\frac{dy}{dx} = \frac{6y - 3x^2}{3y^2 - 6x} = \frac{2y - x^2}{y^2 - 2x}.$$Notice that the derivative is undefined when $y^2 = 2x$, which corresponds to points where the tangent line is vertical. At the origin $(0,0)$, the formula gives $\frac{0}{0}$, which is consistent with the fact that the curve crosses itself there and has two distinct tangent lines.
Find $\dfrac{dy}{dx}$ for $x\sin(y) = \cos(x + y)$.
Solution. Differentiate both sides with respect to $x$. The left side requires the product rule; the right side requires the chain rule.
Left side: $\dfrac{d}{dx}[x\sin y] = \sin y + x\cos(y)\dfrac{dy}{dx}$.
Right side: $\dfrac{d}{dx}[\cos(x+y)] = -\sin(x+y)\cdot\left(1 + \dfrac{dy}{dx}\right)$.
Setting them equal and collecting $\dfrac{dy}{dx}$ terms:
$$\sin y + x\cos(y)\frac{dy}{dx} = -\sin(x+y) - \sin(x+y)\frac{dy}{dx}$$ $$\frac{dy}{dx}\bigl[x\cos y + \sin(x+y)\bigr] = -\sin(x+y) - \sin y$$ $$\frac{dy}{dx} = \frac{-\sin(x+y) - \sin y}{x\cos y + \sin(x+y)}.$$Find all points on the curve $x^2 - xy + y^2 = 3$ where the tangent line is horizontal.
Solution. Differentiate implicitly: $$2x - y - x\frac{dy}{dx} + 2y\frac{dy}{dx} = 0$$ $$\frac{dy}{dx}(2y - x) = y - 2x$$ $$\frac{dy}{dx} = \frac{y - 2x}{2y - x}.$$
For a horizontal tangent, set $\dfrac{dy}{dx} = 0$: the numerator must be zero (with non-zero denominator), so $y - 2x = 0$, giving $y = 2x$.
Substitute $y = 2x$ into the original equation:
$$x^2 - x(2x) + (2x)^2 = 3 \implies x^2 - 2x^2 + 4x^2 = 3 \implies 3x^2 = 3 \implies x = \pm 1.$$The two points of horizontal tangency are $\boldsymbol{(1,\,2)}$ and $\boldsymbol{(-1,\,-2)}$. (Verify: at $(1,2)$, the denominator $2y-x = 4-1 = 3 \neq 0$. ✓)
3.3 Derivatives of Inverse Functions
If $f$ is a one-to-one differentiable function with inverse $f^{-1}$, can we find the derivative of $f^{-1}$ in terms of the derivative of $f$? The answer is yes, and the result is both elegant and frequently tested on the AP exam.
The intuition is straightforward: if $f$ stretches inputs by a factor of $k$ near a point, then $f^{-1}$ compresses by a factor of $\frac{1}{k}$ near the corresponding output. The theorem formalizes this reciprocal relationship.
To derive this, start from $f(f^{-1}(x)) = x$. Differentiate both sides using the chain rule:
$$f'(f^{-1}(x)) \cdot (f^{-1})'(x) = 1$$ $$(f^{-1})'(x) = \frac{1}{f'(f^{-1}(x))}.$$Inverse Trigonometric Derivatives
The most important application of this theorem produces the derivatives of the inverse trigonometric functions. These appear throughout AP Calculus BC and in integration problems on both AB and BC exams.
Let us derive the first of these. Let $y = \arcsin x$, so $\sin y = x$ with $-\frac{\pi}{2} \le y \le \frac{\pi}{2}$. Differentiate implicitly:
$$\cos y \cdot \frac{dy}{dx} = 1$$ $$\frac{dy}{dx} = \frac{1}{\cos y}.$$Since $\sin^2 y + \cos^2 y = 1$, we have $\cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2}$ (positive because $y \in [-\pi/2, \pi/2]$). Therefore
$$\frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1 - x^2}}.$$Let $f$ be a differentiable function with $f(2) = 5$ and $f'(2) = 3$. Find $(f^{-1})'(5)$.
Solution. By Theorem 3.2:
$$(f^{-1})'(5) = \frac{1}{f'(f^{-1}(5))}.$$Since $f(2) = 5$, we know $f^{-1}(5) = 2$. Therefore:
$$(f^{-1})'(5) = \frac{1}{f'(2)} = \frac{1}{3}.$$This type of problem appears regularly on AP Calculus exams, often presented as a table of values. The key is to first determine $f^{-1}(a)$ by reading the table in reverse, then evaluate $f'$ at that point and take the reciprocal.
Find $\dfrac{d}{dx}\left[\arctan(3x^2)\right]$.
Solution. Combine the inverse tangent derivative with the chain rule:
$$\frac{d}{dx}\left[\arctan(3x^2)\right] = \frac{1}{1+(3x^2)^2} \cdot \frac{d}{dx}(3x^2) = \frac{6x}{1 + 9x^4}.$$Whenever an inverse trigonometric function has a non-trivial argument, the chain rule is required. The derivative of the outer function ($\arctan$) is $\frac{1}{1+u^2}$, and we multiply by the derivative of the inner function ($6x$).
Find $\dfrac{d}{dx}\left[\arccos(\sqrt{x})\right]$.
Solution. Apply the chain rule. The outer function is $\arccos(u)$ with derivative $-\dfrac{1}{\sqrt{1-u^2}}$, and the inner function is $u = \sqrt{x} = x^{1/2}$ with derivative $\dfrac{1}{2\sqrt{x}}$.
$$\frac{d}{dx}\left[\arccos(\sqrt{x})\right] = -\frac{1}{\sqrt{1-x}} \cdot \frac{1}{2\sqrt{x}} = -\frac{1}{2\sqrt{x(1-x)}}.$$This is valid for $0 < x < 1$. The negative sign reflects the fact that $\arccos$ is a decreasing function.
Find $\dfrac{d}{dx}\left[x\arctan(x)\right]$.
Solution. Apply the product rule: $$\frac{d}{dx}[x\arctan(x)] = \arctan(x) + x \cdot \frac{1}{1+x^2} = \arctan(x) + \frac{x}{1+x^2}.$$
This combination — $\arctan(x) + \dfrac{x}{1+x^2}$ — appears when integrating $\arctan(x)$ by parts and is worth recognizing. Note that as $x \to \infty$, the term $\frac{x}{1+x^2} \to 0$, so the derivative approaches $\frac{\pi}{2}$, consistent with the fact that $x\arctan(x) \approx \frac{\pi}{2}x$ for large $x$.
Compute $\dfrac{d}{dx}\left[\arcsin(x) + \arccos(x)\right]$ and explain the result.
Solution. $$\frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1-x^2}}, \qquad \frac{d}{dx}[\arccos x] = -\frac{1}{\sqrt{1-x^2}}.$$
The sum of derivatives is $\dfrac{1}{\sqrt{1-x^2}} - \dfrac{1}{\sqrt{1-x^2}} = 0$.
A derivative of zero means the function is constant. Indeed, the identity $\arcsin(x) + \arccos(x) = \dfrac{\pi}{2}$ holds for all $x \in [-1, 1]$: since $\sin\theta = \cos(\frac{\pi}{2} - \theta)$, if $\sin\theta = x$ then $\arccos(x) = \frac{\pi}{2} - \theta = \frac{\pi}{2} - \arcsin(x)$. This is a beautiful illustration of why the derivative of a constant is zero.
3.4 Higher-Order Derivatives
The derivative of a function is itself a function, so we can differentiate it again. The result is the second derivative, and the process can continue to produce third, fourth, and higher derivatives.
- Second derivative: $f''(x)$, or $\dfrac{d^2y}{dx^2}$, or $y''$.
- Third derivative: $f'''(x)$, or $\dfrac{d^3y}{dx^3}$.
- $n$-th derivative: $f^{(n)}(x)$, or $\dfrac{d^ny}{dx^n}$.
Interpretation of the Second Derivative
The first derivative $f'(x)$ measures the rate of change of $f$. The second derivative $f''(x)$ measures the rate of change of the rate of change. In physical terms:
- If $s(t)$ is position, then $s'(t)$ is velocity and $s''(t)$ is acceleration.
- $f''(x) > 0$ means $f$ is concave up (the graph bends upward like a bowl).
- $f''(x) < 0$ means $f$ is concave down (the graph bends downward like a cap).
- Points where $f''$ changes sign are inflection points, where the concavity reverses.
The second derivative test for concavity is one of the most important analytical tools in the study of curve sketching, and it plays a central role in optimization problems on the AP exam.
Given $x^2 + y^2 = 25$, find $\dfrac{d^2y}{dx^2}$.
Solution. From Example 3.6, we found $\frac{dy}{dx} = -\frac{x}{y}$. Differentiate again using the quotient rule:
$$\frac{d^2y}{dx^2} = \frac{d}{dx}\left(-\frac{x}{y}\right) = -\frac{y \cdot 1 - x \cdot \frac{dy}{dx}}{y^2}.$$Substitute $\frac{dy}{dx} = -\frac{x}{y}$:
$$= -\frac{y - x\left(-\frac{x}{y}\right)}{y^2} = -\frac{y + \frac{x^2}{y}}{y^2} = -\frac{\frac{y^2 + x^2}{y}}{y^2} = -\frac{x^2 + y^2}{y^3}.$$Since $x^2 + y^2 = 25$, this simplifies to:
$$\frac{d^2y}{dx^2} = -\frac{25}{y^3}.$$At the point $(3, 4)$: $\frac{d^2y}{dx^2} = -\frac{25}{64}$. The negative sign confirms that the upper semicircle is concave down, which matches our geometric intuition.
Let $f(x) = x^5 - 4x^3 + 2x$. Find $f^{(4)}(x)$ (the fourth derivative).
Solution. Differentiate successively:
- $f'(x) = 5x^4 - 12x^2 + 2$
- $f''(x) = 20x^3 - 24x$
- $f'''(x) = 60x^2 - 24$
- $f^{(4)}(x) = 120x$
Observe that each differentiation reduces the degree by one. A degree-$n$ polynomial has its $(n+1)$-th derivative equal to zero. Here the fifth derivative would be $120$, and the sixth derivative would be $0$.
Find $y''$ for $y = \sin(3x)$ and describe the relationship between $y''$ and $y$.
Solution. Apply the chain rule twice:
$$y' = 3\cos(3x), \qquad y'' = -9\sin(3x).$$Notice that $y'' = -9\sin(3x) = -9y$. The function satisfies the differential equation $y'' + 9y = 0$, which governs simple harmonic oscillation. Any function of the form $y = A\sin(3x) + B\cos(3x)$ satisfies this equation, explaining the fundamental role of sinusoidal functions in physics.
Let $y = e^{ax}$ for a constant $a$. Find a formula for $y^{(n)}$ (the $n$-th derivative).
Solution. Compute the first several derivatives:
$$y' = ae^{ax}, \quad y'' = a^2e^{ax}, \quad y''' = a^3e^{ax}, \quad \ldots$$The pattern is clear: $y^{(n)} = a^n e^{ax}$.
Proof by induction: Base case $n=1$: $y' = ae^{ax}$ ✓. Inductive step: if $y^{(k)} = a^k e^{ax}$, then $y^{(k+1)} = \frac{d}{dx}[a^k e^{ax}] = a^k \cdot a e^{ax} = a^{k+1}e^{ax}$. ✓
In particular, $e^x$ has the remarkable property that every derivative equals $e^x$ (i.e., $a = 1$ gives $y^{(n)} = e^x$ for all $n$).
A particle's position (in meters) is $s(t) = t^3 - 6t^2 + 9t$ for $t \ge 0$ (seconds).
(a) Find velocity $v(t)$ and acceleration $a(t)$.
(b) When is the particle momentarily at rest?
(c) When is the speed increasing?
Solution.
(a) $$v(t) = s'(t) = 3t^2 - 12t + 9 = 3(t-1)(t-3), \qquad a(t) = v'(t) = 6t - 12 = 6(t-2).$$
(b) $v(t)=0$ at $t = 1$ and $t = 3$.
(c) Speed increases when velocity and acceleration have the same sign:
- $t \in (0,1)$: $v > 0$, $a < 0$ — speed decreasing.
- $t \in (1,2)$: $v < 0$, $a < 0$ — speed increasing (moving left faster).
- $t \in (2,3)$: $v < 0$, $a > 0$ — speed decreasing.
- $t \in (3,\infty)$: $v > 0$, $a > 0$ — speed increasing.
Speed is increasing for $t \in (1,2) \cup (3, \infty)$.
3.5 Practice Problems
Fifty problems covering every technique in this chapter. Problems 1–15 focus on the chain rule, 16–22 on implicit differentiation, 23–27 on inverse functions, 28–32 on higher-order derivatives, and 33–50 on mixed and AP exam-style challenges. Try each problem on your own before revealing the solution.
Chain Rule (Problems 1–15)
Find $\dfrac{d}{dx}\left[\sin(5x^3 - 2x)\right]$.
Show Solution
Apply the chain rule with outer function $\sin u$ and inner function $u = 5x^3 - 2x$:
$$\frac{d}{dx}[\sin(5x^3-2x)] = \cos(5x^3-2x) \cdot (15x^2 - 2) = (15x^2-2)\cos(5x^3-2x).$$Find $\dfrac{d}{dx}\left[\left(e^{2x} + 1\right)^4\right]$.
Show Solution
Two layers of chain rule. Outer: $u^4$, inner: $u = e^{2x}+1$, and $e^{2x}$ itself requires the chain rule.
$$\frac{d}{dx}\left[(e^{2x}+1)^4\right] = 4(e^{2x}+1)^3 \cdot \frac{d}{dx}(e^{2x}+1) = 4(e^{2x}+1)^3 \cdot 2e^{2x} = 8e^{2x}(e^{2x}+1)^3.$$Find $\dfrac{d}{dx}\left[\sqrt{\tan(x)}\right]$.
Show Solution
Rewrite as $[\tan x]^{1/2}$. Outer: $u^{1/2}$, inner: $\tan x$.
$$\frac{d}{dx}[\tan x]^{1/2} = \frac{1}{2}[\tan x]^{-1/2} \cdot \sec^2 x = \frac{\sec^2 x}{2\sqrt{\tan x}}.$$Use implicit differentiation to find $\dfrac{dy}{dx}$ for $x^2y + xy^2 = 6$.
Show Solution
Differentiate each term using the product rule and chain rule:
$$\frac{d}{dx}(x^2 y) + \frac{d}{dx}(xy^2) = 0$$ $$\left(2xy + x^2\frac{dy}{dx}\right) + \left(y^2 + 2xy\frac{dy}{dx}\right) = 0.$$Collect $\frac{dy}{dx}$ terms:
$$x^2\frac{dy}{dx} + 2xy\frac{dy}{dx} = -2xy - y^2$$ $$\frac{dy}{dx}(x^2 + 2xy) = -(2xy + y^2)$$ $$\frac{dy}{dx} = -\frac{2xy + y^2}{x^2 + 2xy} = -\frac{y(2x+y)}{x(x+2y)}.$$Find the slope of the tangent line to $\sin(xy) = \frac{1}{2}$ at the point $\left(1, \frac{\pi}{6}\right)$.
Show Solution
Differentiate implicitly. The left side requires the chain rule on $\sin(xy)$, then the product rule on $xy$:
$$\cos(xy) \cdot \left(y + x\frac{dy}{dx}\right) = 0.$$At the point $\left(1, \frac{\pi}{6}\right)$: $xy = \frac{\pi}{6}$, so $\cos\left(\frac{\pi}{6}\right) = \frac{\sqrt{3}}{2} \neq 0$. Divide by $\cos(xy)$:
$$y + x\frac{dy}{dx} = 0 \quad \Rightarrow \quad \frac{dy}{dx} = -\frac{y}{x}.$$At the point: $\frac{dy}{dx} = -\frac{\pi/6}{1} = -\frac{\pi}{6}.$
Let $f(x) = x^3 + x$. Given that $f$ is one-to-one, find $(f^{-1})'(2)$.
Show Solution
First find $f^{-1}(2)$: solve $x^3 + x = 2$. Testing $x = 1$: $1 + 1 = 2$. So $f^{-1}(2) = 1$.
Compute $f'(x) = 3x^2 + 1$, so $f'(1) = 4$.
By the inverse function theorem:
$$(f^{-1})'(2) = \frac{1}{f'(f^{-1}(2))} = \frac{1}{f'(1)} = \frac{1}{4}.$$Find $\dfrac{d}{dx}\left[\arcsin(2x)\right]$.
Show Solution
Chain rule with the arcsin derivative formula:
$$\frac{d}{dx}[\arcsin(2x)] = \frac{1}{\sqrt{1-(2x)^2}} \cdot 2 = \frac{2}{\sqrt{1-4x^2}}.$$Valid for $|2x| < 1$, i.e., $|x| < \frac{1}{2}$.
Find $\dfrac{d^2y}{dx^2}$ for $y = e^{-x^2}$.
Show Solution
First derivative (chain rule):
$$y' = e^{-x^2} \cdot (-2x) = -2xe^{-x^2}.$$Second derivative (product rule + chain rule):
$$y'' = -2\left[e^{-x^2} + x \cdot e^{-x^2}(-2x)\right] = -2e^{-x^2}\left[1 - 2x^2\right] = (4x^2-2)e^{-x^2}.$$Setting $y'' = 0$: $4x^2 - 2 = 0 \Rightarrow x = \pm\frac{1}{\sqrt{2}}$. These are the inflection points of the Gaussian curve $e^{-x^2}$.
Find $\dfrac{d}{dx}\left[x^{\sin x}\right]$ for $x > 0$. (Hint: use logarithmic differentiation.)
Show Solution
Let $y = x^{\sin x}$. Take the natural log of both sides:
$$\ln y = \sin x \cdot \ln x.$$Differentiate implicitly:
$$\frac{1}{y}\frac{dy}{dx} = \cos x \cdot \ln x + \sin x \cdot \frac{1}{x}.$$Multiply both sides by $y = x^{\sin x}$:
$$\frac{dy}{dx} = x^{\sin x}\left(\cos x \cdot \ln x + \frac{\sin x}{x}\right).$$The table below gives selected values of $f$ and $f'$. If $g(x) = f(f(x))$, find $g'(1)$.
| $x$ | $f(x)$ | $f'(x)$ |
|---|---|---|
| 1 | 3 | 2 |
| 2 | 1 | 5 |
| 3 | 2 | 7 |
Show Solution
By the chain rule: $g'(x) = f'(f(x)) \cdot f'(x)$.
At $x = 1$:
$$g'(1) = f'(f(1)) \cdot f'(1) = f'(3) \cdot 2 = 7 \cdot 2 = 14.$$This type of problem tests whether you truly understand the chain rule conceptually: the derivative of the outer function must be evaluated at the value of the inner function, not at $x$.
Find $\dfrac{d}{dx}\left[\ln(1 + e^x)\right]$.
Show Solution
Using the pattern $\frac{d}{dx}[\ln u] = \frac{u'}{u}$ with $u = 1+e^x$:
$$\frac{d}{dx}[\ln(1+e^x)] = \frac{e^x}{1+e^x}.$$This is the logistic sigmoid derivative and arises constantly in statistics and machine learning.
Find $\dfrac{d}{dx}\left[(4x^2 + 9)^{3/2}\right]$.
Show Solution
Outer: $u^{3/2}$, inner: $u = 4x^2+9$, $u' = 8x$:
$$\frac{d}{dx}\left[(4x^2+9)^{3/2}\right] = \tfrac{3}{2}(4x^2+9)^{1/2} \cdot 8x = 12x\sqrt{4x^2+9}.$$Find $\dfrac{d}{dx}\left[\cos\!\left(e^{-2x}\right)\right]$.
Show Solution
Outer: $\cos u$, inner: $u = e^{-2x}$, $u' = -2e^{-2x}$:
$$\frac{d}{dx}\left[\cos(e^{-2x})\right] = -\sin(e^{-2x})\cdot(-2e^{-2x}) = 2e^{-2x}\sin(e^{-2x}).$$Find $\dfrac{d}{dx}\left[\tan\!\left(\sqrt{x^2+1}\right)\right]$.
Show Solution
Two layers: outer $\tan(u)$, middle $u = \sqrt{x^2+1}$, innermost $x^2+1$.
$$\frac{d}{dx}[\sqrt{x^2+1}] = \frac{x}{\sqrt{x^2+1}}.$$ $$\frac{d}{dx}\left[\tan(\sqrt{x^2+1})\right] = \sec^2\!\left(\sqrt{x^2+1}\right)\cdot\frac{x}{\sqrt{x^2+1}} = \frac{x\sec^2(\sqrt{x^2+1})}{\sqrt{x^2+1}}.$$Find $\dfrac{d}{dx}\left[e^{\sin(x^2)}\right]$. (Triple chain rule.)
Show Solution
Three nested functions: $e^u$, $\sin(v)$, $x^2$. Apply chain rule from outside in:
$$\frac{d}{dx}\left[e^{\sin(x^2)}\right] = e^{\sin(x^2)} \cdot \cos(x^2) \cdot 2x = 2x\cos(x^2)\,e^{\sin(x^2)}.$$Implicit Differentiation (Problems 16–22)
Find $\dfrac{dy}{dx}$ for $x^3 + y^3 = 3xy + 1$.
Show Solution
Differentiate both sides. On the right, use the product rule on $3xy$:
$$3x^2 + 3y^2\frac{dy}{dx} = 3y + 3x\frac{dy}{dx}.$$Collect and solve:
$$\frac{dy}{dx}(3y^2 - 3x) = 3y - 3x^2 \implies \frac{dy}{dx} = \frac{y - x^2}{y^2 - x}.$$Find $\dfrac{dy}{dx}$ for $e^{xy} = x^2 + y$.
Show Solution
Differentiate the left side using the chain rule and product rule on the exponent:
$$e^{xy}\!\left(y + x\frac{dy}{dx}\right) = 2x + \frac{dy}{dx}.$$Expand and isolate $\frac{dy}{dx}$:
$$\frac{dy}{dx}\!\left(xe^{xy} - 1\right) = 2x - ye^{xy} \implies \frac{dy}{dx} = \frac{2x - ye^{xy}}{xe^{xy} - 1}.$$Find $\dfrac{dy}{dx}$ for $\ln(x + y) = 2x - 3y$.
Show Solution
Differentiate both sides (chain rule on the left):
$$\frac{1+\frac{dy}{dx}}{x+y} = 2 - 3\frac{dy}{dx}.$$Multiply through by $(x+y)$:
$$1 + \frac{dy}{dx} = (2-3\tfrac{dy}{dx})(x+y).$$ $$\frac{dy}{dx}\bigl[1 + 3(x+y)\bigr] = 2(x+y) - 1 \implies \frac{dy}{dx} = \frac{2(x+y)-1}{1+3(x+y)}.$$Find $\dfrac{dy}{dx}$ for $y = x^y$ using logarithmic differentiation.
Show Solution
Take $\ln$ of both sides: $\ln y = y\ln x$. Differentiate implicitly:
$$\frac{y'}{y} = y'\ln x + \frac{y}{x}.$$Collect $y'$:
$$y'\!\left(\frac{1}{y} - \ln x\right) = \frac{y}{x} \implies y' = \frac{y/x}{1/y - \ln x} = \frac{y^2}{x(1 - y\ln x)}.$$Find the equation of the tangent line to $x^2 + 2xy + y^2 = 9$ at the point $(1,\,2)$.
Show Solution
Differentiate implicitly:
$$2x + 2y + 2x\frac{dy}{dx} + 2y\frac{dy}{dx} = 0 \implies \frac{dy}{dx}(2x+2y) = -(2x+2y).$$Since $2x+2y = 2(1)+2(2) = 6 \neq 0$, we get $\frac{dy}{dx} = -1$ at $(1,2)$.
Tangent line: $y - 2 = -1(x - 1) \implies y = -x + 3$.
Note: The curve factors as $(x+y)^2 = 9$, i.e., $x+y = \pm 3$, so it consists of two parallel lines with slope $-1$ — confirming the result.
Find $\dfrac{dy}{dx}$ for $\sin(xy) = y$.
Show Solution
Chain rule on left, product rule inside $xy$:
$$\cos(xy)\!\left(y + x\frac{dy}{dx}\right) = \frac{dy}{dx}.$$ $$y\cos(xy) + x\cos(xy)\frac{dy}{dx} = \frac{dy}{dx}$$ $$\frac{dy}{dx}\bigl(1 - x\cos(xy)\bigr) = y\cos(xy) \implies \frac{dy}{dx} = \frac{y\cos(xy)}{1-x\cos(xy)}.$$Find all points on $x^2 - xy + y^2 = 7$ where the tangent line is vertical.
Show Solution
From implicit differentiation: $\dfrac{dy}{dx} = \dfrac{y - 2x}{2y - x}$. Vertical tangents occur where the denominator is zero: $2y - x = 0 \Rightarrow x = 2y$.
Substitute into the original equation: $(2y)^2 - (2y)y + y^2 = 7 \Rightarrow 3y^2 = 7 \Rightarrow y = \pm\dfrac{\sqrt{21}}{3}$.
The two points are $\left(\dfrac{2\sqrt{21}}{3},\,\dfrac{\sqrt{21}}{3}\right)$ and $\left(-\dfrac{2\sqrt{21}}{3},\,-\dfrac{\sqrt{21}}{3}\right)$.
Inverse Functions & Inverse Trig (Problems 23–27)
Find $\dfrac{d}{dx}\left[\arctan(x^2)\right]$.
Show Solution
Find $\dfrac{d}{dx}\!\left[x\arcsin(x) + \sqrt{1-x^2}\right]$. (The answer simplifies beautifully.)
Show Solution
Differentiate term by term. Product rule on first term:
$$\frac{d}{dx}[x\arcsin x] = \arcsin x + \frac{x}{\sqrt{1-x^2}}.$$Chain rule on second term:
$$\frac{d}{dx}[\sqrt{1-x^2}] = \frac{-x}{\sqrt{1-x^2}}.$$Sum: $\arcsin x + \dfrac{x}{\sqrt{1-x^2}} - \dfrac{x}{\sqrt{1-x^2}} = \arcsin x$.
This confirms that $x\arcsin(x)+\sqrt{1-x^2}$ is an antiderivative of $\arcsin(x)$.
Let $f(x) = x^3 + 3x$. Find $(f^{-1})'(4)$.
Show Solution
Solve $x^3+3x=4$: testing $x=1$ gives $1+3=4$ ✓. So $f^{-1}(4)=1$.
Compute $f'(x) = 3x^2+3$, so $f'(1) = 6$.
$$(f^{-1})'(4) = \frac{1}{f'(f^{-1}(4))} = \frac{1}{f'(1)} = \frac{1}{6}.$$Find $\dfrac{d}{dx}\!\left[\arcsin\!\left(\dfrac{x}{a}\right)\right]$ where $a > 0$ is a constant. (This general form appears frequently in integration tables.)
Show Solution
Inner: $u = x/a$, $u' = 1/a$.
$$\frac{d}{dx}\!\left[\arcsin\!\left(\frac{x}{a}\right)\right] = \frac{1}{\sqrt{1-(x/a)^2}}\cdot\frac{1}{a} = \frac{1}{\sqrt{a^2 - x^2}}.$$Show that $\dfrac{d}{dx}\!\left[\arctan(x) + \arctan\!\left(\dfrac{1}{x}\right)\right] = 0$ for $x > 0$, and determine the value of this constant sum.
Show Solution
Differentiate $\arctan(1/x)$ using the chain rule (inner: $1/x$, $\frac{d}{dx}[1/x] = -1/x^2$):
$$\frac{d}{dx}\!\left[\arctan\!\left(\frac{1}{x}\right)\right] = \frac{1}{1+1/x^2}\cdot\left(-\frac{1}{x^2}\right) = \frac{x^2}{x^2+1}\cdot\left(-\frac{1}{x^2}\right) = -\frac{1}{1+x^2}.$$Sum of derivatives: $\dfrac{1}{1+x^2} - \dfrac{1}{1+x^2} = 0$.
At $x=1$: $\arctan(1)+\arctan(1) = \dfrac{\pi}{4}+\dfrac{\pi}{4} = \dfrac{\pi}{2}$. So the constant value is $\dfrac{\pi}{2}$ for $x>0$.
Higher-Order Derivatives (Problems 28–32)
Find $\dfrac{d^2y}{dx^2}$ for $y = x\ln(x)$.
Show Solution
Product rule for first derivative: $y' = \ln x + x\cdot\dfrac{1}{x} = \ln x + 1$.
Differentiate again: $y'' = \dfrac{1}{x}$.
Since $y'' > 0$ for $x > 0$, the function $x\ln x$ is concave up on its domain.
Find $y''$ for $y = \sqrt{x^2+1}$.
Show Solution
$y' = \dfrac{x}{\sqrt{x^2+1}}$. Apply the quotient rule (or chain rule on $x(x^2+1)^{-1/2}$):
$$y'' = \frac{\sqrt{x^2+1} - x\cdot\dfrac{x}{\sqrt{x^2+1}}}{x^2+1} = \frac{(x^2+1)-x^2}{(x^2+1)^{3/2}} = \frac{1}{(x^2+1)^{3/2}}.$$Since $y'' > 0$ always, $y = \sqrt{x^2+1}$ is concave up everywhere.
Find $y''$ for $y = \arctan(x)$.
Show Solution
$y' = \dfrac{1}{1+x^2} = (1+x^2)^{-1}$.
$$y'' = -(1+x^2)^{-2}\cdot 2x = \frac{-2x}{(1+x^2)^2}.$$$y'' = 0$ at $x = 0$ (inflection point), $y'' > 0$ for $x < 0$ (concave up), $y'' < 0$ for $x > 0$ (concave down).
Find $\dfrac{d^2y}{dx^2}$ implicitly for $y^2 = x^3$.
Show Solution
First derivative: $2y\,y' = 3x^2 \Rightarrow y' = \dfrac{3x^2}{2y}$.
Second derivative: Differentiate $y' = \dfrac{3x^2}{2y}$ using the quotient rule:
$$y'' = \frac{6x\cdot 2y - 3x^2\cdot 2y'}{4y^2} = \frac{12xy - 6x^2 y'}{4y^2}.$$Substitute $y' = \dfrac{3x^2}{2y}$:
$$y'' = \frac{12xy - 6x^2\cdot\dfrac{3x^2}{2y}}{4y^2} = \frac{12xy - \dfrac{9x^4}{y}}{4y^2} = \frac{12xy^2 - 9x^4}{4y^3}.$$Use $y^2 = x^3$: $y'' = \dfrac{12x\cdot x^3 - 9x^4}{4y^3} = \dfrac{3x^4}{4y^3}$.
Find $f''(x)$ for $f(x) = e^{-x}\sin(x)$.
Show Solution
$f'(x) = -e^{-x}\sin x + e^{-x}\cos x = e^{-x}(\cos x - \sin x)$.
$f''(x) = -e^{-x}(\cos x - \sin x) + e^{-x}(-\sin x - \cos x)$
$$= e^{-x}\bigl[-(\cos x-\sin x) + (-\sin x-\cos x)\bigr] = e^{-x}(-2\cos x) = -2e^{-x}\cos x.$$Note that $f'' = -2e^{-x}\cos x$, and $f''(x) = 0$ when $\cos x = 0$, i.e., at $x = \frac{\pi}{2} + k\pi$, confirming where the concavity of this damped oscillation changes.
Mixed & AP Exam-Style (Problems 33–50)
If $g(x) = f(x^2)$ where $f$ is differentiable, express $g'(x)$ in terms of $f'$.
Show Solution
For example, if $f(x) = \sin x$, then $g'(x) = 2x\cos(x^2)$.
If $h(x) = \sqrt{f(x)}$ where $f > 0$ and $f$ is differentiable, find $h'(x)$ in terms of $f$ and $f'$.
Show Solution
Derive $\dfrac{d}{dx}[\sec(x)]$ using the chain rule by writing $\sec(x) = [\cos(x)]^{-1}$.
Show Solution
Outer: $u^{-1}$ with derivative $-u^{-2}$; inner: $\cos x$ with derivative $-\sin x$:
$$\frac{d}{dx}[\cos x]^{-1} = -[\cos x]^{-2}\cdot(-\sin x) = \frac{\sin x}{\cos^2 x} = \frac{1}{\cos x}\cdot\frac{\sin x}{\cos x} = \sec(x)\tan(x).$$Find $\dfrac{dy}{dx}$ for $y = \dfrac{(x+1)^2(x-2)^3}{(x+3)^4}$ using logarithmic differentiation.
Show Solution
Take $\ln$: $\ln y = 2\ln(x+1)+3\ln(x-2)-4\ln(x+3)$. Differentiate:
$$\frac{y'}{y} = \frac{2}{x+1}+\frac{3}{x-2}-\frac{4}{x+3}.$$ $$y' = \frac{(x+1)^2(x-2)^3}{(x+3)^4}\left[\frac{2}{x+1}+\frac{3}{x-2}-\frac{4}{x+3}\right].$$Find $\dfrac{d}{dx}[\sin^n(x)]$ for any positive integer $n$.
Show Solution
Outer: $u^n$, inner: $\sin x$:
$$\frac{d}{dx}[\sin^n x] = n\sin^{n-1}(x)\cdot\cos(x).$$Find $y'$ and $y''$ for $y = x^2 e^{-x}$. Are there any inflection points?
Show Solution
Product rule: $y' = 2xe^{-x} + x^2(-e^{-x}) = e^{-x}(2x - x^2) = xe^{-x}(2-x)$.
$y'' = e^{-x}(2-2x) + (2x-x^2)(-e^{-x}) = e^{-x}[(2-2x)-(2x-x^2)] = e^{-x}(x^2-4x+2)$.
$y'' = 0$ when $x^2-4x+2=0$, i.e., $x = 2\pm\sqrt{2}$. Since $e^{-x} > 0$ always, these are genuine inflection points where concavity changes.
Show that $y = A\cos(2x) + B\sin(2x)$ satisfies the differential equation $y'' + 4y = 0$ for any constants $A, B$.
Show Solution
$y' = -2A\sin(2x) + 2B\cos(2x)$.
$y'' = -4A\cos(2x) - 4B\sin(2x) = -4y$.
Therefore $y'' + 4y = -4y + 4y = 0$. ✓
A particle's position is $s(t) = t^3 - 6t^2 + 9t + 1$ (meters, $t \ge 0$ seconds).
(a) Find velocity $v(t)$ and acceleration $a(t)$.
(b) When is the particle momentarily at rest?
(c) On what time interval(s) does the particle move in the positive direction with increasing speed?
Show Solution
(a) $v(t) = 3t^2-12t+9 = 3(t-1)(t-3)$; $a(t) = 6t-12 = 6(t-2)$.
(b) $v(t)=0$ at $t=1$ and $t=3$.
(c) Speed is increasing when $v$ and $a$ have the same sign. For $t > 3$: $v > 0$ and $a > 0$. Answer: $t \in (3, \infty)$.
Let $f$ be differentiable with $f(3) = 2$ and $f'(3) = 5$. Evaluate $\dfrac{d}{dx}[\ln(f(x))]$ at $x = 3$.
Show Solution
$\dfrac{d}{dx}[\ln(f(x))] = \dfrac{f'(x)}{f(x)}$. At $x = 3$: $\dfrac{5}{2}$.
Find a general formula for $\dfrac{d}{dx}[f(x)^n]$ for any differentiable $f$ and positive integer $n$. This is the generalized power rule.
Show Solution
Let $f(x) = \sin(2x^2 + \tfrac{\pi}{4})$.
(a) Find $f'(x)$.
(b) Find all critical points of $f$ in $[0,\,\sqrt{2\pi}]$.
(c) Find $f''(0)$.
Show Solution
(a) $f'(x) = \cos(2x^2+\tfrac{\pi}{4})\cdot 4x$.
(b) $f'(x) = 0$ when $x = 0$ or $\cos(2x^2+\tfrac{\pi}{4}) = 0$.
For cosine: $2x^2+\frac{\pi}{4} = \frac{\pi}{2}+k\pi$, giving $x^2 = \frac{\pi}{8}+\frac{k\pi}{2}$ for non-negative integers $k$. The critical points in $[0,\sqrt{2\pi}]$ are $x = 0,\,\sqrt{\frac{\pi}{8}},\,\sqrt{\frac{5\pi}{8}},\,\sqrt{\frac{9\pi}{8}},\,\sqrt{\frac{13\pi}{8}}$.
(c) $f''(x) = 4\cos(2x^2+\tfrac{\pi}{4}) + 4x\cdot(-\sin(2x^2+\tfrac{\pi}{4}))\cdot 4x$. At $x=0$: $f''(0) = 4\cos(\tfrac{\pi}{4}) = 4\cdot\tfrac{\sqrt{2}}{2} = 2\sqrt{2}$.
Find $\dfrac{dy}{dx}$ for $y = \dfrac{\sqrt{x^2+1}\,e^{-3x}}{(x^3+4)^{2/3}}$ using logarithmic differentiation.
Show Solution
$\ln y = \tfrac{1}{2}\ln(x^2+1) - 3x - \tfrac{2}{3}\ln(x^3+4)$. Differentiate:
$$\frac{y'}{y} = \frac{x}{x^2+1} - 3 - \frac{2x^2}{x^3+4}.$$ $$y' = \frac{\sqrt{x^2+1}\,e^{-3x}}{(x^3+4)^{2/3}}\left[\frac{x}{x^2+1} - 3 - \frac{2x^2}{x^3+4}\right].$$Let $h(x) = f(g(x))$. Given $g(2) = 3$, $g'(2) = 4$, $f'(3) = 7$, and $f'(2) = 9$, find $h'(2)$.
Show Solution
By the chain rule: $h'(2) = f'(g(2))\cdot g'(2) = f'(3)\cdot 4 = 7\cdot 4 = 28$.
Note: $f'(2) = 9$ is a distractor — the chain rule requires $f'$ evaluated at $g(2)$, not at $2$.
Find $\dfrac{dy}{dx}$ for $y = x^{1/x}$ ($x > 0$) via logarithmic differentiation.
Show Solution
$\ln y = \dfrac{\ln x}{x}$. Differentiate using the quotient rule on the right:
$$\frac{y'}{y} = \frac{\frac{1}{x}\cdot x - \ln x\cdot 1}{x^2} = \frac{1 - \ln x}{x^2}.$$ $$y' = x^{1/x}\cdot\frac{1-\ln x}{x^2}.$$$y' = 0$ when $\ln x = 1$, i.e., $x = e$. The function $x^{1/x}$ achieves its maximum value $e^{1/e}$ at $x = e$.
Let $f(x) = \arctan(e^{2x})$.
(a) Find $f'(x)$.
(b) Find the equation of the tangent line at $x = 0$.
(c) Find $f''(x)$.
Show Solution
(a) $f'(x) = \dfrac{1}{1+e^{4x}}\cdot 2e^{2x} = \dfrac{2e^{2x}}{1+e^{4x}}$.
(b) $f(0) = \arctan(1) = \dfrac{\pi}{4}$; $f'(0) = \dfrac{2}{2} = 1$. Tangent: $y = x + \dfrac{\pi}{4}$.
(c) Differentiate $f'$ using quotient rule:
$$f''(x) = \frac{4e^{2x}(1+e^{4x}) - 2e^{2x}\cdot 4e^{4x}}{(1+e^{4x})^2} = \frac{4e^{2x}(1-e^{4x})}{(1+e^{4x})^2}.$$Verify that $\dfrac{d}{dx}\!\left[\ln(\sec x + \tan x)\right] = \sec x$.
Show Solution
Chain rule: $\dfrac{1}{\sec x + \tan x}\cdot\dfrac{d}{dx}[\sec x + \tan x]$.
$\dfrac{d}{dx}[\sec x + \tan x] = \sec x\tan x + \sec^2 x = \sec x(\tan x + \sec x)$.
$$= \frac{\sec x(\sec x+\tan x)}{\sec x + \tan x} = \sec x.\quad\checkmark$$This confirms that $\ln(\sec x + \tan x)$ is an antiderivative of $\sec x$, an important result in AP Calculus BC.
A point moves along the curve $y = x^{3/2}$. Find the rate of change of the slope of the curve at the point $(4,\, 8)$.
Show Solution
The slope of the curve is $y' = \dfrac{3}{2}x^{1/2}$. The rate of change of the slope is $y'' = \dfrac{3}{4}x^{-1/2}$.
At $x = 4$: $y'' = \dfrac{3}{4}\cdot\dfrac{1}{2} = \dfrac{3}{8}$.
Let $f$ and $g$ be differentiable with $g(0) = 1$ and $g'(0) = 2$. Define $h(x) = f(x\cdot g(x))$. Find $h'(0)$ in terms of $f'$.
Show Solution
By the chain rule: $h'(x) = f'(x\cdot g(x))\cdot\dfrac{d}{dx}[x\cdot g(x)] = f'(x\,g(x))\cdot(g(x)+x\,g'(x))$.
At $x = 0$: the inner value is $0\cdot g(0) = 0$, and $g(0)+0\cdot g'(0) = 1$.
$$h'(0) = f'(0)\cdot 1 = f'(0).$$Chapter Summary
In this chapter, we developed four major differentiation techniques:
- The Chain Rule handles compositions by multiplying the outer derivative (evaluated at the inner function) by the inner derivative. It extends to arbitrarily deep compositions.
- Implicit Differentiation finds $\frac{dy}{dx}$ for curves defined by equations $F(x,y)=0$ by differentiating both sides and solving. The chain rule is the engine that makes this work.
- Inverse Function Derivatives give us $(f^{-1})'(a) = \frac{1}{f'(f^{-1}(a))}$, which produces the derivatives of all inverse trigonometric functions.
- Higher-Order Derivatives extend differentiation to second and beyond, revealing concavity and acceleration.
Together, these tools allow you to differentiate any function you will encounter on the AP Calculus AB or BC exam. In the next chapter, we apply these derivatives to solve optimization, related rates, and curve-sketching problems.
Ready to practice with real AP questions?
Build exam confidence with official-style problems.
AP Calculus Past Papers & Practice