With the definition in hand we want to compute limits, and to compute them without an ε–δ argument every time. In §96 Hardy notes that the whole toolkit of Chapter IV (sums, products, quotients, upper and lower limits, Cauchy’s principle) carries over to x→a. In §97 he stops to answer the objection every beginner raises: why prove that limx→aP(x)=P(a) at all? Why not simply put x=a? The answer is the central idea of this chapter, and it leads straight to continuity.
The idea
A limit at a is a statement about the values of ϕ(x) for xnear a but different from a. It is not a statement about ϕ(a). Hardy gives three small examples, and each breaks the link between “limit” and “value” in a different way.
ψ(x)=[1−x2]. For 0<∣x∣<1 we have 0<1−x2<1, so ψ(x)=0; but ψ(0)=[1]=1. The limit at 0 is 0, the value is 1.
x/x equals 1 for every x=0 and is not defined at 0 (putting x=0 gives 0/0, which means nothing). Its limit at 0 is still 1.
{(x+1)2−1}/x equals x+2 for x=0 and is undefined at 0. Its limit is 2.
ExploreA limit that is not the value
Try this.This is Hardy’s [1−x2] with the claimed limit L=0. Make ε as small as you like and find a δ that works. Notice where the solid dot (the value at 0) is.
f(x)=[1−x2], claim limx→0f(x)=0 at a=0
xy
y = f(x)
band L ± ε
strip of width δ (drag)
escapes the band
For every sampled x with 0<∣x−a∣<δ (δ=0.6), ∣f(x)−0∣<0.3. This δ works for this ε.
What to notice
Any δ≤1 works for every ε: on the punctured strip the function is exactly 0. The isolated point (0,1) never enters the game, because the strip excludes x=0. The limit is 0 even though ψ(0)=1.
So “put x=a” is not a method. When it gives the right answer, as it does for polynomials, that is a theorem about polynomials, and it has to be proved. The proof comes from two tools.
Precise statements
TheoremThe algebra of limitsHardy: Examples XXXV, 1
If ϕ(x)→l and ψ(x)→l′ as x→a, then
ϕ(x)+ψ(x)→l+l′,ϕ(x)ψ(x)→ll′,ψ(x)ϕ(x)→l′l if l′=0.
The same holds for one-sided limits and for x→±∞.
CorollaryPolynomials and rational functionsHardy: Examples XXXV, 6–7
For any polynomial P, limx→aP(x)=P(a). For a rational function R=P/Q, limx→aR(x)=R(a) whenever Q(a)=0.
The corollary follows by building P from the two trivial limits c→c (constants) and x→a with sums and products. Only now are we entitled to “put x=a” in a polynomial.
The second tool handles functions that are not built algebraically.
LemmaThe squeeze
If g(x)≤ϕ(x)≤h(x) for 0<∣x−a∣<δ0, and g(x)→l and h(x)→l as x→a, then ϕ(x)→l.
(Given ε, take δ≤δ0 that works for both g and h; then l−ε<g(x)≤ϕ(x)≤h(x)<l+ε.)
The squeeze proves the most important trigonometric limit. Here everything rests on comparing three areas in a circle of radius 1.
ExploreSqueezing (sinx)/x
Try this.Move the angle x towards 0. Watch the three nested areas on the left, and the blue curve (sinx)/x caught between cosx and 1 on the right.
Three nested areas give sinx<x<tanx for 0<x<21π
x
triangle OAP, area ½ sin x
sector OAP, area ½ x; and y = (sin x)/x
triangle OAT, area ½ tan x; and y = cos x
sinx=0.7833<x=0.9000<tanx=1.2602. Dividing by sinx and inverting: cosx=0.6216<xsinx=0.8704<1. The gap is less than 1−cosx=0.3784.
What to notice
For every angle the green triangle sits inside the blue sector, which sits inside the ochre triangle: 21sinx<21x<21tanx. On the right this becomes cosx<(sinx)/x<1. As x→0 the lower curve rises to 1, so the middle one has nowhere else to go. The hollow dot is a reminder that (sinx)/x has no value at 0.
Theorem(sinx)/x→1Hardy: Examples XXXVI, 13
x→0limxsinx=1.
Finally, §96 transfers the finer theory of Chapter IV. If ϕ is bounded near a, its upper and lower limits as x→a are
For sums use ∣(ϕ+ψ)−(l+l′)∣≤∣ϕ−l∣+∣ψ−l′∣ with 21ε each. For quotients it is enough to show 1/ψ→1/l′; near a we have ∣ψ∣>21∣l′∣, so ∣1/ψ−1/l′∣=∣l′−ψ∣/(∣ψ∣∣l′∣)<2∣ψ−l′∣/∣l′∣2, which is small.
∎
Proof(sinx)/x→1
Strategy
Trap (sinx)/x between cosx and 1 using areas, then show directly that 1−cosx is small. Since (sinx)/x is an even function, positive x suffice.
Compare three areas, for 0<x<21π
In the unit circle let A=(1,0), P=(cosx,sinx), and let the tangent at A meet OP produced at T=(1,tanx). The triangle OAP lies inside the sector OAP, which lies inside the triangle OAT. Their areas are 21sinx, 21x and 21tanx, so sinx<x<tanx. (Hardy notes that the facts about the area of a sector are taken from geometry here and justified properly in Chapter VII.)
Rearrange
Divide by sinx>0: 1<x/sinx<1/cosx. Taking reciprocals, cosx<(sinx)/x<1.
Bound 1−cosx
1−cosx=2sin221x<2(21x)2=21x2, using sint<t from the first step. So 0<1−(sinx)/x<1−cosx<21x2.
Choose δ
Given ε>0 take δ=min(21π,2ε). If 0<∣x∣<δ then, by evenness, ∣(sinx)/x−1∣<21x2<ε.
∎
Worked examples and exercises
Exercise●○○Hardy: Examples XXXVI, 4
Show that
x→1limx3−3x2+2x7−2x5+1=1.Hint
Putting x=1 gives 0/0. Hardy’s hint: x−1 divides both numerator and denominator.
For x=1 the quotient equals (x6+x5−x4−x3−x2−x−1)/(x2−2x−2), a rational function whose denominator is −3=0 at x=1. By the corollary its limit is its value there, (−3)/(−3)=1. Cancelling was legitimate because the limit only involves x=1.
Exercise●○○Hardy: Examples XXXVI, 8
Show that {1+x−1−x}/x→1 as x→0.
Hint
Multiply numerator and denominator by 1+x+1−x.
Solution
For 0<∣x∣<1,
x1+x−1−x=x{1+x+1−x}(1+x)−(1−x)=1+x+1−x2.
As x→0, 1±x→1 (Examples XXXVI, 7: e.g. ∣1+x−1∣=∣x∣/(1+x+1)<∣x∣). So the denominator tends to 2 and the quotient to 1.
Exercise●○○Hardy: Examples XXXVI, 14
Show that (1−cosx)/x2→21 as x→0.
Hint
1−cosx=2sin221x.
Solution
For x=0,
x21−cosx=x22sin221x=21(21xsin21x)2.
As x→0, t=21x→0 with t=0, so (sint)/t→1; by the product rule the square tends to 1, and the whole to 21.
Exercise●●○Hardy: Examples XXXVI, 21
Does y=sin(1/x)/sin(1/x) tend to a limit as x→0?
Hint
Where is y defined? Is it defined at all points of some punctured strip around 0?
Solution
No (on Hardy’s reading). Wherever it is defined, y=1; but it is undefined wherever sin(1/x)=0, that is at x=±1/π,±1/(2π),…, and these points crowd into every strip 0<∣x∣<δ. The definition of a limit as x→a presupposes that ϕ is defined at every x with 0<∣x−a∣<δ for some δ, so the question of a limit does not even arise. (Compare x/x, which is undefined only at the excluded point 0 and does tend to 1. Some modern books allow limits “through the domain of ϕ”, and then the answer would be 1: the point of the example is to make you notice the assumption.)
ExerciseCauchy’s principle for functions●●●Hardy: §96
Prove the principle stated above: ϕ(x) tends to a limit as x→a if and only if for every ε>0 there is a δ>0 with ∣ϕ(x2)−ϕ(x1)∣<ε whenever 0<∣x1−a∣,∣x2−a∣<δ.
Hint
“Only if” is the triangle inequality.
Hint
For “if”, take a sequence xn→a with xn=a. Use Chapter IV’s principle (§84) to get a limit l of ϕ(xn), then show that every x near a gives ϕ(x) near l.
Solution
Only if. If ϕ(x)→l, choose δ for 21ε. Then ∣ϕ(x2)−ϕ(x1)∣≤∣ϕ(x2)−l∣+∣l−ϕ(x1)∣<ε.
If. Take any sequence xn with xn=a and xn→a, for example xn=a+1/n. Given ε, let δ be as in the condition and choose N with 0<∣xn−a∣<δ for n≥N. Then ∣ϕ(xm)−ϕ(xn)∣<ε for m,n≥N, so by Cauchy’s principle for sequences ϕ(xn) tends to a limit l.
Now let ε>0, take the corresponding δ, and choose one n with 0<∣xn−a∣<δ and ∣ϕ(xn)−l∣<ε. For any x with 0<∣x−a∣<δ,
∣ϕ(x)−l∣≤∣ϕ(x)−ϕ(xn)∣+∣ϕ(xn)−l∣<2ε.
As ε is arbitrary, ϕ(x)→l. (Hardy states the condition with ∣x2−a∣<∣x1−a∣≤δ; it is equivalent, since two points at equal distance from a can both be compared with a third point closer to a.)
Check yourself
Check yourselfChoose one
Why is limx→2(x2+3x)=10 true?
Why
Substitution gives the right answer for polynomials, but that fact is the theorem; it is not a definition (it fails for [1−x2] at 0). Being defined at 2 says nothing about nearby values, and monotonicity only gives one-sided limits, which need not agree.
Check yourselfTrue or false?
For x=3, (x2−9)/(x−3)=x+3; therefore limx→3(x2−9)/(x−3)=6, even though the left-hand function is undefined at 3.
Why
True. The two functions agree on every punctured strip around 3, and the limit only looks there. Cancelling the factor x−3 is legitimate precisely because x=3 is excluded.
Check yourselfEnter a number
What is limx→0(sin3x)/x?
Why
(sin3x)/x=3⋅(sint)/t with t=3x→0, t=0. So the limit is 3⋅1=3 (Examples XXXVI, 15 with α=3). Guessing 1 forgets the change of variable.
Check yourselfChoose one
ϕ(x)→0 and ψ(x)→0 as x→a. What can you say about ϕ/ψ?
Why
The quotient rule needs l′=0. With ϕ=cx, ψ=x the quotient tends to c; with ϕ=x, ψ=x2 it tends to ±∞ on the two sides; with ϕ=xsin(1/x), ψ=x it oscillates. This is why “0/0” limits need real work.
Hardy’s language
It is not a statement about the value of ϕ(x) when x = 0. When we make the statement we assert that, when x is nearly equal to zero, ϕ(x) is nearly equal to l.
— G. H. Hardy, §97
Summary
Summary
A limit at a is about values near a, never about the value at a, which may differ ([1−x2]) or not exist (x/x).
Sums, products and quotients (with nonzero denominator limit) of limits behave as expected; hence limx→aP(x)=P(a) for polynomials and limR(x)=R(a) for rational functions where the denominator is not 0.
The squeeze: a function trapped between two functions with the same limit has that limit.
cosx<(sinx)/x<1 for 0<∣x∣<21π, so (sinx)/x→1; consequences include (1−cosx)/x2→21.
Upper and lower limits and Cauchy’s principle carry over from sequences to x→a.