Sequences
A sequence is an infinite list of numbers \(a_1, a_2, a_3, \dots\), written \((a_n)\). Formally it's a function from the natural numbers to the reals: the rule \(n \mapsto a_n\). Some sequences settle down towards a value, some swing back and forth, and some run off to infinity.
\(a_n = 1/n\)Settles towards 0.
\(a_n = (-1)^n\)Never settles.
\(a_n = (1 + \frac1n)^n\)Rises towards \(e\).
\(a_n = \sqrt n\)Grows without bound.
The definition of a limit
"\(a_n\) gets closer and closer to \(L\)" isn't good enough: the terms \(1/n\) get closer and closer to \(-1\) too, they just never get close. What we want is that the terms get as close as you like to \(L\) and stay that close. Think of it as a game. A sceptic names a tolerance \(\varepsilon\), however small. You must answer with a point \(N\) in the sequence beyond which every term is within \(\varepsilon\) of \(L\). If you can always answer, the limit is \(L\).
Definition
The sequence \((a_n)\) converges to \(L\), written \(a_n \to L\) or \(\lim_{n\to\infty} a_n = L\), if for every \(\varepsilon > 0\) there is an \(N\) such that
\[ |a_n - L| < \varepsilon \quad\text{for all } n \ge N. \]Here's the game played three times for \(a_n = 1 + (-1)^n\cdot\tfrac2n\), which zigzags towards 1:
Swipe or scroll sideways to step through.
\(\varepsilon = 0.5\)
The band is \((0.5, 1.5)\). From \(N = 5\) on, every term lies inside it.
\(\varepsilon = 0.25\)
A narrower band. Now we need to wait until \(N = 9\).
\(\varepsilon = 0.1\)
Narrower still: \(N = 21\) works. However thin the band, some \(N\) works.
A smaller \(\varepsilon\) needs a later \(N\), and that's fine: \(N\) is allowed to depend on \(\varepsilon\). What matters is that some \(N\) works for every \(\varepsilon\). Here the terms differ from 1 by exactly \(\tfrac2n\), so any \(N > \tfrac2\varepsilon\) works.
Reading the definition
"For every \(\varepsilon\) there is an \(N\)" means the order matters: \(\varepsilon\) is chosen first, then \(N\). Changing finitely many terms never affects the limit, since you can always choose \(N\) beyond them. A limit describes only the "tail" of the sequence.
Proving a limit
Proofs of limits have a standard shape: work backwards from \(|a_n - L| < \varepsilon\) on scrap paper to find a suitable \(N\), then write the argument forwards.
Example 1: \(\frac1n \to 0\)
We need \(|\tfrac1n - 0| = \tfrac1n < \varepsilon\), that is, \(n > \tfrac1\varepsilon\). Proof: given \(\varepsilon > 0\), the Archimedean property (Unit 1) gives an integer \(N > \tfrac1\varepsilon\). For \(n \ge N\), \(\tfrac1n \le \tfrac1N < \varepsilon\). ∎
Example 2: \(\frac{2n + 1}{n + 3} \to 2\)
Scrap work: \(\left|\frac{2n + 1}{n + 3} - 2\right| = \left|\frac{2n + 1 - 2n - 6}{n + 3}\right| = \frac{5}{n + 3} < \frac5n\). So it's enough to have \(\tfrac5n < \varepsilon\), that is, \(n > \tfrac5\varepsilon\).
Proof: given \(\varepsilon > 0\), choose an integer \(N > \tfrac5\varepsilon\). For \(n \ge N\), \(\left|\frac{2n + 1}{n + 3} - 2\right| = \frac{5}{n + 3} < \frac5n \le \frac5N < \varepsilon\). ∎
Notice the trick in Example 2: we didn't solve \(\frac5{n + 3} < \varepsilon\) exactly. We replaced the expression with something simpler and bigger. Finding some \(N\) is all that's needed, not the best one. Generous estimates are the analyst's main tool.
Sequences that don't converge
A sequence that doesn't converge is said to diverge. To prove that \((-1)^n\) diverges, suppose it converges to some \(L\) and play the game with \(\varepsilon = 1\). Eventually every term would be within 1 of \(L\). But consecutive terms are \(1\) and \(-1\), which are 2 apart, and two numbers both within 1 of \(L\) are less than 2 apart (triangle inequality). Contradiction.
Some divergent sequences diverge in a definite direction. We write \(a_n \to \infty\) if for every \(M\), however large, there's an \(N\) with \(a_n > M\) for all \(n \ge N\). For example \(\sqrt n \to \infty\): given \(M\), take \(N > M^2\). Saying "the limit is \(\infty\)" is a convenient shorthand, but \(\infty\) is not a real number and such sequences do not converge.
Two basic facts
(1) A sequence has at most one limit. (2) Every convergent sequence is bounded: there's an \(M\) with \(|a_n| \le M\) for all \(n\).
Proof
(1) If \(a_n \to L\) and \(a_n \to L'\), take \(\varepsilon = \tfrac12|L - L'|\). Far enough along, a single term \(a_n\) is within \(\varepsilon\) of both, so \(|L - L'| \le |L - a_n| + |a_n - L'| < 2\varepsilon = |L - L'|\), impossible unless \(L = L'\).
(2) Take \(\varepsilon = 1\): for \(n \ge N\), \(|a_n| < |L| + 1\). The finitely many earlier terms are bounded by their largest size. Take \(M\) to be the bigger of the two bounds. ∎
The converse of (2) is false: \((-1)^n\) is bounded but doesn't converge. Unit 3 shows what extra condition is enough.
Limit laws
Proving every limit from scratch would be tiresome. Once a few are known, the rest follow from these rules.
Limit laws
If \(a_n \to a\) and \(b_n \to b\), then \(a_n + b_n \to a + b\), \(\;c\,a_n \to c\,a\), \(\;a_nb_n \to ab\), and, if \(b \neq 0\), \(\;a_n/b_n \to a/b\).
Proof of the sum law: an \(\varepsilon/2\) argument
Given \(\varepsilon > 0\), choose \(N_1\) with \(|a_n - a| < \tfrac\varepsilon2\) for \(n \ge N_1\), and \(N_2\) with \(|b_n - b| < \tfrac\varepsilon2\) for \(n \ge N_2\). For \(n \ge \max(N_1, N_2)\), the triangle inequality gives \(|(a_n + b_n) - (a + b)| \le |a_n - a| + |b_n - b| < \varepsilon\). ∎
For products, write \(a_nb_n - ab = a_n(b_n - b) + b(a_n - a)\) and use the fact that \((a_n)\) is bounded.
Example
\(\dfrac{3n^2 - n}{n^2 + 5} = \dfrac{3 - \frac1n}{1 + \frac5{n^2}} \to \dfrac{3 - 0}{1 + 0} = 3\). Dividing top and bottom by the highest power of \(n\) turns the expression into pieces whose limits we know.
Limits also respect order: if \(a_n \le b_n\) for all \(n\) and both converge, then \(\lim a_n \le \lim b_n\). But strict inequalities can become equalities in the limit: \(\tfrac1n > 0\) for every \(n\), yet the limit is 0.
The squeeze theorem
The squeeze theorem
If \(a_n \le b_n \le c_n\) for all \(n\), and \(a_n \to L\) and \(c_n \to L\), then \(b_n \to L\) too.
Squeezing is how you handle sequences that are too irregular to estimate directly: trap them between two simple sequences with the same limit.
Limits worth knowing
| Sequence | Limit | Why |
|---|---|---|
| \(r^n\), with \(|r| < 1\) | 0 | Repeatedly shrinking by a fixed factor. (Bernoulli: \((1 + h)^n \ge 1 + nh\).) |
| \(\sqrt[n]{a}\), with \(a > 0\) | 1 | Taking ever higher roots pulls everything towards 1. |
| \(\sqrt[n]{n}\) | 1 | \(n\) grows, but much more slowly than powers. |
| \(n^p/r^n\), with \(r > 1\) | 0 | Exponentials beat powers. |
| \(r^n/n!\) | 0 | Factorials beat exponentials. |
| \((1 + \frac xn)^n\) | \(e^x\) | Compound interest; proved for \(x = 1\) in Unit 3. |
The pecking order is worth memorising: for large \(n\), \(\;\log n \ll n^p \ll r^n \ll n! \ll n^n\), where each one divided by the next tends to 0 (for any \(p > 0\) and \(r > 1\)).
Going deeper: proving \(r^n \to 0\)
For \(0 < r < 1\), write \(\tfrac1r = 1 + h\) with \(h > 0\). By the binomial theorem, \((1 + h)^n \ge 1 + nh > nh\), so \(0 < r^n < \tfrac1{nh}\). Since \(\tfrac1{nh} \to 0\), the squeeze theorem gives \(r^n \to 0\). For negative \(r\), apply this to \(|r|^n = |r^n|\). Notice how much the "replace by something bigger and simpler" idea does: we never needed to know how fast \(r^n\) actually shrinks.
Practice set
Mixed questions covering the whole unit. Try each one before opening the answer.
1. Prove from the definition that \(\dfrac{n}{n + 1} \to 1\).
Show answer
\(\left|\frac{n}{n + 1} - 1\right| = \frac1{n + 1} < \frac1n\). Given \(\varepsilon > 0\), take an integer \(N > \tfrac1\varepsilon\); then for \(n \ge N\) the difference is less than \(\tfrac1N < \varepsilon\).
2. For \(a_n = \frac{1}{n^2}\) and \(\varepsilon = 0.0001\), find an \(N\) that works.
Show answer
We need \(\tfrac1{n^2} < 0.0001\), that is, \(n^2 > 10{,}000\), so \(n > 100\). \(N = 101\) works (any larger \(N\) does too).
3. Find \(\displaystyle\lim_{n\to\infty} \frac{5n^3 + 2n}{2n^3 - 7}\).
Show answer
Divide top and bottom by \(n^3\): \(\frac{5 + 2/n^2}{2 - 7/n^3} \to \frac52\).
4. Does \(a_n = \frac{(-1)^n n}{n + 1}\) converge?
Show answer
No. The even terms approach 1 and the odd terms approach \(-1\). Taking \(\varepsilon = \tfrac12\), no single \(L\) can be within \(\tfrac12\) of terms near 1 and terms near \(-1\).
5. Use the squeeze theorem to find \(\lim \dfrac{\cos(n^2)}{\sqrt n}\).
Show answer
\(-\frac1{\sqrt n} \le \frac{\cos(n^2)}{\sqrt n} \le \frac1{\sqrt n}\), and both bounds tend to 0. So the limit is 0.
6. True or false: if \(|a_n| \to 0\) then \(a_n \to 0\). And if \(|a_n| \to 1\), must \(a_n\) converge?
Show answer
True: \(|a_n - 0| = |a_n|\), so the two statements are literally the same. False for the second: \((-1)^n\) has \(|a_n| = 1\) but diverges.
Summary and glossary
- \(a_n \to L\) means: for every \(\varepsilon > 0\) there's an \(N\) with \(|a_n - L| < \varepsilon\) for all \(n \ge N\). Every term in the tail lies in the \(\varepsilon\)-band around \(L\).
- To prove a limit, estimate \(|a_n - L|\) by something simpler and bigger, then choose \(N\).
- Limits are unique; convergent sequences are bounded (but bounded sequences need not converge).
- Limit laws handle sums, products and quotients; the squeeze theorem handles irregular sequences.
- Growth order: \(\log n \ll n^p \ll r^n \ll n!\).
- Sequence
- An infinite list \(a_1, a_2, a_3, \dots\)
- Converges
- Has a limit \(L\) in the sense of the \(\varepsilon\)–\(N\) definition.
- Diverges
- Does not converge.
- Tends to infinity
- Eventually exceeds any given number and stays above it.
- Bounded
- All terms lie within some fixed distance \(M\) of 0.
- Squeeze theorem
- A sequence trapped between two sequences with the same limit has that limit too.