Learning goals and preparation
We assume Chapter 1's derivatives, exponential/logarithmic rules, continuity and domains. This chapter develops systematic applications rather than isolated differentiation exercises. You will classify changes of slope, optimize under a constraint, and quantify a local approximation with an explicit error bound. The examples are hypothetical scientific models, not empirical or medical recommendations.
2.1 The mean value theorem as a practical tool
Let . If is continuous on and differentiable on , the mean value theorem guarantees a point with
One proof subtracts the chord line from ; the resulting function has equal endpoint values, and an interior extremum supplies a zero derivative unless it is constant. This is Rolle's theorem, also requiring a nondegenerate interval and the same continuity/differentiability hypotheses.
It follows that throughout an interval implies strict increase, and implies strict decrease. A bound on a segment gives . These are interval conclusions from local derivative information; the theorem cannot be applied across a missing domain point.
Fermat's necessary condition. At a differentiable interior local maximum or minimum, .
Proof. At a local maximum, sufficiently small positive increments give nonpositive difference quotients and negative increments give nonnegative ones. A two-sided derivative can satisfy both sign limits only by being zero. Negating the function treats a minimum.
The interior hypothesis matters: on has extrema at endpoints despite derivative 1. The converse fails: has zero derivative at zero but no extremum there.
Rolle's theorem. If , is continuous on , differentiable on and , then for some .
Proof. The extreme-value theorem supplies maximum and minimum. If the function is constant, every interior point works. Otherwise a value differs from the equal endpoint values, so either a maximum or a minimum occurs in the interior. Fermat's condition applies there.
Mean value theorem. Under the same continuity and differentiability hypotheses but without equal endpoint values, some satisfies .
Subtract the secant line from and apply Rolle. This proves the theorem without assuming is continuous. Consequences include: derivative zero on an interval makes the function constant; nonnegative derivative makes it nondecreasing; and on an interval gives for points in it. An interval-wide derivative bound cannot be inferred from one derivative value.
Worked example 1: an error bound. For and , . Thus . The bound uses a whole-segment derivative maximum, not only the derivative at one endpoint.
2.2 Stationary points and concavity
At an interior differentiable local extremum, . A stationary point is only a candidate: has zero slope at zero yet is increasing through it. Nondifferentiable points and endpoints must also be checked.
The second derivative is the rate of change of slope. If on an interval, slopes increase and the graph is convex (concave upward); means slopes decrease. A point of inflection requires a graph point and a change of concavity, not merely a zero second derivative. If and under appropriate continuity near , there is a strict local minimum; if , a strict local maximum. Zero second derivative is inconclusive.
Worked example 2: where a response changes curvature. For , consider the dimensionless response
Differentiating gives
It increases for , is concave upward for , and downward afterward. The inflection is at , where the positive marginal response is greatest. The response itself has no interior maximum; it approaches one as . Confusing a maximum slope with a maximum level would misread this model.
2.3 Closed-interval and constrained optimization
A continuous function on a closed bounded interval attains extrema. Find all interior critical inputs, include both endpoints, and compare values. For an open or unbounded feasible interval, attainment needs an additional argument.
Worked example 3: a minimum-distance location. Suppose a facility is placed at coordinate on a line and the criterion is total squared distance to sites at coordinates :
Then , giving , and . More strongly, direct expansion yields , proving a unique global minimum at the mean location. This squared-distance model differs from minimizing total unsquared distance, which generally selects a median instead.
Worked example 4: a rectangle with one constrained side. A rectangular enclosure uses units of fencing on three sides; a fixed wall supplies the fourth. If is a perpendicular side and the parallel side, , so area is
The unique maximum is at . The domain follows from positivity, and the square identity proves global optimality despite the open endpoints. A four-sided fencing constraint would be a different model.
2.4 Related rates: constraints differentiated in time
If several quantities vary together, write their relationship before inserting an instant's values. Differentiate with respect to time, treating every changing quantity as a function of time.
Worked example 5: a changing circular region. Let area and suppose radius increases at length units per time unit. Then . At , the area rate is square units per time unit. The rate increases with radius even though the radius rate is constant. Substituting before differentiating would incorrectly turn the area into a constant.
For a spherical volume , relative differentials satisfy . Relative changes compare percentages, while absolute changes compare output units. The differential relation is first order, not an exact finite-change equality.
2.5 Linear approximation and explicit remainder checks
At a differentiable point, . A numerical accuracy claim needs more than the word “small.” If has a continuous second derivative and between and , Taylor's first-order remainder gives
The bound follows from integrating the derivative difference: , then applying the mean value theorem to bound the bracket by . The same bound holds for either sign of .
The order- Taylor polynomial at is , whose degree may be smaller than if leading derivatives vanish.
Theorem: Taylor's integral remainder
Let and let have continuous derivatives through order on the closed interval between and . Then
Consequently, if there, then .
Proof. At , the identity is the fundamental theorem . For , integrate the remainder by parts, taking and . The boundary at is zero and at contributes . The remaining integral is the order- remainder. Induction therefore yields the identity. This uses oriented integrals, so it also holds when . Taking absolute values, reversing integration limits if needed, and integrating gives the stated bound. Continuity of the highest derivative makes every use of parts and the bound valid.
This theorem provides a sufficient regularity setting, not the weakest possible hypotheses. For a Taylor series to represent at a fixed , the remainders must tend to zero as . A finite-order error bound alone does not prove that without control of its dependence on .
With , the substitution gives
This form controls either sign of . If the derivative magnitude is at most , then . Let be a nonnegative integer, let be continuous on the closed segment between and , and suppose the integral remainder above holds. If , put . The weight is positive on and has integral . When , it is the constant polynomial on all of . If is nonconstant, continuity makes and strictly positive on some interior subintervals. The weight is positive there, so the corresponding integrals are both strictly positive. Thus the weighted average lies strictly between the minimum and maximum; the intermediate value theorem gives some attaining it. If is constant, choose any interior . Therefore
This also holds for , with the sign retained in . If , directly and no intermediate point is needed.
Worked example 6: estimate a square root. Around , . At the prediction is . On , , so the absolute error is at most . The graph is concave downward, so the tangent prediction is an overestimate. A bound and an error direction supply more information than a decimal comparison alone.
2.6 Relative rates and model interpretation
For positive , the logarithmic derivative is . It measures proportional change per input unit. An exponential has constant logarithmic derivative; an affine model usually does not. To compare a small relative output change with a relative input change at , use elasticity , stating its sign convention.
Worked example 7: relative sensitivity of saturation. For with positive constants and ,
At , a small relative input increase produces about half as large a relative response increase. At large , the response is relatively insensitive. These are local conclusions; the exact ratio for a finite change follows from the original rational formula, not from treating the elasticity as constant.
2.7 Graded exercises
Foundation
- Find the stationary point of and prove it is the global minimum.
- Classify the origin for and without relying solely on a second-derivative value.
- Use a derivative bound to show for .
Core
- Maximize on , including feasibility and endpoint reasoning.
- A circular region has cm/s. Find at radius cm.
- Minimize for all real , giving a global argument.
- Approximate using the tangent line of at . Bound the error using on .
- For with , calculate the exact response ratio and compare its large- limit with its small- limit.
Synthesis
- For in Worked example 2 with , find its inflection input and response value there. Explain why the level is not maximal there.
- A rectangle uses length of fence on three sides as in Worked example 4. Derive the optimal side lengths and area symbolically, and show the maximum area scales as rather than .
2.8 Full solutions
- , so the unique global minimum is at . The derivative vanishes there, agreeing with the exact square identity.
- takes negative and positive values on opposite sides of zero, so it has no local extremum. with equality only at zero, so zero is a strict global minimum. Both have second derivative zero there, illustrating why that test is inconclusive.
- On , the derivative magnitude is . The mean value theorem on the segment joining gives the bound; if it is immediate.
- The derivative is positive on , so the maximum is at , with value . The unconstrained stationary input is outside the interval; the other endpoint gives zero.
- cm/s.
- , so the unique global minimum is eight at .
- The tangent line is , giving . The remainder magnitude is at most . The given second-derivative bound holds because for .
- The ratio is . It tends to one as and to two as . At the ratio is undefined; the small-input value is a right-hand limit. Saturation makes doubling the input less effective in relative output terms at large inputs.
- The inflection input is . Its response is . The derivative remains positive afterward, so the response continues increasing toward one; only its rate begins decreasing.
- with . Area is . Thus , , and maximum area . Multiplying available fence by a factor multiplies the area maximum by that factor squared.
Summary and onward map
Derivative signs need interval hypotheses. Stationarity is necessary only at interior differentiable extrema and is not sufficient. Curvature distinguishes level behaviour from marginal-rate behaviour. Constraints must be inserted before optimization, and related rates must be differentiated before instant values are substituted. A derivative predicts locally; a remainder or whole-segment bound certifies accuracy.