Evanalysis
5.1Embedded interactionEstimated reading time: 11 min

5.1 Sequences and epsilon-N limits

Treat sequences as functions on N, then learn how the epsilon-N definition captures convergence in a precise beginner-readable way.

Course contents

MATH1090: Set theory

Rigorous course notes on logic, sets, number construction, the real numbers, limits, cardinality, and the first algebraic structures, written in linked sections with careful proofs and examples.

Chapter 7Sets with structure1 sections

This note starts chapter 5 by slowing down and making the first limit definition fully explicit. Before talking about limits of functions, first first study limits of sequences. That is the right order: a sequence moves along the number line in discrete steps, so it is the cleanest place to learn how a formal limit definition works.

A sequence is a function, not just a pattern

Many students first meet sequences as lists such as

1,2,3,4,1,2,3,4,\ldots

or

1,12,13,14,1,\frac12,\frac13,\frac14,\ldots

The familiar idea must be reinterpreted in a more precise way.

Definition

Sequence in a set

Let XX be a set. A sequence in XX is a function

NX.N\to X.

If the image of nNn\in N is written xnx_n, then the sequence is denoted (xn)(x_n).

So a sequence is not required to come from a simple formula. The only formal requirement is that each natural number n is assigned an element xnx_n of the target set.

Definition

Rational and real sequences

A sequence of rational numbers is a map NQN\to Q. A sequence of real numbers is a map NRN\to R.

This functional viewpoint matters later. It reminds you that a sequence has a domain, a codomain, and an indexing variable. The dots \ldots are only informal shorthand.

Why limits of sequences come before limits of functions

For a sequence, approaching the limit means going further and further out in the index n. There is only one direction to move: toward larger natural numbers.

That is much simpler than the function-limit situation, where x can approach a point a from the left and the right and through infinitely many real values in between.

So chapter 5 begins with the discrete version:

  • choose a candidate limit LL,
  • choose an error tolerance ε>0\varepsilon>0,
  • ask whether the terms eventually stay inside the band of radius ε\varepsilon around LL.

The formal definition

Definition

Limit of a real sequence

A sequence (xn)(x_n) of real numbers has limit LRL\in R if for every positive real number ε>0\varepsilon>0, there exists NNN\in N such that for all n>Nn>N,

Lxn<ε.|L-x_n|<\varepsilon.

In that case we write

L=limnxnL=\lim_{n\to\infty}x_n

or say that (xn)(x_n) converges to LL.

A natural exercise is to write the definition symbolically. Here it is in compact form:

limnxn=L    ε>0 NN n>N, xnL<ε.\lim_{n\to\infty}x_n=L \iff \forall \varepsilon>0\ \exists N\in N\ \forall n>N,\ |x_n-L|<\varepsilon.

How to read the quantifiers correctly

The definition is easier once you separate its jobs.

  1. ε>0\forall \varepsilon>0: you do not get to choose only one error bar. The sequence must eventually fit inside every positive tolerance band.
  2. NN\exists N\in N: after seeing the chosen ε\varepsilon, you are allowed to pick a tail-starting point NN.
  3. n>N\forall n>N: once you pass that point, every later term must stay inside the band.

So convergence is an eventual-tail statement. The first few terms may behave badly. That does not matter. What matters is the behavior far enough out in the sequence.

Common mistake

N may depend on epsilon, but not on n

When proving convergence, you are allowed to choose NN after the tolerance ε\varepsilon is given. But once NN is fixed, the inequality must hold for every n>Nn>N. You are not allowed to choose a different NN for each later term.

Common mistake

Convergence is not about early terms

Changing finitely many initial terms of a sequence never changes whether the sequence converges, because the definition only cares about the tail n>Nn>N.

First worked example: 1/n \to 0

A basic example is that

11,12,13,14,\frac11,\frac12,\frac13,\frac14,\ldots

has limit 0. Let us write the proof in full.

Worked example

Proving that \lim_{n\to\infty} 1/n = 0

Let ε>0\varepsilon>0 be given. We want |1/n-0|<\varepsilon, that is,

1n<ε.\frac1n<\varepsilon.

This is guaranteed once

n>1ε.n>\frac1\varepsilon.

So choose a natural number NN with N>1/\varepsilon. Then every n>Nn>N satisfies

1n0=1n<ε.\left|\frac1n-0\right|=\frac1n<\varepsilon.

Therefore

limn1n=0.\lim_{n\to\infty}\frac1n=0.

This proof is typical. Start from the quantity you need to make small, simplify it, and then choose NN large enough.

Second worked example: 5n+23n753\frac{5n+2}{3n-7} \to \frac53

A slightly richer example uses a rational-function sequence and proves its limit.

Worked example

Proving that limn5n+23n7=53\lim_{n\to\infty}\frac{5n+2}{3n-7}=\frac53

We compute

5n+23n753=3(5n+2)5(3n7)3(3n7)=413(3n7).\left|\frac{5n+2}{3n-7}-\frac53\right| = \left|\frac{3(5n+2)-5(3n-7)}{3(3n-7)}\right| = \left|\frac{41}{3(3n-7)}\right|.

For large n, the denominator is positive, so

413(3n7)=413(3n7).\left|\frac{41}{3(3n-7)}\right|=\frac{41}{3(3n-7)}.

Now pick NN large enough that 3n72n3n-7\ge 2n whenever n>Nn>N. Then

413(3n7)416n.\frac{41}{3(3n-7)}\le \frac{41}{6n}.

So it is enough to ensure

416n<ε.\frac{41}{6n}<\varepsilon.

Choose NN so large that both 3n72n3n-7\ge 2n and n>41/(6\varepsilon) hold for all n>Nn>N. Then

5n+23n753<ε.\left|\frac{5n+2}{3n-7}-\frac53\right|<\varepsilon.

Hence

limn5n+23n7=53.\lim_{n\to\infty}\frac{5n+2}{3n-7}=\frac53.

The algebra looks longer, but the logical structure is exactly the same as for 1/n: rewrite the error term and make it small by forcing n to be large.

A simple but important special case

For the constant sequence xn=0x_n=0, the limit is immediate.

Worked example

Constant sequences converge to their constant value

Let xn=0x_n=0 for all n. Then for every ε>0\varepsilon>0,

xn0=0<ε|x_n-0|=0<\varepsilon

for every natural number n.

So any natural number can serve as NN, and

limnxn=0.\lim_{n\to\infty}x_n=0.

This small example is worth keeping in mind because it shows what the definition looks like when the error term is already zero.

What convergence means geometrically

If limnxn=L\lim_{n\to\infty}x_n=L, then no matter how narrow a band you draw around LL, the tail of the sequence eventually stays inside it.

Equivalently:

  • you may reject finitely many early terms;
  • afterward the sequence cannot keep escaping the chosen ε\varepsilon-band.

That is why convergence is stronger than “having many terms near LL”. The definition requires all sufficiently late terms to be near LL.

A sequence tail entering an epsilon-band

Figure. Convergence means more than seeing some terms near LL. After a large enough index NN, the whole tail must remain inside the chosen ε\varepsilon-band.

Compare tails interactively

Use the explorer below to change the candidate sequence and the tolerance ε\varepsilon. The useful quantity is the first index NN after which the shown tail stays inside the ε\varepsilon-band around the proposed limit.

Read and try

Test whether a sequence tail stays inside an epsilon-band

The explorer compares convergent and non-convergent sequences by asking whether the tail can be trapped inside a chosen epsilon-band around the candidate limit.

The terms shrink steadily, so once you choose epsilon you can eventually trap every later term inside the band around 0.

Candidate limit L

0

Epsilon ε

0.2

Tail index N

5

Term index nTerm x_nBand check |x_n - L| < ε
11No
20.5No
30.3333No
40.25No
50.2No
60.1667Yes
70.1429Yes
80.125Yes
90.1111Yes
100.1Yes
110.0909Yes
120.0833Yes

Verdict: Starting after N = 5, every checked term stays inside the band around L.

Quick checks

Quick check

In the definition of limnxn=L\lim_{n\to\infty}x_n=L, what is the role of N?

Answer in terms of the tail of the sequence.

Solution

Answer

Quick check

Why does changing the first ten terms of a convergent sequence never destroy convergence?

Look at which indices the definition actually controls.

Solution

Answer

Quick check

For the sequence xn=0x_n=0, can the same N work for every epsilon?

Use the fact that the error term is always zero.

Solution

Answer

Exercises

Quick check

Write the sequence-limit definition entirely in symbols.

Do not omit the order of the quantifiers.

Solution

Guided solution

Quick check

Show directly from the definition that \lim_{n\to\infty} 1/(2n)=0.

Compare it with the proof for 1/n.

Solution

Guided solution

Quick check

Why is it not enough for infinitely many terms of a sequence to lie close to L?

Contrast “infinitely many” with “all sufficiently late”.

Solution

Guided solution

Read this after 4.6 Decimal expansions and irrational numbers and 4.3 Completeness and gaps in Q. Then continue to 5.2 Cauchy sequences and another model of the reals.

Key terms in this unit