LeoMath

Foundations of calculus · Section 1 of 5

Limits

Saying “arbitrarily close” precisely with ε–δ.

about 8 min

Start from a problem

Problem

an=nn+1 never reaches 1, yet we want to say it "tends to 1". Right now that sentence has no testable meaning: how close counts as close? From which term on?

Without a precise definition, "tends to" is a feeling; it can be neither proved nor refuted. We need one sentence that turns "arbitrarily close" into a statement that can be checked.

Observe

Look at the sequence an=nn+1: 12, 23, 34, 45, …

It never reaches 1, yet it gets ever closer. We want to say "an tends to 1". But what does "ever closer" mean? bn=1−1n also gets closer; cn=1+(−1)nn jumps from side to side and also gets closer. What do these three kinds of "approaching" have in common?

Try it in the experiment below: draw a line ε above 1 and one ε below, forming a band. As you shrink ε, can you always find a term after which every dot stays in the band? Then see why (−1)n fails.

Interactive experimentε–N: trapping a sequence in a band
  • terms inside
  • terms outside
  • band (L − ε, L + ε)
  • after N
∀ε>0 ∃N ∀n>N: |an−L|<εN = 9: term 9 is the last one outside the band; for n > 9, |aₙ − L| < ε (checked up to term 100,000)

What did you observe?Play first, then answer. Read the explanation only after you have thought it through.

  1. 1.For n/(n+1), shrink ε from 0.1 to 0.05 and then 0.02. What is N each time? Can you write N in terms of ε?
  2. 2.Pick 1 + sin n/√n and shrink ε slowly. Does N grow smoothly? Does the definition ask for the smallest N?
  3. 3.Pick (−1)ⁿ and drag L anywhere. Is there an N? Now pick n/(n+1), set L to 0.95 and ε to 0.02.
Conjecture

This: however small an error you allow, from some term onward every term is within that error of 1.

"However small" becomes an arbitrary positive number ε; "from some term onward" becomes an index N. That is what we will turn into a definition.

Definition

Definition 1.1Limit of a sequence

Let (an) be a real sequence and L∈ℝ. If for every ε>0 there exists N∈ℕ such that |an−L|<ε whenever n>N, we say (an) converges to L and write limn→∞⁡an=L.

Mind the order of quantifiers: first an arbitrary ε is given, then we find N. N may depend on ε (usually smaller ε forces larger N). Swapping the order, "there exists N such that for all ε", would demand an=L exactly from some point on, which is a different statement.

Definition 1.2Limit of a function

Let f be defined on a punctured neighbourhood of x0. If for every ε>0 there exists δ>0 such that |f(x)−L|<ε whenever 0<|x−x0|<δ, we write limx→x0⁡f(x)=L.

ε controls the output error, δ controls the input window. The definition says: however accurate you want the output, you can find how accurate the input must be.

Derivation: verifying a limit from the definition

Example 1.1

Show limn→∞⁡nn+1=1.

Let ε>0. We need |nn+1−1|=1n+1<ε, which holds when n+1>1ε. Take N=⌈1ε⌉; then for n>N, 1n+1<1N≤ε.

With ε=0.1 the experiment shows N=9, a little less than the ⌈1/0.1⌉=10 chosen here. That does not matter: the definition only asks that some sufficient N exist. A larger one always works; there is no need to find the smallest.

The pattern is always the same: simplify |an−L| to an expression in n, then solve for how large n must be.

Theorems and proofs

Theorem 1.1Uniqueness of the limit

If lim⁡an=L and lim⁡an=M, then L=M.

Proof

Suppose L≠M and set ε=|L−M|2>0. There are N1,N2 with |an−L|<ε for n>N1 and |an−M|<ε for n>N2. For n>max⁡(N1,N2),

|L−M|≤|L−an|+|an−M|<2ε=|L−M|,

a contradiction.

Theorem 1.2Algebra of limits

If an→L and bn→M, then an+bn→L+M, anbn→LM, and if M≠0, an/bn→L/M.

Proof

We prove the product rule, the most instructive case. Write

anbn−LM=(an−L)bn+L(bn−M).

A convergent sequence is bounded: there is B with |bn|≤B for all n. Given ε>0, choose N so that for n>N, |an−L|<ε2B and |bn−M|<ε2(|L|+1). Then

|anbn−LM|≤|an−L|B+|L||bn−M|<ε2+ε2=ε.
Theorem 1.3Squeeze theorem

If an≤cn≤bn for all large n, and an→L, bn→L, then cn→L.

Proof

Given ε>0, pick N so that for n>N, L−ε<an and bn<L+ε. Then L−ε<an≤cn≤bn<L+ε, i.e. |cn−L|<ε.

Common mistake

The quantifiers do not commute. "For every ε there is N" and "there is N such that for every ε" are different sentences: the second demands that an equal L from some term on. Also, whether a limit exists has nothing to do with whether an ever equals L; nn+1 never equals 1.

Application: a fundamental limit

Application
limx→0⁡sin⁡xx=1.

For 0<x<π2 compare three areas in the unit circle: the triangle 12sin⁡x, the sector 12x, the larger triangle 12tan⁡x. Hence sin⁡x<x<tan⁡x, so cos⁡x<sin⁡xx<1. Since cos⁡x→1, the squeeze theorem finishes the job; for x<0 use that sin⁡xx is even.

This single limit is the entire source of sin′⁡x=cos⁡x in The derivative.

Try it in the plotter →

Remark

A limit is not "the value finally reached" but "the value that can be approached arbitrarily closely". It does not matter that an never equals 1. For the same reason 0.999…=1: it is a limit, not a number that is "slightly short".

Exercises

0 of 2 done

1
Compute limx→0⁡sin⁡3xx.

Enter the exact value; a fraction such as 1/3 is fine.

2
Let f(x)=2x+1. Which δ guarantees |f(x)−3|<ε whenever 0<|x−1|<δ?
Answer to exercise 2

Discussion

Found a mistake, have a question or a suggestion? You can also write to 620026600@qq.com

No comments yet. Share your understanding, ask a question, or point out an error on this page.

Log in to join the discussion