How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Limits of Real Functions: Examples and Counterexamples
1 · Prerequisites
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Foundations of the Real Numbers for Analysis
- Limits of Real Functions
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Suprema and Infima
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
2 · Summary
3 · Logical flowchart
4 · Definitions, theorems and proofs
The classical form of the oscillator above is , which this library can only construct much later
Orientation, not a claim of this library
Every analysis course states the two examples of this page in the form
and a reader who has met them before will recognise has no limit at : two sequences tending to give values constantly and constantly and as , by the squeeze theorem as those examples with in place of . This remark records the correspondence, and it records that the correspondence is orientation only: the two displayed statements are reported as what the classical treatment proves, not asserted here, and nothing on this page uses or proves anything about .
The later analytic construction
This library now constructs sine and cosine from their power series, proves
their differential and addition laws, and defines pi from the first positive
zero of cosine. Under this library's counterexample convention,
sin(1/x) has no limit as x tends to zero ↗ displays the false proposition
that the sine limit exists under Statement refuted, then proves it false;
x sin(1/x) tends to zero despite its oscillation ↗ proves the squeezed limit for the
product. Both occur later in the reading order, so the links are orientation-only
forward references declared in this item's forward_refs; no proof on this
earlier page depends on them.
What $\psi$ supplies instead
The function of The trigonometry-free oscillator is well defined and attained at a nearest integer, takes values in , vanishes exactly on , equals at half-integers, and is -periodic is elementary — it needs only the integer part, the order and the absolute value — and it has the three properties that make the classical examples work:
- it is bounded, with values exactly in ;
- it is periodic, with period , so oscillates without damping as ;
- it attains two distinct values on every punctured neighbourhood of after the substitution , namely at the reciprocals of the integers and at the reciprocals of the half-integers.
The third property is what has no limit at : two sequences tending to give values constantly and constantly uses. It is not sharper than what would give — the classical witnessing sequences hit the extreme values of exactly too — but it is available here: the two values and are read off from the integer part in one line (Integer part: for every real there is exactly one integer with ), with no series and no , whereas the corresponding facts about presuppose the whole construction described above.
What is genuinely lost, and what is not
Nothing on this page is weaker for using . The two statements proved are exactly the statements usually proved with , and their proofs are shorter.
What is lost is a connection to a different subject. The classical pair , also carries information about smoothness, about power series and about the topologist's sine curve, none of which can carry, since is assembled from the order, the absolute value and the integer part alone. Those notions occur only later in the reading order and are unavailable on this earlier page.
5 · Examples, counterexamples and false statements
Every polynomial has , and rational functions do so away from the zeros of the denominator
Example
For a list of reals write
for the finite sum of Finite sums and finite products, by recursion applied to the list , with powers as in Integer powers . So is the empty sum , and is a function ; these are the polynomial functions.
Claim 1. For every polynomial function and every , the limit of at exists and
Claim 2. Let and be polynomial functions and let satisfy . Put . Then , the point is a limit point of , the quotient is defined on , its limit at exists, and
Everything is read off from Sums, scalar multiples, products and quotients of function limits, the quotient under the hypothesis that the denominator limit is nonzero once two trivial limits are in hand: that of a constant function and that of the identity. Note that claim 1 is exactly the statement that , the equality that FALSE: whenever both sides exist shows is not automatic; for polynomials it is a theorem, and the algebra of limits is what proves it.
Facts & Assumptions
Given: A list of reals and the polynomial function ; a second polynomial function ; and a real (Finite sums and finite products, by recursion, Integer powers ).
The limit condition (The - limit of at a limit point of ): means that for every real there is a real such that every in the domain of with satisfies .
Algebra of function limits: at a limit point of the common domain, the limits of , of and of exist and equal , and ; and if the limit of restricted to exists and equals (Sums, scalar multiples, products and quotients of function limits, the quotient under the hypothesis that the denominator limit is nonzero).
Every real is a limit point of , punctured neighbourhoods being never empty (Limit point, isolated point, adherent point, derived set, and dense subset of , The -neighbourhood and the punctured -neighbourhood of a point of ).
Finite sums: and (Finite sums and finite products, by recursion).
Powers: and for every and (Integer powers ).
Induction principle on (The principle of mathematical induction).
Sign preservation: if the limit of at is nonzero then is a limit point of (If then on a punctured neighbourhood of ; in particular if then there).
Absolute value: ; and field arithmetic (Basic properties of the absolute value, Field).
Verification
Every is a limit point of , so [L1] and [L2] apply at to functions defined on .
A constant function has limit at : for every real , any serving.
The identity function has limit at : given a real , take ; then gives .
For every the function has limit at . This is an induction on [L6]. For the function is the constant by [L5], and step 1.2 applies with . If the claim holds for , then by [L5], and the product rule of [L2] applied to and the identity gives limit .
For every the function has limit at , by the scalar rule of [L2] applied to step 2.1 with .
For every the function has limit at . This is an induction on [L6]. For both the function and the asserted limit are the empty sum by [L4], and step 1.2 applies. If the claim holds for , then by [L4], and the sum rule of [L2] applied to the inductive hypothesis and step 3.1 gives limit . Taking the given , the limit of at exists and equals : claim 1.
Now let be a polynomial function with and put . By step 4.1 the limit of at exists and equals , so [L7] gives that is a limit point of ; and because .
The quotient rule of [L2], applied on to and with , gives that the limit of at exists and equals : claim 2.
Remarks
-
Two inductions, and why they are separate. The first builds the monomials from the identity by repeated multiplication; the second builds the polynomial from the monomials by repeated addition. Each is an induction on the recursion clause of the object it builds (Integer powers and Finite sums and finite products, by recursion respectively), and neither can be replaced by dots.
-
Index hygiene. The sum is written , whose first index is and whose empty case is the zero function; the base case of step 4.1 is that empty case, and holds for every real including (Integer powers ), so no index or value is left undefined.
-
What claim 2 does not say. It says nothing at a zero of . There the quotient is undefined, and whether it has a limit depends on as well. It may have one: on the quotient equals , whose limit at is by step 1.3 and The limit at depends only on the restriction of to a punctured neighbourhood of , and passes to any subset of the domain having as a limit point. It may also fail to have one. Nothing on this page decides such cases in general.
The trigonometry-free oscillator is well defined and attained at a nearest integer, takes values in , vanishes exactly on , equals at half-integers, and is -periodic
Example
Identify with its canonical copy in (The integers as equivalence classes of pairs of naturals, The integers embed in the rationals, The rationals embed densely in the reals) and for put
(Greatest lower bound (infimum)). Write for the integer part of (Integer part: for every real there is exactly one integer with ) and , so . Then:
- Existence and attainment. exists and is attained: so for or , and (Maximum and minimum of a set).
- Range. for every real , and every value in occurs: the range of is exactly the interval (Intervals of : the nine order-convex forms, nondegeneracy, and length).
- Zero set. if and only if .
- Half-integers. for every .
- Periodicity. for every real .
What this function is for. It is the elementary, trigonometry-free substitute for : it is bounded, it oscillates, and on every punctured neighbourhood of the composite attains both the value and the value . Claims 3 and 4 are exactly what the companion counterexample has no limit at : two sequences tending to give values constantly and constantly evaluates, and claim 2 is what the squeeze argument of as , by the squeeze theorem uses.
Facts & Assumptions
Given: A real ; the set ; the integer and the real . Integers are identified with their canonical copies in .
Integer part: for every real there is exactly one integer with (Integer part: for every real there is exactly one integer with ). Hence and , where .
Integers in : the embeddings are injective and preserve , , addition and order; is a totally ordered commutative ring, closed under and ; every integer is the image of a unique natural; and a natural satisfies , so an integer is and consequently, for integers , one has (The integers as equivalence classes of pairs of naturals, The naturals embed in the integers, The integers embed in the rationals, The rationals embed densely in the reals, The integers form a totally ordered ring, The integers form a commutative ring, Discreteness: is the immediate successor, The natural numbers (von Neumann)).
Infimum: when for every and for every lower bound of . So a lower bound of that belongs to is the infimum, and is then also the minimum of (Greatest lower bound (infimum), Maximum and minimum of a set, Lower bound, bounded below, bounded set).
Absolute value: ; exactly when ; for and for (Basic properties of the absolute value, Absolute value in an ordered field).
Order and field arithmetic in : the order is total and trichotomy holds; translation invariance and adding inequalities (Order is preserved by adding a constant and by adding inequalities); (The multiplicative identity is positive), so , (Inverses of positives are positive, and reciprocation reverses order), and (Sign rules for products and monotonicity of multiplication, Field); and the minimum of a two-element set of reals (Maximum and minimum of a set, Ordered field).
Verification
is nonempty and is a lower bound of it: the integer gives , and for every .
By [L1] the integer satisfies , so satisfies , and satisfies .
Every element of is at least . Let . By [L2] and totality either or , and in the second case . If then , so . If then , so . In both cases .
Both and belong to : since we have , and since we have , with and in .
Hence is a lower bound of belonging to , so by [L3] it is the greatest lower bound and also the minimum: , attained at or at . This is claim 1.
Claim 2, the inclusion. , since and ; and : if then , while if then and . So for every real .
Claim 3. If then ; since this forces , that is . Conversely if then lies in and is a lower bound of by step 1.1, so by [L3].
Claim 4. Let and . Since we have , so the uniqueness in [L1] gives and ; then step 3.1 gives .
Claim 5. The map is a bijection of onto itself, with inverse [L2]; so, substituting , Being infima of the same set, and are equal by step 3.1 applied at and at .
Claim 2, the exact range. Every value of lies in by step 4.1. Conversely let satisfy ; then , so and the uniqueness in [L1] gives and ; and because , so step 3.1 gives . Hence the range of is exactly .
So is defined at every real, is attained at a nearest integer, has range exactly , vanishes exactly on , takes the value at every half-integer, and is -periodic.
Remarks
-
No completeness of is needed for the infimum here. The general existence theorem Every nonempty set bounded below has an infimum would supply from the least-upper-bound property, but step 3.1 does not use it: the infimum is produced by exhibiting an element of that is also a lower bound, which is Greatest lower bound (infimum) read directly. Completeness does enter, once, through Integer part: for every real there is exactly one integer with , whose existence half is the Archimedean property.
-
Why and not "the distance to the nearest integer". The phrase presupposes that a nearest integer exists, which is exactly what step 2.2 establishes and what the picture cannot. When there are two nearest integers, and , and the formula is indifferent to which is chosen, so nothing has to be selected.
-
is the triangle wave of amplitude and period — not the sawtooth , which drops discontinuously at every integer: on it is by step 5.1, and periodicity and the reflection — immediate from , using and the bijection of — determine it everywhere.
as , by the squeeze theorem
Example
Let and define by
with as in The trigonometry-free oscillator is well defined and attained at a nearest integer, takes values in , vanishes exactly on , equals at half-integers, and is -periodic. Then is a limit point of , the limit of at exists, and
The point of the example. The factor has no limit at at all ( has no limit at : two sequences tending to give values constantly and constantly ), so Sums, scalar multiples, products and quotients of function limits, the quotient under the hypothesis that the denominator limit is nonzero cannot be applied to the product: its product rule requires both factors to have limits. What is available is that stays inside , and a bounded factor multiplied by one tending to is killed. That is exactly what If near and and have the same limit at , then so does delivers, and it delivers the existence of the limit, not merely its value.
Facts & Assumptions
Given: The set and the function , , with the function of The trigonometry-free oscillator is well defined and attained at a nearest integer, takes values in , vanishes exactly on , equals at half-integers, and is -periodic.
The limit condition (The - limit of at a limit point of ): means that for every real there is a real such that every in the domain with satisfies .
Squeeze theorem: if on for some real , and the limits of and of at exist and are equal to , then the limit of at exists and equals (If near and and have the same limit at , then so does ).
Absolute value: ; exactly when ; ; ; for ; and (Basic properties of the absolute value).
Order and field arithmetic: has an inverse (Field); , so and with for (The multiplicative identity is positive, Inverses of positives are positive, and reciprocation reverses order, Sign rules for products and monotonicity of multiplication); multiplying an inequality by a non-negative factor, and adding inequalities (Sign rules for products and monotonicity of multiplication, Order is preserved by adding a constant and by adding inequalities); the order is total (Ordered field). Those two sources state their moves in their STRICT forms only; the non-strict forms used below follow by adjoining the equality case, in which the two sides coincide (Ordered field).
Limit point and neighbourhoods (Limit point, isolated point, adherent point, derived set, and dense subset of , The -neighbourhood and the punctured -neighbourhood of a point of ).
Verification
is a limit point of : given a real , the real satisfies , so it lies in , and .
is defined on all of , and there: for we have , so exists, and by [L4], while by [L1] and , so multiplying the inequality by the non-negative factor gives .
The two functions and on each have limit at : given a real , take ; every with satisfies , and likewise .
Hence for every , by [L4] applied to .
The three functions satisfy on all of , in particular on , and the two outer ones have limit at ; since is a limit point of , the squeeze theorem [L3] gives that the limit of at exists and equals .
Remarks
-
Where the hypotheses of the squeeze theorem are met. The order hypothesis holds on all of , so any serves and is taken; the two outer limits are computed by hand in step 1.3; and is a limit point of by step 1.1, which is what makes every limit here well posed (The - limit of at a limit point of ).
-
Nothing about beyond its range is used. Replacing by any function with values in a fixed bounded set would give the same conclusion by the same three steps. What makes the example worth stating is the contrast with has no limit at : two sequences tending to give values constantly and constantly : the same oscillating factor, multiplied by or not, is the difference between a limit existing and not.
-
The classical version of this example is as ; see The classical form of the oscillator above is , which this library can only construct much later for why this library writes and not .
The sign function has both one-sided limits at and no two-sided limit
Example
Define by
Then is a limit point of both and , both one-sided limits at exist (The left and right limits of at , as limits of the restrictions of to and ),
and has no limit at .
This is the standard illustration of If is a limit point of the domain from both sides, the limit exists iff both one-sided limits exist and agree: the two one-sided limits both exist, so nothing is missing on either side, yet they disagree, and disagreement is exactly what the theorem converts into the failure of the two-sided limit. Note also that the value is equal to neither one-sided limit, and is irrelevant to all three assertions (The - limit of at a limit point of ).
Facts & Assumptions
Given: The function above, with , , and (Intervals of : the nine order-convex forms, nondegeneracy, and length).
The limit condition (The - limit of at a limit point of ): means that for every real there is a real such that every in the domain with satisfies .
One-sided limits are the limits at of the restrictions of to and , and are well posed exactly when is a limit point of the set in question (The left and right limits of at , as limits of the restrictions of to and ).
Limit point and neighbourhoods (Limit point, isolated point, adherent point, derived set, and dense subset of , The -neighbourhood and the punctured -neighbourhood of a point of ).
Absolute value: ; ; for and for (Basic properties of the absolute value).
Order in : trichotomy, so every real satisfies exactly one of , , ; and hence , and for ; and , so and in particular (The multiplicative identity is positive, Order is preserved by adding a constant and by adding inequalities, Ordered field).
Two-sided versus one-sided: if is a limit point of both and and , then and (If is a limit point of the domain from both sides, the limit exists iff both one-sided limits exist and agree).
At a limit point of its domain a function has at most one limit (At a limit point of the domain a function has at most one limit); applied to the restrictions, each one-sided limit is a single real.
Verification
is a well-defined function on : by trichotomy every real satisfies exactly one of the three defining conditions.
is a limit point of and of : given a real , the real is positive, hence lies in , and satisfies ; and is negative, hence lies in , and satisfies .
The reals and are distinct, since .
: by [L2] this is the limit at of the restriction of to , which is well posed by step 1.2. Given a real , any serves, since every has , hence and .
: identically, every has , hence and for every and every .
Suppose had a limit at , say . Since is a limit point of both and by step 1.2, [L6] gives and ; each one-sided limit is single valued by [L7], so steps 2.1 and 2.2 force and , contradicting step 1.3. Hence has no limit at .
Remarks
-
The failure is not about the value at . Redefining to be , or , or anything else changes nothing: The - limit of at a limit point of never evaluates the function at the point, and the two one-sided limits are computed on sets that exclude (The left and right limits of at , as limits of the restrictions of to and ). This is a genuine jump, not a removable defect of the kind FALSE: whenever both sides exist exhibits.
-
Away from the function is locally constant, so it has a limit at every other point of , equal to its value there: for take to be itself, and every with has and ; symmetrically for . So the single point carries the whole phenomenon.
-
Contrast with the two other failures on this page. Here both one-sided limits exist and differ; for at ( has no limit at : two sequences tending to give values constantly and constantly ) the failure is already one-sided, both witnessing sequences there having positive terms; and for the indicator of (The indicator of has a limit at no point of ) the failure occurs at every point at once.
as
Example
Let (Intervals of : the nine order-convex forms, nondegeneracy, and length) and let
(Integer powers ). Then is not bounded above (Lower bound, bounded below, bounded set), so the limit at is well posed (Limits at and , and infinite limits at a point); it exists, and
This is proved by a direct estimate, not by an algebra of limits. Sums, scalar multiples, products and quotients of function limits, the quotient under the hypothesis that the denominator limit is nonzero is stated at a finite limit point of the domain, and this library proves no algebra of limits at ; the familiar manipulation "divide numerator and denominator by and take limits termwise" is therefore not available here. Instead the whole computation is packed into one inequality, valid for :
after which the Archimedean property finishes the argument.
Facts & Assumptions
Given: The set and the function on .
Limits at : for not bounded above, means that for every real there is a real with for every with (Limits at and , and infinite limits at a point).
Archimedean property: for every real there is a natural with ; and for every real there is a natural with (Every complete ordered field is Archimedean, For every in a complete ordered field there is a natural with , Complete ordered field (least-upper-bound property)). The canonical naturals satisfy and for , and are increasing in (Canonical naturals are positive and strictly increasing).
Bounded set: is bounded above when some real is an upper bound of it (Lower bound, bounded below, bounded set); and (Intervals of : the nine order-convex forms, nondegeneracy, and length).
Order and field arithmetic: products of positives are positive and for , is equivalent to (Sign rules for products and monotonicity of multiplication); gives and gives , with the non-strict forms following by adjoining equality (Inverses of positives are positive, and reciprocation reverses order); adding inequalities and translation invariance (Order is preserved by adding a constant and by adding inequalities); (The multiplicative identity is positive); the field identities (Field); transitivity and totality (Ordered field).
Absolute value: , for , and (Basic properties of the absolute value).
Powers: (Integer powers ).
Verification
is defined on all of : every has , hence and , so and the quotient exists.
is not bounded above: given a real , [L2] supplies a natural with , and puts it in ; so no real is an upper bound of , and the limit at is well posed.
For every , , hence, both and being positive, .
For every with : from we get , and from we get ; therefore , so .
Let be an arbitrary real. By [L2] fix a natural with , and put , where denotes the canonical natural . Since we have . For every with : first , so step 3.1 applies and ; and gives by [L4], whence . So for every with .
Since is not bounded above and for every real such an has been produced, the limit of at exists and equals .
Remarks
-
Where the estimate comes from. The exact identity of step 2.1 replaces the informal "the leading terms dominate": it makes a quotient of two explicit positive quantities, and step 3.1 then bounds numerator above and denominator below by the crudest possible expressions, and . The constant is not optimal and does not need to be: the Archimedean property absorbs any constant.
-
Why the domain is and not . The denominator vanishes at and at , so is not defined there; restricting to both makes a function and makes the denominator positive, which is what lets the absolute values be dropped in step 2.1. Any domain unbounded above and avoiding the two zeros would give the same limit by the same estimate.
-
The corresponding statement at would be the limit on a domain unbounded below and avoiding the two zeros of the denominator, proved from the same identity of step 2.1 with the inequalities on reversed. It is not asserted here and is not proved here, because nothing on these pages uses it.
has no limit at : two sequences tending to give values constantly and constantly
Statement refuted
Refuted claim: the function
with the distance to the integers (The trigonometry-free oscillator is well defined and attained at a nearest integer, takes values in , vanishes exactly on , equals at half-integers, and is -periodic), has a limit at (The - limit of at a limit point of ).
is bounded — for every , by claim 2 of The trigonometry-free oscillator is well defined and attained at a nearest integer, takes values in , vanishes exactly on , equals at half-integers, and is -periodic — and is a limit point of its domain, so every hypothesis that might plausibly deliver a limit except the limit itself is present. Boundedness near a point is therefore not sufficient for a limit to exist, and the converse of If has a finite limit at then is bounded on some punctured neighbourhood of fails.
The refutation exhibits two sequences of positive reals tending to along which is constantly and constantly , and applies A function has no limit at as soon as two sequences in tending to give different limits of the values.
Facts & Assumptions
Given: The function on , and the sequences and for . Sequences are functions on and contains (Sequences of reals: bounded, eventually, frequently, tails, subsequences, The natural numbers (von Neumann)), so the first terms are and ; the denominators and are canonical naturals , never , which is why the sequences are written this way and not as .
The function vanishes exactly on , satisfies for every , and takes values in (The trigonometry-free oscillator is well defined and attained at a nearest integer, takes values in , vanishes exactly on , equals at half-integers, and is -periodic, claims 2, 3 and 4).
Nonexistence criterion: if two sequences with all terms in converge to while the image sequences converge to distinct reals, then has no limit at (A function has no limit at as soon as two sequences in tending to give different limits of the values).
Sequential convergence, and the fact that a constant sequence converges to its value (Limits and Cauchy sequences of reals, Sequences of reals: bounded, eventually, frequently, tails, subsequences). Testing against every positive real rather than every positive rational defines the same relation (The rationals embed densely in the reals, remarks of Sequences of reals: bounded, eventually, frequently, tails, subsequences).
Reciprocal Archimedean property: for every real there is a natural with (For every in a complete ordered field there is a natural with , Every complete ordered field is Archimedean); canonical naturals are positive and strictly increasing in the index (Canonical naturals are positive and strictly increasing); and gives , with the non-strict form following by adjoining equality (Inverses of positives are positive, and reciprocation reverses order).
Limit point and neighbourhoods (Limit point, isolated point, adherent point, derived set, and dense subset of , The -neighbourhood and the punctured -neighbourhood of a point of ).
Absolute value (Basic properties of the absolute value); order and field arithmetic: , so and with (The multiplicative identity is positive, Order is preserved by adding a constant and by adding inequalities, Sign rules for products and monotonicity of multiplication, Field, Ordered field).
Integers in : every canonical natural is an integer, and is closed under adding (The integers as equivalence classes of pairs of naturals, The naturals embed in the integers, The integers embed in the rationals, The rationals embed densely in the reals, The integers form a commutative ring).
Counterexample
is a limit point of : given a real , the real is positive, hence lies in , and .
For every the terms and are defined and positive, since and ; in particular and , so both sequences have all their terms in , which equals .
The reals and are distinct, since .
: given a real , [L4] supplies a natural with ; every has , hence .
: for every we have , since their difference is , so . Given a real , [L4] supplies a natural with ; every has , hence .
for every : , a canonical natural and hence an integer by [L7], so by [L1]. The image sequence is therefore the constant sequence and converges to .
for every : with an integer by [L7], so by [L1]. The image sequence is therefore the constant sequence and converges to .
So and have all their terms in and both converge to , which is a limit point of , while the image sequences converge to the distinct reals and . By [L2], has no limit at .
Remarks
-
Both witnessing sequences have positive terms, so what is refuted is already the existence of the right-hand limit (The left and right limits of at , as limits of the restrictions of to and ), and the two-sided failure follows. The contrast with the sign function on this page is exact: there both one-sided limits exist and merely disagree.
-
Why and . They are the sequences whose reciprocals are and , that is, the integers and the half-integers, which are precisely the two sets on which claims 3 and 4 of The trigonometry-free oscillator is well defined and attained at a nearest integer, takes values in , vanishes exactly on , equals at half-integers, and is -periodic evaluate exactly. Writing instead would be undefined at the index , since contains (Sequences of reals: bounded, eventually, frequently, tails, subsequences).
-
Multiplying by repairs it. The function does have a limit at , namely , by the squeeze theorem ( as , by the squeeze theorem). The oscillation is unchanged; what changes is that its amplitude is forced to .
-
The classical form of this counterexample uses in place of ; The classical form of the oscillator above is , which this library can only construct much later records why this library cannot yet write it.
The function equal to off the origin and to at the origin has limit there
Statement refuted
Refuted claim: if is a limit point of and has a limit at , then — the false statement FALSE: whenever both sides exist.
The witness is the smallest one available: the function
at the point . It has limit there, while .
Beyond refuting the claim, this item records two further facts about the same witness, both used elsewhere on the page: both one-sided limits at also equal , so the defect is not a jump; and changing the single value to produces a function with the same limit and the equality restored. That is what makes this a removable defect, and it is the pattern the composition counterexample With and equal to off the origin and at it, and while exploits.
Facts & Assumptions
Given: The function above and the point ; and the constant function with for every .
The limit condition (The - limit of at a limit point of ): means that for every real there is a real such that every in the domain with satisfies .
Limit point: every real is a limit point of , punctured neighbourhoods being never empty; and is a limit point of and of , since and lie in them at distance from (Limit point, isolated point, adherent point, derived set, and dense subset of , The -neighbourhood and the punctured -neighbourhood of a point of , Intervals of : the nine order-convex forms, nondegeneracy, and length).
Absolute value: ; exactly when (Basic properties of the absolute value).
Order in : trichotomy, so every real either equals or does not, exclusively; , so , and for (The multiplicative identity is positive, Ordered field).
One-sided limits are the limits of the restrictions to and (The left and right limits of at , as limits of the restrictions of to and ).
Locality: if two functions on agree on for some real , they have the same limits at (claim 1 of The limit at depends only on the restriction of to a punctured neighbourhood of , and passes to any subset of the domain having as a limit point).
Counterexample
is a well-defined function on , by trichotomy; and is a limit point of .
The reals and are distinct.
The limit of at exists and equals : given an arbitrary real , take ; every with has , hence , hence and .
Both one-sided limits of at exist and equal : the point is a limit point of and of by [L2], and every in either set satisfies , hence ; so any serves in the definition of each one-sided limit.
Yet , and : at the point of the domain, which is a limit point of the domain, the limit exists and differs from the value, refuting the claim.
Changing the single value repairs the equality: and the constant function agree at every , hence on , so by [L6] the limit of at exists and equals ; and is that limit.
So the limit at a point of the domain is independent of the value of the function there, and the two agree only under an extra hypothesis on the function, never as a consequence of the limit existing.
Remarks
-
A removable defect, not a jump. By step 2.2 the two one-sided limits exist and agree with each other and with the two-sided limit; the only disagreement is with the value. Compare the sign function (The sign function has both one-sided limits at and no two-sided limit), where the two one-sided limits exist and disagree, and no redefinition of the value can repair anything.
-
Why the witness is used again for composition. Because , hypothesis (i) of Composition of limits holds under either hypothesis: is defined at with value , or avoids on a punctured neighbourhood of fails for at ; feeding it an inner function that takes the value then breaks the composition, which is With and equal to off the origin and at it, and while .
-
Nothing here depends on the particular values and , only on their being distinct. Any function constant off with a different value at refutes the claim in the same three lines.
With and equal to off the origin and at it, and while
Statement refuted
Refuted claim: if and then the limit of at exists and equals — the false statement FALSE: whenever and .
Take , , the constant function , and the function of The function equal to off the origin and to at the origin has limit there, equal to off the origin and to at it. Then , , and is the constant function , so the limit of at exists and equals .
What this item adds to the false statement. It carries the comparison through: it identifies which of the two hypotheses of Composition of limits holds under either hypothesis: is defined at with value , or avoids on a punctured neighbourhood of fails here — both do — and it shows that replacing the inner function by the identity, which satisfies hypothesis (ii), restores the conclusion with the same outer function. So neither the outer function nor the composition operation is at fault; the failure is precisely that the inner function takes the critical value.
Facts & Assumptions
Given: The function of The function equal to off the origin and to at the origin has limit there, with for and ; the constant function , ; the identity function , ; and the point .
The limit condition (The - limit of at a limit point of ): means that for every real there is a real such that every in the domain with satisfies .
Every real is a limit point of , punctured neighbourhoods being never empty (Limit point, isolated point, adherent point, derived set, and dense subset of , The -neighbourhood and the punctured -neighbourhood of a point of ).
The witness function: by its definition, and the limit of at exists and equals , as verified in The function equal to off the origin and to at the origin has limit there.
Absolute value: ; exactly when (Basic properties of the absolute value).
Order in : trichotomy, and , so (The multiplicative identity is positive, Ordered field).
Composition of limits, and its two extra hypotheses: (i) and ; (ii) some real has for every with (Composition of limits holds under either hypothesis: is defined at with value , or avoids on a punctured neighbourhood of ).
Counterexample
By [L3] the limit of at exists and equals , and ; so the outer hypothesis of the refuted claim holds with and .
is a limit point of , and and , so both and are functions on .
The reals and are distinct.
The inner hypothesis holds for with : for every real every serves, since for every . So the limit of at exists and equals .
It holds for as well: given a real take ; then gives . So the limit of at exists and equals .
is the constant function : for every , and hence . By the computation of step 2.1, applied to the constant in place of the constant , the limit of at exists and equals .
, since for every ; so by [L3] the limit of at exists and equals .
Hence and , while : the refuted claim is false.
Both extra hypotheses of Composition of limits holds under either hypothesis: is defined at with value , or avoids on a punctured neighbourhood of fail for the pair : hypothesis (i) fails because lies in while , and hypothesis (ii) fails because for every , so no punctured neighbourhood of avoids the value . For the pair , hypothesis (ii) does hold with , since whenever ; and step 3.2 confirms the conclusion of the theorem there.
So the two safeguards in the true theorem cannot both be omitted, and the obstruction is located exactly at the values of the inner function that equal .
Remarks
-
The same outer function serves both roles. With the composition fails, with it succeeds, and is unchanged. So the failure cannot be attributed to any pathology of beyond the one recorded in The function equal to off the origin and to at the origin has limit there: that its value at differs from its limit at .
-
Constancy of is not the issue either. What matters is that takes the value on every punctured neighbourhood of . Any inner function doing that, constant or not, produces the same failure by the same argument, since the outer estimate is unavailable at those arguments.
-
The practical rule. When substituting inside a limit, check one of the two hypotheses of Composition of limits holds under either hypothesis: is defined at with value , or avoids on a punctured neighbourhood of : either the outer function is defined at with the right value there, or the inner function avoids near . Substitutions such as satisfy the second for structural reasons; substitutions into a function known only through its limit satisfy neither in general.
The indicator of has a limit at no point of
Statement refuted
Write for the canonical copy of the rationals inside (The rationals embed densely in the reals), for the irrationals, and let
Refuted claim: there is a point at which has a limit (The - limit of at a limit point of ).
The refutation fixes an arbitrary real and produces two sequences tending to , one of rationals and one of irrationals, both avoiding ; the image sequences are constantly and constantly , and A function has no limit at as soon as two sequences in tending to give different limits of the values applies. Since was arbitrary, the function has a limit nowhere.
Where the choice principle enters, and where it does not. Producing the two sequences is a use of A point lies in the closure of iff some sequence in converges to it, so a subset of is closed iff it is sequentially closed, whose left-to-right direction spends countable choice, and that cost is inherited here and recorded by that item. The criterion applied afterwards is the choice-free one (A function has no limit at as soon as two sequences in tending to give different limits of the values).
Facts & Assumptions
Given: The canonical copy of the rationals, the irrationals , the function above, and an arbitrary real .
Density: and are both dense in , that is, each has closure (Both and are dense in , and every nonempty open subset of is uncountable); and the closure of a set is exactly the set of points every neighbourhood of which meets (The closure equals the set together with its limit points, equals the set of points every neighbourhood of which meets it, and is the smallest closed superset; a set is closed iff it contains its limit points, Interior, closure, boundary and exterior of a subset of , Limit point, isolated point, adherent point, derived set, and dense subset of ).
Sequential characterisation of the closure: lies in the closure of if and only if there is a sequence with all terms in converging to (A point lies in the closure of iff some sequence in converges to it, so a subset of is closed iff it is sequentially closed, Sequences of reals: bounded, eventually, frequently, tails, subsequences, Limits and Cauchy sequences of reals). The direction used below, from the closure to a sequence, is the one that spends countable choice, as that item records.
Neighbourhoods: for real , so (The -neighbourhood and the punctured -neighbourhood of a point of ).
Nonexistence criterion: if two sequences with all terms in converge to while the image sequences converge to distinct reals, then the function has no limit at (A function has no limit at as soon as two sequences in tending to give different limits of the values).
Every real is a limit point of , punctured neighbourhoods being never empty (Limit point, isolated point, adherent point, derived set, and dense subset of , The -neighbourhood and the punctured -neighbourhood of a point of ).
A constant sequence converges to its value (Limits and Cauchy sequences of reals, Sequences of reals: bounded, eventually, frequently, tails, subsequences).
Absolute value and order: and for (Basic properties of the absolute value); , so , and for ; trichotomy and totality (The multiplicative identity is positive, Order is preserved by adding a constant and by adding inequalities, Sign rules for products and monotonicity of multiplication, Inverses of positives are positive, and reciprocation reverses order, Ordered field).
Counterexample
Let be arbitrary. Then is a limit point of , the domain of , so the question of a limit at is well posed.
Let be either or , and let be an arbitrary real. Applying [L1] at the real with the radius , the neighbourhood meets ; and by [L3] every in that neighbourhood satisfies , hence and . So every neighbourhood of meets .
By [L1] again, step 1.2 says exactly that lies in the closure of and in the closure of . Hence [L2] supplies a sequence with all terms in converging to , and a sequence with all terms in converging to .
Every term of lies in , so for every and the image sequence is the constant sequence , converging to ; every term of lies in , so for every and that image sequence converges to . The reals and are distinct.
Both sequences have all their terms in and converge to , while their image sequences converge to distinct reals; by [L4] the function has no limit at . Since was arbitrary, it has a limit at no point of .
Remarks
-
Why the sets are punctured before the sequences are drawn. A function has no limit at as soon as two sequences in tending to give different limits of the values requires all terms to lie in , since a sequence allowed to take the value would report on , which the limit ignores (The - limit of at a limit point of ). Step 1.2 therefore verifies density of and of directly, by placing the auxiliary neighbourhood strictly to the right of .
-
The two densities are not proved the same way. is dense because it is built to approximate; is dense because a countable set cannot exhaust an interval. Both are claims 1 and 2 of Both and are dense in , and every nonempty open subset of is uncountable, and this item uses them only through the neighbourhood formulation of [L1].
-
The failure is as total as possible. Not merely does the limit fail at some points: it fails at every point of , while the function is bounded throughout, taking only the values and . Multiplying by leaves exactly one point where a limit survives, which is has a limit at and at no other point.
has a limit at and at no other point
Example
With as in The indicator of has a limit at no point of , let
so for rational and for irrational . Then the limit of at exists, with
and at every the function has no limit.
The point of the example. The factor has a limit nowhere; multiplying it by repairs exactly one point, and only that one. The repair at is the squeeze theorem (If near and and have the same limit at , then so does ) applied to ; the failure elsewhere is the same two-sequence argument as in The indicator of has a limit at no point of , now with image limits and , which are distinct precisely because .
Facts & Assumptions
Given: The canonical copy of the rationals, the irrationals , the function , and a real .
The values of : for and for ; every real lies in exactly one of and (The indicator of has a limit at no point of ).
The limit condition (The - limit of at a limit point of ): means that for every real there is a real such that every in the domain with satisfies .
Squeeze theorem: if on for some real and the limits of and of at exist and are equal to , then the limit of at exists and equals (If near and and have the same limit at , then so does ).
Nonexistence criterion (A function has no limit at as soon as two sequences in tending to give different limits of the values).
For every real there are a sequence with all terms in and a sequence with all terms in , both converging to . This is exactly what is established in the course of The indicator of has a limit at no point of , from density (Both and are dense in , and every nonempty open subset of is uncountable, The closure equals the set together with its limit points, equals the set of points every neighbourhood of which meets it, and is the smallest closed superset; a set is closed iff it contains its limit points, Interior, closure, boundary and exterior of a subset of , The rationals embed densely in the reals) and the sequential characterisation of the closure (A point lies in the closure of iff some sequence in converges to it, so a subset of is closed iff it is sequentially closed, Sequences of reals: bounded, eventually, frequently, tails, subsequences, Limits and Cauchy sequences of reals); the countable choice spent there is inherited here.
Every real is a limit point of , punctured neighbourhoods being never empty (Limit point, isolated point, adherent point, derived set, and dense subset of , The -neighbourhood and the punctured -neighbourhood of a point of ).
Absolute value: ; ; for ; (Basic properties of the absolute value). Order arithmetic: trichotomy and totality; , so and for (The multiplicative identity is positive, Order is preserved by adding a constant and by adding inequalities, Sign rules for products and monotonicity of multiplication, Ordered field).
A constant sequence converges to its value (Limits and Cauchy sequences of reals, Sequences of reals: bounded, eventually, frequently, tails, subsequences).
Verification
For every , : if then and ; if then and .
Every real is a limit point of ; in particular and the given are.
The functions and have limit at : given a real take ; every with satisfies and .
The three functions satisfy on all of , in particular on , and the outer two have limit at ; since is a limit point of , the squeeze theorem [L3] gives that the limit of at exists and equals .
Fix the real . By [L5] there are a sequence with all terms in and a sequence with all terms in , both converging to .
By [L1], for every , so the image sequence is itself and converges to ; and for every , so that image sequence is constant and converges to . Since , the two limits are distinct, and both sequences have all their terms in and converge to ; by [L4] the function has no limit at .
So the limit of exists at , with value , and fails to exist at every other real: has a limit at exactly one point.
Remarks
-
Why is the exceptional point. The squeeze bound is useful only where is small, that is near ; at any other the two bounding functions have limit and , which are different, so the squeeze theorem says nothing there. That is not an accident of the proof: the two-sequence argument shows the limit genuinely fails at every such .
-
The value happens to equal the limit, since is rational, so satisfies at the equality that FALSE: whenever both sides exist shows is not automatic. It is the only point of at which does so.
-
Contrast with . There the oscillation is bounded and the failure is confined to a single point, , with the multiplication by repairing precisely that point ( as , by the squeeze theorem). Here the failure is everywhere and the multiplication repairs precisely one point. The two examples are the same mechanism — a bounded factor damped by a vanishing one — applied to opposite kinds of irregularity.
On the domain every real is vacuously a limit at
Statement refuted
Refuted claim: for every , every and every , at most one real satisfies
— the false statement FALSE: a function has at most one limit at every point of its domain, isolated points included.
The witness is (Intervals of : the nine order-convex forms, nondegeneracy, and length), the constant , and . At the displayed formula holds for every real at once, so it determines nothing.
What this item adds. It exhibits the dichotomy inside one example: at the isolated point the formula is vacuous, while at the point of the same domain — which is a limit point of — the formula is not vacuous and At a limit point of the domain a function has at most one limit applies, so the limit there exists and is unique. The same , the same , and opposite behaviour at two of its points.
Facts & Assumptions
Given: The set , the constant function with for every , and the points and of .
The - formula displayed above, and the fact that The - limit of at a limit point of imposes it only at a limit point of the domain, where At a limit point of the domain a function has at most one limit then makes unique.
Limit point and isolated point: is a limit point of when for every real ; is isolated in when for some real ; and for the two are exact opposites (Limit point, isolated point, adherent point, derived set, and dense subset of , The -neighbourhood and the punctured -neighbourhood of a point of ).
Neighbourhoods: and (The -neighbourhood and the punctured -neighbourhood of a point of ).
Absolute value: ; exactly when ; for ; (Basic properties of the absolute value).
Order in : trichotomy and totality; , so and with for ; and of two positive reals the smaller is positive (The multiplicative identity is positive, Order is preserved by adding a constant and by adding inequalities, Sign rules for products and monotonicity of multiplication, Ordered field).
Counterexample
is a subset of , and is the constant on ; both and belong to .
is an isolated point of and not a limit point of : , since an element of is either , with , or an element of , with and hence outside .
The reals and are distinct.
Take . No satisfies : such an would lie in , which is contained in and excludes , hence is empty. So for every real and every real the choice makes the implication vacuously true, and every real satisfies the displayed formula at .
By contrast is a limit point of : given a real , let be the smaller of and , so ; then satisfies , so it lies in , and . There The - limit of at a limit point of applies, At a limit point of the domain a function has at most one limit gives at most one , and in fact , since for every and every real .
In particular and both satisfy the formula at , and they are distinct: more than one real satisfies it, so the claim is refuted. This is why The - limit of at a limit point of is stated only at a limit point, and why is left undefined on this domain.
So on one and the same domain the formula pins down a unique value at the limit point and no value at all at the isolated point : uniqueness of the limit is a property of limit points, not of arbitrary points of the domain.
Remarks
-
Nothing about is used at . Step 2.1 never evaluates the function: the implication has no instances. Any whatever on this would give the same conclusion, which is precisely why the formula carries no information there.
-
The alternatives are exact. At a limit point of the domain the formula has at most one solution (At a limit point of the domain a function has at most one limit), while at an isolated point every real solves it (Limit point, isolated point, adherent point, derived set, and dense subset of ).
-
Some texts declare the limit at an isolated point to be . That convention is consistent — it selects one of the many solutions — but it is a stipulation, not a theorem, and FALSE: a function has at most one limit at every point of its domain, isolated points included records why this library declines it.
Sources
Standard references
Recommended treatments; not extraction sources.
- Sine and cosine (Wikipedia)
- Topologist's sine curve (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 8 (the trigonometric functions)
- J. Lebl, Basic Analysis I, §3.1: Limits of functions
- Polynomial (Wikipedia)
- Limit of a function (Wikipedia)
- J. Lebl, Basic Analysis I, §3.1
- Floor and ceiling functions (Wikipedia)
- Infimum and supremum (Wikipedia)
- Triangle wave (Wikipedia)
- Squeeze theorem (Wikipedia)
- Sign function (Wikipedia)
- One-sided limit (Wikipedia)
- Archimedean property (Wikipedia)
- J. Lebl, Basic Analysis I, §3.5
- Classification of discontinuities (Wikipedia)
- T. Tao, Analysis I, 3rd ed., §9.3
- Dirichlet function (Wikipedia)
- Isolated point (Wikipedia)