3.1 The Chain Rule
Spot the Composite
Composite f(g(x)): inner g feeds outer f. Spot it when a fn. acts on anything but plain x: sin(3x), (x² + 1)⁵, ex², ln(cos x). Plain sin x, eˣ, ln x need no chain rule at all.
Decompose: inner u = g(x), outer f(u). Ex: √(4x − 7) → u = 4x − 7, f(u) = u1/2 → y′ = ½(4x − 7)−1/2·4.
The Rule
Chain rule: d/dx[f(g(x))] = f′(g(x))·g′(x): outer deriv. evaluated at the inner, times the inner's own deriv.
Leibniz form: dy/dx = (dy/du)(du/dx); rates multiply, units cancel like fractions (e.g., cm/sec = cm/°C · °C/sec).
Ex: y = (x² + 1)⁵ → y′ = 5(x² + 1)⁴·2x = 10x(x² + 1)⁴. Never expand the 5th power first; it wastes minutes.
Ex: y = sin(3x²) → y′ = cos(3x²)·6x. The outer trig fn. keeps its inside unchanged; only then × the inner's deriv.
Chain-Rule Forms (u = inner fn.)
| Function | Derivative |
|---|---|
| un | n·un−1·u′ |
| sin u; cos u | cos u·u′; −sin u·u′ |
| tan u; sec u | sec²u·u′; sec u·tan u·u′ |
| eu; au | eu·u′; au·ln a·u′ |
| ln u; logau | u′/u; u′/(u·ln a) |
| √u | u′/(2√u) |
Ex: d/dx[ln(x² + 4)] = 2x/(x² + 4); d/dx[25x] = 5·ln 2·25x; d/dx[e−x²] = −2x·e−x²; d/dx[tan(eˣ)] = eˣ·sec²(eˣ).
3.1 Chain Rule: Nested, Tables & Graphs
Multiple Layers
Nested chain: d/dx[f(g(h(x)))] = f′(g(h(x)))·g′(h(x))·h′(x); one factor per layer, so 3 layers → 3 factors.
Ex: y = cos³(2x) = [cos(2x)]³ → y′ = 3cos²(2x)·(−sin(2x))·2 = −6cos²(2x)·sin(2x). Rewrite the power first.
Ex: y = esin(x²) → y′ = esin(x²)·cos(x²)·2x. Outer eᵘ copies itself, then × each inner deriv. in turn.
Chain + product: y = x²(3x − 1)⁴ → y′ = 2x(3x − 1)⁴ + x²·4(3x − 1)³·3; factor out x(3x − 1)³ if asked to simplify.
From a Table
| x | g(x) | g′(x) | f′(x) |
|---|---|---|---|
| 1 | 3 | −2 | 4 |
| 2 | 2 | 6 | −3 |
| 3 | 1 | 5 | −1 |
h(x) = f(g(x)): h′(1) = f′(g(1))·g′(1) = f′(3)·(−2) = (−1)(−2) = 2. Read f′ at g(1) = 3, never at the input x = 1.
k(x) = [g(x)]²: k′(3) = 2g(3)·g′(3) = 2(1)(5) = 10. Squares, roots & reciprocals of g are hidden chain rules.
m(x) = g(2x): m′(x) = g′(2x)·2 → m′(1/2) = g′(1)·2 = −4. Constant multiples inside count as an inner fn.
p(x) = f(x²): p′(x) = f′(x²)·2x → p′(1) = f′(1)·2 = 8. Inner x² gives the extra factor 2x, evaluated at x = 1.
From a Graph
Piecewise-linear f: f′ = slope of the segment at that input; at a corner f′ DNE, so (f∘g)′ may DNE there too.
Graph of g: read g(a) as a height, g′(a) as a slope; a horizontal tangent → g′(a) = 0 → the whole product = 0.
3.2 Implicit Differentiation: Method
When to Use It
Implicit relation: x & y mixed in one eq., e.g., x² + y² = 25, x³ + y³ = 6xy; y not solved for (often can't be).
Key idea: treat y as a fn. of x, so every y-term gets the chain rule: d/dx[yn] = nyn−1·dy/dx, never just nyn−1.
4-Step Process
1. Take d/dx of both sides. 2. Tag dy/dx on every y-term's deriv. 3. Move all dy/dx terms to one side, the rest to the other. 4. Factor out dy/dx, then divide.
| Term | d/dx |
|---|---|
| y² | 2y·y′ |
| sin y; ey | cos y·y′; ey·y′ |
| ln y | y′/y |
| xy | y + x·y′ |
| x²y³ | 2xy³ + 3x²y²·y′ |
| constant (25, π) | 0 |
| tan y | sec²y·y′ |
Worked Examples
x² + y² = 25: 2x + 2y·y′ = 0 → y′ = −x/y. At (3, 4): y′ = −3/4. Implicit answers usually have x AND y in them.
x³ + y³ = 6xy: 3x² + 3y²y′ = 6y + 6xy′ → y′(3y² − 6x) = 6y − 3x² → y′ = (2y − x²)/(y² − 2x) after ÷ 3.
sin(xy) = y: cos(xy)·(y + xy′) = y′ → y′[x·cos(xy) − 1] = −y·cos(xy) → y′ = y·cos(xy)/(1 − x·cos(xy)).
ey + x = y²: eyy′ + 1 = 2yy′ → y′(2y − ey) = 1 → y′ = 1/(2y − ey). Factor out y′; never divide term by term.
3.2 Implicit: Tangents & d²y/dx²
Tangent Lines
Slope at a point: plug BOTH x & y into dy/dx. Check that the point is on the curve first (plug into the eq.).
Tangent line: y − y₁ = m(x − x₁). Ex: x² + y² = 25 at (3, 4) → y − 4 = −(3/4)(x − 3); normal line slope = 4/3.
Find the points: set N = 0 (or D = 0), solve for one var., then sub back into the ORIGINAL eq. for the other.
Ex: y′ = −x/y. Horizontal: −x = 0 → x = 0 → y² = 25 → (0, ±5). Vertical: y = 0 → x² = 25 → points (±5, 0).
| dy/dx = N/D | Meaning |
|---|---|
| N = 0, D ≠ 0 | Horizontal tangent |
| D = 0, N ≠ 0 | Vertical tangent |
| N = 0 & D = 0 | 0/0: inconclusive |
| N/D = given m | Tangent ∥ given line |
Second Derivative
d²y/dx²: differentiate the dy/dx expression (often quotient rule). y′ appears again → substitute dy/dx in.
Ex: y′ = −x/y → y″ = −(y − x·y′)/y² = −(y + x²/y)/y² = −(x² + y²)/y³ = −25/y³ on the circle x² + y² = 25.
Simplify w/ the original eq.: x² + y² = 25 replaced the numerator above. FRQs often reward this step.
Evaluate: at (3, 4), y″ = −25/64 < 0 → curve concave down there; at (3, −4), y″ = 25/64 > 0 → up.
Linking to Context
Approximate w/ the tangent line near (x₁, y₁): y ≈ y₁ + m(x − x₁). Ex: circle near x = 3.1 → y ≈ 4 − 0.075 = 3.925.
Related rates preview (Unit 4): same move, but d/dt: x² + y² = 25 → 2x·dx/dt + 2y·dy/dt = 0 → solve for dy/dt.
3.3 Differentiating Inverse Functions
The Formula
Inverse f⁻¹ undoes f: if f(a) = b, then f⁻¹(b) = a. Graphs reflect over y = x, so point (a, b) ↔ point (b, a).
Inverse deriv.: (f⁻¹)′(b) = 1/f′(a), where f(a) = b. Needs f′(a) ≠ 0; else f⁻¹ has a vertical tangent at x = b.
Why: f(f⁻¹(x)) = x → f′(f⁻¹(x))·(f⁻¹)′(x) = 1 by the chain rule → (f⁻¹)′(x) = 1/f′(f⁻¹(x)). Implicit diff. at heart.
Reciprocal slopes: slope m at (a, b) on f ↔ slope 1/m at (b, a) on f⁻¹. Same sign, so both ↑ or both ↓.
3-Step Process
1. Note g = f⁻¹ & the input b. 2. Solve f(a) = b for a (table, inspection, guess-and-check). 3. Answer = 1/f′(a).
Ex: f(x) = x³ + 2x + 1, g = f⁻¹. g′(4)? f(1) = 4 → a = 1; f′(x) = 3x² + 2 → f′(1) = 5 → g′(4) = 1/5. No need to solve for g.
Ex: f(x) = e2x + x, g = f⁻¹. g′(1)? f(0) = 1 → a = 0; f′(x) = 2e2x + 1 → f′(0) = 3 → g′(1) = 1/3. Guess a = 0 first.
Known inverse: g(x) = ln x is the inverse of eˣ → g′(x) = 1/eln x = 1/x; same answer as the usual ln rule.
From a Table
| x | f(x) | f′(x) |
|---|---|---|
| 1 | 3 | 2 |
| 3 | 7 | −4 |
| 7 | 1 | 1/2 |
Table ex: g = f⁻¹ → g′(3) = 1/f′(1) = 1/2; g′(7) = 1/f′(3) = −1/4. Find 3 & 7 in the f(x) column, not the x column.
Tangent to f⁻¹ at x = 7: point (7, 3), slope −1/4 → y − 3 = −(1/4)(x − 7). Swap the coordinates of (3, 7).
3.4 Inverse Trig Derivatives
The Six Formulas (u = inner fn.)
| Function | Derivative |
|---|---|
| arcsin u | u′/√(1 − u²) |
| arccos u | −u′/√(1 − u²) |
| arctan u | u′/(1 + u²) |
| arccot u | −u′/(1 + u²) |
| arcsec u | u′/(|u|√(u² − 1)) |
| arccsc u | −u′/(|u|√(u² − 1)) |
Co-functions (arccos, arccot, arccsc) = neg. of their partner's deriv. Learn 3, get 6: just flip the sign.
Notation: sin⁻¹x = arcsin x, an angle; NOT 1/sin x = csc x. Same for tan⁻¹x (an angle) vs. cot x = 1/tan x.
Examples
Ex: d/dx[arctan(3x)] = 3/(1 + 9x²); d/dx[arcsin(x²)] = 2x/√(1 − x⁴). Square the whole inner u, then × u′.
Ex: d/dx[x·arctan x] = arctan x + x/(1 + x²) (product rule first, then the arctan formula on the 2nd term).
Ex: d/dx[arcsin(eˣ)] = eˣ/√(1 − e2x); at x = 0 the bottom is √0 → deriv. DNE (a vertical tangent line).
Domains, Ranges & Derivation
| Fn. | Domain | Range |
|---|---|---|
| arcsin | [−1, 1] | [−π/2, π/2] |
| arccos | [−1, 1] | [0, π] |
| arctan | all reals | (−π/2, π/2) |
Derive: y = arcsin x → sin y = x → cos y·y′ = 1 → y′ = 1/cos y = 1/√(1 − x²), since cos y ≥ 0 on [−π/2, π/2].
3.5 Selecting Procedures
Read the Structure
Classify the outermost step: sum → term by term; product → product rule; quotient → quotient rule; composite → chain.
| Form | Rule |
|---|---|
| f·g | f′g + fg′ |
| f/g | (f′g − fg′)/g² |
| f(g(x)) | f′(g(x))·g′(x) |
| F(x, y) = c | Implicit diff. |
| f⁻¹ at b | 1/f′(a), f(a) = b |
| k·f, k const. | k·f′ (no product rule) |
Ex: y = e2x/(x² + 1) → quotient outside, chain inside: y′ = [2e2x(x² + 1) − e2x·2x]/(x² + 1)²; no need to simplify.
Ex: y = √(x·sin x) → chain outside, product inside: y′ = (sin x + x·cos x)/(2√(x·sin x)), 2 rules in 1 line.
Simplify Before You Differentiate
Rewrite powers: 5/x³ = 5x⁻³ → −15x⁻⁴; √x/x = x−1/2. A constant × fn. needs no product rule.
Log rules first: ln(x²√(x + 1)) = 2ln x + ½ln(x + 1) → y′ = 2/x + 1/(2(x + 1)). No product or chain mess.
Variable base & exponent: xx = ex ln x → y′ = ex ln x(ln x + 1) = xx(ln x + 1) by the chain + product rules.
Exam Moves
MCQ answer forms differ by algebra: factor, or test a value like x = 0 in your answer & each choice.
Quotient w/ constant top: 3/(x² + 1) = 3(x² + 1)⁻¹ → −6x/(x² + 1)², quicker by chain than quotient rule.
3.6 Higher-Order Derivatives
Notation & Meaning
2nd deriv.: f″(x) = d²y/dx² = d/dx[f′(x)]; nth: f(n)(x) = dny/dxn. Primes up to f‴, then f(4), f(5) in parentheses.
Meaning: f″ = rate of change of f′. Motion: x(t) → v = x′ → a = v′ = x″ (Unit 4). Sign of f″ → concavity (Unit 5).
| f(x) | f′(x) | f″(x) |
|---|---|---|
| x⁴ | 4x³ | 12x² |
| e3x | 3e3x | 9e3x |
| ln x | 1/x | −1/x² |
| sin x | cos x | −sin x |
| √x | ½x−1/2 | −¼x−3/2 |
Patterns
sin/cos cycle (period 4): sin → cos → −sin → −cos → sin. Use n mod 4: d27/dx27[sin x] = −cos x (27 = 24 + 3).
ekx: f(n) = knekx. Polynomial of degree n: f(n) = n!·(lead coeff.), a constant, and f(n+1) = 0 onward.
Chain inside: y = sin(2x) → y′ = 2cos(2x) → y″ = −4sin(2x); each round brings another factor of 2.
BC link: f(n)(a)/n! = Taylor coefficients (Unit 10); fast, clean higher derivs. pay off big in series work there.
Ex: f(x) = 1/x = x⁻¹ → f′ = −x⁻², f″ = 2x⁻³, f‴ = −6x⁻⁴, f(4) = 24x⁻⁵ → f(n) = (−1)nn!·x−(n+1) (alternating signs).
Unit 3 on the Exam
On the exam: mostly no-calc MCQ; chain rule & implicit diff. also sit inside FRQs on rates, tangents, concavity & motion.