Learning goals and preparation
We assume Chapter 1's derivative definition and rules, continuity, and basic trigonometric functions in radians. This chapter explains how derivative information controls an entire graph or optimization problem. It also supplies carefully qualified techniques for indeterminate limits. A derivative sign or a stationary-point calculation is evidence for a specific conclusion, not a substitute for checking hypotheses.
2.1 Mean value theorems connect local and interval information
Why the real numbers need more than arithmetic
The rational numbers support the familiar ordered arithmetic, yet the set has no rational least upper bound. The real number system adds a completeness property: bounded nonempty sets have least upper bounds. This is the source of many existence results later in analysis, not simply another rule for manipulating inequalities.
Definition
Upper bound and supremum
For a nonempty , is an upper bound if for every . A number is if it is an upper bound and for every upper bound . A maximum is an element of that is also an upper bound. The maximum, when it exists, is the supremum; a supremum need not belong to . Lower bounds, infimum and minimum are defined by reversing inequalities.
Theorem
Completeness axiom
Every nonempty subset of that is bounded above has a real supremum. Equivalently, every nonempty subset bounded below has a real infimum, via .
For example, although is not a maximum of that set. Conversely, and it is a maximum. The empty set and an unbounded-above set do not have a real supremum under this definition.
Theorem
Supremum approximation criterion
An upper bound of a nonempty set is if and only if, for every , there exists such that .
Proof
Proving both directions
If and no element exceeds , then is a smaller upper bound, contradiction. Conversely, suppose is an upper bound and the approximation property holds. If another upper bound were smaller than , choose . The property gives , contradicting that is an upper bound. Thus is the least upper bound.
Worked example
Use both halves of a supremum proof
Let . Every element is less than , so is an upper bound. Given , choose by the Archimedean property below. Then . Thus . No element equals , so has no maximum. An upper-bound calculation alone would not prove leastness: is also an upper bound.
Archimedean property and density
Theorem
Archimedean property
For every real there exists a positive integer . Consequently, for every there is such that .
Proof
Completeness forces integers to be unbounded
If the positive integers were bounded above, completeness would give . Since is not an upper bound, some satisfies . But and , contradicting that bounds the set. Apply this to to obtain the second statement.
Between any real numbers there is a rational number. Indeed choose with ; the Archimedean property and the integer-part property yield an integer with , so . The integer-part property follows from the unboundedness of integers in both directions and the well-ordering of the natural numbers. An irrational also lies between and : choose a rational with ; then is irrational and lies in the interval. Thus density does not say rationals and irrationals are equal sets.
Worked example
An infimum via reflection
For , every element exceeds . Given , choose to obtain . Therefore is the infimum, but not a minimum. The maximum is , attained at .
Quantifiers in convergence
Definition
Convergence of a real sequence
A sequence converges to if for every there exists such that for every , . Write . The index may depend on but must work for all later indices.
To negate convergence to , there must be some such that for every there is an with . A few early terms do not affect convergence; a recurring failure arbitrarily late does.
Worked example
Construct an epsilon–N proof
For , guess . Since
choose . Then every gives . The guess is motivation; the inequality and quantified choice establish the proof.
Theorem
Uniqueness, boundedness and limit laws
A convergent real sequence has a unique limit and is bounded. If and , then , , and when and the quotient is defined eventually. If eventually and both outer sequences converge to , then .
Proof
Uniqueness and boundedness
If and , then for any , sufficiently late terms satisfy both and . The triangle inequality yields . Since this holds for every positive , . For boundedness choose so that for . The finite initial terms and the bound for the tail together give a finite bound for the whole sequence.
The converse of boundedness is false: is bounded but does not converge. If it converged to , its even subsequence would converge to and its odd subsequence to , violating uniqueness.
Proof
Product law mechanism
A convergent sequence is bounded, say . Write
Both terms tend to zero. For the quotient, implies eventually; this keeps the denominator away from zero and gives .
Subsequences
Definition
Subsequence
A subsequence of is where are positive integers. If , then every subsequence converges to because and therefore eventually lies beyond any prescribed index.
Theorem
Bolzano–Weierstrass
Every bounded real sequence has a convergent subsequence.
Proof
Nested-interval proof
Place every term in a closed bounded interval . Bisect it. At least one half contains infinitely many terms; choose that half as . Continue, obtaining nested closed intervals of lengths tending to zero, each containing infinitely many terms. Choose indices strictly increasing with ; this is possible because each interval contains infinitely many terms. Completeness gives a common point in all intervals: the supremum of their left endpoints lies in each interval because every left endpoint is at most every right endpoint. Since , their distance is at most the interval length and tends to zero.
The conclusion is about a subsequence, not necessarily the whole sequence. For example, has constant subsequences converging to and , but does not converge.
Real closed sets: the sequence criterion and the open complement
Work on the real line in the usual classical set-theoretic setting, with countable witness selections available. A set is open when every in has some with contained in . We use the Archimedean consequence that tends to zero. For every subset of the real line, the following conditions are equivalent:
- Every sequence of points of that converges in the real line has its limit in .
- The complement of is open.
Proof of 2 implies 1. Suppose belongs to and tends to . If were outside , openness would give with disjoint from . Convergence gives a threshold after which , contradicting in . Therefore belongs to .
Proof of 1 implies 2. Fix outside . If no positive-radius interval around avoided , then for every positive integer there would be a point in with . Choose these witnesses as a sequence. Given , choose with . For , , so tends to . Condition 1 would force into , a contradiction. Hence some interval around avoids . This holds for every point of the complement, proving it open. The witness-sequence step uses the stated classical setting; this proof is not offered as a theorem about choice-free foundations. If is empty there is no sequence in , and its complement is the whole open line. If is the whole line, its empty complement is open vacuously. Both edge cases also satisfy the equivalence.
Learning goals and definitions
A set is compact if every family of open sets whose union contains has a finite subfamily still covering . A set is closed if it contains all limits of convergent sequences of its points, equivalently if its complement is open. Sequential compactness means every sequence in has a subsequence converging to a member of .
The empty set is compact, closed and bounded, and sequentially compact vacuously. In proofs using a selected point or an infinite sequence, treat that case separately. We may assume the real completeness property and its nested-interval and Bolzano–Weierstrass consequences from the earlier sequence units.
Theorem: Heine–Borel in the real line
For , the following are equivalent: compactness by open covers; closedness and boundedness; sequential compactness.
Compact implies closed and bounded. The intervals , , cover , hence . A finite subcover gives a bound. To show closedness, take . For each , the interval avoids . A finite subfamily covers . Let be the minimum of their positive half-distances to . Every point in the chosen interval centered at has distance from strictly greater than . Thus misses , showing its complement open. If is empty this is immediate.
Closed and bounded implies compact. Enclose nonempty in a closed bounded interval . Suppose an open cover of has no finite subcover. Bisect . At least one closed half meets in a set not finitely coverable; otherwise two finite collections would cover . Choose such a half and repeat. We obtain nested closed intervals with lengths tending to zero, and not finitely coverable. Each intersection is nonempty; choose . The nested-interval property gives a unique common point , and because both lie in . Closedness gives . Some member of the cover contains , and openness gives a ball around inside . For large , the whole interval lies in that ball, so alone covers , a contradiction.
Closed and bounded implies sequentially compact. Every sequence in is bounded, so Bolzano–Weierstrass supplies a convergent subsequence. Closedness retains its limit in .
Sequentially compact implies closed and bounded. If unbounded, choose with ; no subsequence can converge to a finite real number, a contradiction. If is a limit of points in , choose with . A subsequence converges to a point of by sequential compactness, but it also converges to ; uniqueness of real limits gives . Thus is closed. This completes all implications.
Compact subsets of the real line
A set is compact if every open cover has a finite subcover. In , Heine–Borel says this is equivalent to being closed and bounded; it is also equivalent to every sequence in having a subsequence converging to a point of . The closedness requirement keeps the subsequential limit in the set; boundedness permits extraction. We use the sequential form in the proofs below.
Theorem
Extreme value theorem
If is nonempty and compact and is continuous, then is bounded and attains both a maximum and a minimum on .
Proof
Extract a maximizing subsequence
If were unbounded above, choose with . A subsequence exists; continuity would give , contradicting divergence to infinity. The same reasoning applied to gives boundedness below. Let . Choose with . A convergent subsequence tends to some , and continuity implies . Apply the argument to for a minimum.
Worked example
Which hypothesis fails?
The continuous function on is bounded but has no maximum or minimum: and are not in the domain. The set is bounded but not closed, hence not compact. On , both endpoints are present and the extrema are attained. Compactness is a sufficient global hypothesis, not a condition required for every individual function to attain extrema.
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.
Consequently on an interval implies strict increase there, and implies strict decrease. If between two points, the theorem also gives the useful bound .
Worked example 1: certify uniqueness. The equation has a root in because the continuous left-minus-right function is negative at zero and positive at two. Its derivative gives strict increase on , so there can be only one root. Existence and uniqueness require different arguments.
The interval hypotheses cannot be ignored. The function has negative derivative on its domain, but comparing with crosses a missing input: . It is decreasing on each connected domain interval, not across the gap.
2.2 Stationary points, concavity, and a complete graph analysis
A stationary point has . A critical input may also be an interior domain point where the derivative fails to exist. A local maximum or minimum need not be stationary if differentiability fails, and an endpoint is not an interior critical input.
For the first derivative test, let be an interior domain point, let be continuous at , and let be differentiable on both sides in some punctured neighborhood of . If on the left and on the right, then is a strict local maximum; reversing both signs gives a strict local minimum. Differentiability at itself is not required. The second derivative describes change of slope. When on an interval the slope increases and the graph is convex (concave upward); when it is concave downward. An inflection point requires a continuous graph point at which concavity changes. A zero or undefined second derivative alone does not prove inflection.
Proof and the continuity condition. For sufficiently close to , the mean value theorem on gives . For , applying it on gives . Thus every nearby other value is smaller; apply this argument to for the minimum case. Continuity at is essential: the function with for but satisfies for and for , yet is a strict local minimum. The jump prevents the required mean value theorem on an interval ending at .
Worked example 2: a rational graph, step by step. Let
- Domain and intercepts. The domain excludes . The only intercept is .
- Asymptotes. The difference from the line is , tending to zero as , so this is an oblique asymptote. At , ; at , .
- Monotonicity. . It is positive on and , negative on and . Thus is a local maximum and a local minimum.
- Concavity. is negative left of and positive right of . There is no inflection point at because it is not in the domain.
This information describes the curve without relying on a graphing window that might conceal the vertical behaviour. The local maximum value is smaller than the local minimum value , which is possible because the graph has disconnected branches and these are local, not global labels.
2.3 Constrained optimization and global checks
A continuous function on a closed bounded interval attains extrema. For a differentiable objective with finitely many candidate points, evaluate all interior critical inputs and both endpoints. On an open or unbounded domain, a best value may be approached without being attained, so an additional argument is needed.
Worked example 3: minimum material for a closed cylinder. Suppose a closed cylindrical container must have fixed volume , with radius and height . Ignore thickness and joins. Volume gives , so surface area is
The derivative is . Its unique zero satisfies . It is negative before this radius and positive afterward, so the stationary point is the global minimum over . Alternatively at both ends of the positive domain, together with the sign change, supplies the global check. At the minimizing radius,
The conclusion depends on the assumptions of a closed cylinder and equal material cost per area. An open-top vessel or different side/end costs creates a different objective.
A robust setup states the objective, constraints, feasible domain, and units before differentiating. Solving an unrestricted derivative equation first and inventing constraints afterward is a frequent source of inadmissible answers.
2.4 Trigonometric limits and indeterminate forms
Sector area and radians
Use these elementary geometric facts: the unit circle has circumference and enclosed area , with the same in both formulas; planar area is invariant under rotations, finitely additive for regions with disjoint interiors, and monotone under inclusion.
Let be measured in radians and put . On the unit circle, is the arc length, so is the fraction of the full circumference subtended by the angle. Divide the circle into equal-angle sectors. Rotations carry each sector onto the next, so all have equal area. Their interiors are disjoint and together they fill the disk; finite additivity gives area for each. Thus a sector with rational fraction of a turn has area .
For arbitrary in this range, choose rational numbers with . Taking all sectors from the same initial ray, the corresponding sectors are nested by inclusion, so area monotonicity and the rational case give
Taking yields . This establishes the sector-area formula used in the geometric comparison.
9.5 The fundamental trigonometric limit
All limits in this section use radians. For , compare the areas of the inner triangle, unit-circle sector, and outer tangent triangle:
The sector area is specifically because is in radians. Divide through and use positive cosine to obtain
For , the area comparison above also gives and . Using ,
Thus as . Since cosine is even, the same limit holds from the left.
As , cosine tends to one, so the squeeze principle gives . The quotient is an even function of , giving the same left limit. The squeeze principle itself follows from the finite-limit definition: if lower and upper functions are both within any prescribed tolerance of , every number between them is too.
Two consequences are
For the first, divide by . For the second, use to get one half times . In particular .
Theorem: Cauchy's mean value theorem
If are continuous on and differentiable on with , some satisfies
Proof. The auxiliary function has equal endpoint values. Rolle's theorem gives , precisely the identity. It is valid even when a denominator in a ratio formulation would be zero. Dividing to write derivative ratios requires separately checking those denominators; this is essential in proofs of L'Hopital's rule.
Learning goals and a precise one-sided setting
Identify genuine indeterminate forms, prove the rule rather than treating derivative division as algebra, and distinguish sufficient hypotheses from necessary ones. Let be differentiable on an open interval approaching an endpoint , which may be finite or , from the left. Assume is nonzero throughout a sufficiently late approach interval. The analogous right-hand approach and negative-infinity cases follow by reversing coordinates.
Cauchy's mean value theorem says that for distinct interior , some between them satisfies
The denominator cannot vanish, for otherwise Rolle's theorem on would give a zero derivative between them. This also shows takes any value, including zero, at most once there. By shortening the approach interval we may therefore ensure , so the desired quotient is defined.
Theorem: finite derivative-ratio limit
If as the endpoint is approached, then provided either (i) both , or (ii) . In case (ii), no separate assumption that is unbounded is necessary.
Proof of (i). Let . Given , throughout a sufficiently late interval . Cauchy's theorem gives for any two points there. Fix and let approach the endpoint. Since , this yields , so . This argument works even when the endpoint is infinity, without pretending infinity is an endpoint value of a continuous function.
Proof of (ii). Given , set . Again take and a late interval where the derivative ratio has magnitude below . Fix one point in it. Cauchy's theorem between and a later gives . Consequently
For sufficiently late , the first term is less than and the absolute factor in the second is less than . The total is therefore less than . Since was arbitrary, the quotient tends to .
Theorem: infinite derivative-ratio limits
Under the same denominator assumptions, if , then in either case (i) or (ii); replace signs for a limit of .
Proof. For any real threshold , on a sufficiently late interval . Cauchy's theorem makes every incremental ratio greater than . In case (i), fix and pass the other point to the endpoint to obtain . Since can be chosen above any requested threshold, this proves divergence to . In case (ii), fix and write the incremental ratio as :
For and sufficiently late , the multiplying factor exceeds and . Therefore . Taking arbitrarily large proves divergence to . Applying the result to covers the negative-infinity limit.
Merely being unbounded is not the same as tending to infinity and does not meet the stated infinite-limit hypothesis. The rule also has versions at infinity. It evaluates a limit of a quotient; it does not assert the functions and are equal.
Worked example 4: verify the form first. For , has form , and the derivative ratio is , so the limit is . But for at , the numerator tends to one, not zero. Applying the rule would falsely produce ; the actual quotient tends to .
Other indeterminate forms must be rewritten. For ,
The numerator and denominator both tend to infinite magnitude; their derivative ratio is . Hence . Taking logarithms then gives . The logarithm step requires , and the final exponentiation uses continuity of the exponential.
2.5 Differential error estimates and sensitivity
For small , . The mean value theorem can turn this into a rigorous bound when the derivative is controlled over the entire segment. A first-order approximation is not itself an error bound.
Worked example 5: tolerance in a spherical volume. With , the relative differential satisfies . At nominal radius cm and tolerance cm, the differential predicts a relative volume change of about . To bound the actual change, expansion gives
The omitted relative terms have magnitude at most . The calculation distinguishes the predicted first-order effect from a quantified remainder.
2.6 Graded exercises
Foundation
- Use the mean value theorem to show .
- Classify all stationary points of .
- Explain why has a minimum but no inflection at zero despite .
Core
- Find the monotonicity intervals and local extrema of , .
- A rectangle has perimeter . Find its maximum area among positive side lengths and prove global optimality.
- Evaluate .
- Evaluate with the relevant limit-rule hypotheses.
- Find by taking logarithms.
Synthesis
- A closed cylinder has volume . Find the radius, height and surface area minimizing the equal-cost material objective.
- Let . At , derive its exact change under and the remainder after the linear term. If with , bound the relative remainder by .
2.7 Full solutions
- Sine is continuous on the segment and differentiable inside. For , the theorem gives for some intermediate . Since , the bound follows. For it is immediate.
- . Its signs are positive, negative, positive on the three successive intervals. Thus is a local maximum with value , and a local minimum with value .
- with equality only at zero, proving a strict minimum. For , on both sides, so concavity does not change and there is no inflection.
- . It is positive on and , negative on and . The point is a local maximum; is a local minimum. Zero is outside the domain.
- If sides are and , feasibility is . Area is , proving the unique global maximum at sides .
- Use . The quotient becomes .
- Numerator and denominator both tend to infinity, are differentiable for , and the derivative of the denominator is one. Their derivative ratio is , so the limit is zero.
- Let , . Then has form and derivative ratio . Therefore and .
- The minimizing radius satisfies , so and . Surface area is . The derivative sign argument in Worked example 3 proves the global minimum.
- Exact change is . The remainder is . Dividing its absolute value by gives at most . This is the relative remainder measured against the nominal value, not against the possibly small finite change.
Summary and onward map
Mean value theorems justify monotonicity, uniqueness and sensitivity bounds. Local critical points must be interpreted using sign changes, feasible domains and global checks. A full graph analysis separates domain, asymptotes, monotonicity and concavity. Indeterminate limit rules require verified hypotheses; logarithms can convert variable powers into quotient limits. Taylor estimates will extend the linear remainder analysis to higher orders.