Unit 3 · Differentiation — Composite, Implicit, and Inverse Functions
📌 AP Calc AB Unit 3 — Composite, Implicit & Inverse9–13% of exam · The Chain Rule · Implicit differentiation · Derivatives of inverse functions · Inverse trigonometric derivatives
Unit 3 extends differential calculus beyond elementary combinations to composite functions via the Chain Rule, curves defined implicitly by algebraic relations, and the reciprocal slope geometry of inverse functions.
Level 1 · Foundations — The Chain Rule for Composite Functions
Differentiate composite structures by multiplying the derivative of the outer function evaluated at the inner function by the derivative of the inner function.
Function Notation: If \(y = f(u)\) and \(u = g(x)\), where \(g\) is differentiable at \(x\) and \(f\) is differentiable at \(g(x)\), then the composite function \((f \circ g)(x) = f(g(x))\) is differentiable at \(x\) with derivative: \[ \frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x). \]
Leibniz Formulation: If \(y\) depends on \(u\) and \(u\) depends on \(x\): \[ \frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}. \]
General Power & Transcendental Rules:
\(\frac{d}{dx}[(g(x))^n] = n(g(x))^{n-1} g'(x)\)
\(\frac{d}{dx}[e^{g(x)}] = e^{g(x)} g'(x)\)
\(\frac{d}{dx}[\ln(g(x))] = \frac{g'(x)}{g(x)}\)
\(\frac{d}{dx}[\sin(g(x))] = \cos(g(x)) g'(x)\)
◆ Why It Works — First-Principles Derivation (Unit 3 · Differentiation — Composite, Implicit, and Inverse Functions)
Why Differentiability Implies Continuity & How Implicit Differentiation Works: Notice that for \(x \ne a\), we can write \(f(x) - f(a) = \dfrac{f(x) - f(a)}{x - a}\cdot (x - a)\). Taking the limit as \(x \to a\) by the Product Law gives:
Similarly, when differentiating an implicit relation \(F(x, y) = c\) with respect to \(x\), \(y = y(x)\) is an inner function of \(x\). By the Chain Rule, \(\dfrac{d}{dx}\bigl[y^n\bigr] = ny^{n-1}\dfrac{dy}{dx}\), and for product terms \(\dfrac{d}{dx}[xy] = y + x\dfrac{dy}{dx}\).
Level 1 (Foundations) — Worked Example · Table-Based Chain & Product Rules
Problem. Selected values and derivatives of differentiable functions \(f\) and \(g\) are given in the table below:
▸ Show step-by-step solution
\(x\)
\(f(x)\)
\(f'(x)\)
\(g(x)\)
\(g'(x)\)
1
3
-2
2
5
2
4
6
1
-3
3
2
1
4
7
Find the value of \(h'(1)\) where \(h(x) = f(g(x)) + [f(x)]^2 \cdot g(x)\).
Solution:
Differentiate \(f(g(x))\): By the Chain Rule: \(\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)\). At \(x = 1\): \(g(1) = 2\) and \(g'(1) = 5\). Thus: \(f'(g(1)) \cdot g'(1) = f'(2) \cdot 5 = (6)(5) = \mathbf{30}\).
Worked Example \(B\) — Unit 3 · Differentiation — Composite, Implicit, and Inverse Functions (Easy Application)
Problem. The graph of a differentiable function \( y = f(x) \) is shown below. The tangent line to the graph at \( x = 2 \) has the equation \( y = -x + k \). Find the value of \( k \).
▸ Show step-by-step solution
The graph shows that the function \( f(x) \) passes through the point \( (2, 3) \). Therefore, \( f(2) = 3 \). The tangent line to the graph at \( x = 2 \) also passes through the point \( (2, f(2)) \), which is \( (2, 3) \). The equation of the tangent line is given as \( y = -x + k \). Substituting the point \( (2, 3) \) into this equation, we get \( 3 = -2 + k \). Solving for \( k \), we find \( k = 3 + 2 = 5 \).
⚠️ Common Exam Traps — Unit 3 · Differentiation — Composite, Implicit, and Inverse Functions
1. Premature L'Hôpital's Rule Application: On College Board AP Calculus AB, applying L'Hôpital's Rule to \(\lim_{x \to 2} \dfrac{g(x)}{h(x)}\) when the fraction is not an indeterminate form \(0/0\) or \(\infty/\infty\) produces completely false limits. Always verify \(g(2) = 0\) and \(h(2) = 0\) explicitly first.
2. Parametric Second Derivative Trap: For parametric curves \((x(t), y(t))\), \(\dfrac{d^2y}{dx^2} = \dfrac{\frac{d}{dt}(dy/dx)}{dx/dt}\), never \(\dfrac{d^2y/dt^2}{d^2x/dt^2}\).
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Unit 3 · Differentiation — Composite, Implicit, and Inverse Functions)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Assuming \(f'(c) = 0\) guarantees a local extremum
Inflection points like \(f(x) = x^3\) at \(x = 0\) have \(f'(0) = 0\) without changing sign.
Verify that \(f'(x)\) actually changes sign across \(x = c\) (or check \(f''(c) \ne 0\)).
Computing parametric \(\frac{d^2y}{dx^2}\) as \(\frac{\ddot{y}}{\ddot{x}}\)
violates the Chain Rule \(\frac{d}{dx} = \frac{1}{dx/dt}\frac{d}{dt}\).
Differentiate \(dy/dx\) with respect to \(t\), then divide by \(dx/dt\).
Forgetting product rule on \(xy\) in implicit differentiation
Treats \(y\) as a constant instead of \(y(x)\).
Always expand \(\frac{d}{dx}(xy) = y + x\frac{dy}{dx}\).
▲ Exam Pacing & Verification Strategy — Unit 3 · Differentiation — Composite, Implicit, and Inverse Functions
Exam Justification Rule (College Board AP Calculus AB): When justifying local extrema or points of inflection on free-response questions, state "because \(f'(x)\) changes sign from positive to negative at \(x = c\)" rather than referring vaguely to "it" or "the graph."
Level 1 · Foundations
Find the derivative of \(y = \ln(\cos(e^{2x}))\).
💡 Hint 1 of 3
Peel through three layers using the Chain Rule: 1. Outer: \(\frac{d}{du}[\ln u] = \frac{1}{u}\) where \(u = \cos(e^{2x})\).
Multiply all factors: \(\frac{dy}{dx} = \frac{1}{\cos(e^{2x})} \cdot [-\sin(e^{2x})] \cdot [2e^{2x}]\).
Peel through three layers using the Chain Rule: 1. Outer: \(\frac{d}{du}[\ln u] = \frac{1}{u}\) where \(u = \cos(e^{2x})\). 2. Middle: \(\frac{d}{dv}[\cos v] = -\sin v\) where \(v = e^{2x}\). 3. Inner: \(\frac{d}{dx}[e^{2x}] = 2e^{2x}\). Multiply all factors: \[ \frac{dy}{dx} = \frac{1}{\cos(e^{2x})} \cdot [-\sin(e^{2x})] \cdot [2e^{2x}] = \mathbf{-2e^{2x} \tan(e^{2x})}. \]
Level 2 · Medium — Implicit Differentiation & Second Derivatives
Differentiate relations where y cannot be easily solved explicitly as a function of x, applying the Chain Rule term-by-term and isolating dy/dx.
● Method of Implicit Differentiation
When an equation connects \(x\) and \(y\) implicitly (e.g. \(x^2 + y^2 = 25\) or \(x^3 + y^3 = 6xy\)):
Differentiate both sides with respect to \(x\), applying the Chain Rule to any expression containing \(y\): \(\frac{d}{dx}[y^n] = n y^{n-1}\frac{dy}{dx}\), \(\frac{d}{dx}[\sin y] = (\cos y)\frac{dy}{dx}\), etc.
Collect all terms containing \(\frac{dy}{dx}\) on one side of the equation and factor out \(\frac{dy}{dx}\).
Move all terms without \(\frac{dy}{dx}\) to the opposite side.
Divide by the coefficient of \(\frac{dy}{dx}\) to obtain an explicit formula for the derivative in terms of \(x\) and \(y\).
Level 2 (Medium) — Worked Example · First & Second Implicit Derivatives
Problem. Consider the curve given by \(x^2 - xy + y^2 = 7\). 1. Show that \(\frac{dy}{dx} = \frac{y - 2x}{2y - x}\). 2. Find \(\frac{d^2y}{dx^2}\) at the point \((3, 2)\).
▸ Show step-by-step solution
Part 1 — Find \(\frac{dy}{dx}\): Differentiate both sides with respect to \(x\): \[ 2x - \left(y + x \frac{dy}{dx}\right) + 2y \frac{dy}{dx} = 0 \] \[ 2x - y - x\frac{dy}{dx} + 2y\frac{dy}{dx} = 0 \implies (2y - x)\frac{dy}{dx} = y - 2x \implies \frac{dy}{dx} = \mathbf{\frac{y - 2x}{2y - x}}. \]
⊙ Explorer · Inverse functions & reciprocal slopes
interactive
Coordinates and reciprocal slopes for \(f\) and \(f^{-1}\)
Point on \(f\)
Slope \(f'(a)\)
Reflected on \(f^{-1}\)
Slope \((f^{-1})\)′(\(b\))
Product of slopes
\((a, b)\) on \(f\)\((0.80, 1.31)\)
\(f'(a)\) slope\(2.920\)
\((f^{-1})\)′(\(b\)) slope\(0.342\)
The curve \(f(x) = x^{3} + x\) reflects across \(y = x\) to produce \(f^{-1}(x)\). Notice the tangent slopes are exact reciprocals: \((f^{-1})\)′(\(b\)) = \(1 / f'(a)\).
Level 2 · Medium
Find the equations of all horizontal and vertical tangent lines to the ellipse \(4x^2 + 9y^2 = 36\).
Derive inverse trigonometric derivatives using right-triangle trigonometry and calculate derivatives of inverse functions using reciprocal slopes.
● Theorem: Derivative of an Inverse Function & Proof
Theorem: Let \(f\) be differentiable and strictly monotonic (invertible) on an interval. If \(f(a) = b\) and \(f'(a) \neq 0\), then \(f^{-1}\) is differentiable at \(b\) and: \[ (f^{-1})'(b) = \frac{1}{f'(f^{-1}(b))} = \frac{1}{f'(a)}. \]
Proof: By the definition of inverse functions: \[ f(f^{-1}(x)) = x \] Differentiate both sides with respect to \(x\) using the Chain Rule: \[ f'(f^{-1}(x)) \cdot (f^{-1})'(x) = 1 \] Solving for \((f^{-1})'(x)\) and evaluating at \(x = b\): \[ (f^{-1})'(b) = \frac{1}{f'(f^{-1}(b))} = \frac{1}{f'(a)}. \quad \blacksquare \]
Rigorous Derivation of Inverse Trig Derivatives: Let \(y = \arcsin x \iff \sin y = x\) for \(y \in [-\pi/2, \pi/2]\). Differentiate implicitly: \[ (\cos y)\frac{dy}{dx} = 1 \implies \frac{dy}{dx} = \frac{1}{\cos y} \] By the Pythagorean identity, \(\cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2}\) (positive because \(\cos y \ge 0\) on \([-\pi/2, \pi/2]\)). Thus: \[ \frac{d}{dx}[\arcsin x] = \mathbf{\frac{1}{\sqrt{1 - x^2}}}. \quad \blacksquare \] Similarly, for \(y = \arctan x \iff \tan y = x\): \[ (\sec^2 y)\frac{dy}{dx} = 1 \implies \frac{dy}{dx} = \frac{1}{\sec^2 y} = \frac{1}{1 + \tan^2 y} = \mathbf{\frac{1}{1 + x^2}}. \quad \blacksquare \]
Level 3 (Advanced) — Worked Example · Logarithmic Differentiation
Problem. Find \(\frac{dy}{dx}\) for \(y = x^{\sin x}\) for \(x > 0\).
▸ Show step-by-step solution
Take natural log of both sides: \[ \ln y = \ln(x^{\sin x}) = \sin x \cdot \ln x \]
Differentiate implicitly: \[ \frac{1}{y} \frac{dy}{dx} = \frac{d}{dx}[\sin x] \cdot \ln x + \sin x \cdot \frac{d}{dx}[\ln x] = (\cos x)\ln x + \frac{\sin x}{x} \]
Multiply by \(y = x^{\sin x}\): \[ \frac{dy}{dx} = x^{\sin x} \left( \cos x \ln x + \frac{\sin x}{x} \right). \]
Level 3 · Advanced
Let \(f(x) = x^5 + 3x^3 + 2x - 1\). Find the equation of the tangent line to the graph of \(y = f^{-1}(x)\) at \(x = 5\).
💡 Hint 1 of 3
Find \(a\) such that \(f(a) = 5\): By inspection, \(f(1) = 1^5 + 3(1)^3 + 2(1) - 1 = 1 + 3 + 2 - 1 = 5\). So \(a = 1\), meaning \(f^{-1}(5) = 1\). The point on \(f^{-1}\) is \((5, 1)\).
💡 Hint 2 of 3
Compute \(f'(x)\): \(f'(x) = 5x^4 + 9x^2 + 2\). At \(a = 1\): \(f'(1) = 5(1) + 9(1) + 2 = 16\). Slope of \(f^{-1}\): By the inverse derivative formula: \(m = (f^{-1})'(5) = \frac{1}{f'(1)}\).
💡 Hint 3 of 3
Tangent line: \(y - 1 = \frac{1}{16}(x - 5)\).
1. Find \(a\) such that \(f(a) = 5\): By inspection, \(f(1) = 1^5 + 3(1)^3 + 2(1) - 1 = 1 + 3 + 2 - 1 = 5\). So \(a = 1\), meaning \(f^{-1}(5) = 1\). The point on \(f^{-1}\) is \((5, 1)\). 2. Compute \(f'(x)\): \(f'(x) = 5x^4 + 9x^2 + 2\). At \(a = 1\): \(f'(1) = 5(1) + 9(1) + 2 = 16\). 3. Slope of \(f^{-1}\): By the inverse derivative formula: \[ m = (f^{-1})'(5) = \frac{1}{f'(1)} = \frac{1}{16}. \] 4. Tangent line: \[ y - 1 = \frac{1}{16}(x - 5) \implies \mathbf{y = \frac{1}{16}x + \frac{11}{16}}. \]
[Practice 4 · Medium] The graph of a function \( g(x) \) is shown below. The function \( g(x) \) is defined by \( g(x) = \frac{1}{3}x^3 - ax^2 + 2x + 1 \), where \( a \) is a positive constant. The graph has a tangent line at \( x = 1 \) that is parallel to the line \( y = -3x + 5 \). Find the value of the constant \( a \).
Differentiating \( g(x) = \frac{1}{3}x^3 - ax^2 + 2x + 1 \) gives \( g'(x) = x^2 - 2ax + 2 \). Since the tangent line at \( x = 1 \) is parallel to \( y = -3x + 5 \), its slope is \( g'(1) = -3 \):
\[ 1^2 - 2a(1) + 2 = -3 \implies 3 - 2a = -3 \implies 2a = 6 \implies a = 3. \]
Consider the function \( f(x) = x^2 - 3x \). If \( g(x) \) is a function such that \( h(x) = f(g(x)) \), and at \( x=2 \), \( g(2) = 5 \) and \( g'(2) = 3 \), find \( h'(2) \).
💡 Hint 1 of 3
This question involves the chain rule for differentiation. The chain rule states that if \( h(x) = f(g(x)) \), then \( h'(x) = f'(g(x)) \cdot g'(x) \).
💡 Hint 2 of 3
First, we find the derivative of \( f(x) \): \( f'(x) = \frac{d}{dx}(x^2 - 3x) = 2x - 3 \). Now, we need to find \( f'(g(x)) \). Since \( g(x) \) is a general function, we substitute \( g(x) \) into \( f'(x) \): \( f'(g(x)) = 2g(x) - 3 \).
💡 Hint 3 of 3
Therefore, the value of \(h'(2)\) is 21.
This question involves the chain rule for differentiation. The chain rule states that if \( h(x) = f(g(x)) \), then \( h'(x) = f'(g(x)) \cdot g'(x) \).
First, we find the derivative of \( f(x) \): \( f'(x) = \frac{d}{dx}(x^2 - 3x) = 2x - 3 \).
Now, we need to find \( f'(g(x)) \). Since \( g(x) \) is a general function, we substitute \( g(x) \) into \( f'(x) \): \( f'(g(x)) = 2g(x) - 3 \).
To find \( h'(2) \), we apply the chain rule formula at \( x=2 \): \( h'(2) = f'(g(2)) \cdot g'(2) \).
We are given that \( g(2) = 5 \) and \( g'(2) = 3 \).
Substitute \( g(2)=5 \) into \( f'(g(x)) \): \( f'(g(2)) = 2(5) - 3 = 10 - 3 = 7 \).
Now, multiply \( f'(g(2)) \) by \( g'(2) \): \( h'(2) = 7 \cdot 3 = 21 \).
Therefore, the value of \( h'(2) \) is 21.
● Complete Guide to All 6 Trigonometric Ratios — Unit Circle, Reciprocals, Domains, Periods & Asymptotes
For any angle \(\theta\) in standard position whose terminal ray intersects the unit circle \(x^2 + y^2 = 1\) at \(P(\cos\theta, \sin\theta)\) (or a right triangle with opposite \(o\), adjacent \(a\), and hypotenuse \(h\)), the six trigonometric functions are:
⊙ Explorer · All 6 Trigonometric Ratios (Unit Circle & Wave Graph)
interactive
All 6 trigonometric ratios evaluated across standard benchmark angles and the active angle \(\theta\).
\(\theta\)
\(\sin\theta\)
\(\cos\theta\)
\(\tan\theta\)
\(\csc\theta\)
\(\sec\theta\)
\(\cot\theta\)
\(A\sin(B\theta)\)0.866
\(A\cos(B\theta)\)0.500
\(A\tan(B\theta)\)1.732
\(A\csc(B\theta)\)1.155
\(A\sec(B\theta)\)2.000
\(A\cot(B\theta)\)0.577
Click or drag directly on either the unit circle (left) or the wave graph (right) to sweep \(\theta\), switch among all 6 ratios (\(\sin, \cos, \tan, \csc, \sec, \cot\)), and observe how reciprocal curves bounce off \(\sin\)/\(\cos\) extrema and form vertical asymptotes at zeros.
● All 6 Inverse Trigonometric Functions — Principal Branches, Domains, Ranges & Derivatives
Because the six trigonometric functions are periodic, they are not one-to-one on \(\mathbb{R}\). Restricting each forward function to its canonical principal branch makes it strictly monotonic so that a unique inverse exists (whose graph is the reflection of the restricted branch across \(y = x\)):
Reciprocal & Cofunction Identities: \(\operatorname{arccsc}(x) = \arcsin(1/x)\) and \(\operatorname{arcsec}(x) = \arccos(1/x)\) for \(|x| \ge 1\); \(\arcsin x + \arccos x = \frac{\pi}{2}\) and \(\arctan x + \operatorname{arccot} x = \frac{\pi}{2}\).
⊙ Explorer · All 6 Inverse Trigonometric Functions (Principal Branches & Reflection Across \(y = x\))
interactive
Principal branch evaluations for the selected inverse trigonometric function.
Drag horizontally on the Cartesian plane or slide \(x\) to compare all 6 inverse trig functions (\(\arcsin, \arccos, \arctan, \operatorname{arccsc}, \operatorname{arcsec}, \operatorname{arccot}\)). The amber curve \(y = f^{-1}(x)\) reflects the dashed restricted branch across \(y = x\), while the right pane highlights the exact principal-angle arc on the unit circle.
Unit 3 · Differentiation — Composite, Implicit, and Inverse Functions — 9-Point 4-Part FRQ
9 pts
No Calculator
In solar array output model #28, consider the implicitly defined curve \(2x^2 + xy + 3y^2 = 24\), passing through \(P(2, 2)\) as illustrated with its tangent segment.
(a)3 pts
Show that \(\dfrac{dy}{dx} = \dfrac{-(4x + y)}{x + 6y}\) and evaluate \(\dfrac{dy}{dx}\) at \(P(2, 2)\).
Scoring Guideline & Justification
[M1]Applies implicit differentiation + product rule to xy(1 pt)
[M1]Solves algebraically for dy/dx(1 pt)
[A1]Evaluates slope -5/7(1 pt)
(b)2 pts
Find the \(y\)-intercept of the tangent line to the curve at \(P(2, 2)\).
Scoring Guideline & Justification
[M1]Uses point-slope form y - y0 = m(x - x0)(1 pt)
[A1]Sets x = 0 to get 24/7(1 pt)
(c)2 pts
Find the slope of the line normal (perpendicular) to the curve at \(P(2, 2)\).
Scoring Guideline & Justification
[M1]Uses negative reciprocal -1 / (dy/dx)(1 pt)
[A1]Obtains 7/5(1 pt)
(d)2 pts
On points where a tangent line to the curve is horizontal (\(y = 2\)), find the required \(x\)-coordinate \(x = -\dfrac{y}{4}\).
Scoring Guideline & Justification
[M1]Sets numerator 4x + y = 0(1 pt)
[A1]Obtains x = -1/2(1 pt)
Complete Worked Solution
(a) Differentiating gives \(4x + y + x y' + 6y y' = 0\), so at \((2,2)\), \(y' = \frac{-5}{7}\). (b) \(y(0) = 2 - (\frac{-5}{7})(2) = \frac{24}{7}\). (c) Normal slope \(= -1/m = \frac{7}{5}\). (d) Horizontal tangent occurs when numerator vanishes: \(4x + 2 = 0 \Rightarrow x = \frac{-1}{2}\).