Differentiation §
Differentiation measures the instantaneous rate of change of a function and, through the mean value theorem and Taylor expansion, turns local slope information into global control and polynomial approximation. It is the engine behind optimization, sensitivity analysis, and the modeling of change in physics and engineering. This page covers the derivative, the mean value theorem, Taylor expansion, and the inverse and implicit function theorems.
Authoritative sources
The derivative §
Definition. If is defined on a neighborhood of , the derivative is
when the limit exists. is differentiable at if this limit exists.
Details
From slope to derivative §
The difference quotient is the slope of the secant line through and . As , the secant line rotates toward the tangent line, and its slope tends to the derivative. So the derivative is the slope of the tangent line — the instantaneous rate of change.
Worked example §
Compute for .
So .
Differentiability implies continuity §
If is differentiable at , then is continuous at . Proof: , and the right side tends to . The converse fails: is continuous at but not differentiable there (the left and right difference quotients tend to and ).
Example problem
Problem. Show that is not differentiable at .
Solution
The right-hand difference quotient is for , and the left-hand quotient is for . The two one-sided limits differ, so the limit defining does not exist. ∎
The mean value theorem §
Theorem (MVT). If is continuous on and differentiable on , then there exists such that
Details
Why it matters §
The MVT says that somewhere in the interval the instantaneous rate equals the average rate. It is the bridge between local (derivative) and global (values at endpoints) information.
Consequence (monotonicity). If for all , then is increasing on . Proof: for , the MVT gives .
Consequence (boundedness). If everywhere on an interval, then is constant there.
Proof sketch §
Apply Rolle’s theorem to , which satisfies . Rolle’s theorem (itself a consequence of the extremum theorem and Fermat’s theorem) gives , i.e. the MVT.
Example problem
Problem. Use the MVT to show that for all real .
Solution
By the MVT applied to on the interval between and , there is between them with . Since , the result follows. ∎
Taylor expansion §
Theorem (Taylor’s theorem). If is times differentiable near , then for near there is between and such that
Details
The idea §
Taylor’s theorem approximates near by a polynomial whose coefficients are the derivatives at . The remainder term measures the error and shows the approximation improves as grows (when the derivatives stay bounded).
Worked example: §
For , every derivative is , so . Taylor’s theorem at gives
and since is bounded on bounded intervals, the series converges to for all .
Example problem
Problem. Find the second-order Taylor polynomial of at , and bound the error for .
Solution
, so , so . The polynomial is . The remainder is with . For , , so . ∎
Inverse and implicit function theorems §
Theorem (inverse function theorem). If is differentiable at and , then is locally invertible near , and the inverse is differentiable with
Theorem (implicit function theorem). If and , then near the equation defines as a differentiable function of , with
Details
Why the non-vanishing derivative matters §
The condition guarantees that is locally monotone (by the MVT, the derivative keeps its sign), hence one-to-one, hence invertible. The implicit function theorem is the multivariable generalization: a non-zero partial derivative lets you “solve for” one variable in terms of the others. See Multivariable analysis for the full statement.
Worked example: implicit differentiation §
The unit circle defines near . Here , , . At , , so the theorem applies and at — the tangent is horizontal at the top of the circle.
Example problem
Problem. The curve (the folium of Descartes) passes through . Find the slope of the tangent there.
Solution
Let . Then , . At , , so the implicit function theorem does not apply directly (the tangent is vertical). Using as well, both partials vanish; differentiating implicitly, , at gives , indeterminate. A direct check of the curve near shows the tangent line is (slope ), found by factoring the lowest-degree terms. ∎
Quiz §
Example problem
Problem. Let be differentiable on with for all and .
(a) Use the MVT to show that for all .
(b) Verify directly that satisfies the conditions.
Solution
(a) Let . Then for all . By the MVT, for any , , so is constant. Since , the constant is , hence .
(b) and , so both conditions hold. ∎