Topic 7 · Derivatives, the Chain Rule and Marginal Effects
[video] Lecture video — Topic 7: Derivatives, the Chain Rule and Marginal Effects — /api/lesson-media/videos/4d3653ff-a3ca-4f63-bf8e-bb93c553e599-1794892660459-55c495ac2b48953f.mp4
Flashcards · Derivatives, the chain rule and marginal effects
Limit — lim f(x) = L as x → a means f(x) can be made as close to L as we like with x close to a (x ≠ a). The two-sided limit exists iff both one-sided limits agree.
(x² − 1)/(x − 1) → 2 as x → 1.
Continuity at a — f(a) is defined and lim f(x) = f(a) as x → a.
Defining f(1) = 2 makes (x² − 1)/(x − 1) continuous at 1.
Derivative — f′(a) = lim (f(a + h) − f(a))/h as h → 0: the local rate of change and the tangent slope.
For x², f′(a) = 2a.
Differentiable vs continuous — Differentiable at a implies continuous at a. The converse fails.
|x| is continuous at 0, but its quotient is −1 on the left and +1 on the right.
Tangent line / linear approximation — y = f(a) + f′(a)(x − a); for small h, f(a + h) ≈ f(a) + f′(a)h.
x² at 3: f(3.02) ≈ 9 + 6(0.02) = 9.12.
Derivative rules — (xᵖ)′ = pxᵖ⁻¹, (fg)′ = f′g + fg′, (f/g)′ = (f′g − fg′)/g², (eˣ)′ = eˣ, (ln x)′ = 1/x.
Chain rule — (f∘g)′(x) = f′(g(x))·g′(x): outer derivative at the inner value, times the inner derivative.
(3x + 1)² → 2(3x + 1)·3 = 6(3x + 1); ln u → u′/u.
Marginal effect — A derivative read in context: the change in the output per extra unit of input, for small changes near a point. Δf ≈ f′(a)Δx.
C′(10) = 7: about 7 more cost per extra unit at q = 10.
Second-order Taylor — f(a + h) ≈ f(a) + f′(a)h + ½f″(a)h². The second derivative tells how the slope changes.
ln 1.1 ≈ 0.1 − ½(0.1)² = 0.095.
Sigmoid derivative — σ′(z) = σ(z)(1 − σ(z)); the maximum is 1/4 at z = 0 and it vanishes as σ approaches 0 or 1.
[markdown] content available only on the platform
