The function f(x) = x³ + x + 1 is always increasing (its derivative 3x² + 1 is never zero), so it has an inverse f⁻¹. Notice that f(1) = 1 + 1 + 1 = 3, which means f⁻¹(3) = 1.
Now the real question: what is the slope of f⁻¹ at the point where x = 3?
You could try to solve y = x³ + x + 1 for x in terms of y — but that's a cubic, and there's no clean formula. So a direct approach is hopeless.
Here's the key idea. The graph of f⁻¹ is the mirror image of the graph of f across the line y = x. Reflecting a line across y = x flips its slope into the reciprocal. The graph of f passes through (1, 3) with slope f'(1) = 3(1)² + 1 = 4. So the graph of f⁻¹ passes through the mirror point (3, 1) with slope 1/4.
That single reciprocal relationship — slope of the inverse = reciprocal of the original slope — is the engine of the whole first half of this lesson.
Suppose f is differentiable and one-to-one, with inverse f⁻¹. By definition, undoing f then f returns you to the start:
f(f⁻¹(x)) = x
Differentiate both sides with respect to x. The right side gives 1. The left side is a composite, so the Chain Rule applies:
f'(f⁻¹(x)) · (f⁻¹)'(x) = 1
Solve for the thing we want, (f⁻¹)'(x):
Inverse-Function Derivative. If
fis differentiable and one-to-one, andf⁻¹(b) = a(equivalentlyf(a) = b), then
`(f⁻¹)'(b) = ────────────── = ────────
f'(f⁻¹(b)) f'(a)
`provided
f'(a) ≠ 0.
In words: the derivative of the inverse at b is the reciprocal of the derivative of f at the matching input a. The only trick is bookkeeping — you must evaluate f' at a = f⁻¹(b), not at b.
The three-step recipe. To find (f⁻¹)'(b):
a = f⁻¹(b) — the input where f(a) = b.f'(a).(f⁻¹)'(b) = 1/f'(a).Mini-example. For f(x) = x³ + x + 1 from the Opening Question, find (f⁻¹)'(3).
a = f⁻¹(3). Since f(1) = 3, we have a = 1.f'(x) = 3x² + 1, so f'(1) = 4.(f⁻¹)'(3) = 1/f'(1) = 1/4. ✓ (Matches the reflection argument.)These four results are worth memorizing cold. The first is the most remarkable fact in calculus.
Exponential and Logarithmic Derivatives.
`d/dx[ eˣ ] = eˣ
d/dx[ ln x ] = 1/x (x > 0)
d/dx[ aˣ ] = aˣ · ln a (a > 0, a ≠ 1)
d/dx[ logₐ x ] = 1/(x · ln a) (x > 0)
`
A few things to internalize:
eˣ is its own derivative. The base e ≈ 2.71828 is defined precisely so that the curve y = eˣ has slope equal to its own height at every point. No other base does this.aˣ needs an extra ln a. Since aˣ = e^(x ln a), the Chain Rule gives d/dx[e^(x ln a)] = e^(x ln a) · ln a = aˣ · ln a. When a = e, ln e = 1 and the factor disappears — that's why eˣ is special. Forgetting ln a is the #1 error with aˣ.ln x and logₐ x. The natural log differentiates to 1/x. A general log carries a 1/ln a factor because logₐ x = (ln x)/(ln a), and 1/(ln a) is just a constant multiplier.eˣ and ln x are inversesThe relationship e^(ln x) = x and ln(eˣ) = x says these two functions undo each other. We can even recover d/dx[ln x] = 1/x from the inverse formula. Let f(x) = eˣ, so f⁻¹(x) = ln x. Then
(ln x)' = (f⁻¹)'(x) = 1/f'(f⁻¹(x)) = 1/e^(ln x) = 1/x
because f'(u) = eᵘ and f⁻¹(x) = ln x, so f'(f⁻¹(x)) = e^(ln x) = x. The inverse formula and the derivative table are the same idea wearing two outfits.
On the AP exam, eˣ and ln x almost never appear alone — they wrap around an inner function g(x). The Chain Rule ("derivative of outside, keeping the inside, times derivative of the inside") gives:
Chain Rule with exp/log.
`d/dx[ e^(g(x)) ] = e^(g(x)) · g'(x)
d/dx[ ln(g(x)) ] = g'(x) / g(x)
d/dx[ a^(g(x)) ] = a^(g(x)) · ln a · g'(x)
`
The ln(g(x)) rule is worth a special look: the outside derivative 1/(inside) times the inside derivative g'(x) gives g'(x)/g(x). The g'(x) on top is the part students forget. Writing d/dx[ln(x²+1)] = 1/(x²+1) (missing the 2x) is a classic dropped-chain-rule mistake.
Mini-examples.
d/dx[ e^(3x) ] = e^(3x) · 3 = 3e^(3x)
d/dx[ e^(x²) ] = e^(x²) · 2x = 2x·e^(x²)
d/dx[ ln(x²+1) ] = (2x)/(x²+1)
d/dx[ ln(cos x) ] = (−sin x)/(cos x) = −tan x
When a function is a messy product, quotient, or — especially — a variable base raised to a variable power like xˣ, taking the natural log first turns multiplication into addition and exponents into multipliers. The headline case:
y = xˣ ⟹ ln y = x·ln x ⟹ (1/y)·y' = ln x + 1 ⟹ y' = xˣ(ln x + 1)
You differentiate ln y on the left (giving y'/y by the Chain Rule) and the simplified right side, then multiply back by y. You won't need heavy log-differentiation on the AB exam, but recognizing that a power tower like xˣ is neither the power rule nor the aˣ rule — both require a constant somewhere — is exactly the kind of distinction AP likes to test.
Calculator note. This lesson is Mixed. Hand-differentiation is expected on non-calculator items; on [CALC] items you may confirm a numerical derivative with nDeriv. Example: TI-84: MATH → 8:nDeriv( → nDeriv(e^(2X), X, 0) returns 2, confirming d/dx[e^(2x)] = 2e^(2x) equals 2 at x = 0. Use nDeriv to check, never to replace the rule.
Problem. The differentiable, increasing function f has the values below. Let g = f⁻¹. Find g'(5).
x | f(x) | f'(x) |
|---|---|---|
| 1 | 2 | 3 |
| 2 | 5 | 4 |
| 3 | 10 | 6 |
Strategy. Use (f⁻¹)'(b) = 1/f'(f⁻¹(b)) with b = 5. First find the input a where f(a) = 5.
Solution.
g'(5) = (f⁻¹)'(5) = 1 / f'(f⁻¹(5))
From the table, f(2) = 5, so f⁻¹(5) = 2. Then f'(2) = 4:
g'(5) = 1 / f'(2) = 1/4
Answer. g'(5) = 1/4.
Justification. The matching input is a = f⁻¹(5) = 2 because f(2) = 5; the inverse-derivative formula then requires f' evaluated at that input, f'(2) = 4, giving the reciprocal 1/4. Reading f'(5) off the table would be the wrong evaluation point (and 5 isn't even an input row).
e^(g(x)) and ln(g(x)) chain rule (procedural) · [NO CALC]Problem. Differentiate (i) y = e^(x² − 3x) and (ii) y = ln(3x² − 2).
Strategy. Both are composites. Apply the Chain Rule: outside derivative times inside derivative.
Solution.
(i) Outside eᵘ differentiates to eᵘ; inside u = x² − 3x has u' = 2x − 3.
y' = e^(x² − 3x) · (2x − 3) = (2x − 3)·e^(x² − 3x)
(ii) Outside ln u differentiates to 1/u; inside u = 3x² − 2 has u' = 6x.
y' = (6x)/(3x² − 2)
Answer. (i) (2x − 3)e^(x² − 3x); (ii) 6x/(3x² − 2).
Justification. In (ii) the numerator 6x is the inside derivative g'(x); the ln(g) rule is g'/g, so dropping the 6x and writing 1/(3x² − 2) would be the missing-chain-rule error.
aˣ and logₐ x (procedural) · [NO CALC]Problem. Differentiate (i) y = 5^x, (ii) y = log₂ x, and (iii) y = 3^(x²+1).
Strategy. Use d/dx[aˣ] = aˣ ln a and d/dx[logₐ x] = 1/(x ln a). Part (iii) layers the Chain Rule on top of the aˣ rule.
Solution.
(i) y' = 5^x · ln 5
(ii) y' = 1 / (x · ln 2)
(iii) y' = 3^(x²+1) · ln 3 · (2x) = 2x·ln 3 · 3^(x²+1)
Answer. (i) 5^x ln 5; (ii) 1/(x ln 2); (iii) 2x·ln 3·3^(x²+1).
Justification. Each non-e base carries a ln a factor (ln 5, ln 2, ln 3). In (iii) the Chain Rule supplies the additional g'(x) = 2x. Omitting ln 3 — treating 3^(x²+1) as if it were the power rule on a variable — is the signature aˣ mistake.
eˣ, evaluated and interpreted (AP level) · [CALC to confirm]Problem. Let h(x) = x²·e^(3x). Find h'(x), then find the slope of the tangent line to h at x = 0.
Strategy. A genuine product → Product Rule, where the second factor e^(3x) itself needs the Chain Rule. Then evaluate h'(0).
Solution. With f = x² (f' = 2x) and p = e^(3x) (p' = 3e^(3x) by the Chain Rule):
h'(x) = f'·p + f·p'
= (2x)·e^(3x) + x²·(3e^(3x))
= e^(3x)·(2x + 3x²)
= x(3x + 2)·e^(3x)
At x = 0:
h'(0) = 0·(0 + 2)·e^0 = 0
Answer. h'(x) = x(3x + 2)e^(3x); the tangent slope at x = 0 is 0.
Justification. The Product Rule keeps one factor undifferentiated per term; the e^(3x) factor's derivative carries its own Chain-Rule factor of 3. Factoring out the common e^(3x) (never zero) leaves 2x + 3x², which is 0 at x = 0. Check with nDeriv: nDeriv(X²·e^(3X), X, 0) returns 0. ✓
Writing d/dx[eˣ] = x·e^(x−1). Students apply the power rule to eˣ. ✗ The power rule is for a variable base, constant exponent (xⁿ). Here the base is constant (e) and the exponent is the variable — a totally different rule. The correct (and remarkable) answer is d/dx[eˣ] = eˣ.
Forgetting ln a for aˣ. Writing d/dx[2ˣ] = 2ˣ by analogy with eˣ. ✗ Only base e self-differentiates. For any other base, d/dx[aˣ] = aˣ·ln a. Correct: d/dx[2ˣ] = 2ˣ ln 2.
Dropping g'(x) in d/dx[ln(g(x))]. Writing d/dx[ln(x²+1)] = 1/(x²+1). ✗ The Chain Rule requires the inside derivative on top: d/dx[ln(g)] = g'/g, so the answer is 2x/(x²+1). The g' is the most-forgotten piece in the whole lesson.
Evaluating f' at the wrong point for the inverse formula. Computing (f⁻¹)'(b) as 1/f'(b). ✗ The formula is 1/f'(f⁻¹(b)) — you must first find a = f⁻¹(b) and evaluate f' there. Plug into f'(a), never f'(b).
Trying to invert f algebraically instead of using the reciprocal formula. Spending the whole problem solving y = f(x) for x. ✗ The inverse-derivative formula (f⁻¹)'(b) = 1/f'(a) is designed so you never need a formula for f⁻¹ — just the matching point and f' there. For a cubic like x³ + x + 1, inverting is impossible anyway.
Attempt before checking section (g). [NO CALC] unless marked [CALC].
d/dx[e^(4x)] =d/dx[ln(7x)] =d/dx[3ˣ] =d/dx[ln(x² + 4)] =d/dx[e^(−x²)] =d/dx[x·eˣ] =d/dx[log₅ x] =f(x) = e^(x²), which value is closest to f'(1)?f satisfies f(1) = 4 and f'(1) = 7. If g = f⁻¹, then g'(4) =f. Let g = f⁻¹. Find g'(8). | x | f(x) | f'(x) | |---|---|---| | 2 | 8 | 5 | | 3 | 11 | 2 | | 4 | 15 | 9 |Differentiate y = ln(3x² − 2). Show your setup.
Differentiate y = x²·ln x. (Hint: Product Rule.)
For S(t) = 50·e^(0.2t) (a subscriber count, in thousands, t years after launch), find S'(5) and write one sentence interpreting it with correct units.
(justify) A student computes d/dx[ln(cos x)] = 1/(cos x). Compute the correct derivative and, in one sentence, identify the rule the student dropped.
(justify) The function f(x) = x⁵ + 2x + 1 is one-to-one with f(1) = 4. Without finding a formula for f⁻¹, compute (f⁻¹)'(4) and justify, in one sentence, why you do not need to invert f.
> Free Response Question — 9 points total
> Parts (a), (c), (d): No calculator. Part (b): Calculator permitted.
>
> A drug is administered to a patient. For 0 ≤ t ≤ 8, the concentration of the drug in the patient's bloodstream, in milligrams per liter (mg/L), is modeled by
> `
> C(t) = 20·e^(−0.5t)
> `
> where t is measured in hours after the dose.
>
> Separately, a nurse records the differentiable, increasing function D, the cumulative dose delivered (in mg) as a function of pump setting s. Selected values appear in the table.
>
> | s | D(s) | D'(s) |
> |---|---|---|
> | 1 | 2 | 3 |
> | 2 | 5 | 4 |
> | 3 | 10 | 6 |
>
> (a) (3 points) Find C'(2), including units, and interpret its meaning in the context of the problem.
>
> (b) (2 points) Find the time t, for 0 ≤ t ≤ 8, at which the concentration reaches 5 mg/L. Show the equation that leads to your answer.
>
> (c) (2 points) Write an equation for the line tangent to the graph of C at t = 2, and use it to approximate C(2.1).
>
> (d) (2 points) Let D⁻¹ be the inverse of the function D. Find (D⁻¹)'(5). Show the setup that leads to your answer.
(a) C'(2) with units and interpretation — 3 points
Differentiate using the Chain Rule (d/dx[e^(g)] = e^(g)·g'):
C'(t) = 20·e^(−0.5t)·(−0.5) = −10·e^(−0.5t)
Evaluate at t = 2:
C'(2) = −10·e^(−0.5·2) = −10·e^(−1) = −10/e ≈ −3.679 mg/L per hour
Interpretation: At t = 2 hours, the drug concentration in the bloodstream is decreasing at a rate of about 3.679 mg/L per hour. (The negative sign indicates the concentration is falling.)
(b) Time when C(t) = 5 — 2 points
Set the model equal to 5 and solve:
20·e^(−0.5t) = 5
e^(−0.5t) = 1/4
−0.5t = ln(1/4)
t = −2·ln(1/4) = 2·ln 4 = ln 16 ≈ 2.773 hours
t ≈ 2.773 hours.
(c) Tangent line at t = 2; approximate C(2.1) — 2 points
The point: C(2) = 20·e^(−1) = 20/e ≈ 7.358. The slope: C'(2) = −10/e ≈ −3.679 (from part (a)).
Tangent line through (2, 20/e) with slope −10/e:
y = 20/e − (10/e)(t − 2) [≈ 7.358 − 3.679(t − 2)]
Approximate C(2.1):
C(2.1) ≈ 7.358 − 3.679(2.1 − 2) = 7.358 − 3.679(0.1) ≈ 6.990
Tangent: y = 20/e − (10/e)(t − 2); C(2.1) ≈ 6.990 mg/L.
(d) (D⁻¹)'(5) — 2 points
By the inverse-function derivative formula, (D⁻¹)'(b) = 1/D'(D⁻¹(b)). With b = 5: from the table, D(2) = 5, so D⁻¹(5) = 2. Then D'(2) = 4:
(D⁻¹)'(5) = 1/D'(D⁻¹(5)) = 1/D'(2) = 1/4
(D⁻¹)'(5) = 1/4.
Part (a) — 3 pts: 1 pt for the correct derivative C'(t) = −10e^(−0.5t) (Chain Rule, including the −0.5 factor); 1 pt for the value ≈ −3.679 with units mg/L per hour; 1 pt for an interpretation that names the rate of decrease. Common loss: omitting the −0.5 chain factor (writing C'(t) = 20e^(−0.5t)) loses the derivative point; a bare number with no units loses the units point; "the concentration is −3.679" (confusing the rate with the value) loses the interpretation point.
Part (b) — 2 pts: 1 pt for the equation 20e^(−0.5t) = 5 (or e^(−0.5t) = 1/4); 1 pt for t = 2 ln 4 = ln 16 ≈ 2.773. Common loss: algebra slips when taking ln of both sides, or forgetting to divide by −0.5, which scrambles the answer.
Part (c) — 2 pts: 1 pt for a correct tangent equation using C(2) = 20/e and C'(2) = −10/e; 1 pt for the linear approximation C(2.1) ≈ 6.990. Common loss: finding the slope but never writing an actual line equation, or using C'(2) as the y-value instead of C(2). Decimal forms (7.358, −3.679) are accepted; show the line.
Part (d) — 2 pts: 1 pt for the correct setup (D⁻¹)'(5) = 1/D'(D⁻¹(5)) with D⁻¹(5) = 2 identified; 1 pt for the answer 1/4. Common loss: using 1/D'(5) — but 5 is not even an input row, and D'(5) is undefined here — earns 0; evaluating D' at the output instead of the matching input is the core error this part tests.
1. (C) 4e^(4x). Chain Rule: e^(4x)·4.
- (A) wrongly applies the power rule to an exponential. (B) forgets the inside derivative 4. (D) divides instead of multiplies by 4.
2. (C) 1/x. d/dx[ln(7x)] = (7)/(7x) = 1/x (the g'/g rule, with g = 7x, g' = 7). Equivalently ln(7x) = ln 7 + ln x, whose derivative is 1/x.
- (A) keeps the 7 only on top. (B) inverts incorrectly. (D) is the unsimplified-but-correct form 7/(7x) left unreduced — acceptable arithmetic but not in simplest form; (C) is the intended simplified answer.
3. (C) 3ˣ·ln 3. The aˣ rule: d/dx[aˣ] = aˣ ln a.
- (A) forgets ln 3 (the signature aˣ error). (B) applies the power rule to a constant base. (D) divides by ln 3 instead of multiplying.
4. (B) 2x/(x² + 4). ln(g) rule with g = x² + 4, g' = 2x: g'/g = 2x/(x² + 4).
- (A) drops the chain factor g' = 2x. (C) keeps only the inside derivative. (D) inverts the inside.
5. (B) −2x·e^(−x²). Chain Rule: e^(−x²)·(−2x).
- (A) forgets the inside derivative. (C) wrong sign on −2x. (D) wrongly applies the power rule.
6. (C) (x + 1)eˣ. Product Rule: (1)eˣ + x·eˣ = (x + 1)eˣ.
- (A) keeps only the first term. (B) keeps only the second. (D) sign error (should be +1).
7. (B) 1/(x ln 5). The logₐ x rule: d/dx[log₅ x] = 1/(x ln 5).
- (A) is the ln x rule, forgetting the ln 5 factor. (C) multiplies by ln 5 instead of dividing. (D) treats the base 5 as a numerator.
8. (B) 5.44. f'(x) = e^(x²)·2x, so f'(1) = e¹·2 = 2e ≈ 5.437. (nDeriv confirms ≈ 5.44.)
- (A) 2.72 uses e¹ only, forgetting the 2x factor. (C) 7.39 is e² — wrong evaluation. (D) 1.00 ignores the exponential.
9. (C) 1/7. Inverse formula: g'(4) = 1/f'(f⁻¹(4)) = 1/f'(1) = 1/7 (since f(1) = 4 ⟹ f⁻¹(4) = 1).
- (A) 7 forgets to take the reciprocal. (B) 1/4 takes 1/4 (reciprocal of the output, not f'). (D) 4 reports the input.
10. (A) 1/5. Find a = f⁻¹(8): from the table f(2) = 8, so a = 2. Then g'(8) = 1/f'(2) = 1/5.
- (B) 5 forgets the reciprocal. (C) 1/2 uses 1/a instead of 1/f'(a). (D) 1/8 takes the reciprocal of the output 8.
11. y' = 6x/(3x² − 2). ln(g) rule with g = 3x² − 2, g' = 6x: y' = g'/g = 6x/(3x² − 2).
12. y' = 2x·ln x + x = x(2 ln x + 1). Product Rule with u = x² (u' = 2x) and v = ln x (v' = 1/x): y' = (2x)(ln x) + (x²)(1/x) = 2x ln x + x.
13. S'(5) ≈ 27.18 thousand subscribers per year. S'(t) = 50·e^(0.2t)·(0.2) = 10·e^(0.2t); S'(5) = 10·e^(1) = 10e ≈ 27.183. (nDeriv confirms ≈ 27.18.) Interpretation: Five years after launch, the subscriber count is increasing at about 27,180 subscribers per year (since the count is measured in thousands).
14. Correct derivative: ln(g) rule with g = cos x, g' = −sin x:
d/dx[ln(cos x)] = (−sin x)/(cos x) = −tan x
Error: the student dropped the Chain Rule — they used 1/(cos x) but forgot to multiply by the inside derivative g' = −sin x. The full g'/g gives −tan x, not 1/(cos x).
15. (f⁻¹)'(4) = 1/7. Since f(1) = 4, we have f⁻¹(4) = 1. Then f'(x) = 5x⁴ + 2, so f'(1) = 5 + 2 = 7, and (f⁻¹)'(4) = 1/f'(1) = 1/7. Justification: the inverse-function derivative formula (f⁻¹)'(b) = 1/f'(f⁻¹(b)) needs only the matching input f⁻¹(4) = 1 and f' there — no formula for f⁻¹ is required (and inverting a fifth-degree polynomial is not possible by elementary algebra anyway).
CalcIQ · Lesson 14 of 35 · Unit 3 — Differentiation: Composite, Implicit, Inverse · Derivatives of Inverse & Exponential/Log Functions
This lesson is exam-preparation material aligned to the College Board AP Calculus AB Course and Exam Description. "AP" and "Advanced Placement" are registered trademarks of the College Board, which was not involved in the production of and does not endorse this product.
Accuracy review: All derivatives in this lesson were computed by hand and independently verified with a computer-algebra system (sympy). The inverse-function results — (f⁻¹)'(3) = 1/4 for f(x) = x³ + x + 1, Example 1's g'(5) = 1/4, and FRQ part (d)'s (D⁻¹)'(5) = 1/4 — were confirmed against (f⁻¹)'(b) = 1/f'(f⁻¹(b)). The exp/log table (d/dx[eˣ] = eˣ, d/dx[ln x] = 1/x, d/dx[aˣ] = aˣ ln a, d/dx[logₐ x] = 1/(x ln a)) and every composite (e^(g), ln(g), a^(g)) were verified. FRQ answers: (a) C'(2) = −10/e ≈ −3.679 mg/L per hour, (b) t = ln 16 ≈ 2.773 h, (c) tangent y = 20/e − (10/e)(t − 2) with C(2.1) ≈ 6.990, (d) (D⁻¹)'(5) = 1/4. Practice-key spot answers: 1→C, 2→C, 3→C, 4→B, 5→B, 6→C, 7→B, 8→B (2e ≈ 5.44), 9→C, 10→A, 13→10e ≈ 27.18, 15→1/7.