← Chapter 4 §4.2 Limits and Continuity 极限与连续 · Chapter 4 · Differentiation of Functions of Several Variables

Calculus Volume 3 · Chapter 4 · Section 4.2

Limits and Continuity

On a line you reach a point from two sides. In the plane you can arrive from every direction — and a limit has to agree on all of them.

Colour key graph of f a path, the δ disc a second path the limit, the ε band key idea · drag a 3D figure to turn it · page links open the textbook

Level 1 · see itWhat a limit in the plane asksbefore any law

Does the height settle at the origin?

f(x,y)=2xy3x2+y2f(x,y)=\dfrac{2xy}{3x^2+y^2} has no value at (0,0)(0,0) (Example 4.9). Walk toward the origin two ways:

  1. Along y=0y=0: f=0f=0 at every step.
  2. Along y=xy=x: f=12f=\tfrac12 at every step.

Two ways in, two heights: there is no single number to approach.

20%
The graph is a fan of level lines through the zz-axis. Drag to turn.

Close means inside a small disc

δ disc · p317 (xa)2+(yb)2<δ2 (x-a)^2+(y-b)^2<\delta^2

The plane's version of aδ<x<a+δa-\delta<x<a+\delta.

Limit · p317 lim(x,y)(a,b)f(x,y)=L \lim_{(x,y)\to(a,b)}f(x,y)=L

For every ε>0\varepsilon>0 there is a δ>0\delta>0 so that every point of the δ disc, except (a,b)(a,b) itself, has f(x,y)L<ε|f(x,y)-L|<\varepsilon.

Every point of the disc — not just the points on one line.

Pick an ε band around LL (red). A small enough δ disc (green) lifts entirely into it (Figure 4.15).

Infinitely many ways in

On a line, xax\to a from the left or the right. In the plane, (x,y)(a,b)(x,y)\to(a,b) along any line, any curve, even a spiral.

Example 4.9b (p321): f=4xy2x2+3y4f=\dfrac{4xy^2}{x^2+3y^4} tends to 0 along every line y=kxy=kx, yet equals 1 all along the parabola x=y2x=y^2 (p322).

Paths that disagree prove there is no limit. Paths that agree — even all the lines — prove nothing.

The level curves are parabolas x=ky2x=ky^2, at height 4k/(k2+3)4k/(k^2+3). Near the origin every line slides across them toward height 0.

Continuous: no hole, no split

ff is continuous at (a,b)(a,b) when (p325)

  1. f(a,b)f(a,b) exists,
  2. lim(x,y)(a,b)f(x,y)\lim_{(x,y)\to(a,b)}f(x,y) exists,
  3. and the two are equal.

A missing value can be filled in. A limit that splits by direction cannot be repaired.

sin(x2+y2)/(x2+y2)1\sin(x^2+y^2)/(x^2+y^2)\to1 at the origin (Exercise 96), but the formula has no value there.

One picture

Level curves of 2xy/(3x2+y2)2xy/(3x^2+y^2) are lines through the origin. Every height from 0.58-0.58 to 0.580.58 arrives at (0,0)(0,0).

A limit exists only when every way in arrives at the same height.

Level 2 · compute itLaws, boundaries, continuityand four labs

Limit laws: substitute when nothing breaks

Theorem 4.1 (p318), with limf=L\lim f=L and limg=M\lim g=M at (a,b)(a,b).

lawlimit
constant, identitylimc=c,limx=a,limy=b\lim c=c,\quad \lim x=a,\quad \lim y=b
sum, difference, multiplelim(f±g)=L±M,limcf=cL\lim(f\pm g)=L\pm M,\quad \lim cf=cL
product, quotientlimfg=LM,limf/g=L/M  (M0)\lim fg=LM,\quad \lim f/g=L/M\ \ (M\ne0)
power, rootlimfn=Ln,limfn=Ln\lim f^n=L^n,\quad \lim\sqrt[n]{f}=\sqrt[n]{L}

Polynomials, and quotients whose bottom is not 0, take their limit by substitution. A 0/0 is where the work starts.

Examples 4.8–4.13

Examplegivenresult
4.8a · p319x22xy+3y24x+3y6x^2-2xy+3y^2-4x+3y-6 at (2,1)(2,-1)6-6
4.8b · p3202x+3y4x3y\dfrac{2x+3y}{4x-3y} at (2,1)(2,-1)bottom 110\to11\ne0: 111\tfrac1{11}
4.9a · p3202xy3x2+y2\dfrac{2xy}{3x^2+y^2} at (0,0)(0,0)y=0y=0: 0; y=xy=x: 12\tfrac12 — does not exist
4.9b · p3214xy2x2+3y4\dfrac{4xy^2}{x^2+3y^4} at (0,0)(0,0)every line: 0; x=y2x=y^2: 1 — does not exist
4.10 · p32325x2y2\sqrt{25-x^2-y^2} at the boundary point (4,3)(4,3)00
4.11 · p3253x+2yx+y+1\dfrac{3x+2y}{x+y+1} at (5,3)(5,-3)f(5,3)=3=f(5,-3)=3= limit: continuous
4.12 · p3264x3y24x^3y^2, cos(4x3y2)\cos(4x^3y^2)continuous everywhere
4.13 · p327x2y3z2x+5yz\dfrac{x^2y-3z}{2x+5y-z} at (4,1,3)(4,1,-3)bottom 16, top 25: 2516\tfrac{25}{16}

Substitute first. A 0/0 means: try two paths to disprove, or simplify, bound or use polar coordinates to prove.

Interior, boundary, open, closed

Points · p322

Interior: some δ disc around it lies inside SS. Boundary: every δ disc holds points of SS and points outside.

Sets · p323

Open: every point is interior. Closed: contains its boundary. Region: open, connected, nonempty.

At a boundary point of the domain, only the points inside the domain count (Example 4.10): 25x2y20\sqrt{25-x^2-y^2}\to0 at (4,3)(4,3).

Figure 4.17 (p322): (1,1)(-1,1) is interior, (2,3)(2,3) is on the boundary.

Lab 1 · approach along a path

function
path
45° 1 30%

Try: Example 4.9a, turn the line — the limit changes with θ. Example 4.9b: every line gives 0; switch to the parabola with k = 1. Exercise 95: nothing you try disagrees.

Lab 2 · the ε–δ game

claim
0.3 1

You pick ε; the claim survives if some δ keeps every point of the disc inside the band. Red dots are points that break it.

Lab 3 · continuous or not?

at (0, 0)

conditionhere
1 · f(0,0)f(0,0) exists
2 · the limit exists
3 · they are equal

Three or more variables · Lab 4

δ ball · p327 (xx0)2+(yy0)2+(zz0)2<δ2 (x-x_0)^2+(y-y_0)^2+(z-z_0)^2<\delta^2

The same definition and laws; the disc becomes a ball.

Example 4.13 · p327 lim(x,y,z)(4,1,3)x2y3z2x+5yz=2516 \lim_{(x,y,z)\to(4,1,-3)}\frac{x^2y-3z}{2x+5y-z}=\frac{25}{16}

Bottom 160\to16\ne0, top 25\to25.

1.5

The grey plane 2x+5yz=02x+5y-z=0 is where the bottom is 0. The point is 16/302.9216/\sqrt{30}\approx2.92 from it.

Common mistakes

MistakeResultFix
Two paths agree, so the limit existsExample 4.9b: every line gives 0, still no limitagreement proves nothing; prove with a bound
Trying only lines y=kxy=kxmissing x=y2x=y^2, where Example 4.9b is 1try curves too, or polar coordinates
"0/0, so no limit"sin(x2+y2)/(x2+y2)1\sin(x^2+y^2)/(x^2+y^2)\to10/0 means work to do
Quotient law with a bottom tending to 0a wrong or meaningless valuecheck the bottom first: 11 in Example 4.8b
Continuity from the limit alonex2y/(x2+y2)x^2y/(x^2+y^2) has limit 0 but no value at the originall three conditions
Polar limit that still depends on θ2cosθsinθ/(3cos2θ+sin2θ)2\cos\theta\sin\theta/(3\cos^2\theta+\sin^2\theta) called "the limit"a θ left over means no limit

Practice and answers

Exercises from p328; the book's key: p861862, p866867.

Checkpoints 4.6–4.11
#taskanswer
4.6limx2yy2+x13\lim\sqrt[3]{\dfrac{x^2-y}{y^2+x-1}} at (5,2)(5,-2)27/83=32\sqrt[3]{27/8}=\tfrac32
4.7(x2)(y1)(x2)2+(y1)2\dfrac{(x-2)(y-1)}{(x-2)^2+(y-1)^2} at (2,1)(2,1)along y1=k(x2)y-1=k(x-2): k1+k2\tfrac{k}{1+k^2}, so no limit
4.829x2y2\sqrt{29-x^2-y^2} at (5,2)(5,-2)00 (a boundary point)
4.9262x2y2\sqrt{26-2x^2-y^2} continuous at (2,3)(2,-3)f(2,3)=9=3=f(2,-3)=\sqrt{9}=3= limit (the key prints 16 for 26)
4.102x2y3+32x^2y^3+3 and (2x2y3+3)4(2x^2y^3+3)^4products, sums, a composition: continuous everywhere
4.1113x22y2+z2\sqrt{13-x^2-2y^2+z^2} at (4,1,3)(4,-1,3)4=2\sqrt4=2
Exercises
#taskanswer
615x2yx2+y2\dfrac{5x^2y}{x^2+y^2} at (1,2)(1,2)22
634x2+10y2+44x210y2+6\dfrac{4x^2+10y^2+4}{4x^2-10y^2+6} at (0,0)(0,0)23\tfrac23
65y2sinxx\dfrac{y^2\sin x}{x} at (0,1)(0,1)11
67ytanxy+1\dfrac{y\tan x}{y+1} at (π/4,1)(\pi/4,1)12\tfrac12
691x5y\tfrac1x-\tfrac5y at (2,5)(2,5)12-\tfrac12
71ex2y2e^{-x^2-y^2} at (4,4)(4,4)e32e^{-32}
73x2y3x3y2+3x+2yx^2y^3-x^3y^2+3x+2y at (1,2)(1,2)1111
75xy+1x2+y2+1\dfrac{xy+1}{x^2+y^2+1} at (0,0)(0,0)11
77ln(x2+y2)\ln(x^2+y^2) at (0,0)(0,0)does not exist: \to-\infty
79a boundary point of RR is …one whose every open disc holds points inside and outside RR
81x44y4x2+2y2\dfrac{x^4-4y^4}{x^2+2y^2} at (0,0)(0,0)00: it equals x22y2x^2-2y^2
83x2xyxy\dfrac{x^2-xy}{\sqrt x-\sqrt y} at (0,0)(0,0)00: it equals x(x+y)x(\sqrt x+\sqrt y)
85x2y2z2x2+y2z2\dfrac{x^2-y^2-z^2}{x^2+y^2-z^2} at the origindoes not exist: xx-axis 1, yy-axis 1-1
87xy+y3x2+y2\dfrac{xy+y^3}{x^2+y^2} at (0,0)(0,0)does not exist: axes 0, y=2xy=2x gives 25\tfrac25
89x2yx4+y2\dfrac{x^2y}{x^4+y^2} at (0,0)(0,0)does not exist: axes 0, y=x2y=x^2 gives 12\tfrac12
91ln(x+y)\ln(x+y)continuous where y>xy>-x
931/(xy)1/(xy)continuous where x0x\ne0 and y0y\ne0
95x2yx2+y2\dfrac{x^2y}{x^2+y^2}, with f(0,0)=0f(0,0)=0continuous at (0,0)(0,0): fy|f|\le|y|
97x2y2x2+y2\dfrac{x^2-y^2}{x^2+y^2} at (0,0)(0,0)discontinuous: no limit, no value
99arctanxy2x+y\arctan\dfrac{xy^2}{x+y}continuous except on y=xy=-x
101x2+y22z2x^2+y^2-2z^2continuous at every point of space
1031x2+y2\dfrac1{x^2+y^2} at (0,0)(0,0)no limit: grows without bound (Lab 3)
107sinx2+y2x2+y2\dfrac{\sin\sqrt{x^2+y^2}}{\sqrt{x^2+y^2}} at (0,0)(0,0)11: in polar form sinr/r\sin r/r
109f(g(x,y))f(g(x,y)), f(t)=1/tf(t)=1/t, g=2x5yg=2x-5ycontinuous off the line 2x5y=02x-5y=0
111limh0f(1+h,y)f(1,y)h\lim_{h\to0}\frac{f(1+h,y)-f(1,y)}{h}, f=x24yf=x^2-4y22
Level 3 · why it worksProving and disproving limitsshort arguments

Polar coordinates settle it

Put x=rcosθx=r\cos\theta, y=rsinθy=r\sin\theta. Then (x,y)(0,0)(x,y)\to(0,0) means r0r\to0, for every θ\theta at once (Exercise 107).

2xy3x2+y2=2cosθsinθ3cos2θ+sin2θ \frac{2xy}{3x^2+y^2}=\frac{2\cos\theta\sin\theta}{3\cos^2\theta+\sin^2\theta}

No rr at all: each direction keeps its own height. No limit.

x2yx2+y2=rcos2θsinθr0 \Bigl|\frac{x^2y}{x^2+y^2}\Bigr|=r\cos^2\theta\,|\sin\theta|\le r\to0

A bound in rr alone: the limit is 0, and Exercise 95 is continuous.

A limit is proved by a bound that shrinks with rr whatever θ\theta does.

Why every line is not enough

On the parabola x=ky2x=ky^2, Example 4.9b has one height:

4xy2x2+3y4x=ky2=4kk2+3,largest 231.15 at k=3. \frac{4xy^2}{x^2+3y^4}\Big|_{x=ky^2}=\frac{4k}{k^2+3},\qquad \text{largest } \frac{2}{\sqrt3}\approx1.15 \text{ at } k=\sqrt3 .

A line y=mxy=mx near the origin sits on the parabola with k=1/(m2x)k=1/(m^2x), and kk\to\infty as x0x\to0: its height 4k/(k2+3)04k/(k^2+3)\to0.

Every line slips toward the flat parabolas at height 0; the ridge at height 1 is never on a line.

Why the sum law holds

Given ε\varepsilon, take δ1\delta_1 with fL<ε/2|f-L|<\varepsilon/2 and δ2\delta_2 with gM<ε/2|g-M|<\varepsilon/2 (p319). Inside the disc of radius δ=min(δ1,δ2)\delta=\min(\delta_1,\delta_2):

f+g(L+M)fL+gM<ε. |f+g-(L+M)|\le|f-L|+|g-M|<\varepsilon .

The identity law: xa(xa)2+(yb)2<δ|x-a|\le\sqrt{(x-a)^2+(y-b)^2}<\delta, so δ=ε\delta=\varepsilon works.

Each law is the one-variable proof with xa|x-a| replaced by the distance in the plane.

Continuity survives composition

Theorems 4.2–4.4 (p326): if gg is continuous at (x0,y0)(x_0,y_0) and ff is continuous at g(x0,y0)g(x_0,y_0), then fgf\circ g is continuous there. Close inputs give close values of gg, which give close values of ff.

Example 4.12: 4x34x^3 and y2y^2 are continuous, so 4x3y24x^3y^2 is; cos\cos is continuous, so cos(4x3y2)\cos(4x^3y^2) is, everywhere.

Build a function from continuous pieces and it stays continuous — except where a piece is undefined.