Mathematics · Article
Continuity, compactness and uniform continuity
Prove domain-relative continuity, intermediate and extreme values, metric compactness and uniform continuity; construct dense extensions, control inverse sensitivity and fixed-point iteration, and translate exact distance bounds into scientific tolerances.
Back to MathematicsAfter reading, you can
- State continuity and its sequence/open-preimage formulations on the actual relative domain, including isolated points.
- Prove intermediate and extreme value results while distinguishing existence, uniqueness, attained bounds and compactness.
- Establish the real-line Heine–Borel theorem and the metric equivalence of open-cover and sequential compactness, with total boundedness made explicit.
- Distinguish pointwise and uniform continuity, use the full pair criterion, and derive quantitative Lipschitz and square-root bounds.
- Prove Cauchy preservation and dense uniformly continuous extension into a complete codomain, including sequence independence and endpoint conditions.
- Separate continuous inverses, uniform inverse sensitivity, fixed-point existence and contractive iteration, preserving units and the limits of finite evidence.
State continuity on the actual domain
Let f:D→Y be a function between metric spaces, with c∈D. It is continuous at c if, for every ε>0, there exists δ>0 such that every x∈D with d_D(x,c)<δ satisfies d_Y(f(x),f(c))<ε. For real subsets with their usual metrics these distances are absolute differences. The domain point c and every tested x belong to the declared D.
A function is continuous on D when this holds at every c∈D. At an endpoint of a real interval, the nearby test points stay on the available side; continuity of a restricted function is relative to that interval. No value outside D is required by the definition.
If c is isolated in D, some positive-radius ball meets D only at c. Every tested image difference is then 0, making f continuous at c for any value assigned there. A punctured-limit condition at an isolated point is instead vacuous for every proposed limit and cannot specify a unique limiting value.
Question: Compare continuity on an isolated-plus-interval domain with a larger-domain function.
Operation and domain: Blue points/segments are values on the exact stated domain. The second graph uses the affine formula at every other real point; it is a different function.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
D={0} union[2,3], c=0. The assigned isolated value is 7; the interval formula is (1)x+(-2). epsilon=1/20.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Relative continuity at c | true | Every declared base point meets its relative epsilon-delta test. |
| Sufficient strict relative delta | 1 | Isolate the point or exclude it and control the affine interval part. |
| Ambient continuity at isolated point | false | The assigned value must equal the affine limit there. |
| Affine limit at isolated point | -2 | Limit in the larger real domain, not an assigned punctured relative limit. |
Complete exact declarations, values and figure scales
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -4/3 | 10/3 | 0 |
| Y | -307/80 | 631/80 | 0 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -4/3 | 10/3 | 0 |
| Y | -307/80 | 631/80 | 0 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| mode | relative |
| isolated | 0 |
| a | 2 |
| b | 3 |
| assigned | 7 |
| slope | 1 |
| intercept | -2 |
| epsilon | 1/20 |
| c | 0 |
The identity on (0,1) is continuous at every domain point, but 0 itself is not a domain point at which that function has a value. Its limit toward 0 can motivate an extension; it does not already assign the missing endpoint. Likewise, a restriction can be continuous even where a different, larger-domain function is discontinuous. State which function and domain are being discussed.
Test every sequence approaching the point
Continuity at c is equivalent to the following sequential assertion: for every sequence xₙ∈D with xₙ→c, the images f(xₙ) tend to f(c). For a metric codomain this means its image distances tend to 0. The word every is essential; a convenient single sequence cannot test all approaches.
If f is continuous, take its δ for a proposed output ε. A sequence converging to c eventually lies inside that domain ball, so its images eventually lie inside the output ball. This proves one direction directly with the same tail quantifiers established for sequences.
For the converse, negate continuity. Some ε₀>0 has the property that every radius δ admits an x∈D with d_D(x,c)<δ and d_Y(f(x),f(c))≥ε₀. Choose such a point for each radius 1/n. The resulting sequence tends to c while its images stay a fixed distance away, contradicting the sequential assertion.
At an isolated c, every sequence in D converging to c is eventually equal to c, so this criterion agrees with the direct definition. The converse selection is an ordinary classical sequence construction; it does not assert an unproved minimal choice principle or require a computational procedure for finding all bad points.
Retain the pointwise denominator and image conditions
For real-valued functions continuous at c, finite sums, scalar multiples, products and absolute values are continuous there. Apply the sequence criterion and the corresponding limit laws from lesson 177, or repeat their ε estimates. The reverse-triangle inequality ||u|−|v||≤|u−v| gives the absolute-value case directly.
For a quotient f/g, the required local condition is g(c)≠0. Continuity gives a neighborhood with |g(x)|>|g(c)|/2. The identity |1/g(x)−1/g(c)|=|g(x)−g(c)|/(|g(x)||g(c)|) then proves reciprocal continuity, and product continuity proves the quotient. A nonzero value somewhere else in the domain would not supply this local condition.
A composition g∘f is continuous at c if f is continuous there and g is continuous at f(c), with the image of f lying in the domain on which g is defined. First choose an inner-value tolerance making g’s output sufficiently close; then use continuity of f to meet it. Both the intermediate point and the function domains are part of the theorem.
These rules establish continuity of polynomials on ℝ and rational functions wherever their denominators are nonzero. They do not require derivative calculations, so the intermediate-value arguments below can use polynomial continuity before differentiation theorems are developed.
The statements here concern ordinary pointwise continuity. Uniform continuity has a different order of quantifiers. In particular a product of two unbounded uniformly continuous functions need not be uniformly continuous, and a nowhere-zero function may approach 0 closely enough to make its reciprocal fail a global uniform bound.
Use relative preimages in the correct direction
Continuity can also be expressed through open sets. A subset U of a metric space is open if every point of U has a positive-radius ball contained in U. For a subspace D⊆ℝ, relative openness means intersections with open real sets, or equivalently balls using only points of D.
If f:D→Y is continuous and V is open in Y, then f⁻¹(V) is open in D. At c in the preimage, an output ball about f(c) fits inside V. Continuity supplies a domain ball mapped into that output ball, proving that c has a neighborhood within the preimage.
Conversely, if the preimage of every open set is open in D, apply the property to each ball of radius ε about f(c). Its preimage contains c and therefore a domain ball about c, which is precisely the ε–δ continuity condition. Taking complements yields the equivalent closed-preimage formulation.
The direction is preimage. A constant map can send a nonempty open interval to one point, which is not open in ℝ. A continuous map can also send a closed noncompact domain to a nonclosed image: x↦1/x on [1,∞) has image (0,1]. Later compactness provides a specific setting in which suitable closed images and continuous inverses do follow.
Use completeness to prove an intermediate value
The intermediate value theorem applies to continuous real f on a finite interval [a,b] with a<b. Every y between f(a) and f(b) is attained. If it equals an endpoint value, the corresponding endpoint is already a solution; suppose first that f(a)<y<f(b).
Bisect the interval. If the midpoint has value y, stop with that solution. Otherwise retain the half whose left endpoint value is below y and right endpoint value above y. These closed intervals are nested and have lengths (b−a)/2ⁿ. The nested-interval and geometric results of lessons 176–177 give one common point c, with both endpoint sequences tending to c.
Continuity sends those endpoint values to f(c). Their inequalities imply f(c)≤y from one side and f(c)≥y from the other, so f(c)=y. Changing the sign of f handles the reversed endpoint ordering. This proof uses completeness and continuity, without assuming that every function has a derivative.
For a continuous function on any real interval, apply the finite closed-interval argument to two chosen domain points. The entire interval between them stays in the domain, so every intermediate image value occurs. On the disconnected domain {−1,1}, the identity is continuous at both isolated points and misses 0; the interval hypothesis cannot be removed.
Existence is distinct from uniqueness. For example x² takes the value 1/4 at two points of [−1,1]. A sign-changing bracket guarantees a root but need not identify the only root in the domain, and a root can exist even when the two original endpoint signs agree.
Separate existence, uniqueness and enclosure error
For a continuous real function with opposite signs at the endpoints, bisection retains a root in every selected closed interval. If no exact zero ends the process, the nested construction selects a common root. After n halvings, its distance from the current midpoint is at most (b−a)/2ⁿ⁺¹.
A finite enclosure is already useful: the bracket certifies that the selected mathematical root lies in a stated interval, and its midpoint has the stated absolute error. The algorithm need not output an exact representation of that root to provide this certificate. A uniqueness argument, when available, identifies the enclosed root unambiguously within the bracket.
For f(x)=x³−x−1 on [1,3/2], the endpoint values are −1 and 7/8. Polynomial continuity gives a root. If 1≤u<v≤3/2, then f(v)−f(u)=(v−u)(v²+vu+u²−1)>0. Thus f is strictly increasing on this bracket and the enclosed root is unique there, with no appeal to a later derivative theorem.
Question: Keep an exact root-existence certificate distinct from monotonicity and finite enclosure error.
Operation and domain: The three supported polynomials are continuous. Exact rational endpoint/midpoint signs choose the retained half; exact zero terminates immediately. A finite curve is not a root proof.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
f(x)=x^3-x-1; original closed interval[1,3/2]; at most 8 midpoint evaluations.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Endpoint sign certificate | true | Endpoint zero or opposite signs; continuity is a property of the declared polynomial. |
| Separate uniqueness certificate | true | Strict monotonicity is proved on the stated one-sided interval, or for the cube globally. False means this criterion is unavailable, not that multiple roots must occur. |
| Exact root reached | undefined | Null means no exact endpoint/midpoint root was reached by this finite operation. |
| Actual retained halvings | 8 | Exact zero collapses the interval instead of retaining another half. |
| Midpoint evaluations | 8 | Exact zero can stop before the requested count. |
| Final left endpoint | 339/256 | No unsupported bracket selection is performed. |
| Final right endpoint | 679/512 | No unsupported bracket selection is performed. |
| Certified midpoint error | 1/1024 | Null when no initial sign certificate; otherwise half the retained width or0 for an exact root. |
Complete exact declarations, values and figure scales
| Step | Left before | Right before | Tested midpoint | Exact function value | Sign |
|---|---|---|---|---|---|
| 1 | 1 | 3/2 | 5/4 | -19/64 | -1 |
| 2 | 5/4 | 3/2 | 11/8 | 115/512 | 1 |
| 3 | 5/4 | 11/8 | 21/16 | -211/4096 | -1 |
| 4 | 21/16 | 11/8 | 43/32 | 2707/32768 | 1 |
| 5 | 21/16 | 43/32 | 85/64 | 3821/262144 | 1 |
| 6 | 21/16 | 85/64 | 169/128 | -39239/2097152 | -1 |
| 7 | 169/128 | 85/64 | 339/256 | -35701/16777216 | -1 |
| 8 | 339/256 | 85/64 | 679/512 | 833335/134217728 | 1 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | 23/24 | 37/24 | 0 |
| Y | -37/32 | 33/32 | 0 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | 23/24 | 37/24 | 0 |
| Y | -2/3 | 26/3 | 0 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| polynomial | cubic-minus-linear-minus-one |
| left | 1 |
| right | 3/2 |
| steps | 8 |
The length estimate depends on the number of actual retained halvings. A claim of tolerance ε must compare (b−a)/2ⁿ⁺¹ with ε, keeping strict versus non-strict error language clear. An exact midpoint zero can terminate earlier; a nearly zero computed value is a different piece of evidence.
A certified sign must belong to the actual function under the stated model. Exact rational polynomial evaluation supplies such signs in the worked examples. No theorem here validates a noisy measured sign, a rounded near-zero evaluation or a physical model whose continuity has not been justified.
Retain nonempty compactness before claiming attained extrema
A continuous real function on a nonempty closed bounded real interval attains both a maximum and a minimum. To prove boundedness, suppose otherwise and choose xₙ in the interval with |f(xₙ)|>n. Bolzano–Weierstrass gives a subsequence tending to c; order and the closed endpoints keep c in the interval. Continuity makes its image tend to the finite f(c), contradicting the growing magnitudes.
Let M be the finite supremum of the image. For each n choose xₙ with f(xₙ)>M−1/n. A convergent subsequence again has limit c in the domain, and continuity gives f(c)=M. Applying the same reasoning to −f produces an attained minimum. The proof distinguishes an upper bound from a point at which that bound is reached.
Question: Distinguish domain compactness, finite bounds and actual attainment.
Operation and domain: Use the exact distance function on the interval with its declared endpoint inclusions. Closed bounded real intervals are compact; the empty set is compact without extremum points.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
f(x)=|x-(2/5)| on [-1,2]. Endpoint membership is part of this declaration.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Domain empty | false | The interval contains points. |
| Domain compact | true | For this nonempty bounded interval, both endpoints must be included. |
| Infimum | 0 | Least real image bound, whether or not attained. |
| Supremum | 8/5 | Greatest limiting endpoint distance. |
| Minimum | 0 | An actual admitted minimizing point is required. |
| Maximum | 8/5 | At least one farthest endpoint must be included. |
Complete exact declarations, values and figure scales
| Quantity | Value | Admitted locations |
|---|---|---|
| minimum | 0 | 2/5 |
| maximum | 8/5 | 2 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -5/4 | 9/4 | 0 |
| Y | -2/15 | 26/15 | 0 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| mode | distance |
| a | -1 |
| b | 2 |
| center | 2/5 |
| leftClosed | true |
| rightClosed | true |
The same sequence argument works for a nonempty closed bounded subset K of ℝ: boundedness supplies a convergent subsequence and closedness retains its limit. Such sets will be characterized as compact below. The general compact-metric version follows from the compact-image theorem after that equivalence is established.
Each hypothesis has a role. The identity on an open bounded interval need not attain its endpoint supremum; 1/x on (0,1) is continuous and unbounded. A closed unbounded domain also need not support global extrema for every continuous function. A singleton domain does attain both extrema at its only value.
The empty set is compact and every function from it is continuously defined in the vacuous sense, but it has no point attaining a real maximum or minimum. Nonempty is therefore part of the extreme-value theorem. Compactness and extremum attainment will continue to be kept separate from a mere finite supremum.
Require a finite subcover of every open cover
An open cover of a metric space K is a family of open subsets of K whose union is K. Compactness means that every such cover has a finite subfamily still covering K. The original cover may have arbitrarily many members; it is not enough that one convenient cover or every already finite cover has a finite subcover.
The empty space is compact because the empty subfamily covers it. Every finite space is compact: choose one covering member for each point, requiring only finitely many choices. A closed interval [a,a] is this singleton case.
To prove compactness of [a,b] with a<b, suppose an open cover has no finite subcover. At least one closed half interval also has no finite subcover, since finite covers of both halves could be joined. Repeatedly choose a failing half, choosing the left one when both fail. The nested intervals have one common point c and lengths tending to 0.
A cover member containing c includes a positive-radius neighborhood of c relative to [a,b]. A sufficiently short retained interval lies entirely in this neighborhood, because it contains c and every point in it is at most its length from c. That one cover member covers the retained interval, contradicting its chosen failure. Thus every open cover has a finite subcover.
A closed subset C of compact K is compact. Write each relative cover member as C∩Vⱼ with Vⱼ open in K. The family consisting of these Vⱼ and the open complement of C in K covers K. A finite subcover of K leaves a finite collection covering C after the complement is discarded. This proves compactness inheritance with the stated relative-closedness condition.
Name the real ambient space in closed-and-bounded claims
Every nonempty compact subset K of a metric ambient space is bounded. Fix x₀∈K. The balls about x₀ with positive integer radii cover K, since all metric distances are finite real numbers. A finite subcover is contained in the largest of its finitely many balls, giving a single finite bound on distances from x₀.
A compact subset of a metric ambient space is also closed. For y outside nonempty K, each x∈K has radius rₓ=d(x,y)/3>0. Finitely many balls B(xᵢ,rᵢ) cover K. If r is their positive minimum radius, any z∈K belongs to one such ball and satisfies d(z,y)>2rᵢ≥2r. Hence B(y,r) misses K, proving its complement is open. The empty set is closed and bounded separately.
In the usual real metric, the converse holds: every closed bounded K⊆ℝ lies in a compact interval [−M,M] and is a closed subset of it, hence is compact. Combined with the preceding direction, this is the real-line Heine–Borel theorem. The ambient space and metric are part of the statement.
Relative closedness in ℚ is different. K=ℚ∩[0,2] is bounded and closed in ℚ, but it is not compact. For each n, take the relative open set of its points whose distance from √2 is greater than 1/n. Every rational point is covered eventually, because it differs from √2.
A finite subfamily of that cover has a largest n=N, and misses rational points within 1/N of √2. Such points exist in [0,2] by rational density. Thus the cover has no finite subcover. This example changes the ambient space from ℝ to ℚ; it does not contradict Heine–Borel in the usual real line.
Prove the metric subsequence and covering equivalence
In metric spaces, compactness is equivalent to sequential compactness: every sequence in K has a subsequence converging to a point in K. The requirement that the limit belong to K matters. We prove both directions rather than applying this metric equivalence to an arbitrary topological space.
Suppose K is compact and a sequence has no subsequence tending to any point of K. At each c∈K there must be a ball containing only finitely many sequence indices. Otherwise successively smaller balls about c would contain arbitrarily late indices, letting us choose an increasing subsequence converging to c. Finitely many of these finite-index balls cover K by compactness, an impossibility for the infinitely many indices of the sequence.
For the converse, assume sequential compactness. First, for every ε>0 there is a finite ε-net with centers in K: finitely many ε-balls cover K. If not, recursively select a new point outside all previous ε-balls. These points are pairwise at least ε apart, so no subsequence is Cauchy, much less convergent. This contradicts sequential compactness.
Next, each open cover has a positive Lebesgue radius δ such that every relative δ-ball about a point of K lies in some cover member. If none existed, choose xₙ whose relative 1/n-ball lies in no member. A subsequence tends to c∈K. One open cover member contains a fixed ball about c; eventually the selected centers and their 1/n-balls both fit within that fixed ball, a contradiction.
Take a finite δ/2-net. Each center’s δ-ball lies in one chosen cover member, and the smaller net balls already cover K. Those finitely many members therefore form a finite subcover. The empty-space case satisfies both definitions immediately and needs no initial point selection.
Distinguish a finite net from a single global diameter bound
A metric space is totally bounded if every ε>0 admits a finite ε-net, with centers in the space. This is stronger than having one finite diameter bound. A finite net can resolve the whole space at every proposed scale; one large enclosing ball does not provide that information.
Every compact metric space is totally bounded, either by the ball-cover definition or by the preceding sequence proof. It is complete as well: a Cauchy sequence has a subsequence converging to a point of the compact space, and the Cauchy condition makes the whole sequence tend to that same point by the triangle inequality.
Conversely, a complete totally bounded metric space is compact. Given a sequence, cover it by finitely many balls of radius 1/2 and retain an infinite set of indices in one ball. Cover again at radius 1/4 and retain an infinite subset of those indices in one smaller ball. Continue with radii tending to 0, selecting one increasing index from each nested index set.
Every sufficiently late pair of selected terms lies in the same earlier chosen ball, so their distance is at most twice its radius. The selected subsequence is Cauchy and therefore converges in the complete space. This gives sequential compactness and hence compactness. The argument uses finitely many covering choices at each scale, not a claim that boundedness alone produces small finite nets.
For a concrete failure of that shortcut, give ℕ the discrete metric d(m,n)=1 for m≠n and 0 otherwise. It is bounded and complete, since a Cauchy sequence is eventually constant. Every ball of radius below 1 is a singleton, so no finite such net covers ℕ and the singleton cover has no finite subcover. Thus complete plus bounded is still insufficient in a general metric space.
Keep the compact source of the inverse-continuity theorem
A continuous map sends a compact metric domain to a compact image. Given an open cover of f(K), pull it back under f to an open cover of K. A finite subcover of K corresponds to finitely many original members covering the image. The map need not be injective for this argument.
For continuous real-valued f on nonempty compact K, the image is a nonempty compact subset of ℝ and thus closed and bounded. Its finite supremum and infimum belong to the image: approaching either bound by image values and using closedness retains it. Therefore some domain points attain the maximum and minimum. This gives the general compact-metric extreme-value theorem promised earlier.
If f:K→f(K) is also bijective, its inverse is continuous. A closed subset C of K is compact; f(C) is compact and hence closed in the metric image space. These sets are exactly the preimages of closed C under the inverse map, so the closed-preimage characterization proves inverse continuity.
Without compactness, a continuous bijection may fail this conclusion. Let D={0}∪(1,2], define f(0)=0 and f(x)=x−1 on the interval part. It is continuous relative to D and bijects onto [0,1]. But 1/n→0 in the image while the inverse values 1+1/n remain at least 1 away from the inverse value 0.
The missing point 1 makes D nonclosed and noncompact in ℝ. The theorem does not promise that every continuous bijection has a continuous inverse, nor that continuous maps generally send all closed sets to closed sets. Compactness supplies the particular closed-image argument used here.
Select one tolerance for every pair of inputs
Uniform continuity of f:D→Y means that for every ε>0 there exists δ>0 such that all x,y∈D with d_D(x,y)<δ satisfy d_Y(f(x),f(y))<ε. One δ works everywhere in D. Ordinary continuity chooses a δ after a base point c has also been fixed, so its δ may depend on that point.
Uniform continuity implies ordinary continuity by taking y=c. Restricting a uniformly continuous function to a smaller domain preserves the same δ. Extending a domain can destroy uniformity, even if the same formula remains continuous at every new point.
No linear rate is part of the definition. A sufficient δ can depend nonlinearly on ε and need not be the largest possible one. The identity on all of ℝ is uniformly continuous with δ=ε, showing that compactness of the domain is not necessary for a particular function to be uniformly continuous.
On a finite domain with at least two distinct points, take δ smaller than the minimum positive pairwise distance; only equal input pairs then qualify, so every function is uniformly continuous. Empty and singleton domains are immediate. This fact about a function on finitely many samples does not establish continuity or uniformity of an unknown function on the full interval between the samples.
Allow close pairs with no individual input limit
The full pair-sequence criterion states that failure of uniform continuity is equivalent to the existence of xₙ,yₙ∈D and one ε₀>0 such that d_D(xₙ,yₙ)→0 while d_Y(f(xₙ),f(yₙ))≥ε₀ for every n. No separate convergence of xₙ or yₙ is required.
Negating the uniform definition gives a fixed ε₀ and bad pairs at every radius; choose radius 1/n to obtain such sequences. Conversely, if those sequences exist, any proposed uniform δ is eventually larger than their input gap, while the output gap still violates the proposed ε₀ tolerance. Both directions retain the same all-pair quantifier.
For f(x)=x² on ℝ, use xₙ=n and yₙ=n+1/n. Their input gap is 1/n, but their output gap is 2+1/n². The input sequences have no finite limit, which is precisely why checking continuity only around a fixed finite point would not detect this uniform failure.
A bounded continuous function can also fail uniform continuity. For sin(1/x) on (0,1), choose xₙ=1/(2πn+π/2) and yₙ=1/(2πn+3π/2). The outputs are exactly 1 and −1. Their input gap is π/[(2πn+π/2)(2πn+3π/2)]<1/(4πn²)→0. The images are bounded, but no fixed input tolerance controls all close pairs near the missing endpoint.
Continuity of that example uses the elementary sine distance bound |sin u−sin v|≤|u−v|, from the sum-to-product identity and |sin t|≤|t| in radians, composed with the continuous reciprocal on a nonzero domain. The exact phase identities prove nonuniformity; a finite plot of rapid oscillation is not the proof.
Turn compactness and continuity into uniform continuity
The Heine–Cantor theorem states that a continuous map from a compact metric domain K into any metric space is uniformly continuous. No completeness assumption on the codomain is needed. If K is empty the claim is vacuous, so consider the nonempty case.
If uniform continuity failed, the pair criterion would give xₙ,yₙ∈K with input distances tending to 0 and output distances at least ε₀>0. Compactness supplies a subsequence xₙⱼ→c with c∈K. The triangle inequality also gives yₙⱼ→c along those same indices.
Continuity makes both image subsequences tend to f(c). Their mutual distance therefore tends to 0, contradicting the fixed lower output bound. The same-index pairing is essential: taking two unrelated convergent subsequences would not prove the required contradiction.
This theorem supplies existence of a common δ on the stated compact domain. It does not automatically compute an optimal modulus or certify a global bound outside that domain. The next section derives explicit sufficient bounds for particular functions, including a uniformly continuous example with a nonlinear tolerance rule.
Handle a zero Lipschitz constant and a square-root modulus
A real function is Lipschitz with constant L≥0 when |f(x)−f(y)|≤L|x−y| for every pair in its domain. If L>0, δ=ε/L proves uniform continuity. If L=0, every output difference is 0, so any positive δ works directly. The zero case must not be passed through a division by L.
On a nonempty domain a zero Lipschitz constant makes the function constant; on an empty domain the pair condition is simply vacuous. A positive constant is allowed even for a constant function, but need not be the smallest one. A sufficient bound and an optimal constant are different claims.
For x,y∈[−M,M] with M>0, |x²−y²|=|x−y||x+y|≤2M|x−y|. Thus δ=ε/(2M) works on that domain or any subset of it. At M=0 the domain is a singleton and uniform continuity is immediate. The same square formula on all of ℝ has no finite such bound.
Question: Decide the named whole-domain uniformity or bound, using exact all-pair identities.
Operation and domain: Finite function/pair diagrams illustrate stated formulas. The universal quantifier is established by the distance identity or the full close-pair proof, not by the displayed sample.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
f(x)=x^2 on[-2,2], epsilon=3/100.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Sufficient Lipschitz bound | 4 | |x^2-y^2|<=2M|x-y| for both inputs in[-M,M]. |
| Sufficient strict delta | 3/400 | Positive bound permits epsilon/L. |
Complete exact declarations, values and figure scales
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -7/3 | 7/3 | 0 |
| Y | -14/3 | 14/3 | 0 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| mode | square-bounded |
| M | 2 |
| epsilon | 3/100 |
For square roots, take x≥y≥0. Then (√x−√y)²≤(√x−√y)(√x+√y)=x−y. Consequently |√x−√y|≤√|x−y| for all nonnegative pairs. The choice δ=ε² proves uniform continuity on the whole unbounded domain [0,∞).
This square-root function is not Lipschitz near 0. At x=1/n²,y=0, the ratio of the output difference to the input difference is (1/n)/(1/n²)=n, exceeding every proposed finite Lipschitz constant. A nonlinear uniform tolerance can therefore exist even when no global linear sensitivity bound does. The argument uses exact root identities, not a derivative test.
Supply bounds before multiplying or reciprocating
Sums of two uniformly continuous real functions on the same domain are uniformly continuous: choose each output difference smaller than ε/2 and take the smaller of the two resulting input tolerances. Scalar multiplication has the same direct estimate, with a zero scalar handled without division.
For compositions, let f:D→Y and g:f(D)→Z be uniformly continuous in the appropriate metrics. Given an output ε for g, obtain an intermediate tolerance η; then obtain a domain tolerance for f at η. This single composed choice works for every pair in D. No compactness is required for this implication.
Products have a useful additional boundedness hypothesis. If |f|≤M and |g|≤N globally and both are uniformly continuous, then |f(x)g(x)−f(y)g(y)|≤M|g(x)−g(y)|+N|f(x)−f(y)|. Make the g difference smaller than ε/[2(M+1)] and the f difference smaller than ε/[2(N+1)]. A common δ makes the sum less than ε, including zero bounds harmlessly.
Without a bound of this kind, the product conclusion need not hold: the identity functions on ℝ are uniformly continuous, while their product x² is not. The local product proof for ordinary continuity cannot be applied uniformly without controlling the factors across the whole domain.
For reciprocals, a sufficient hypothesis is a uniformly continuous f with |f(x)|≥m>0 everywhere. The exact difference is at most |f(x)−f(y)|/m², which supplies a common tolerance. A nowhere-zero function without positive separation is insufficient; the identity on (0,1] is uniformly continuous but its reciprocal fails the pair criterion.
Use a finite net to control the whole image
A uniformly continuous map from a totally bounded nonempty metric domain has bounded image. Select a δ giving output distance less than 1. A finite δ/2-net with domain centers c₁,…,cₖ puts each image point within 1 of one of the finitely many images f(cᵢ). Distances from f(c₁) are then bounded by 1 plus the largest finite distance from f(c₁) to those image centers.
For a real-valued map the same argument gives |f(x)|≤1+maxᵢ|f(cᵢ)|. This proves a global bound, without claiming an attained maximum on a noncompact domain. The empty image is bounded separately and supplies no extremum point.
Every bounded subset of the usual real line is totally bounded. Divide a containing finite interval into finitely many cells shorter than the requested radius, and select a domain representative from each nonempty cell. Those finitely many representatives provide the required net. Thus a uniformly continuous real function on a bounded real subset has bounded image.
The word totally cannot be dropped for an arbitrary metric domain. On the bounded discrete metric space ℕ from above, δ<1 forces x=y, making every map uniformly continuous. The real map n↦n still has unbounded image. The real-line finite-grid argument used more structure than bounded diameter alone.
Distinguish uniform continuity from its nonconverses
Uniform continuity preserves Cauchy sequences. Given ε>0 in the codomain, choose a uniform δ in the domain. A Cauchy input sequence has a tail with every pair at distance less than δ, so every image pair in that tail is less than ε apart. No input limit in the domain is required.
Ordinary continuity does not guarantee this when the input sequence approaches a missing domain point. On (0,1], the function 1/x is continuous, while the Cauchy input sequence 1/n maps to n. Arbitrarily late terms of that image remain separated, so it is not Cauchy.
The converse also fails in general: x² on ℝ preserves every Cauchy sequence. Such an input sequence converges to a real point by completeness; continuity then makes the image converge and hence be Cauchy. Yet the unbounded close-pair example disproves uniform continuity of x².
Cauchy preservation is a statement about pairwise tails. To turn an image Cauchy sequence into an actual limit inside its codomain one additionally needs completeness there, or a separate reason that this particular sequence has a limit. The dense-extension theorem uses precisely that extra codomain hypothesis.
Compare two approximating sequences before defining the extension
Let A be dense in a metric space X, let Y be a complete metric space, and let f:A→Y be uniformly continuous. Density means every point of X can be approximated arbitrarily closely by points of A. There is a unique uniformly continuous extension F:X→Y, and uniqueness holds among all continuous extensions.
For x∈X, choose aₙ∈A with d_X(aₙ,x)<1/n. These points are Cauchy because d_X(aₘ,aₙ)<1/m+1/n. Uniform continuity makes f(aₙ) Cauchy, and completeness of Y gives a limit. Define F(x) to be that limit. If X is empty the unique empty map settles the theorem directly.
The definition must be independent of the chosen approximating sequence. If bₙ also approaches x, then d_X(aₙ,bₙ)→0 by the triangle inequality. Uniform continuity makes d_Y(f(aₙ),f(bₙ))→0, so their two limits coincide. Uniqueness of the limit of one fixed sequence alone would not establish this independence.
Dots and rings identify the series shown in each legend. Every marker is centred at its exact plotted value; the ring is a series symbol. Endpoint inclusion is recorded separately. The exact table retains separations below drawing resolution.
Question: Define a dense extension independently of which rational sequence approaches the point.
Operation and domain: Lower and upper exact decimal-rational enclosures define two valid approaches. Uniform bounds compare their images. The plotted real candidate is explicitly separate from a requested rational-codomain extension.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
Dense map q^2; target sqrt(1/2); requested codomain R. Two rational approaches are displayed through j=4.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Requested codomain extension exists | true | The complete real codomain supplies the general dense uniform-extension theorem. |
| Formal real extension value | 1/2 | This is the value in the real completion, not automatic approval of the requested codomain. |
| Approach comparison bound | 2 | |f(a)-f(b)|<=L|a-b| on the declared dense domain. |
Complete exact declarations, values and figure scales
| j | Lower rational | Upper rational | f(lower) | f(upper) | Input gap | Image-gap upper bound |
|---|---|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 1 | 1 | 2 |
| 1 | 7/10 | 4/5 | 49/100 | 16/25 | 1/10 | 1/5 |
| 2 | 7/10 | 71/100 | 49/100 | 5041/10000 | 1/100 | 1/50 |
| 3 | 707/1000 | 177/250 | 499849/1000000 | 31329/62500 | 1/1000 | 1/500 |
| 4 | 7071/10000 | 442/625 | 49999041/100000000 | 195364/390625 | 1/10000 | 1/5000 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -1/12 | 13/12 | 0 |
| Y | -1/12 | 13/12 | 0 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -1/3 | 13/3 | 0 |
| Y | -1/6 | 13/6 | 0 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| map | square |
| codomain | R |
| square | 1/2 |
| k | 4 |
At x∈A compare with the constant sequence x to get F(x)=f(x). For uniform continuity of F, choose δ for f at tolerance ε/2. If d_X(x,y)<δ/2, sufficiently close approximants to x and y have mutual distance less than δ. Their image distances are less than ε/2; taking limits gives d_Y(F(x),F(y))≤ε/2<ε. The initial δ depends only on ε, even though the approximating sequences are chosen for the particular points.
If G is any continuous extension, along aₙ→x the values G(aₙ)=f(aₙ) tend both to G(x) and to F(x). Hence G=F. An arbitrary discontinuous assignment off A need not be unique: density determines a continuous extension, not every set-theoretic extension.
Completeness of X was not assumed. Completeness of Y supplies the general guarantee and cannot simply be omitted: the identity from ℚ to ℚ is uniformly continuous on dense ℚ⊂ℝ, but no continuous extension ℝ→ℚ can agree with it. Rational approximants to √2 would force its value there to have the irrational real limit √2. The construction is classical and asserts no unproved weakest-choice or effective-computability theorem.
Extend the whole continuous function, not only its endpoints
For finite real a<b and real-valued f on (a,b), uniform continuity is equivalent to having a continuous extension to [a,b]. In the forward direction, apply the dense-extension theorem with X=[a,b], A=(a,b) and complete codomain ℝ. This obtains both finite endpoint values and continuity there.
Conversely, a continuous F on the compact interval [a,b] is uniformly continuous by Heine–Cantor. Its restriction to (a,b) inherits the same δ. The equivalence concerns continuity of the entire extended function, not only the existence of two endpoint numbers.
If f is already continuous throughout (a,b) and has finite one-sided limits at a and b, assigning those limits makes the full extension continuous, and the same conclusion follows. Finite endpoint limits alone are insufficient: a function with a jump at an interior midpoint can have finite endpoint limits while failing ordinary and hence uniform continuity inside.
The finite endpoints and a<b are stated conditions. An unbounded interval does not give a compact closure, and the identity on ℝ is uniformly continuous without a bounded closed domain. Empty or singleton restrictions have their direct vacuous or one-point interpretations rather than being passed through a nondegenerate interval theorem.
Separate an inverse or fixed point from a uniform or iterative guarantee
A continuous strictly monotone function on a real interval has an interval image by the intermediate value theorem and has a continuous inverse on that image. For an interior c, bracket it by nearby domain points a<c<b. Strict increase gives positive gaps between f(c) and f(a),f(b); image values close enough to f(c) then have inverse values between a and b. The same one-sided bracketing works at an included endpoint, and decreasing functions follow by sign reversal.
Continuity of an inverse and uniform continuity of that inverse are separate claims. For f(x)=x/(1+x) on [0,∞), the exact difference is |f(x)−f(y)|=|x−y|/[(1+x)(1+y)]≤|x−y|. The forward map is uniformly continuous and its inverse u↦u/(1−u) is continuous on [0,1).
Nevertheless the inverse is not uniformly continuous. For n≥2 take uₙ=1−1/n and vₙ=1−1/(n+1). Their gap is 1/[n(n+1)], whereas the inverse outputs n−1 and n differ by 1. On a smaller inverse domain [0,r] with r<1, the same difference identity gives a finite Lipschitz bound 1/(1−r)². The global failure comes from the missing boundary separation.
Fixed-point existence is another use of an interval’s intermediate values. If continuous f maps [a,b] into itself with a<b, then h(x)=f(x)−x has h(a)≥0 and h(b)≤0. An endpoint equality or IVT gives c with f(c)=c. For a singleton self-mapped interval the only point is fixed directly.
This existence theorem does not give uniqueness or convergence of iterates. The identity has every point fixed. The map f(x)=2−x on [0,2] has a unique fixed point 1, yet iteration from 0 alternates between 0 and 2 and never converges.
A sufficient additional hypothesis is a contraction bound |f(x)−f(y)|≤q|x−y| with 0<q<1 on the self-mapped closed interval. For xₙ₊₁=f(xₙ), induction gives |xₙ₊₁−xₙ|≤qⁿ|x₁−x₀|. Summing from n to m−1 gives |xₘ−xₙ|≤qⁿ|x₁−x₀|/(1−q), so the iterates are Cauchy.
Completeness gives a real limit, and closedness keeps it in the interval. The Lipschitz map is continuous, so passing to the limit in xₙ₊₁=f(xₙ) makes the limit fixed. Two fixed points at distance D satisfy D≤qD, forcing D=0. Taking m→∞ in the tail bound yields |xₙ−c|≤qⁿ|x₁−x₀|/(1−q).
For n≥1, starting the same geometric tail from the last known step also gives |xₙ−c|≤q|xₙ−xₙ₋₁|/(1−q). At q=0 the map is constant and reaches its fixed value in one step, so that case is handled directly. These are proved real-interval results, with the self-map and strict q<1 premises retained; no broader metric fixed-point theorem is silently imported.
Question: Separate the real interval self-map premise, contraction proof, actual affine behavior and strict cutoff.
Operation and domain: Endpoint images test the entire affine self-map condition. Exact affine error identities and geometric bounds govern convergence; finite orbit points are illustrations only.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
f(x)=(1/3)x+(2/3) on[0,2], x0=0, epsilon=1/200. The requested finite orbit has at most 8 steps.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Whole interval self-map | true | Both endpoint images must lie in the declared interval. |
| Sufficient interval Lipschitz q | 1/3 | The exact |a| bound on a nondegenerate interval. |
| Strict contraction certificate | true | Requires the self-map and q<1, with zero handled directly. |
| Algebraic fixed-equation solution | 1 | For a!=1 solve(1-a)c=b, then separately check domain membership. |
| Identified single fixed point in domain | 1 | Null if the algebraic solution is outside the domain or the identity has a whole fixed set. |
| Actual affine behavior | converges to the unique fixed point | A held contraction criterion does not erase independently known identity/cycle behavior. |
| Least strict inclusive cutoff | 5 | Every n>=N has error<epsilon. Null means unavailable in this operation. |
| Preceding error | 1/81 | No preceding index exists when N0. Equality with epsilon fails the strict requirement. |
| First certified error | 1/243 | Actual affine error, not a sample-based convergence inference. |
| A-priori coefficient | 1 | Error at n is at most q^n times this coefficient; q0 is interpreted directly. |
| Last a-posteriori bound | 1/6561 | q/(1-q) times the last known step. |
Complete exact declarations, values and figure scales
| n | x_n | Absolute error if a fixed point is identified |
|---|---|---|
| 0 | 0 | 1 |
| 1 | 2/3 | 1/3 |
| 2 | 8/9 | 1/9 |
| 3 | 26/27 | 1/27 |
| 4 | 80/81 | 1/81 |
| 5 | 242/243 | 1/243 |
| 6 | 728/729 | 1/729 |
| 7 | 2186/2187 | 1/2187 |
| 8 | 6560/6561 | 1/6561 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -1/6 | 13/6 | 0 |
| Y | -1/6 | 13/6 | 0 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | 9/2 | 23/2 | 0 |
| Y | -1/12 | 13/12 | 0 |
| n | Exact absolute error | Error / epsilon |
|---|---|---|
| 5 | 1/243 | 200/243 |
| 6 | 1/729 | 200/729 |
| 7 | 1/2187 | 200/2187 |
| 8 | 1/6561 | 200/6561 |
| 9 | 1/19683 | 200/19683 |
| 10 | 1/59049 | 200/59049 |
| 11 | 1/177147 | 200/177147 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| a | 1/3 |
| b | 2/3 |
| left | 0 |
| right | 2 |
| x0 | 0 |
| epsilon | 1/200 |
| steps | 8 |
Attach a proved bound to the actual mathematical model
A quantitative bound connects an output tolerance to an input tolerance only on the domain and model for which the bound is proved. If |Δf|≤L|Δx| with L>0, a sufficient strict rule is |Δx|<ε/L. The units of L are output units per input unit, so ε/L has input units. A zero bound is the constant-output case and needs no division.
For a time-to-temperature model, a sensitivity in kelvins per second can convert a kelvin tolerance into a second tolerance. That implication does not estimate unknown calibration offsets or justify the model from measurements. Pairwise input-error bounds also need the triangle inequality when two measurements can move on opposite sides of one reference.
Finite samples do not determine a common modulus for all continuous functions fitting them. A narrow continuous triangular bump can be placed between sampled inputs while preserving their displayed values. Each fixed bump is uniformly continuous on a compact interval, but its needed input tolerance can shrink with its width. Thus sample agreement does not supply one universal sensitivity certificate across the family.
Choose an exact domain and function. Definitions, distance identities and theorem hypotheses supply each certificate; a finite diagram does not prove a universal claim.
Actual domains and local continuity
D={0} union[2,3], c=0 · ready
Question: Compare continuity on an isolated-plus-interval domain with a larger-domain function.
Operation and domain: Blue points/segments are values on the exact stated domain. The second graph uses the affine formula at every other real point; it is a different function.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
D={0} union[2,3], c=0. The assigned isolated value is 7; the interval formula is (1)x+(-2). epsilon=1/20.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Relative continuity at c | true | Every declared base point meets its relative epsilon-delta test. |
| Sufficient strict relative delta | 1 | Isolate the point or exclude it and control the affine interval part. |
| Ambient continuity at isolated point | false | The assigned value must equal the affine limit there. |
| Affine limit at isolated point | -2 | Limit in the larger real domain, not an assigned punctured relative limit. |
Complete exact declarations, values and figure scales
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -4/3 | 10/3 | 0 |
| Y | -307/80 | 631/80 | 0 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -4/3 | 10/3 | 0 |
| Y | -307/80 | 631/80 | 0 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| mode | relative |
| isolated | 0 |
| a | 2 |
| b | 3 |
| assigned | 7 |
| slope | 1 |
| intercept | -2 |
| epsilon | 1/20 |
| c | 0 |
Exact sign brackets and root certificates
x^3-x-1 on[1,3/2], eight steps · ready
Question: Keep an exact root-existence certificate distinct from monotonicity and finite enclosure error.
Operation and domain: The three supported polynomials are continuous. Exact rational endpoint/midpoint signs choose the retained half; exact zero terminates immediately. A finite curve is not a root proof.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
f(x)=x^3-x-1; original closed interval[1,3/2]; at most 8 midpoint evaluations.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Endpoint sign certificate | true | Endpoint zero or opposite signs; continuity is a property of the declared polynomial. |
| Separate uniqueness certificate | true | Strict monotonicity is proved on the stated one-sided interval, or for the cube globally. False means this criterion is unavailable, not that multiple roots must occur. |
| Exact root reached | undefined | Null means no exact endpoint/midpoint root was reached by this finite operation. |
| Actual retained halvings | 8 | Exact zero collapses the interval instead of retaining another half. |
| Midpoint evaluations | 8 | Exact zero can stop before the requested count. |
| Final left endpoint | 339/256 | No unsupported bracket selection is performed. |
| Final right endpoint | 679/512 | No unsupported bracket selection is performed. |
| Certified midpoint error | 1/1024 | Null when no initial sign certificate; otherwise half the retained width or0 for an exact root. |
Complete exact declarations, values and figure scales
| Step | Left before | Right before | Tested midpoint | Exact function value | Sign |
|---|---|---|---|---|---|
| 1 | 1 | 3/2 | 5/4 | -19/64 | -1 |
| 2 | 5/4 | 3/2 | 11/8 | 115/512 | 1 |
| 3 | 5/4 | 11/8 | 21/16 | -211/4096 | -1 |
| 4 | 21/16 | 11/8 | 43/32 | 2707/32768 | 1 |
| 5 | 21/16 | 43/32 | 85/64 | 3821/262144 | 1 |
| 6 | 21/16 | 85/64 | 169/128 | -39239/2097152 | -1 |
| 7 | 169/128 | 85/64 | 339/256 | -35701/16777216 | -1 |
| 8 | 339/256 | 85/64 | 679/512 | 833335/134217728 | 1 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | 23/24 | 37/24 | 0 |
| Y | -37/32 | 33/32 | 0 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | 23/24 | 37/24 | 0 |
| Y | -2/3 | 26/3 | 0 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| polynomial | cubic-minus-linear-minus-one |
| left | 1 |
| right | 3/2 |
| steps | 8 |
Compactness, bounds and attainment
Distance from2/5 on[-1,2] · ready
Question: Distinguish domain compactness, finite bounds and actual attainment.
Operation and domain: Use the exact distance function on the interval with its declared endpoint inclusions. Closed bounded real intervals are compact; the empty set is compact without extremum points.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
f(x)=|x-(2/5)| on [-1,2]. Endpoint membership is part of this declaration.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Domain empty | false | The interval contains points. |
| Domain compact | true | For this nonempty bounded interval, both endpoints must be included. |
| Infimum | 0 | Least real image bound, whether or not attained. |
| Supremum | 8/5 | Greatest limiting endpoint distance. |
| Minimum | 0 | An actual admitted minimizing point is required. |
| Maximum | 8/5 | At least one farthest endpoint must be included. |
Complete exact declarations, values and figure scales
| Quantity | Value | Admitted locations |
|---|---|---|
| minimum | 0 | 2/5 |
| maximum | 8/5 | 2 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -5/4 | 9/4 | 0 |
| Y | -2/15 | 26/15 | 0 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| mode | distance |
| a | -1 |
| b | 2 |
| center | 2/5 |
| leftClosed | true |
| rightClosed | true |
Uniform tolerances and close pairs
Square on[-2,2], epsilon3/100 · ready
Question: Decide the named whole-domain uniformity or bound, using exact all-pair identities.
Operation and domain: Finite function/pair diagrams illustrate stated formulas. The universal quantifier is established by the distance identity or the full close-pair proof, not by the displayed sample.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
f(x)=x^2 on[-2,2], epsilon=3/100.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Sufficient Lipschitz bound | 4 | |x^2-y^2|<=2M|x-y| for both inputs in[-M,M]. |
| Sufficient strict delta | 3/400 | Positive bound permits epsilon/L. |
Complete exact declarations, values and figure scales
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -7/3 | 7/3 | 0 |
| Y | -14/3 | 14/3 | 0 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| mode | square-bounded |
| M | 2 |
| epsilon | 3/100 |
Two rational approaches and extension
q^2 at sqrt(1/2), real codomain · ready
Dots and rings identify the series shown in each legend. Every marker is centred at its exact plotted value; the ring is a series symbol. Endpoint inclusion is recorded separately. The exact table retains separations below drawing resolution.
Question: Define a dense extension independently of which rational sequence approaches the point.
Operation and domain: Lower and upper exact decimal-rational enclosures define two valid approaches. Uniform bounds compare their images. The plotted real candidate is explicitly separate from a requested rational-codomain extension.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
Dense map q^2; target sqrt(1/2); requested codomain R. Two rational approaches are displayed through j=4.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Requested codomain extension exists | true | The complete real codomain supplies the general dense uniform-extension theorem. |
| Formal real extension value | 1/2 | This is the value in the real completion, not automatic approval of the requested codomain. |
| Approach comparison bound | 2 | |f(a)-f(b)|<=L|a-b| on the declared dense domain. |
Complete exact declarations, values and figure scales
| j | Lower rational | Upper rational | f(lower) | f(upper) | Input gap | Image-gap upper bound |
|---|---|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 1 | 1 | 2 |
| 1 | 7/10 | 4/5 | 49/100 | 16/25 | 1/10 | 1/5 |
| 2 | 7/10 | 71/100 | 49/100 | 5041/10000 | 1/100 | 1/50 |
| 3 | 707/1000 | 177/250 | 499849/1000000 | 31329/62500 | 1/1000 | 1/500 |
| 4 | 7071/10000 | 442/625 | 49999041/100000000 | 195364/390625 | 1/10000 | 1/5000 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -1/12 | 13/12 | 0 |
| Y | -1/12 | 13/12 | 0 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -1/3 | 13/3 | 0 |
| Y | -1/6 | 13/6 | 0 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| map | square |
| codomain | R |
| square | 1/2 |
| k | 4 |
Self-maps, contraction and iteration
(x+2)/3 on[0,2], start0 · ready
Question: Separate the real interval self-map premise, contraction proof, actual affine behavior and strict cutoff.
Operation and domain: Endpoint images test the entire affine self-map condition. Exact affine error identities and geometric bounds govern convergence; finite orbit points are illustrations only.
All declarations are hypothetical exact mathematical models. Finite curves/pairs illustrate the stated identities; they do not infer a universal theorem from observations.
f(x)=(1/3)x+(2/3) on[0,2], x0=0, epsilon=1/200. The requested finite orbit has at most 8 steps.
| Quantity | Exact value / status | Meaning |
|---|---|---|
| Whole interval self-map | true | Both endpoint images must lie in the declared interval. |
| Sufficient interval Lipschitz q | 1/3 | The exact |a| bound on a nondegenerate interval. |
| Strict contraction certificate | true | Requires the self-map and q<1, with zero handled directly. |
| Algebraic fixed-equation solution | 1 | For a!=1 solve(1-a)c=b, then separately check domain membership. |
| Identified single fixed point in domain | 1 | Null if the algebraic solution is outside the domain or the identity has a whole fixed set. |
| Actual affine behavior | converges to the unique fixed point | A held contraction criterion does not erase independently known identity/cycle behavior. |
| Least strict inclusive cutoff | 5 | Every n>=N has error<epsilon. Null means unavailable in this operation. |
| Preceding error | 1/81 | No preceding index exists when N0. Equality with epsilon fails the strict requirement. |
| First certified error | 1/243 | Actual affine error, not a sample-based convergence inference. |
| A-priori coefficient | 1 | Error at n is at most q^n times this coefficient; q0 is interpreted directly. |
| Last a-posteriori bound | 1/6561 | q/(1-q) times the last known step. |
Complete exact declarations, values and figure scales
| n | x_n | Absolute error if a fixed point is identified |
|---|---|---|
| 0 | 0 | 1 |
| 1 | 2/3 | 1/3 |
| 2 | 8/9 | 1/9 |
| 3 | 26/27 | 1/27 |
| 4 | 80/81 | 1/81 |
| 5 | 242/243 | 1/243 |
| 6 | 728/729 | 1/729 |
| 7 | 2186/2187 | 1/2187 |
| 8 | 6560/6561 | 1/6561 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | -1/6 | 13/6 | 0 |
| Y | -1/6 | 13/6 | 0 |
| Coordinate | Lower plot bound | Upper plot bound | Tick offset origin |
|---|---|---|---|
| X | 9/2 | 23/2 | 0 |
| Y | -1/12 | 13/12 | 0 |
| n | Exact absolute error | Error / epsilon |
|---|---|---|
| 5 | 1/243 | 200/243 |
| 6 | 1/729 | 200/729 |
| 7 | 1/2187 | 200/2187 |
| 8 | 1/6561 | 200/6561 |
| 9 | 1/19683 | 200/19683 |
| 10 | 1/59049 | 200/59049 |
| 11 | 1/177147 | 200/177147 |
| Parameter | Literal declaration |
|---|---|
| xUnit | dimensionless |
| yUnit | dimensionless |
| a | 1/3 |
| b | 2/3 |
| left | 0 |
| right | 2 |
| x0 | 0 |
| epsilon | 1/200 |
| steps | 8 |
The source theorems retain their exact relative-domain, compactness, codomain-completeness and proof-scope assumptions. The explicit distance, extension and contraction arguments supplied here identify where each is used. The next lesson develops differentiation and integration under their own hypotheses; later, uniform convergence of functions requires a common tail cutoff, a different quantifier problem from uniform continuity of one function.
Worked examples
Keep the actual function domain in the continuity test
Let D={0}∪[2,3], with f(0)=7 and f(x)=x−2 on [2,3]. Prove continuity at 0 and 2 relative to D. Compare the larger-domain g:ℝ→ℝ given by g(0)=7 and g(x)=x−2 for x≠0.
- At the isolated point 0 choose δ=1 for any ε>0. The only x∈D with |x|<1 is x=0, so |f(x)−f(0)|=0. Continuity follows without restricting the assigned value 7.
- At 2 choose δ=min(1,ε). A domain point with |x−2|<δ cannot be 0 and therefore lies in [2,3], where |f(x)−f(2)|=|x−2|<ε. The test is relative to D and does not ask for values just to the left of 2 outside that domain.
- For g, take xₙ=1/n. These nonzero real inputs tend to 0, while g(xₙ)=1/n−2→−2, not g(0)=7. The sequence criterion proves discontinuity at 0 in the larger real domain.
- The restriction of g to D is exactly f, so these conclusions coexist: the domain changes which nearby inputs must be controlled. A punctured test for f at its isolated 0 cannot select a unique limit; the direct continuity definition uses f(0) itself.
f is continuous at 0 and 2 relative to D. Its larger-domain extension g is discontinuous at 0, with punctured real limit −2.
Give an explicit local square tolerance
Prove continuity of x² at c=3/2 by a direct estimate and give a valid δ for ε=1/20. Check x=151/100 without claiming an optimal δ.
- Factor |x²−c²|=|x−c||x+c|. First restrict |x−c|<1. Then |x+c|≤|x−c|+2|c|<4, so the output error is less than 4|x−c|.
- For a general ε>0 choose δ=min(1,ε/4). This one local bound proves continuity at c. At ε=1/20 it gives δ=1/80, a sufficient rather than necessarily largest radius.
- For x=151/100, the input gap from 3/2 is 1/100<1/80. Exact subtraction gives x²−9/4=(22801−22500)/10000=301/10000.
- Since 301/10000<1/20, the sample meets the proposed tolerance. The universal factor estimate, rather than that one successful sample, proves every input in the stated δ-neighborhood meets it.
δ=1/80 works for ε=1/20. The sample has input error 1/100 and output error 301/10000.
Use exact signs to enclose one root
For f(x)=x³−x−1 on [1,3/2], prove existence and uniqueness of a root in that interval without derivatives. Perform eight exact bisections and state a certified midpoint error.
- The endpoint values are −1 and 7/8, so polynomial continuity and IVT give a root. For 1≤u<v≤3/2, f(v)−f(u)=(v−u)(v²+vu+u²−1)>0. This proves uniqueness on the chosen interval.
- The eight tested midpoints and exact signs are 5/4 (negative), 11/8 (positive), 21/16 (negative), 43/32 (positive), 85/64 (positive), 169/128 (negative), 339/256 (negative) and 679/512 (positive). Each step keeps the half with opposite endpoint signs; no tested midpoint is a zero.
- The resulting bracket is [339/256,679/512]. Direct endpoint evaluation gives −35701/16777216 and 833335/134217728, retaining the strict signs. Its width is 1/512, as expected from halving the original width 1/2 eight times.
- The midpoint is 1357/1024 and its distance from the unique enclosed root is at most 1/1024. This is a rational interval certificate under the proved continuity and sign assumptions; it does not claim an exact rational root or a rounding analysis for a different implementation.
The unique root in the bracket lies in [339/256,679/512]. The midpoint 1357/1024 has certified absolute error at most 1/1024.
Separate a maximum from an open-domain supremum
Find and justify every extreme value of f(x)=|x−2/5| on [−1,2]. What changes if the domain becomes (−1,2)?
- The function is continuous and the closed interval is nonempty compact, so attained extrema exist. Its values are nonnegative, and x=2/5 lies in the domain and gives 0, establishing the minimum and its unique location.
- For x≤2/5 the distance is 2/5−x≤7/5, with equality at −1. For x≥2/5 it is x−2/5≤8/5, with equality at 2. Hence the global maximum is 8/5 at 2, larger than the left endpoint value.
- On the open interval, the minimizing point 2/5 remains and the minimum is still 0. Every value is strictly smaller than 8/5 because x=2 is no longer admitted, and the opposite side never reaches that larger distance.
- Points approaching 2 from inside make the values approach 8/5, proving the supremum is still 8/5. It is not attained, so there is no maximum. The omitted endpoint changed attainment without changing the least upper bound.
On [−1,2], the minimum is 0 at 2/5 and maximum 8/5 at 2. On (−1,2), the minimum persists but 8/5 is only an unattained supremum.
Exhibit an actual noncompact cover
Show that Uₙ=(1/n,1), n≥2, covers (0,1) but has no finite subcover. Identify precisely which compactness claim fails.
- Given 0<x<1, choose n>1/x with n≥2. Then 1/n<x<1, so x∈Uₙ. Thus the full family covers the domain, and each member is relatively open there.
- Any nonempty finite subfamily has a maximum index N. Because Uₙ increases with n, the union of that finite subfamily is contained in U_N=(1/N,1).
- The domain point 1/(N+1) is positive and less than 1/N, so it lies in none of those finitely many members. The empty subfamily also cannot cover the nonempty interval. Therefore no finite subcover exists.
- This proves (0,1) is not compact. It is bounded, but not closed in the usual real ambient space. Heine–Borel requires both conditions; the explicit cover displays the failure directly.
The family covers (0,1) and no finite subfamily covers it. The witness for a finite maximum index N is 1/(N+1).
Compare a global failure with a bounded-domain certificate
Use xₙ=n,yₙ=n+1/n to disprove uniform continuity of x² on ℝ. Then give a sufficient δ for ε=3/100 on [−2,2].
- The input distances equal 1/n and tend to 0. Exact expansion gives yₙ²−xₙ²=2+1/n², which remains larger than the fixed positive tolerance 1.
- The pair criterion therefore rules out uniform continuity on ℝ. Neither input sequence needs a finite limit, so ordinary continuity at each fixed real point is consistent with this conclusion.
- For x,y∈[−2,2], the factor bound |x+y|≤4 gives |x²−y²|≤4|x−y|. This is a global Lipschitz estimate on this restricted domain.
- Choose δ=(3/100)/4=3/400. Every admitted pair at distance strictly less than δ has output difference strictly less than 3/100. The finite-domain bound is proved for every pair in the interval, without extending it to all real inputs.
The square map is not uniformly continuous on ℝ. On [−2,2], L=4 and δ=3/400 suffice for ε=3/100.
Prove a nonlinear uniform modulus
Prove √x is uniformly continuous on [0,∞), with a sufficient δ for ε=1/20. Prove it is not Lipschitz on the whole domain using inputs near zero.
- For x≥y≥0, (√x−√y)²≤(√x−√y)(√x+√y)=x−y. Reversing the pair gives |√x−√y|²≤|x−y| for every nonnegative pair.
- Thus |x−y|<ε² implies |√x−√y|<ε. At ε=1/20, the choice is δ=1/400, independent of the location or size of either input.
- For example x=1/1600,y=0 have input distance 1/1600<1/400 and output distance 1/40<1/20. This illustrates the already established global estimate.
- For the Lipschitz question, use x=1/n²,y=0. The output/input ratio is n. Given any finite proposed constant L, an integer n>L contradicts its bound. Uniform continuity survives with the nonlinear δ=ε² even though no one finite linear constant controls all pairs.
δ=1/400 works for ε=1/20 on the entire nonnegative domain. No finite global Lipschitz constant exists.
Use exact phases instead of a finite oscillation plot
Show that sin(1/x) on (0,1) is bounded and continuous but not uniformly continuous, using exact phase pairs.
- The sine range gives |sin(1/x)|≤1. Its elementary distance bound gives sine continuity; composing with reciprocal on the nonzero domain proves continuity of the displayed function at every domain point.
- For n≥1, let xₙ=1/(2πn+π/2) and yₙ=1/(2πn+3π/2). Both lie in (0,1), and the reciprocal phases give exact output values 1 and −1.
- Their input distance is π/[(2πn+π/2)(2πn+3π/2)]<1/(4πn²), which tends to 0. Their output distance remains exactly 2, so the full pair criterion disproves uniform continuity.
- The inputs approach the missing endpoint 0, and bounded output alone does not prevent arbitrarily rapid oscillation there. The proof uses all n through exact identities and a tail bound, rather than a finite sample that happens to display several oscillations.
The function is bounded and continuous on (0,1), but the exact pairs have vanishing input gap and constant output distance 2, so it is not uniformly continuous.
Make the dense-extension value independent of the sequence
Let A=ℚ∩[0,1] and f(q)=q² with real codomain. Prove a unique continuous extension to [0,1], find its value at √2/2, and justify independence of the approximating rational sequence.
- For q,r∈A, |q²−r²|=|q−r||q+r|≤2|q−r|. Thus f is uniformly continuous. The set A is dense in [0,1], and ℝ is complete, so the dense-extension construction applies.
- If aₙ,bₙ∈A both tend to x, then |aₙ²−bₙ²|≤2|aₙ−bₙ|→0. Both image sequences are Cauchy and have real limits, and this estimate forces those limits to coincide. The value assigned at x therefore does not depend on the rational approximation chosen.
- The ordinary real function F(x)=x² is continuous and agrees with f on A. Uniqueness among continuous extensions identifies the constructed F with this square function on the whole closed interval.
- At α=√2/2, positive-root arithmetic gives α²=1/2, hence F(α)=1/2. This value follows from the identified extension and its algebra, not from a finite decimal approximation or a claim that every arbitrary discontinuous extension is unique.
The unique continuous extension is F(x)=x², with F(√2/2)=1/2. Comparing two approximating sequences proves well-definedness.
Locate the loss of inverse separation
For f(x)=x/(1+x) on [0,∞), prove uniform continuity and describe its inverse on [0,1). Test uniform continuity of that inverse, then restrict its domain to [0,9/10].
- Exact subtraction gives |f(x)−f(y)|=|x−y|/[(1+x)(1+y)]≤|x−y|, so f is Lipschitz with constant 1. Solving u=x/(1+x) gives the inverse x=u/(1−u), defined for 0≤u<1 and nonnegative there.
- For n≥2 take uₙ=1−1/n and vₙ=1−1/(n+1). Their gap is 1/[n(n+1)]→0, but the inverse outputs n−1,n differ by 1. Thus the continuous inverse fails uniform continuity on its full domain.
- For a concrete pair n=3, u=2/3,v=3/4 have gap 1/12 and inverse values 2,3. The full sequence of pairs, not that single calculation, proves the uniform failure.
- On [0,9/10], both 1−u and 1−v are at least 1/10. The inverse difference is |u−v|/[(1−u)(1−v)]≤100|u−v|. Therefore δ=1/10000 suffices for inverse output tolerance ε=1/100 on this smaller domain.
The forward map is 1-Lipschitz; its inverse u/(1−u) is not uniformly continuous on [0,1). On [0,9/10] the inverse has sufficient Lipschitz bound 100.
Certify a contracting iteration and its first cutoff
For f(x)=(x+2)/3 on [0,2] and x₀=0, prove a unique fixed point and convergence, and find the first strict ε=1/200 tail cutoff. Contrast g(x)=2−x iterated from 0.
- The image of f lies in [2/3,4/3]⊆[0,2], and |f(x)−f(y)|=|x−y|/3. The closed-interval contraction argument gives a unique fixed point, while solving its valid fixed equation identifies it as 1.
- Subtracting 1 gives xₙ₊₁−1=(xₙ−1)/3. With x₀=0, induction yields xₙ=1−3⁻ⁿ and exact error 3⁻ⁿ. This proves the whole sequence tends to 1.
- At n=4 the error is 1/81>1/200; at n=5 it is 1/243<1/200 and x₅=242/243. Geometric decrease proves that every later index meets the tolerance and that no N≤4 can be a valid whole-tail cutoff.
- The continuous self-map g has the same unique fixed point 1 but maps 0 to 2 and 2 back to 0. Its distance factor is 1 rather than a strict contraction. Existence of a unique fixed point alone does not prove convergence of its iterates from the stated initialization.
f has fixed point 1, xₙ=1−3⁻ⁿ and first strict cutoff N=5. The g iteration instead cycles 0,2.
Keep tolerance units and pairwise input errors explicit
Suppose |T(t)−T(s)|≤(3/4 K/s)|t−s| on a declared time domain. Find a sufficient strict input tolerance for output tolerance 3/20 K. Bound the difference between two outputs whose times are each within 1/20 s of one common reference time.
- For one pair, a sufficient input tolerance is ε/L=(3/20 K)/(3/4 K/s)=1/5 s. A time gap strictly smaller than 1/5 s gives temperature difference strictly smaller than 3/20 K.
- If |t−t₀|≤1/20 s and |s−t₀|≤1/20 s, the triangle inequality gives |t−s|≤1/10 s. The two errors can point in opposite directions, so one individual 1/20 bound cannot be used as the pair gap.
- Applying the assumed global model bound gives |T(t)−T(s)|≤(3/4)(1/10) K=3/40 K. This is strictly smaller than the requested 3/20 K and retains the correct output units.
- The conclusion is conditional on the stated sensitivity bound for this actual domain and model. It does not determine a calibration offset or show that a measured temperature process obeys that inequality; those require their own physical evidence.
Use a strict time gap below 1/5 s for the single-pair tolerance. The two reference-bounded times differ in output by at most 3/40 K.
Try it yourself
For D={−1}∪[1,2], define f(−1)=100 and f(x)=x² elsewhere on D. Prove continuity at −1 without assigning a unique punctured-domain limit there.
Show the answer and reasoning
The function is continuous at −1 relative to D; δ=1 works for every ε>0. The punctured condition has no unique limit.
The only domain point within distance 1 of −1 is −1 itself, giving zero output difference. The punctured neighborhood contains no domain points, so its implication holds for every proposed limiting value and cannot determine one.
Give a direct δ estimate for x³ at c=−1 and ε=1/8, without derivatives.
Show the answer and reasoning
δ=1/56 is sufficient.
Factor x³+1=(x+1)(x²−x+1). Under |x+1|<1, one has −2<x<0 and x²−x+1<7. Choosing δ=min(1,ε/7)=1/56 therefore makes |x³+1|<ε.
For f(x)=x²−1 on [−2,2], compare endpoint signs with its actual roots. Does IVT assert uniqueness or require a sign change for every root?
Show the answer and reasoning
Both endpoint values are 3, but the roots −1 and 1 lie inside. Opposite endpoint signs are a sufficient bracket condition, not a necessary condition for a root; IVT does not assert uniqueness.
The factorization (x−1)(x+1) gives the two exact roots despite equal positive endpoint signs. The theorem concerns intermediate values between given endpoint values and supplies existence under its hypotheses, without excluding other mechanisms for roots.
Bisect x³−2 on [1,3/2] five times with exact rational signs. State the final bracket and midpoint error bound.
Show the answer and reasoning
The final bracket is [5/4,81/64], with midpoint 161/128 and error at most 1/128.
The tested midpoints are 5/4 (negative), 11/8 (positive), 21/16 (positive), 41/32 (positive), 81/64 (positive). The polynomial is continuous and strictly increasing on the positive bracket. Five halvings reduce width 1/2 to 1/64, and the midpoint bound is half that width.
Find the minimum and maximum of |x+1/3| on [−2,1], with their locations and a direct bound.
Show the answer and reasoning
The minimum is 0 at −1/3; the maximum is 5/3 at −2.
The center −1/3 belongs to the interval, making the distance zero there. To its left, −x−1/3≤5/3; to its right, x+1/3≤4/3. Equality at the larger bound occurs only at the left endpoint.
Is ℚ∩[0,3], with the inherited metric from ℚ, compact? Explain its relative closedness and boundedness, and use an irrational limit to decide compactness.
Show the answer and reasoning
It is closed and bounded in ℚ but not compact; rational approximants to √5 have no limit in that space.
The complement in ℚ is relatively open, so the set is relatively closed. Choose rational points tending in ℝ to √5, which lies inside (0,3). Any subsequence converging in the rational metric would also converge to the same real √5 by uniqueness, impossible for a rational limit. The metric sequential criterion rules out compactness.
Let D=ℕ have distance 1 between distinct points and 0 otherwise. Is D complete, bounded, totally bounded or compact? Is f(n)=n uniformly continuous into ℝ, and is its image bounded?
Show the answer and reasoning
D is complete and bounded, but neither totally bounded nor compact. The map f is uniformly continuous and has unbounded image.
A Cauchy sequence must eventually have every pair at distance below 1/2 and is therefore eventually constant. All distances are at most 1, but balls of radius below 1 are singletons, preventing a finite net or singleton-cover subcover. For f, δ=1/2 forces equal inputs and zero output difference, yet its image is the unbounded positive integers.
For the empty compact domain and its unique real-valued empty function, decide continuity, uniform continuity, compactness of the image and existence of maxima or minima.
Show the answer and reasoning
Continuity and uniform continuity are vacuous and the empty image is compact. Neither a maximum nor a minimum is attained.
There are no domain points or input pairs violating continuity, and the empty subcover covers the image. Attainment requires an actual domain point, so the nonempty hypothesis of the extreme-value theorem cannot be dropped.
Disprove uniform continuity of x³ on ℝ using xₙ=n,yₙ=n+1/n², with the exact output gap.
Show the answer and reasoning
The input gap is 1/n²→0 and output gap is 3+3/n³+1/n⁶>3, so uniform continuity fails.
Expand (n+1/n²)³−n³ exactly. The fixed output tolerance 1 is violated arbitrarily late despite vanishing input gaps, which is the full pair-sequence obstruction. No claim about a finite input limit is needed.
Prove 1/x is uniformly continuous on [2,∞), then test uniform continuity of its inverse on the image (0,1/2].
Show the answer and reasoning
The forward map has Lipschitz constant 1/4. Its continuous inverse 1/u on (0,1/2] is not uniformly continuous.
The reciprocal difference denominator xy is at least 4 on the forward domain. In the inverse domain, inputs 1/n and 1/(n+1), n≥2, have gaps 1/[n(n+1)]→0 while their outputs n,n+1 remain distance 1 apart.
Handle the zero Lipschitz constant directly for f(x)=−7 on ℝ. Why is δ=ε/L not an allowed step?
Show the answer and reasoning
Any positive δ works, since every output difference is 0. Division by L=0 is undefined.
The definition asks whether all sufficiently close pairs have output difference less than ε. Every pair already does for any ε>0, so there is no need to solve an inequality by dividing by the zero constant.
Use f(x)=x+1,g(x)=x−1 on ℝ to test a general uniform-product claim. Separately test reciprocation for h(x)=x² on (0,1], and state sufficient repairs.
Show the answer and reasoning
Both linear factors are uniformly continuous, but their product x²−1 is not. The function h is uniformly continuous and nonzero, but 1/h is not. Global factor bounds and positive denominator separation are sufficient repairs.
The product has the same close-pair output gaps as x² because its constant −1 cancels in differences. On (0,1], h has Lipschitz bound 2, but reciprocal inputs 1/n,1/(n+1) give outputs n²,(n+1)² at gap 2n+1. A product theorem can use both factors bounded; a reciprocal theorem can use |h|≥m>0, which fails here.
Use x⁴ on ℝ and 1/x² on (0,1] to distinguish ordinary continuity, preservation of Cauchy sequences and uniform continuity. Give close pairs for the first map.
Show the answer and reasoning
The quartic is continuous and Cauchy-preserving but not uniformly continuous. The reciprocal-square map is continuous but does not preserve Cauchy sequences.
Every real Cauchy sequence converges in ℝ, so polynomial continuity makes its quartic images converge and be Cauchy. Yet inputs n,n+1/n³ have vanishing gap and quartic output gap 4+6/n⁴+4/n⁸+1/n¹²>4. For the second map, the Cauchy inputs 1/n produce unbounded n², which cannot be Cauchy.
For f(q)=2q−3 on ℚ with codomain ℝ, identify the unique continuous extension to ℝ and its value at √3. What fails if the codomain must remain ℚ?
Show the answer and reasoning
The real extension is F(x)=2x−3 and F(√3)=2√3−3. No continuous rational-valued extension to all of ℝ exists.
The affine formula is 2-Lipschitz and agrees on the dense rational subset, so the dense-extension theorem and uniqueness identify it. With codomain ℚ, rational approximants to √3 would have images tending in ℝ to the irrational 2√3−3; continuity would require that to equal a rational extension value, impossible.
Can 1/[x(1−x)] on (0,1) have a finite continuous extension to [0,1] or be uniformly continuous? Give an exact sequence obstruction.
Show the answer and reasoning
Neither is possible. At x=1/n with n≥2, the outputs are n²/(n−1)≥n and are unbounded.
The inputs form a Cauchy sequence, while their unbounded images cannot be Cauchy, violating uniform Cauchy preservation. A continuous extension on the compact closed interval would also be bounded, contradicting the same exact values.
Let D={0}∪(2,3], f(0)=0 and f(x)=x−2 otherwise. Show it is a continuous bijection onto [0,1] whose inverse is discontinuous at 0. Identify the missing compact-domain hypothesis.
Show the answer and reasoning
It is continuous and bijective, but the inverse sends 1/n→0 to 2+1/n, which does not approach 0. The domain is noncompact.
At 0 continuity is automatic because the point is isolated; elsewhere the formula is a translation. The missing limit point 2 makes D nonclosed in ℝ and hence noncompact. The inverse sequence stays at least distance 2 from its value at 0, so the compact-source inverse theorem cannot be applied.
For f(x)=(2x+3)/5 on [0,2] and x₀=2, prove convergence to a unique fixed point and find the first strict ε=1/200 tail cutoff.
Show the answer and reasoning
The fixed point is 1, xₙ=1+(2/5)ⁿ and the first strict cutoff is N=6.
The map preserves [0,2] and has contraction constant 2/5. Exact displacement from the fixed point is (2/5)ⁿ. At n=5 the error 32/3125 exceeds 1/200, while at n=6 the error 64/15625 is smaller. Geometric decrease proves minimality and every later bound; x₆=15689/15625.
At sample inputs 0,1/2,1 all outputs are 0. Construct continuous functions on [0,1] matching them but with no shared uniform δ for ε=1/2 across the family.
Show the answer and reasoning
Use height-1 triangular bumps centered at 1/4, with half-widths 0<h<1/4 and value 0 outside their supports. Each is uniformly continuous, but the family has no common δ for ε=1/2.
Each bump is continuous and piecewise linear, with sufficient Lipschitz constant 1/h. Its support misses the three samples. Given any proposed common δ, take h<min(δ,1/4); the center and a support endpoint are h apart but their outputs differ by 1. This refutes a common family modulus, while preserving Heine–Cantor for every individual bump.
What to carry forward
- Continuity is relative to the actual domain; isolated points, restrictions and missing endpoint values must be treated explicitly.
- Intermediate values give existence, while uniqueness needs a separate argument; nonempty compactness gives attained real extrema.
- For metric spaces compactness is equivalent to sequential compactness and to completeness plus total boundedness; closed and bounded alone is sufficient in the usual real line.
- Uniform continuity uses one tolerance for all pairs, and its pair criterion allows inputs with no separate finite limit. Quantitative bounds must cover the declared whole domain.
- Dense uniform extension uses codomain completeness and a comparison of different approximating sequences; continuity supplies its uniqueness.
- Continuous inverses, uniform inverse sensitivity, fixed-point existence and convergence of iteration have different hypotheses. Exact bounds retain units and do not follow from finite samples alone.
References
Sources for the concepts and teaching approaches in this article.
- Basic Analysis I: Continuous functions and compactnessJiří Lebl; author-hosted open textbookAuthor open textbook · PDF
- An Introduction to Real Analysis: Uniform continuityJohn K. Hunter; University of California, DavisUniversity lecture notes · PDF
- Methods of Applied Mathematics: Uniformly continuous extensionTodd Arbogast and Jerry L. Bona; University of Texas at AustinUniversity author lecture notes, corrected version · PDF