Derivatives and their proofs
The derivative as the limit of a difference quotient, the differentiation rules with the proofs the exam asks for, the chain rule, derivatives of exponential, logarithmic and trigonometric functions, logarithmic differentiation, higher derivatives, Rolle, the mean value theorem and l'Hôpital's rule.
Syllabus: Syllabus ch. 6 (first half) · Sessions: Lectures 6 to 8, WPO 6 and 7 · About 70 minutes
The derivative as a limitImportant
The slope of the secant through (x, f(x)) and (x + h, f(x + h)) is the difference quotient (f(x + h) − f(x))/h, an average rate of change. Letting h shrink to 0 turns the secant into the tangent and the average rate into an instantaneous one:
Notations: f'(x), dy/dx, df/dx and D f(x) all mean the same thing. If the limit exists, f is differentiable at x. Differentiable implies continuous, but not the other way round: |x| is continuous at 0 yet has a corner there, with left slope −1 and right slope 1.
The tangent line at x = a follows from the point-slope form: y = f(a) + f'(a)(x − a).
From the definition: f(x) = x2
Compute the limit directly.
Difference quotient
Simplify for h ≠ 0
Let h → 0
f'(x) = 2x; the tangent at a = 1 is y = 1 + 2(x − 1) = 2x − 1. The secant lab shows the secants turning into this tangent.
Differentiation rulesImportant
| Rule | Formula |
|---|---|
| Constant | (c)' = 0 |
| Power | (xn)' = n xn−1 for every real n |
| Constant multiple and sum | (c f + g)' = c f' + g' |
| Product | (f g)' = f' g + f g' |
| Quotient | (f / g)' = (f' g − f g') / g2 |
| Chain | (f(g(x)))' = f'(g(x)) · g'(x) |
| Exponential | (ex)' = ex, (ax)' = ax ln a |
| Logarithm | (ln x)' = 1/x, (loga x)' = 1/(x ln a) |
| Trigonometric | (sin x)' = cos x, (cos x)' = −sin x, (tan x)' = 1/cos2 x |
| Inverse trigonometric | (arctan x)' = 1/(1 + x2), (arcsin x)' = 1/√(1 − x2) |
With the chain rule every basic rule gets an inner derivative: (eu)' = eu u', (ln u)' = u'/u, (sin u)' = cos u · u', (un)' = n un−1 u'.
Chain and product together
Differentiate f(x) = x2 e3x and g(x) = √(1 + x2).
Product rule for f
Write g as a power
Chain rule
Identify the outermost operation first; it decides which rule you apply first.
Proofs you must be able to giveImportant
Half of the exam is theory, and a typical question reads "complete and prove the rule for ...". The lectures list the proofs to know: the definition of the derivative, the derivative of a constant and of a linear function, the constant multiple and sum rules, the product and quotient rules, the derivatives of ln x, ex and the trigonometric functions, the definition of the definite integral, the fundamental theorem of calculus and the mean value theorem. Below are the key ideas in short form; write every step and justify each limit.
Product rule
Proof, step by step.
Start from the definition
Add and subtract f(x + h)g(x)
Split the limit
Use continuity of f (differentiable implies continuous)
The trick is the extra term that is added and subtracted, so each piece becomes a known difference quotient.
Derivative of ln x
Proof, step by step.
Definition, with log rules
Move 1/h into the exponent
Substitute n = x/h, so 1/h = n/x
Standard limit and continuity of ln
(ln x)' = 1/x for x > 0.
Derivative of ex
Proof, step by step.
Write y = ex
Differentiate both sides, chain rule on the left
Solve
Alternative: from the definition, (ex)' = ex lim (eh − 1)/h = ex · 1.
Quotient rule from the product rule
Proof, step by step.
Write q = f/g
Product rule
Solve for q'
Multiply top and bottom by g
This short route assumes q is differentiable; the syllabus also gives the direct limit proof.
Logarithmic differentiation and higher derivativesImportant
When x appears in both the base and the exponent, as in xx or xsin x, no basic rule applies. Take ln of both sides first, then differentiate implicitly. The same trick simplifies long products and quotients.
Differentiate y = xx (x > 0)
Take logarithms.
ln of both sides
Differentiate
Multiply by y
General pattern for y = uv: y' = uv(v' ln u + v u'/u).
The second derivative f'' is the derivative of f'; it measures how the slope changes (curvature) and returns in chapter 6. Higher derivatives f''', f(4), ... are found the same way. Example: for f(x) = x4, f' = 4x3, f'' = 12x2, f''' = 24x and f(4) = 24.
Extreme value theorem, Rolle and the mean value theoremImportant
Extreme value theorem: a continuous function on a closed interval [a, b] reaches a largest and a smallest value on that interval.
Rolle's theorem: if f is continuous on [a, b], differentiable on ]a, b[ and f(a) = f(b), then f'(c) = 0 for some c in ]a, b[: somewhere the tangent is horizontal.
Mean value theorem: if f is continuous on [a, b] and differentiable on ]a, b[, there is a c in ]a, b[ with
In words: at some moment the instantaneous rate of change equals the average rate. If you drive 120 km in one hour, at some instant the speedometer showed exactly 120 km/h. The proof applies Rolle to f minus the secant line, a function that takes equal values at a and b.
Consequences: if f' > 0 on an interval, f is increasing there; if f' = 0 on an interval, f is constant there.
L'Hôpital's ruleImportant
If lim f(x)/g(x) gives 0/0 or ±∞/±∞, and f and g are differentiable near a with g'(x) ≠ 0, then
It also works for a = ±∞. Other indeterminate forms are first rewritten: 0 · ∞ becomes a quotient, and powers such as 1∞ or 00 go through a logarithm.
Two l'Hôpital limits
Check the form before every application.
limx→0 (ex − 1 − x)/x2: 0/0
limx→0+ x ln x: 0 · (−∞)
Differentiate top and bottom
Both limits are confirmed numerically by the limit explorer in chapter 4.
Key takeaways
- f'(x) = limh→0 (f(x + h) − f(x))/h: the slope of the tangent.
- Tangent at a: y = f(a) + f'(a)(x − a).
- Know the product, quotient and chain rules by heart, and the proofs on the lecture list.
- Variable base and variable exponent: take ln first.
- Mean value theorem: some instantaneous rate equals the average rate.
- L'Hôpital only for 0/0 or ∞/∞, top and bottom separately.
Multiple choice (11)
The derivative of x3 − 4/x is...
(ex2)' equals...
(ln(x2 + 1))' equals...
The derivative of x/(x + 1) is...
The tangent to y = ln x at x = 1 is...
(xx)' at x = 1 equals...
limx→0 (1 − cos x)/x2 equals...
Which theorem guarantees f'(c) = (f(b) − f(a))/(b − a)?
Which step proves the product rule?
If f'(x) = 0 for all x in ]a, b[, then f is...
(sin(3x + 1))' equals...
Exam-style open questions (3)
Prove a rule
Complete and prove: d/dx ln(x) = ...
Show the worked outline
- Answer: 1/x for x > 0.
- Definition: lim (ln(x + h) − ln x)/h = lim (1/h) ln(1 + h/x).
- Rewrite as lim ln((1 + h/x)1/h) and substitute n = x/h.
- Get (1/x) ln(lim (1 + 1/n)n) = (1/x) ln e = 1/x, using continuity of ln.
Logarithmic differentiation
Differentiate y = xcos x for x > 0.
Show the worked outline
- ln y = cos x · ln x.
- y'/y = −sin x ln x + cos x / x.
- y' = xcos x(cos x / x − sin x ln x).
Mean value theorem
For f(x) = x3 on [0, 3], find the c promised by the mean value theorem.
Show the worked outline
- Average slope: (27 − 0)/3 = 9.
- f'(c) = 3c2 = 9 gives c = ±√3.
- Only c = √3 ≈ 1.732 lies in ]0, 3[.
LabSecant to tangent lab
Includes xsin x and the January 2024 exam function.
LabDifferentiation rule sorter
Two quick games with explanations.