Sequences and Convergence
Learning Objectives
- Describe a sequence as a function on the natural numbers, given by an explicit formula or by a recurrence.
- State the - definition of convergence, read its quantifiers correctly, and use it to find for a given tolerance.
- Compute limits of sequences with the limit laws, the squeeze theorem, and continuous functions, checking each hypothesis.
- State the monotone convergence theorem, use it on a recursively defined sequence, and show that dropping either hypothesis breaks the conclusion.
- Explain why "consecutive terms get close together" does not imply convergence, and what that means for stopping rules in iterative algorithms.
Context & Motivation
The previous lesson, improper-integrals, took a limit as a continuous variable grew without bound. Much of computing replaces that continuous variable by a step counter: Newton's method refines an estimate one iteration at a time, gradient descent produces a list of parameter vectors, a running average is recomputed as data arrives. In each case the question is the same: does the list of numbers settle down, and to what?
A sequence is a list of real numbers, formally a function from to , written . The terms may be given by a formula, such as , or by a rule that builds each term from the previous ones, such as with . Where the sequence starts (index or ) is a matter of convenience and does not affect anything below. Limits of functions as were studied in limits-at-infinity-and-asymptotic-growth; here the variable only takes integer values, which makes some arguments easier and a few statements different.
Core Theory
The definition of convergence
The sequence converges to if for every there is an index such that
In words: whatever tolerance you demand, the terms are eventually inside it and stay inside. The order of the quantifiers matters. The index is allowed to depend on , and it usually must, since a smaller tolerance needs a later start. A sequence that does not converge to any real number diverges. This includes sequences that grow without bound (we may write as shorthand, but the limit is not a real number) and sequences that oscillate, like .
Two basic facts follow. A limit is unique. And a convergent sequence is bounded, because after index all terms lie within of , and only finitely many terms come before. The converse is false: is bounded and diverges.
Changing finitely many terms never changes whether a sequence converges, or its limit. This is why statements such as "the sequence is monotone from some point on" are enough in proofs.
Computing limits
If and , then , , and provided (and ). For a constant , . These mirror the limit laws for functions, and they are only valid when both limits exist: splitting a sum into two divergent pieces proves nothing.
Squeeze theorem. If for all and , , then .
Continuous functions. If , every lies in the domain of , and is continuous at , then . Continuity at is essential. Let for and . Then and for all , so .
From functions to sequences. If as and , then . The converse fails: converges, while has no limit as .
The monotone convergence theorem
A sequence is nondecreasing if for all , and nonincreasing if . The theorem:
If is nondecreasing and bounded above, it converges. If it is nonincreasing and bounded below, it converges.
When it converges, the limit of a nondecreasing sequence is the least upper bound of its terms. This is the great convenience of the theorem: it proves a limit exists without knowing what it is. Both hypotheses are needed. The sequence is monotone and not bounded, and it diverges. The sequence is bounded and not monotone, and it also diverges. The upper bound is also not the limit in general: is bounded above by and converges to .
The theorem depends on the real numbers having no gaps. Inside the rational numbers it fails: the sequence of fractions in Example 3 below is monotone from the second term on and bounded, but its limit is not rational.
A classic use: the sequence is increasing and bounded above by (both facts can be proved with the binomial theorem), so it converges, and its limit is the number :
textn (1 + 1/n)^n 1 2.0 10 2.5937 100 2.7048 1000 2.7169 1000000 2.7183
Worked Examples
Example 1: finding from
Show that . Compute the distance to the proposed limit:
This is below exactly when . So for any , any integer works.
textepsilon n must exceed smallest N 0.1 48 49 0.01 498 499 0.001 4998 4999
Check : at the distance is , while at it is exactly , which is not less than . The proof is complete because the same algebra works for every , not because three values were tested.
Example 2: a recurrence and the monotone convergence theorem
Let and . The first terms are .
Bounded. If then , and . Since , induction gives for all .
Increasing. From ,
and since the terms are positive, .
The limit. By the monotone convergence theorem for some . Only now is it legitimate to take limits on both sides of the recurrence. Because the square root is continuous, , so and or . Every term is at least , so .
The distance is for , shrinking by a factor close to each step (the ratios are ).
Example 3: Newton's iteration for
Start with and set . In exact fractions the terms are . The error , computed to high precision, is:
textn a_n a_n - sqrt(2) 1 1 -0.4142 2 1.5 0.0858 3 1.416667 2.45e-3 4 1.4142157 2.12e-6 5 1.41421356237469 1.59e-12 6 1.41421356237309505 9.0e-25
The number of correct digits roughly doubles at each step. To prove convergence, note that for the arithmetic-geometric mean inequality gives for every . Then for we have , so
The sequence is nonincreasing from and bounded below by , so it converges. (The first term is below , which is why monotonicity starts at .) The limit satisfies , hence .
In double-precision arithmetic the computed iterates stop changing at the sixth term, so the program reaches a fixed point, a concrete version of a sequence that is eventually constant. An exact-fraction version never stops, since the denominators keep growing.
Example 4: squeezing a factorial
Show that . Write . Every factor except the first is at most , so , and both bounds tend to . The squeeze theorem gives the limit. The actual values fall far faster than the bound:
textn n!/n^n 1/n 5 0.0384 0.2 10 3.6288e-04 0.1 20 2.3202e-08 0.05 50 3.4243e-21 0.02
The bound is valid but crude, and a valid crude bound is all the squeeze theorem needs.
Common Misconceptions & Pitfalls
- "A bounded sequence converges." The sequence is bounded by and diverges. Boundedness is half of the monotone convergence theorem, never the whole of it.
- "If the sequence converges." Take . The step is about , and the sequence reaches at with no ceiling. A loop that stops "when successive values differ by less than a tolerance" can stop on a sequence that diverges. The rule is a heuristic; it is justified when the convergence rate is known, as in Example 3.
- "Solve to find the limit." This is valid only after convergence is established. Let and . Solving gives , but the terms are , which grow without bound.
- "The upper bound is the limit." The sequence is bounded by and converges to . Only the least upper bound is the limit of a nondecreasing sequence.
- " does not depend on ." In general it must. In Example 1, goes from to as shrinks from to .
- "If then ." False, as shows. The implication runs from the function to the sequence only.
- "The limit laws split any limit." They apply when each piece converges. For and , both diverge, yet converges.
Summary
A sequence is a function on the natural numbers, and it converges to when for every tolerance the terms eventually stay within of . Convergent sequences have a unique limit and are bounded, though bounded sequences need not converge. Limits are computed with the limit laws (only when each piece converges), the squeeze theorem, and continuous functions (continuous at the limit). The monotone convergence theorem says that a nondecreasing sequence bounded above, or a nonincreasing sequence bounded below, converges, and it is the tool for recurrences whose limit is not known in advance: first prove existence, then solve for the value. Successive terms getting close together is not enough, which matters for stopping criteria. The next lesson, arithmetic-and-geometric-progressions, studies the two simplest families of sequences in closed form and decides exactly when the geometric one converges.