Calculus rests on the statement that a sequence converges to a limit, and so far that statement has been written down, read as a game and negated, but never proved for a single sequence.
The previous lesson supplied what was missing: the completeness axiom, that every nonempty set of reals bounded above has a least upper bound, and from it the Archimedean property, that for every real some natural number exceeds . This lesson puts the whole course to work on one definition. It proves that particular sequences converge and that others do not, proves the general theorems that let limits be computed without returning to the definition every time, and reaches several theorems that are true in and false in , which is exactly what completeness buys. It ends by carrying the same ideas from sequences to functions, with the and definitions of limit and continuity that calculus is built on. Along the way it separates two activities that textbooks tend to blur: finding a proof and writing one.
The tools come from every earlier lesson: quantifiers for the definition, negation for divergence, the triangle inequality and its reverse form from the lesson on direct proof, contradiction for uniqueness, induction for recursive sequences, and the supremum for everything that needs completeness.
The definition, read closely
A sequence of real numbers is a function , written or , with as throughout the course. The sequence converges to the real number when
and then we write , or , and call a limit of the sequence. A sequence that converges to some real number is convergent; one that converges to none is divergent.
The lesson on quantifiers read the definition as a game. A sceptic names a tolerance , as small as they like. A prover answers with a position . The sceptic then picks any term from position on, and the prover wins if that term lies within of . The sequence converges to when the prover has a winning answer to every tolerance.
Because comes after , the position may depend on the tolerance, and for any interesting sequence it must: a smaller usually needs a later . Because the last quantifier is , it is not enough for one term to land close; every term from on must, so the sequence stays close rather than visiting. The first terms are ignored completely, which is why changing, adding or deleting finitely many terms never changes whether a sequence converges, or to what.
There is a geometric reading too. The inequality says : the term lies in the open interval of radius about . So says that every open interval around , however narrow, contains all the terms from some point on, and only finitely many terms lie outside it. A phrase for "for all from some point on" is eventually: when, for every , eventually .
The quantifiers also dictate the shape of every convergence proof before any arithmetic is done. The universal is met by "Let ", assuming nothing about it but positivity. The existential is met by naming an , which may be built from but from nothing chosen later. The inner universal is met by "Let ". What remains is to show using only those facts. An that works may always be replaced by a larger one, so there is no need to find the smallest; the proof only has to find one.
The first limit:
Theorem. The sequence converges to .
Proof. Let . By the Archimedean property there is a natural number with . Let . Then
where the first inequality holds because , and the second follows from on multiplying both sides by the positive number . Since was arbitrary, .
For the proof asks for , and is the answer the lesson on quantifiers found by hand. The proof answers every tolerance at once, with a recipe rather than a table.
The one step that is not arithmetic is the existence of , and it is not a formality. It is the Archimedean property, which the lesson on the real numbers derived from completeness, and which fails in ordered fields that contain infinitesimals: positive elements smaller than every . In such a field the sceptic names an infinitesimal as and wins. The most basic limit in analysis is already a fact about the reals, not about algebra.
Why not simply define convergence as "the terms get closer and closer to "?
Because that phrase is true of limits that are wrong. The terms of get closer and closer to : each term is nearer to than the one before, since decreases. They also get closer and closer to and to . "Closer and closer" says the distance decreases, not that it becomes small, and a decreasing distance can level off at any positive value.
A second attempt, "the terms get arbitrarily close to ", fails the other way. The sequence has terms arbitrarily close to (in fact equal to it) infinitely often, and it should not converge to . What is missing is the word "eventually": every tolerance must be met not by some terms but by all terms from some point on. Each of the three quantifiers in the definition blocks a specific wrong answer, and removing any one of them lets one through.
The definition took a long time to reach this form. Newton and Leibniz worked with limits and infinitesimals without a definition that could settle disputes, and the criticism they drew was fair. Bernard Bolzano in 1817 and Augustin-Louis Cauchy in his Cours d'analyse of 1821 put limits at the centre and described them in terms of quantities that become and remain smaller than any given quantity, which is the idea of the modern definition in words. Karl Weierstrass, lecturing in Berlin from the late 1850s onwards, gave it the fully symbolic form with and its companions, in which "becomes and remains" is replaced by an explicit order of quantifiers. That form is the one used today, because it can be checked mechanically, which is what a definition is for.
How a proof is found, and how it is written
For most sequences the right is not obvious, and the finished proof hides how it was found, because the work happens in two passes. The first is scratch work, done on the side and never handed in: start from the goal , simplify , and work backwards to a condition on that guarantees it. The second is the proof, which runs forwards: it starts from , names the the scratch work found, and checks that it wins. This is the pattern the lesson on direct proof called working backwards and writing forwards.
Example. Prove that converges to .
Scratch work. Simplify the distance to the limit:
The goal holds exactly when . That is the sharpest condition, but a cruder one is easier to write with: since , it is enough that , which holds once . So take .
Proof. Let . By the Archimedean property there is with . Let . Then
so for every . Since was arbitrary, .
At the proof asks for , so , while the sharp condition shows the smallest working position is . Both win, and the proof is shorter for not caring which. What the proof never contains is the backwards reasoning: "suppose , then..." would be assuming the conclusion, and a reader would rightly object.
The step that made the scratch work easy was replacing by the larger, simpler . That is the central skill: to show a quantity is small, bound it above by something simpler that is visibly small. A fraction gets larger when its numerator is made larger or its denominator smaller (keeping it positive), so the usual moves are to drop negative terms from the numerator and positive terms from the denominator, or to replace a denominator by a fixed fraction of its leading term. For , for instance, and for , so the expression is at most .
Now you. Prove that converges to , showing the scratch work and the proof separately.
Answer
Scratch work. , which is less than . That is below once .
Proof. Let . By the Archimedean property there is with . Let . Then . Since was arbitrary, .
A proof is written for a reader who does not trust its writer, and a few habits make it checkable. Name every quantity when it is introduced and say where it comes from: "let " makes it arbitrary, "there is with " makes it chosen, and a reader can then check that depends on and on nothing chosen later. Justify each step by a definition or an earlier result, by name. Then read the finished proof back as the sceptic, hunting for the move that would lose the game. Writing "take " loses it, because that is not a natural number for most , and the Archimedean property is what repairs it. Writing "let " loses it too, because the sceptic chose first and does not yet exist.
Proving that a sequence diverges
A sequence diverges when it converges to no real number at all. The lesson on quantifiers negated the definition: fails to converge to when
The roles swap. Now the prover picks one tolerance, the sceptic picks any starting position, and the prover must find a term beyond it that misses. To prove divergence, this must be done for every candidate , so the proof starts "Let be any real number."
Example. Prove that diverges.
Let be any real number, and take . Let . The terms at positions and are both beyond , and they are and . If both were within of , the triangle inequality would give
which is impossible. So one of the two positions gives an with . Since was arbitrary, does not converge to , and since was arbitrary, it converges to nothing.
Problem 11 of the lesson on quantifiers proved this by splitting on the sign of ; the triangle inequality avoids the cases. The proof never says which of the two terms misses, only that one does, and an existential claim needs no more. The tolerance is half the distance between the two values the sequence keeps returning to, and that is what makes it work: no open interval of radius contains both and . A tolerance of would fail, since for every term lies within of .
Now you. Prove that diverges.
Answer
Let be any real number, and take . Let . By the Archimedean property there is a natural number ; let be the larger of and . Then and , so . Since and then were arbitrary, diverges.
The sequence diverges in a particular way: it grows beyond every bound. A sequence tends to infinity, written , when
The shape is the same as convergence, with "within of " replaced by "above ", and the proofs have the same shape too. For : let be real, choose with , and let ; then , using that square roots preserve order on non-negative numbers. Tending to infinity is a kind of divergence, not a kind of convergence: is not a real number, and "" is a shorthand for the displayed statement, not a limit in the sense of the definition. And not every divergent sequence tends to infinity, as shows.
Uniqueness, and bounded sequences
Writing presumes a sequence has only one limit, and that needs proof.
Theorem. If and , then .
Proof. Suppose not, so , and let , which is positive. Since there is with for all , and since there is with for all . Let be the larger of and . By the triangle inequality,
a contradiction. So .
The picture is two intervals of radius around and around . They do not overlap, and a convergent sequence would have to be eventually inside both. Two features of the proof recur throughout the lesson. Each hypothesis "" was used with a tolerance chosen by the prover, since a convergence hypothesis may be applied to any we like. And the two guarantees, which start at different positions and , were made to hold together by going past both.
A sequence is bounded when some real has for every ; equivalently, the set of its terms is bounded above and below.
Theorem. Every convergent sequence is bounded.
Proof. Let . The definition with gives with for all , and then, by the triangle inequality, for . Only the finitely many terms before position are left. Let be the largest of the numbers and . Then for every .
The finitely many early terms can be anything, and they are handled by taking a maximum, which a finite set always has. The contrapositive is a quick test for divergence: an unbounded sequence, such as or , cannot converge. The converse of the theorem fails, as the bounded divergent sequence shows. Much of the rest of the lesson is about what can be added to "bounded" to rescue it.
The algebra of limits
Proving every limit from the definition would be exhausting. The theorems of this section let limits be computed from limits already known, and each is proved once, from the definition. The basic tool is the idea of spending the tolerance in parts.
Example. Prove that if and , then .
Let . Then , so, applying the definition to each sequence with tolerance , there are and with for and for . Let be the larger of and , and let . Then
Since was arbitrary, .
The total error is a sum of two errors, so each was given half the budget. Nothing is special about halves. A proof that ends with is also acceptable, once it is observed that is an arbitrary positive number as is; the version simply arranges in advance for the final line to read .
Now you. Prove that if , then . Is the converse true?
Answer
Let . There is with for all . Let . By the reverse triangle inequality, . Since was arbitrary, .
The converse is false: , but does not converge to , or to anything. It does hold when , since , so exactly when .
Products need one more idea, because the error in involves the sizes of the terms, not just their distances from the limits.
Theorem (the algebra of limits). Suppose and , and let be a real number. Then
(i) ;
(ii) ;
(iii) if , then for all from some point on, and ;
(iv) if , then .
Proof. (i) If every term is and the claim is clear. Otherwise let , and choose with for . Then for .
(ii) The trick is to add and subtract a mixed term:
Convergent sequences are bounded, so there is with for every . Let . Choose with for , and with for . For at least the larger of and ,
(The in the second tolerance keeps the denominator positive when .)
(iii) Since and , the definition with tolerance gives with for ; in particular there. Let , and choose with for . For at least the larger of and ,
(iv) Write and apply (ii) and (iii).
Part (iii) contains the point everyone forgets: does not say for every , and the sequence may not exist at the start. It exists eventually, and since early terms do not affect limits, that is enough. The lower bound , keeping the terms away from , is what controls the denominator.
With these rules most limits reduce to and constants. Take . Dividing top and bottom by gives
The numerator tends to by the rules for sums, constant multiples and products, and the denominator to , so by the rule for quotients. Each step cites a theorem, and the theorems were proved from the definition, so this is a proof.
The hypotheses matter. The rules say that if the parts converge, the combination converges to the combination of the limits. They say nothing when the parts diverge: and both diverge while converges, and converges although neither factor does. Writing "" before knowing that the limits on the right exist is the commonest misuse. And the quotient rule needs : the quotient of by is , which diverges, though both parts tend to .
Limits also respect weak inequalities.
Theorem (limits preserve order). If , and for every , then .
Proof. By the algebra of limits, . Suppose, for contradiction, that , and take . For large enough, , which gives , contradicting .
Strict inequalities are not preserved: for every , and the limit is , not something positive. This is the same pitfall as for suprema in the previous lesson, and for the same reason.
The squeeze theorem
Some sequences are too awkward to handle directly but can be trapped between two simpler ones.
Theorem (the squeeze theorem). Suppose that for every , and that and . Then .
Proof. Let . There are with for , and with for . Let be the largest of , , , and let . Then
so . Since was arbitrary, .
Both outer sequences must tend to the same limit. Knowing says nothing about whether converges. The commonest use has or : if and , then .
Example. Prove that for every real with .
If every term is . Suppose first that . Then , so for some . By Bernoulli's inequality, proved in the lesson on induction, for every . Taking reciprocals of positive numbers reverses the inequality, so
The right-hand side tends to by the rule for constant multiples, and the left-hand side is the constant . By the squeeze theorem, .
For general with , the first case gives , and a sequence tends to exactly when its absolute values do. So .
The proof turned an unknown, , into a known, , at the cost of a constant, and that is the typical shape. For , , and the bound says ; at it gives , while the truth is about . The bound is crude, and crude bounds are enough. For the sequence does not tend to : its terms have .
Now you. Prove that . (First show by induction that for .)
Answer
The inequality. For , . Suppose for some . Then , and because for . So , and by induction for all .
The limit. For , . Since and , the squeeze theorem (with ) gives .
Monotone sequences and what completeness buys
A sequence is increasing when for every , and decreasing when for every ; it is monotone if it is one or the other. By induction, an increasing sequence has whenever . Boundedness alone did not force convergence, but boundedness with monotonicity does, and this is the first theorem of the lesson that needs completeness.
Theorem (monotone convergence). A bounded increasing sequence of reals converges to the supremum of its terms. A bounded decreasing sequence converges to the infimum of its terms.
Proof. Let be increasing and bounded. The set is nonempty and bounded above, so by the completeness axiom it has a supremum . Let . Since , it is not an upper bound of (the characterisation of the supremum), so some term has . Let . Then
the middle step because the sequence increases and the last because is an upper bound. So , and .
If is decreasing and bounded, then is increasing and bounded, so , and by the rule for constant multiples .
In the theorem is false. The decimal truncations of , namely , are rational, increasing and bounded above by . In the th truncation is within of , and , so by the squeeze theorem they converge to . If they also converged to some rational (a real tolerance can always be shrunk to a rational one, so the definition means the same in either setting), uniqueness would force , which is irrational. So the sequence has no limit in . The proof breaks at its first line, where a supremum is needed and the rationals do not supply one. This is the theorem Dedekind could not prove in 1858, and the reason he went looking for a definition of the real numbers.
The theorem proves that a limit exists without saying what it is. For sequences defined by a rule that produces each term from the previous one, the value can often be found afterwards.
Example. Let and . Prove that .
The first terms are , , , , and already agrees with to five decimal places. The plan is to show the sequence is decreasing and bounded below, conclude that it converges, and then identify the limit.
Positivity. By induction, every : , and if then is half a sum of two positive numbers.
Squares at least . For every , writing ,
and . Since , this gives for every .
Decreasing. .
Convergence. The sequence is decreasing and bounded below by , so by the monotone convergence theorem it converges to some , and because limits preserve order. In particular .
The limit. The shifted sequence also converges to : given , the that works for works for , since gives . On the other hand, by the algebra of limits, , using . By uniqueness of limits, , so and . As , .
This is Newton's method applied to , and the rule is older than Newton: it is the Babylonian method for square roots. Notice that every term is rational, so in the sequence is decreasing, bounded below, and has no limit. Every step of the proof works in except the one that invoked monotone convergence.
The order of the steps matters. Solving only identifies the limit once convergence is known. With and , the same manipulation gives , so "", but the sequence is , which tends to infinity. The equation found the only possible limit; it did not show there is one.
Why does this sequence close in on so quickly?
Because the error squares at every step. Write . Then
so . Once the error is below , the next error is below : the number of correct decimal places roughly doubles with each step. From it gives , and indeed ; the next term, , is correct to eleven decimal places.
This is called quadratic convergence, and it is why Newton's method is used inside calculators and computer libraries to compute square roots. Compare the decimal truncations, where each step adds one correct digit, or bisection, where each step adds about a third of a digit (one binary digit). All three sequences converge to , and the definition of convergence does not distinguish them; speed is a separate question, and numerical analysis is largely about it.
Now you. Let and . Prove that converges and find its limit.
Answer
Increasing. .
Bounded. By induction, for every : , and if then , so .
Limit. By monotone convergence, for some . The shifted sequence also tends to , and by the algebra of limits . By uniqueness, , so and .
The first terms are , , , , , and the convergence is slow: the error shrinks roughly like .
Subsequences and the theorem of Bolzano and Weierstrass
A bounded sequence need not converge, but it cannot avoid converging entirely: part of it always does. To say which part, pick out infinitely many of its terms in order. If are natural numbers, the sequence is a subsequence of , and its th term is . The even-numbered terms form a subsequence with ; so do the terms at prime positions. The terms must be taken in their original order and without repetition, so and are not subsequences.
Since and each , induction gives for every : the th term of a subsequence sits at position or later in the original sequence.
Theorem. If , then every subsequence of also converges to .
Proof. Let be a subsequence and let . There is with for all . Let . Then , so .
The contrapositive is the most efficient divergence test there is: a sequence with two subsequences converging to different limits, or with one divergent subsequence, diverges. For , the even-numbered terms are all and the odd-numbered terms all , so the sequence diverges, in one line. The same test disposes of : the even terms tend to and the odd terms tend to .
The positive result needs one lemma, which has nothing to do with limits.
Lemma. Every sequence of real numbers has a monotone subsequence.
Proof. Call a position a peak if for every : the term at is at least as large as every later term.
Suppose there are infinitely many peaks, at positions . Each comes after the peak , so , and is a decreasing subsequence.
Suppose instead there are finitely many peaks (perhaps none). Choose a position after all of them. Since is not a peak, some later position has . Since is also after every peak, it is not a peak, so some has . Continuing in this way (formally, by a recursive definition) gives positions with increasing.
Theorem (Bolzano and Weierstrass). Every bounded sequence of real numbers has a convergent subsequence.
Proof. By the lemma, a bounded sequence has a monotone subsequence. The subsequence is bounded, since its terms are among those of the original, so by the monotone convergence theorem it converges.
Bolzano used the idea in 1817, and Weierstrass made it a cornerstone of his Berlin lectures half a century later, hence the double name. The theorem is again a fact about and not about : the bounded sequence of decimal truncations of has no subsequence converging to a rational, since every subsequence converges in to . It is the tool analysis uses whenever something must be found and no formula is available. A continuous function on a closed interval attains a greatest value, for instance, because a sequence of points at which the values approach their least upper bound has, by this theorem, a subsequence of points converging to some point of , and continuity makes the value there the maximum (the same theorem first shows that the values are bounded, so that the least upper bound exists). The Calculus lesson on continuity states this extreme value theorem and builds on it.
Can a sequence be shown to converge without knowing its limit?
Yes, by looking only at how its terms relate to each other. A sequence is a Cauchy sequence if
that is, its terms eventually all lie within of each other. No limit appears in the definition.
Every convergent sequence is Cauchy. If , choose with for ; then for , .
In the converse holds, and its proof uses everything in this section. Let be Cauchy. It is bounded: with , every term from position on lies within of , and finitely many earlier terms are bounded by their maximum. By Bolzano and Weierstrass, some subsequence converges to a limit . Now let . Choose with for , and then choose with (possible since the subsequence converges and the positions can be taken as large as we like). For , as ,
So a sequence of reals converges exactly when it is Cauchy. This is the Cauchy criterion, and it is how most convergence proofs in analysis go, because most limits worth studying, such as the sums of infinite series, have no closed form to guess.
In the criterion fails: the Newton sequence for is Cauchy (it converges in , so it is Cauchy in , and the condition mentions only its rational terms) but has no rational limit. This is the gap Cantor's construction of the reals fills: a real number is a Cauchy sequence of rationals, with two sequences identified when their difference tends to . In the language of the previous lesson, "every Cauchy sequence converges" is yet another equivalent form of completeness, for Archimedean ordered fields.
Limits of functions and continuity
The same game can be played with a function instead of a sequence. Where a sequence is watched as grows, a function is watched as approaches a point , and the position is replaced by a distance .
Let be a real function whose domain contains every with , for some : the function is defined near , though perhaps not at itself. Then tends to as tends to , written or as , when
The sceptic names a tolerance on the output. The prover answers with a tolerance on the input. The sceptic picks any in the domain within of other than itself, and the prover wins if is within of . As before, may depend on , a working may be replaced by any smaller positive one, and a proof has the shape: let ; choose ; let satisfy ; show .
Why does the definition exclude ?
Because the limit is meant to describe what does near , not at , and the most important limits in calculus concern functions that are not defined at the point at all. The derivative of at is the limit as of , a quotient that is , and so undefined, at . For it equals , and the limit is . A definition that tested could not even be applied.
Excluding also makes the value there irrelevant when it does exist. The function equal to for and to at has , exactly as does; the one wrong value is simply not examined. Whether the limit agrees with the value is a separate question, and it is precisely the question of continuity, which is defined next with the condition dropped.
The Calculus lesson on limits takes this definition as its starting point and uses it for exactly these difference quotients, where the whole content of differentiation lives.
The central technique is new. In a sequence proof, the distance was bounded by something depending on alone. Here usually factors as times something else, and the something else must be kept under control by first insisting that stay reasonably near .
Example. Prove that .
Scratch work. . The first factor is what controls. The second is not small, but it is bounded if stays near : if , then , so . Then , which is below once . Both restrictions are wanted, so take to be the smaller of and .
Proof. Let , and let be the smaller of and , so . Let satisfy . Since , we have , so . Since ,
Since was arbitrary, .
The first restriction, , is arbitrary: would bound by and work as well. What matters is that some fixed restriction comes first, so that the bound on the other factor does not depend on itself. Choosing "" is the classic error: must be chosen before , so it cannot depend on .
Now you. Prove that .
Answer
Scratch work. . If , then , so . So take to be the smaller of and .
Proof. Let , and let be the smaller of and . Let . Then , so , and
Since was arbitrary, the limit is .
A function with domain is continuous at a point when
and continuous when it is continuous at every point of its domain. The condition has gone, since at the inequality holds automatically, and the limit has become the value . So when is defined near , continuity at says exactly that : the function's value is what its nearby values predict. The Example shows that is continuous at .
Proving continuity function by function would be as tiring as proving limits sequence by sequence. The link between the two kinds of limit makes the algebra of limits available.
Theorem (sequential continuity). If is continuous at , and is a sequence in the domain with , then .
Proof. Let . By continuity there is such that whenever is in the domain and . Since , applying the definition of convergence with tolerance , there is with for all . For such , . So .
The converse is true as well, and the problem sheet proves it: if for every sequence in the domain, then is continuous at . With both directions, continuity becomes a statement about sequences, and the algebra of limits transfers. If and are continuous at and , then and , so , and the same for products, and for quotients when . So sums, products and quotients of continuous functions are continuous. The constant functions and itself are plainly continuous (take for ), so every polynomial is continuous everywhere, and every rational function wherever its denominator is not zero.
Here are two functions that are not continuous, and how to prove it. The negation of continuity at reads: there is such that for every some in the domain has and .
A jump. Let for and for , the step function of Problem 12 of the lesson on quantifiers. Take . For any , the point has and . So is not continuous at . The sequential form says the same more briefly: , but does not tend to . At every other point is continuous, since it is constant on an interval around the point.
Discontinuous everywhere. Let if is rational and if is irrational, a function Dirichlet described in 1829. Let be any real number and take . For any , the interval contains a rational and an irrational , by the density theorems of the previous lesson. Since and differ by , at least one of them differs from by at least (if both were within of , the triangle inequality would put them within of each other, strictly). So is continuous nowhere. No picture of a graph could show this; only the definition can.
What is continuity good for?
For theorems that say something exists. The first is the intermediate value theorem: if is continuous on and , then for some in . Here is a proof from completeness.
Let . It contains and is bounded above by , so it has a supremum , and . We show by ruling out the other two cases.
Suppose . Then , since . By continuity at with , there is with for every in with . Some such is larger than : take the smaller of and . It lies in and exceeds , contradicting that is an upper bound of .
Suppose . Then , since . By continuity with , there is with for every in with . So no point of lies in , and every element of , being at most , is at most . Then is an upper bound of smaller than , contradicting that is the least.
So . The theorem fails over : the function is continuous on the rationals in , negative at and positive at , and never zero at a rational. The proof broke where it took a supremum, as monotone convergence did. So completeness is what makes the graph of a continuous function unable to cross the axis without meeting it, the property that the word "continuous" was chosen to describe.
The second existence theorem is the extreme value theorem mentioned above, whose proof runs through Bolzano and Weierstrass. Between them, these two carry most of the weight in a first course in calculus: the mean value theorem, and through it everything a derivative says about a function, rests on them.
What has been built
The course began with patterns that held for forty cases, or for every number below , and then failed, and it has built the means to settle such claims instead. Statements and quantifiers say exactly what is claimed and what its negation claims. Direct proof, cases, the contrapositive, contradiction and induction establish it. Sets, functions and relations are the language the claims are written in, bijections measure infinite sets, and completeness says what the real numbers are. This lesson needed nearly all of it: quantifiers for the definition, negation for divergence, the triangle inequality for uniqueness and the algebra of limits, induction for recursive sequences, contradiction for order and uniqueness, density for the Dirichlet function, and the supremum for monotone convergence, for Bolzano and Weierstrass, and for the intermediate value theorem.
A first course in real analysis continues directly from here, with the same arguments applied to series, derivatives and integrals. Calculus uses these limits as its foundation: its limit laws are the algebra of limits for functions, and its existence theorems are the ones sketched above. Calculus II carries the definitions into several variables, where the lesson on limits and continuity replaces by the distance between points in the plane and finds that a limit can depend on the direction of approach. Each of these assumes a reader who can take a definition, say exactly what it claims, and prove things from it, which is what this course set out to make.
Problems
Work each problem on paper before opening anything; for Core and Challenge problems, try the hint before the solution. Results proved in the lesson (the algebra of limits, the squeeze theorem, monotone convergence) may be quoted.
Warm-up
1. (a) Prove from the definition that . (b) For , find the smallest such that for every .
Solution
(a) Scratch work: exactly when , that is, .
Proof. Let . By the Archimedean property there is with . Let . Then , and since square roots preserve order on positive numbers, , so . Since was arbitrary, .
(b) exactly when . Since and , this holds exactly when . The terms decrease, so every works, and does not. The smallest is .
2. Prove from the definition that does not converge to .
Solution
The negation of requires one such that every is followed by some with . Take . Let and take . Then , so . Since was arbitrary, does not converge to .
In fact every term misses by more than . By the algebra of limits the sequence converges to , and uniqueness gives the result again.
3. Find each limit, justifying every step by a result from the lesson. (a) . (b) .
Solution
(a) Divide top and bottom by : the th term is . Since , the rules for products, constant multiples and sums give numerator and denominator , and the rule for quotients gives the limit .
(b) Divide by : the term is . Now , and both outer sequences tend to , so by the squeeze theorem. So the numerator tends to and the denominator to , and the limit is . The divergent sequence appears in the formula, but only inside a combination that converges, so the algebra of limits was applied to , never to itself.
4. Prove from the definition that is continuous at every real . For and , what is the largest that works?
Solution
Let be real and , and let . If , then . So is continuous at , and was arbitrary.
For , works. No larger does: if , some with exists, for instance , and then . So the largest is .
Core
5. Let for every , and . Prove that and that .
Hint
For , multiply and divide by . For , work from the definition directly.
Solution
Since for every and limits preserve order, .
Case . For every ,
since . Let , and choose with for . Then for .
Case . Let , and choose with for . Then , and since square roots preserve order on non-negative numbers, for . So .
The first case fails for because the bound divides by ; the second case repairs it with a different choice of tolerance. Continuity of the square root function follows, by the converse of sequential continuity (Problem 9).
6. Find the flaw in this proof, show that the claim is false, and say which extra hypothesis would make the argument correct.
Claim. Every bounded sequence of real numbers converges.
Proof. Let be bounded. The set of its terms is nonempty and bounded above, so it has a supremum . Let . Since is not an upper bound, some term has . For we then have , so . Hence .
Hint
Compare the argument line by line with the proof of the monotone convergence theorem, and test it on .
Solution
The flaw is the step for . Nothing in the hypotheses says later terms are at least as large as earlier ones; that is exactly the statement that the sequence is increasing, and it was never assumed.
The claim is false: is bounded, since , and the lesson proved it diverges. Following the argument on it: , and for the term exceeds , but the later term is not at least , and .
With the extra hypothesis that is increasing, the argument is correct word for word: it is the proof of the monotone convergence theorem. Without monotonicity, the correct conclusion from boundedness is weaker: by Bolzano and Weierstrass, some subsequence converges.
7. Prove or disprove each claim, for sequences of real numbers. (a) If , then . (b) If , then . (c) If and diverges, then diverges. (d) If and both diverge, then diverges. (e) If and is bounded, then .
Hint
Two are false, and disproves both. For (c), argue by contradiction with the algebra of limits. For (e), the algebra of limits does not apply, because need not converge; go back to the definition.
Solution
(a) True, by the rule for products applied with .
(b) False. Let and . Then , but does not converge to (or to anything).
(c) True. Suppose, for contradiction, that for some . Then by the algebra of limits (the rule for sums, with the constant multiple ), contradicting that diverges.
(d) False. Let . Both diverge, and for every , which converges.
(e) True. Let with for every , and let . Choose with for . Then for . So . For example again, with and .
8. Let be a real number. Prove that .
Hint
Use the defining inequality of the floor, , with , and squeeze.
Solution
Let . By the definition of the floor, , so . Dividing by the positive number ,
The left-hand side tends to by the algebra of limits, and the right-hand side is the constant . By the squeeze theorem, .
Each term is rational, so this gives an explicit sequence of rationals converging to any real number, the sequential form of the density of . For and it is the sequence of decimal truncations.
9. Let have domain and let . Prove that if for every sequence in with , then is continuous at .
Hint
Prove the contrapositive. If is not continuous at , the negation of the definition hands you an that defeats every . Try for each in turn.
Solution
We prove the contrapositive: if is not continuous at , then some sequence in has not tending to .
Suppose is not continuous at . By the negation of the definition, there is such that for every some has and . For each , apply this with , and let be such a point: , and .
Then , so by the squeeze theorem. But every term of lies at least from , so for this no works, and does not tend to .
Together with the theorem on sequential continuity, this shows that is continuous at exactly when carries every sequence converging to to a sequence converging to . (Choosing one for each at once is a use of the axiom of choice for countably many choices, a principle this course, like most of mathematics, takes for granted.)
10. Prove from the definition that , with domain the positive reals, is continuous at every .
Hint
. Keep away from by insisting first that .
Solution
Scratch work. . If , then , so and the expression is less than . That is below when .
Proof. Let and , and let be the smaller of and , which is positive. Let with . Then , so , and
So is continuous at , and was arbitrary.
The depends on as well as on , and it must: near the graph is steep, and a fixed needs ever smaller as decreases. When one serves every point of the domain at once, the function is called uniformly continuous; on the positive reals is not.
11. Let if is rational and if is irrational. Prove that is continuous at and at no other point.
Hint
At , note that always. At , use the density of the rationals and of the irrationals, with .
Solution
At . Here , since is rational. For every , is or , so . Let and . If , then . So is continuous at .
At . Take and let . We find with and . Let be the smaller of and .
If is rational, . By the density of the irrationals there is an irrational with , and then .
If is irrational, . By the density of the rationals there is a rational with . Then by the reverse triangle inequality, so .
In both cases fails, and since was arbitrary, is not continuous at .
So a function can be continuous at exactly one point. Continuity is a property of a function at a point, defined by the and game, and pictures of unbroken curves describe only the most familiar cases.
Challenge
12. Prove that , where is the positive th root of .
Hint
Write with . By the binomial theorem, for and . Then use Problem 5.
Solution
The positive th root exists and is unique, by the lesson on the real numbers.
Step 1: . If , then , so is not the th root of . So .
Step 2: a bound on . Let . By the binomial theorem,
since every term of the sum is non-negative. Dividing by gives , and since square roots preserve order on non-negative numbers, .
Step 3: squeeze. The sequence (for ) tends to : it is with , and shifting the index does not change a limit. By Problem 5, . By the squeeze theorem, , so .
The terms are not monotone: , , , , and from on they decrease. Monotone convergence could also be used from , but it would not identify the limit without an argument like this one.
13. Prove that if , then the averages also converge to . Show by an example that can converge when does not.
Hint
First reduce to by considering . Then split the sum at a position beyond which is small: the early terms contribute a fixed amount divided by , and the late terms contribute an average of small numbers.
Solution
Reduction. Let , so , and the averages of are . So it is enough to prove: if , then .
Main step. Let . Choose with for all . Let , a fixed number (zero if ). By the Archimedean property choose with . Let . By the triangle inequality,
using . Since was arbitrary, , and so .
The converse fails. Let , which diverges. The partial sums are , so , and by the squeeze theorem.
The averages are called Cesàro means, after Ernesto Cesàro. Averaging smooths out oscillation, which is why it can create convergence, and the theorem says it never destroys it.
14. Let . Prove that is increasing and bounded above by , and deduce that it converges.
Hint
Expand by the binomial theorem and write the th term as . Compare term by term with . For the bound, use .
Solution
The expansion. By the binomial theorem,
where for the empty product is . Write for this th term.
Increasing. For , , and both are non-negative, so each factor of is at most the corresponding factor of , and therefore for . Also has one more term, . Hence
Bounded. Each factor lies in , so . And for , by induction: , and . So
using the finite geometric sum .
Convergence. The sequence is increasing and bounded above, so by the monotone convergence theorem it converges, to a number between and . That number is , the base of the natural logarithm. Its first terms show how slowly the sequence approaches it: , , , . The theorem produced the number with no formula for it, which is what completeness is for.