Learning goals and preparation
We assume derivatives, the chain and product rules, elementary antiderivatives, and definite integrals. This chapter treats a first-order ordinary differential equation as a rule for change. You will solve separable and linear equations, retain equilibrium solutions that division can hide, and calculate Euler approximations while distinguishing numerical stability from exact dynamics.
A differential equation connects an unknown function to its derivative. An initial-value problem additionally specifies the function at a starting time. A solution must satisfy the equation and initial condition on a stated interval; merely obtaining a formula after integration is not enough.
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.
Cauchy criterion
Definition
Cauchy sequence
A sequence is Cauchy if for every there exists such that whenever . Unlike the limit definition, no candidate limit is named.
Theorem
Cauchy completeness of
A real sequence converges if and only if it is Cauchy.
Proof
Both directions
If , choose a tail within of and apply the triangle inequality to and . Conversely, a Cauchy sequence is bounded: choose a tail within of one fixed tail term, then include the finite initial terms. By Bolzano–Weierstrass it has a subsequence . Given , choose so all pairs of terms beyond differ by less than , and choose with and . For every , .
This equivalence uses completeness of . It fails as a statement that every rational Cauchy sequence converges to a rational number. For instance, decimal truncations of are rational and Cauchy but have no rational limit.
Worked example
Convergence without knowing the sum
For and ,
Given , choose with . If , the tail between them is at most , so is Cauchy and converges. The exact sum is , but the Cauchy argument establishes existence without guessing it. The geometric-tail identity can also be verified by a finite geometric sum and taking the elementary limit .
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.
Fix an integer and the Euclidean norm on . A set is bounded if it lies in some finite-radius ball, closed if its complement is open, and compact if every cover by open subsets of has a finite subcover. We use real completeness, including the nested closed interval property.
Heine–Borel in finite-dimensional Euclidean space
Theorem. A set is compact if and only if it is closed and bounded. The empty set satisfies all three properties.
Compact implies bounded. The open balls , an integer, cover . A finite subcover puts inside the largest of these balls.
Compact implies closed. Suppose and . The balls , , cover . Choose a finite subcover with centers and set . If lies in the ball centered at , the triangle inequality gives . Hence misses , so the complement is open.
Closed and bounded implies compact. Let nonempty be closed and bounded. Enclose it in a closed cube with . Suppose an open cover of has no finite subcover. Divide each coordinate interval into two closed halves. The resulting closed subcubes cover . At least one subcube has intersection with that is not finitely coverable by the given family; otherwise the finite union of the finite subcovers would cover . Select such a subcube and repeat. This produces nested closed cubes with side length and not finitely coverable, hence nonempty.
For each coordinate, the nested interval property gives a common coordinate value. Together these give . Every pair of points in has distance at most , so the intersection contains only . Choose . Then . A closed set contains such a limit: if were in its open complement, a ball around would eventually contain outside , a contradiction. Thus .
One member of the cover contains , and openness gives for some . For sufficiently large , every point of is within of , so alone covers . This contradicts the selection of . Therefore every open cover has a finite subcover. The number is finite; replacing it by infinitely many subpieces would invalidate this argument.
Continuous images and extreme values
Theorem. If is compact and is continuous relative to , then is compact. In particular, a continuous on nonempty compact is bounded and attains its maximum and minimum.
Proof. An open cover of pulls back to relatively open sets , with open in . These cover , so finitely many suffice. Their corresponding cover , proving compactness. For scalar , the image is nonempty, closed and bounded by the theorem already proved in dimension one. Let . For each , the definition of supremum supplies with . Then , and closedness places in the image. Thus the maximum is attained. Applying the same argument to gives the minimum. This proves existence, not a formula for the maximizing input.
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.
Theorem
Intermediate value theorem
If is continuous on and lies between and , there is with .
Proof
Completeness locates a crossing
If or , take the corresponding endpoint. Otherwise, assume ; the reverse order follows by replacing both by and by . The set is nonempty and bounded above. Let . If , continuity gives nearby points to the right with value below ; since , this contradicts the upper-bound property. If , continuity gives a neighbourhood of with value above ; the supremum approximation property supplies an element of in that neighbourhood, a contradiction. Thus .
Uniform continuity
Definition
One delta for the entire domain
A function is uniformly continuous on if for every there exists such that for all , implies . The chosen can depend on but not on or .
Theorem
Heine–Cantor theorem
Every continuous real-valued function on a compact set is uniformly continuous.
Proof
Contradiction using compactness
If uniform continuity failed, some would permit, for every , points with but . Compactness supplies a subsequence . Since the paired distances tend to zero, also . Continuity gives both and , contradicting the output separation.
Worked example
Pointwise but not uniform on an unbounded domain
The function is continuous on but not uniformly continuous there. Take and . Then , but . On any closed bounded interval, Heine–Cantor does give uniform continuity. It is also direct: if , then .
Learning goals and definitions
Develop the proof behind integrability statements and distinguish boundedness from integrability. Let and be bounded on . For a partition , put , , and define , . The lower integral is the supremum of all lower sums; the upper integral is the infimum of all upper sums. Refining a partition makes lower sums nondecreasing and upper sums nonincreasing.
For any two partitions , their common refinement gives , so . Boundedness ensures these quantities are finite. The function is Riemann integrable when they agree.
Theorem: Darboux criterion
The bounded function is integrable if and only if for every there is a partition with .
Proof. If the two integrals equal , choose a lower sum above and an upper sum below , using supremum and infimum approximation. Their common refinement has gap less than . Conversely the inequalities force the integral gap to be zero when such partitions exist for every positive .
Theorem: finitely many discontinuities are permitted
If is bounded and continuous except possibly at finitely many points, it is integrable.
Proof. Let , taking . Surround the exceptional points by finitely many small intervals, with endpoints included in the partition, having total length less than . At endpoints of use one-sided intervals. Their contribution to the upper-lower gap is at most times their total length, hence less than . On the remaining finitely many closed intervals, is continuous and therefore uniformly continuous. Subdivide each sufficiently finely that its oscillation on every resulting subinterval is less than . Their total gap is less than . Combining all partition points gives gap below . If an exceptional interval endpoint would itself be exceptional, move it slightly so all actual exceptional points lie inside the selected intervals or at the domain endpoints. This keeps the remaining closed intervals continuous.
Continuous functions and all tagged meshes
Let be continuous, where . The extreme value theorem makes bounded, and Heine–Cantor makes it uniformly continuous. For a partition , write and for its lower and upper Darboux sums. The proved Darboux integrability theorem for continuous functions supplies the common integral .
Fix . Uniform continuity supplies such that whenever . If the mesh of is less than , every subinterval has oscillation at most . Therefore
For every selection of tags, its tagged sum lies between and ; so does . Thus . The same works for every partition of sufficiently small mesh and every choice of tags. This proves the tagged-mesh definition for continuous functions on the stated closed interval.
For , take a partition , with , tags , and mesh . A finite number is the definite integral if, for every , there is such that every partition with and every choice of tags satisfy . In that case is the common limit. Continuous functions on a closed interval are integrable.
Let be continuous on and . For and nonzero with , the integral estimate gives
Thus in the interior; at the endpoints the same argument gives one-sided derivatives. If is continuous on , differentiable on , and there, the mean value theorem makes constant on . Therefore .
For real with , . For , put . The elementary inequality gives
The inequality follows by multiplying by and retaining the extra nonnegative at each step, starting at . For , all positive-index powers are zero. At the sequence is one; at it oscillates; for its magnitude grows without bound. These boundary cases must not be hidden in the formula for .
6.4 An infinite series is a limit of finite totals
Definition
For terms , define the th partial sum
The infinite series converges to when the sequence converges to . Its sum is that limit. If the partial sums do not have a finite limit, the series diverges. The notation is a question about a limit, not permission to finish an infinite number of operations.
A necessary condition for convergence is . If , then for ,
Common mistake
Thus terms that fail to approach zero prove divergence. Terms that approach zero do not prove convergence.
Worked example
Worked example 4: distinguish terms from totals. The sequence converges to zero. Nevertheless its series diverges. Group a partial sum ending at as
The block from through has terms, each at least , so each block contributes at least . Consequently , which is unbounded. These are finite groupings of selected partial sums, not an unexplained rearrangement of an infinite series. This proves divergence of the harmonic series.
Consider , with partial sum . If , every term is zero and the series converges to zero for every real . Suppose now that .
A geometric progression has and . For , . Describing separately also avoids an unnecessary expression when . Its finite sum is derived by shifting and subtracting:
Consequently , giving
This is a finite identity for any real and positive integer ; no convergence assumption is required. Negative causes alternating signs. The exceptional ratio is not handled by division by zero.
When , , and therefore
When , the terms do not approach zero, so the series diverges. This includes and . Writing at gives an ordinary number but does not make it the sum of the divergent series.
For , the exact remainder after the first terms is
The simpler estimate also holds. The exact expression retains the sign and accounts correctly for negative ratios.
Monotone sequences
Theorem
Monotone convergence theorem
Every increasing real sequence bounded above converges to the supremum of its set of terms. Every decreasing sequence bounded below converges to the infimum.
Proof
From supremum to eventual closeness
Let . Given , the supremum criterion gives an index with . Monotonicity gives for all , proving .
Worked example
A recursive sequence
Let and . Induction gives , and , so the sequence increases and is bounded above. It converges to some . Taking limits in the recurrence yields , hence . Solving the fixed-point equation without first proving convergence would not by itself show the sequence has a limit.
Partial sums and tails
Definition
Series convergence
The series converges to if its partial sums converge to . It converges absolutely if converges, and conditionally if it converges but not absolutely.
The Cauchy criterion for partial sums says convergence is equivalent to: for every there exists such that for all . In particular, convergence forces , but this necessary condition is not sufficient: the harmonic series diverges.
Theorem
Comparison and absolute convergence
For eventually, convergence of implies convergence of ; divergence of implies divergence of . If converges, then converges.
Proof
Tail control proves absolute convergence
If converges, its nonnegative tails are arbitrarily small. By the triangle inequality, , so the signed partial sums are Cauchy and converge in . The comparison statements follow from monotone bounded partial sums and, for the divergence conclusion, contraposition.
Worked example
Geometric, harmonic and p-series
For , tends to . For the harmonic series, grouping terms from onward as , then , then , and so on gives each group at least . Partial sums are unbounded, so it diverges although its terms tend to zero. The standard -series converges for and diverges for ; the integral or dyadic comparison test establishes this threshold.
4. The limit superior is a tail bound, not a guessed limit
For a sequence , define
allowing the value . The tail suprema are nonincreasing, so their infimum is their extended limit. Two consequences are needed.
- If , then eventually. Indeed some tail supremum is below ; otherwise their infimum would be at least .
- If , then for infinitely many indices. Otherwise a tail would have every term at most , forcing its supremum and hence to be at most .
These statements remain useful when the original sequence has no limit. A finite number of unusually large terms affects some early tail suprema, but not .
Ratio and alternating tests
If eventually and , the series converges absolutely by comparison with a geometric series. If eventually, the terms cannot tend to zero, so the series diverges. A limiting ratio of is inconclusive: both and have ratio tending to .
Proof of the convergent ratio case. Suppose for all sufficiently large and . Choose strictly larger than this limsup. For some , every satisfies . Iterating gives
The geometric series converges, so comparison proves convergence of the absolute tail. A finite prefix does not affect convergence; hence converges absolutely. A uniform conclusion for a family of series requires a bound valid uniformly in the input.
If is nonincreasing and tends to zero, then converges, and the error after terms has magnitude at most . The even partial sums are nondecreasing, the odd partial sums are nonincreasing, and . Thus the alternating harmonic series converges but not absolutely.
Worked example
Choose the right test
For , the ratio of successive positive terms is , so the series converges. For , the alternating test gives convergence while harmonic divergence rules out absolute convergence. A ratio tending to in the latter case cannot decide it.
For real functions on a nonempty set , uniform convergence means , with the errors eventually finite. Uniform Cauchy means every has such that for all and all . If , the epsilon–N conditions are vacuously satisfied; no real supremum of the empty set is used.
Integration, differentiation and series
If Riemann-integrable converge uniformly to on , then is integrable and . Indeed the integral difference is bounded by ; integrability of the uniform limit follows by combining a sufficiently small uniform error with a partition for a fixed .
Uniform convergence of alone does not guarantee convergence of derivatives. For example converges uniformly to zero on , but for every , whereas the limit's derivative is zero. A useful sufficient theorem is: if , are on , converges for one , and converges uniformly to , then converges uniformly to , differentiable on with there. The fundamental theorem and the uniform-integration result give ; continuity of follows from uniform convergence of continuous derivatives.
For a series of functions, uniform convergence means uniform convergence of its partial sums. The Weierstrass M-test says that if for all and converges, then converges uniformly and absolutely at each point. Its proof uses the uniform Cauchy tail bound .
Worked example
A uniform series bound
For on , . The geometric majorant converges, so the M-test gives uniform convergence. Each partial sum is continuous, so the limit is continuous. In fact its sum is by the geometric formula.
Derivative interchange without hypotheses
Theorem
Let . Suppose every is continuous on and differentiable on . If converges at one fixed and converges uniformly on to , then converges uniformly on to a continuous , differentiable on , and . Continuity of the individual derivatives is not required.
Proof of existence. Uniform convergence of derivatives makes them uniformly Cauchy. For sufficiently large, the mean value theorem applied to between and any gives
The anchor sequence is Cauchy, so the right side is uniformly small. Uniform completeness gives a uniform limit , which is continuous as a uniform limit of continuous functions.
Proof of the derivative identity. Fix an interior point and . Choose with for all interior and all , and also . For sufficiently small nonzero , apply the mean value theorem to on the segment from to :
Pass at these two fixed inputs. The same inequality holds with replacing . Since the fixed is differentiable at , its difference quotient is within of for small enough . The triangle inequality bounds the difference quotient of from by . Arbitrary proves differentiability and equality. This argument does not integrate , so it does not silently assume continuous or Riemann integrable.
Learning goals and allowed earlier results
Construct rather than assume an elementary function, prove its algebraic laws, and justify the logarithm as an inverse. We use the previously proved ratio test, uniform convergence of power and derivative series on compact intervals, the mean value theorem, and the intermediate value theorem.
Define
For fixed , the ratio of successive absolute terms is , so the series converges absolutely; at it equals one directly. On any fixed interval , both its series and derivative series have summable factorial majorants. The uniform derivative theorem therefore applies to polynomial partial sums and gives everywhere, with .
Theorem: positivity and exponential law
For every real , , , and .
Proof. Differentiate to obtain . The mean value theorem makes constant; at zero it equals one. Thus never vanishes. Since it is continuous and , an intermediate-value argument prevents it from becoming negative anywhere, proving positivity and the reciprocal identity. For fixed , differentiate ; the same cancellation gives zero derivative. At zero , so . Multiplication by yields the addition law. No rearrangement of a double infinite series was needed.
Since , it is strictly increasing. For , all terms are nonnegative and , so at positive infinity. The reciprocal identity gives at negative infinity. Continuity and monotonicity therefore make a bijection.
Define , , and as its inverse. The inverse is continuous: if , then for any , ; taking within the smaller output gap confines between those inputs.
Theorem: logarithmic derivative and laws
For , . For positive and real , and , where is defined as .
Proof. Write , and use inverse continuity to ensure as . Then
The exponential law gives , and uniqueness of inverse values proves the product law. The real-power definition and inverse identity give the other formula. Differentiating that definition yields for . This derivation did not first assume the real-power derivative to define the logarithm.
3. Dyadic condensation: the monotonicity is doing work
Theorem 2. If and is nonincreasing, then
Proof. The block contains exactly terms. Every term is at most and at least , so
If the condensed series converges, the upper bound makes the partial sums of the block series bounded. If the block series converges, the lower bound makes the condensed series from onward bounded. Adding its one missing term does not change convergence. Finally, the block endpoints are a subsequence of the original nonnegative partial sums. Bounded block-endpoint sums bound every intermediate partial sum, because it lies between neighboring endpoints. Hence the block series converges precisely when the original series does.
The full p-series threshold by dyadic grouping
For real , , so the terms do not tend to zero and the series diverges. For , is nonnegative and nonincreasing. The proved dyadic test applies, and its condensed terms are . Their geometric series converges exactly when , equivalently . When , the condensed terms are at least one and their series diverges, so the original series diverges too. This proves the threshold for every real without invoking an unproved improper-integral test.
3.1 Rates, initial values, and verification
A first-order equation has the form . Its order is one because the highest derivative present is the first. A differentiable function is a solution when for every in its interval. The interval must avoid undefined expressions in the equation or the proposed solution.
For , the functions are solutions. Differentiating verifies the equation. With , the initial value fixes . The exponent requires compatible units: has units inverse time.
Worked example 1: decay and its time scale. A hypothetical quantity follows , , with time in days. The solution is . To reach , solve , giving days. This solution remains positive for finite time; it approaches zero but never equals zero at a finite time.
1. The local theorem and its assumptions
A solution of is a differentiable real function on an interval whose graph lies in the domain of and satisfies the equation there. The initial condition is . Local uniqueness means that any two such solutions with this initial value agree on some common neighborhood of .
Theorem. Let be open and contain . Suppose is continuous, its partial derivative exists on , and is continuous there. Then the initial-value problem has a solution on an open interval about , unique in the local sense just defined. No derivative with respect to is required.
2. Two uniform-limit facts
For a nonempty compact interval , write for the continuous real functions on and . Uniform convergence is convergence in this distance. A Cauchy sequence in this distance is uniformly Cauchy.
Theorem: uniform completeness
A sequence of real-valued functions is uniformly convergent if and only if it is uniformly Cauchy.
Proof. Uniform convergence gives the Cauchy estimate by two errors of size . Conversely, uniform Cauchy implies that for each fixed , is a real Cauchy sequence, so define . Fix and use uniform Cauchy with tolerance . For every and , pass in the estimate to get . The same works everywhere, proving uniform convergence. Completeness of the target supplied the pointwise limits.
Theorem
Uniform limit preserves continuity
If each is continuous at relative to and uniformly on , then is continuous at .
Proof
The three-term estimate
Given , choose so for all . By continuity of the fixed function at , choose so whenever . Then
These facts use completeness of the real numbers. They will also preserve the closed value constraint imposed below.
3. Proof by an integral iteration
Rectangle and quantitative constants. Choose so the closed rectangle lies in . The extreme-value theorem supplies finite constants with and on . The one-variable mean value theorem in the coordinate gives
All intervals in this use lie in ; no differentiability in has been assumed. Put
Then . The added ones avoid division by zero when or .
A complete space of permitted functions. Let , where denotes the constant function. If is Cauchy in this distance, uniform completeness gives a uniform limit . The uniform-limit continuity theorem makes continuous, and passage to the limit in gives for every . Thus and is complete.
The integral map. Define
The integrand is continuous, since the graph of stays in . Thus is continuous, and
For these bounds follow by reversing the integral limits before taking absolute values. Therefore maps into itself and contracts distances.
Convergence and a fixed point. Start with and set . If , the distance estimate says for all ; hence , already a fixed point. Suppose and put . Repeated application of the contraction estimate gives for every integer . Consequently, for ,
Completeness gives . Since
we have . Passing above also proves . For , is exact instead.
The differential equation and uniqueness. The fixed-point equation and the fundamental theorem of calculus give for interior , and . Restricting to the interior of supplies the claimed local solution. If are both fixed points, and force equality of the functions.
Finally, any other local solution is continuous at and has value , so its graph stays in on a sufficiently small common closed interval , with . The differential equation integrated from gives the same integral equation there. On the contraction estimate has factor , so it agrees with on . This establishes local uniqueness without assuming an alternative solution remains in for all future time.
Local existence does not assert global continuation. A later domain boundary or unbounded growth requires a separate continuation argument. The derivative condition is sufficient, not a necessary condition for every uniquely solvable equation.
3.2 Separation and the solutions it can lose
For , on an interval where , separation gives
For , where along the solution interval,
This notation abbreviates an application of the chain rule to an antiderivative of . Before dividing, check all zeros of for constant equilibrium solutions. They may be lost by separation.
Worked example 2: finite-time blow-up. Solve , . Since the required solution is positive near the initial point, divide by and integrate:
The initial value gives , hence . Direct substitution verifies it for , and this is the maximal connected interval containing zero on which the formula remains finite. It does not define a solution through . The zero function is also a solution of the differential equation, but not of this initial-value problem.
Worked example 3: a bounded growth model. Suppose with . Both and are equilibria. For , separation and partial fractions give
With initial value , the resulting formula is
Substitution verifies it for every , including , and the denominator is positive for . If , the solution increases toward ; if , it decreases toward . The separately checked zero equilibrium supplies the case . The separation derivation must not be used to claim these equilibria were included without checking them.
3.3 Linear equations and integrating factors
For a linear equation with continuous coefficients, choose
Then and the product rule turns the equation into . With initial value at ,
The integrating factor is nonzero; multiplying it by a constant does not change the solution formula. The formula's interval must retain continuity of coefficients.
Here the initial condition is .
Worked example 4: an inventory balance. Let a hypothetical inventory receive units/day and lose stock at rate units/day. Then
Using yields . The equilibrium is units. Differentiating gives , and the initial value is . To reach units, , so days. The formula is a consequence of the stated constant inflow and proportional loss assumptions.
More generally, for , , and , the equilibrium is and the solution is
The deviation from equilibrium decays exponentially. This exact identity establishes stability for the model without relying on a sketch of a slope field.
3.4 Euler's method
If an exact formula is inconvenient, approximate the derivative over a short step by the slope at the beginning. With step size ,
This is the forward Euler method. It replaces a varying slope over the step with one fixed slope. For a sufficiently smooth exact solution, Taylor's theorem gives
so the one-step defect is of second order. Over a fixed interval, accumulated error is typically first order under suitable smoothness and Lipschitz bounds. This is a conditional theorem, not an accuracy guarantee for every equation and step size.
The local defect of forward Euler
Let , let be a positive integer, put and , and suppose a real scalar exact solution is on an open neighborhood of . Assume on that interval, with . Define its one-step defect by
Since , the fundamental theorem gives
The derivative difference bound follows from the mean value theorem applied to . This is a statement about the exact solution over one step, before numerical errors from earlier steps have been propagated.
A precise global error estimate
Suppose is continuous on and has one constant satisfying
Assume the exact solution and its bound stated above exist on the entire interval. Start Euler with the exact initial value, , and set . The global-in- domain and Lipschitz hypothesis apply to these numerical values as well as the exact ones; a bound known only along the exact solution would not justify the following comparison.
Writing , subtract the exact increment and use the local defect bound:
Induction, adding one geometric term at each step, gives
The empty sum at is zero. If , summing the finite geometric series and using yield
If , use the finite sum directly: . In both cases the bound is a fixed constant times on the fixed time interval. This proves the stated first-order global accuracy under explicit hypotheses. It does not assert a global existence theorem for every equation, preservation of every physical constraint, or a floating-point roundoff bound. On a restricted state domain, an independent argument must first keep both exact and numerical values inside a region with one common Lipschitz bound.
Worked example 5: exact decay, approximate steps. For , , the exact solution at is . Euler gives , so at . With , two steps give . With , four steps give , closer to but still not exact.
For fixed , Euler's values decay to zero only when , or . They remain nonnegative for nonnegative initial values when . A step gives alternating values of growing magnitude even though the exact solution always decays positively. Numerical stability and positivity therefore require analysis, not just a working iteration formula.
A useful practical check is to reduce and compare results at the same final time, while keeping any known physical bounds and analytic checks in view. Agreement of two meshes is evidence, not an unconditional proof of accuracy.
3.5 Graded exercises
Foundation
- Verify that solves and state its initial value at zero.
- Solve , , with . Find its half-life.
- List all equilibrium solutions of before separating variables.
Core
- Solve , , and state the maximal interval containing zero.
- Solve , , and verify both conditions.
- Solve , , using an integrating factor.
- For and , find the solution and its limit as .
Synthesis
- Use Euler with for , , through . Compare with the exact solution there.
- For , derive the Euler recurrence. Find step sizes giving asymptotic decay, and the smaller range preserving nonnegative values from positive initial data.
- A student divides by and concludes every solution is strictly between zero and one. Identify the lost cases, give a solution starting above one, and explain why its denominator is positive for future time.
3.6 Full solutions
- Differentiating gives , and .
- The solution is . Half the initial value occurs when , so .
- A constant equilibrium satisfies , giving and .
- Integration yields , hence . It has a pole at . The maximal connected interval containing zero is .
- The equilibrium is , so . Then and . The initial value is .
- Multiply by : . Integrating from zero gives , so . At zero it is zero, and direct differentiation yields .
- The formula is . Its denominator tends to one and remains positive, so the limit is ; it starts at and increases because the differential equation is positive between zero and one.
- Euler gives at , then at . The exact solution is , giving at one. The Euler approximation is larger by .
- Euler is . Asymptotic decay requires , so . Nonnegative values from positive initial data require , giving . At , the numerical sequence becomes zero after one step; this is not the positive exact solution at that time.
- The division loses the equilibrium solutions and and restricts the derivation's interval. Starting at , a verified solution is . For , , so the denominator is at least . This solution remains above one and decreases toward it. A derivation made under cannot exclude a separately verified solution outside that range.
Summary
Always verify the differential equation, initial value, and interval. Separation is valid only away from the factors divided out; inspect equilibria first. Integrating factors turn linear equations into product derivatives. Euler's method is a local-slope approximation whose step size affects accuracy, stability, and preservation of model constraints.