Loading [MathJax]/jax/output/HTML-CSS/jax.js

Limits and Continuity

Definition: A set UR is open when

aU,r>0,(ar,a+r)U

Proposition:

  1. R and are open.
  2. For any {Uι}ιI family of open sets, ιIUι is open.
  3. If U1,,Uk are open, then U1Uk is open.

Proof:

  1. is open because the definition holds vacuously.
  2. Let U:={Uι}ιI be a family of open sets and aU. Let ιuI be such that aUιu. By the openness of Uιu, we can choose r>0 such that (ar,a+r)U. .
  3. Given U1,,Uk open sets and aU1Uk there are r1,,rk>0 such that (arj,a+rj)Uj for j=1k. Set r=min{r1,,rk}. Then, (ar,a+r)(arj,a+rj)Uj,j. So (ar,a+r)U1Uk.

Example: The infinite intersection of open sets is not open. Consider Un=(1/n,1/n) for nZ+. Then Un is open, n1, but n=1Un={0}, which is not open.

Proposition: Any open interval in R is an open set.

Proof: If I=(,), then I=R, which is open. So suppose otherwise. Let a,bR and WLOG, suppose a<b. Let c(a,b). Choose r=min{ca,bc}. Let x(cr,c+r). Then acr<x<c+rb, so x(a,b). So (cr,c+r)(a,b), so (a,b) is open.

Proposition: Any closed interval is a closed set.

Proof: For any closed interval [a,b], one has R[a,b]=(,a)(b,), which is an open set. $\blacksquare

If (a,), choose r=ca, and if (,b), choose r=bc.

Definition: A set FR is closed, when RF is open.

Proposition:

  1. R and are closed.
  2. If {Fι}ιI are closed sets, then ιIFι is closed.
  3. If F1,,Fk are closed, then F1Fk is closed.

Proof: TODO.

Definition: A point aR is a limit point of a set AR when (xn)n=1A{a} such that limnxn=a.

Theorem 1: A set X is closed if and only if

[x0R,(xn)n=1,limnxn=x0]x0X

That is, a set is closed if and only if it contains all its limit points.

Proof: () Assume XR is closed, and let x0R and (xn)n=1X be such that limnxn=x0. Suppose x0X. Then x0RX, which is open. Choose ϵ>0 such that (x0ϵ,x0+ϵ)RX. Then, nZ+, |xnx0|ϵ, contradicting the assumption that limxn=x0.

() Assume the right side and suppose for the sake of contradiction that X is not closed. Then RX is not open. Choose x0RX such that a neighborhood (x01/n,x0+1/n)RX. Then, xnX such that |xnx0|t1/n. So the sequence (xn) converges to x0, and hence x0X, by assumption; a contradiction.

Definition: A set KR is compact, when (xn)nK, (xnk)k(xn)n convergent to an element of K.

Proposition: Every closed interval is a compact set.

Proof: Let I=[a,b], with a<b since if a=b then I is a singleton and there is nothing to show. Let (xn)n[a,b]. By Bolzano-Weistress, we can choose a subsequence (xnk)k(xn)n such that limkxnk=x0R. By the above theorem and since I=ˉI, it follows that x0I.

Theorem (Heine-Borel): A set KR is compact iff K is closed and bounded.

Proof: () Assume K is closed and bounded. Let S=(xn)nK be an arbitrary sequence. Since K is bounded, S is bounded, and by Bolzano-Weistress, we can choose a convergent subsequence S=(xnk)kS. Let x0=limkxnk. By Theorem 1, x0K.

() Assume for the sake of contradiction that K is not bounded above. Then, nZ+, xnK such that xnn. We claim that (xn)n contains no convergent subsequence. Suppose otherwise that there is (xnk)k(xn)n convergent to x0R. Choose N0N such that N0x0+1. Then, nN0, |xnx0|1. In particular, if K0 is such that nk0N0, then kK0,|xnkx0|1. So there is no subsequence convergent to an x0K, contradicting the compactness of K.

It remains to show that K is closed. Let x0R,(xn)nK be such that limnxn=x0. By assumption of the compcatness of K, we can choose a subsequence (xnk)k convergent to z0K. Since limxn exists, then x0=z0K. So K is closed by Theorem 1.

Example: The ternary Cantor set is a compact set.

Definition: A set UR is called an (open) neighborhood of a point aR when U is open and aU.

Proposition: aR is a limit point of AR when U open neighborhoods of a, xUA{a}.

Limits

Definition: Given a function f:AR,AR, and a limit point of A, aR, we say that the limit of f at a exists and equals L, and we write limxaf(x)=L when

ϵ>0,δ>0,xA,0<|xa|<δ|f(x)L|<ϵ

Example: Show that limx11x=1.

Note: Let a=1,f(x)=1x,A=R{0}. We have

|1/x1|=|1xx|=1|x||x1|

Since we can make |x1| arbitrarily small, it remains to show that 1|x| is bounded by some m for all 0<|x1|<δ. Assuming that δ12, we have (11/2<x<1+1/2). Then, x>121x<21|x|<2, since x>0.

Proof: Let ϵ>0 be arbitrary. Choose δ=min{12,ϵ2}. Then, for all xR such that 0<|x1|<δ, we have 1|x|<2 and so |1x1|=1|x||x1|<2δϵ.

Theorem: Let f:AR and let aR be a limit point of A. FCAE:

  1. limxaf(x)=L
  2. For every sequence (xn)A{a} convergent to a, limnf(xn)=L.

Proof: (12) Let (xn) be such a subsequence convergent to a. Then let ϵ>0 be arbitrary, and let δ>0 such that the limit definition is satisfied. Then choose N0N such that nN0, |xna|tδ. Since δ,ϵ satisfy the limit definition, |f(xn)L|tϵ for all nN0, as required.

(21) Suppose otherwise. Then we can choose ϵ0>0 such that nZ+,xnA such that 0t|xna|t1/n and |f(xn)L|>ϵ0. But then, (xn) converges to a so by assumption, limnf(xn)=L; a contradiction.

Theorem (Algebraic Limit Theorem): Let f,g:AR and let aR be a limit point of A. Suppose limxaf(x)=s, limxag(x)=t, and cR is a constant. Then:

  1. limxa(f±g)(x)=s±t
  2. limxacf(x)=cs
  3. limxaf(x)g(x)=st
  4. limxaf(x)/g(x)=s/t, provided t0.

Proof: By the above theorem, it suffices to show that for every sequence (xn)A{a} convergent to a, the sequences (f(xn)±g(xn)), converge to their respective limits. This follows from the Algebriaic Limit THeorem for sequences. .

Continuity

Definition: A point aR is said to be an isolated point of a set AR when aA and δ>0 such that (aδ,a+δ)A={a}.

Definition: We say that a function f:AR is continuous at a point aA when A is an isolated point of A, or else limxaf(x) exists and equals f(a).

Definition: We say that f:AR is continuous when aA, f is continuous at a.

Theorem: Let f:AR and aA. The following conditions are equivalent:

  1. f is continuous at a.
  2. ϵ>0,δ>0,xA,|xa|<δ|f(x)f(a)|<ϵ.
  3. For every sequence (xn)nA, limnxn=alimnf(x)=f(a).
  4. For every neighborhood V of f(a), there is a neighborhood U of a such that f(U)V.

Proof:

(1) TODO.

(2) TODO.

(3) TODO.

(4) () Assume f is continuous at a. Let V be any neighborhood of f(a). By the openeness of V, there is some ϵ0>0 such that (f(a)ϵ0,f(a)+ϵ0)V. By continuity of f at a, choose δ0>0 such that xA,|xa|<δ0|f(x)f(a)|<ϵ0. Define U=(aδ0,a+δ0). Then, xAU, so |f(x)f(a)|<ϵ0, or f(x)(f(a)ϵ0,f(a)+ϵ0)V. So f(U)V.

() Assume next that V open neighborhood of f(a), U open neighborhood of a such that f(U)V. Let ϵ>0. Consider V:=(f(a)ϵ,f(a)+ϵ). By assumption, we can choose U and open neighborhood of a such that f(x)V for all xUA. By openness of U, we can choose δ>0 such that (aδ,a+δ)U. Then, xA,|xa|<δxUAf(x)V, so |f(x)f(a)|<ϵ.

Corollary: The following conditions are equivalent:

  1. f is continuous
  2. f1(V) is open for any open VR.
  3. f1(G) is closed for any closed GR.

Theorem: If f,g:AR are continuous at aA,cR, then f+g,fg,cf,fg are continuous at a and f/g are continuous at a if g(a)0.

Proof: TODO.

Corollary: Every polynomial function is continuous on R, and every rational function P(x)/Q(x) is continuous on RQ1(0).

Proof: Suffices to show that for any cR, {xRcR} is continuous and {xRxR} is continuous. TODO. .

Theorem: Given f:AR,g:BR, aA, f(a)B, f(A)B, if f is continuous at a and g continuous at f(a), then gf is continuous at a.

Proof: By assumption, (an)nA, limnan=alimnf(an)=f(a) and (bn)nB, limnbn=f(a)limng(bn)=g(f(a)). We want to show that (an)nA, limnan=alimn(gf)(an)=(gf)(a).

Let (an)nA be any such sequence such that liman=a. Then (f(an))n converges to f(a). By assumption, limng(f(an))=g(f(a)).

Theorem: Suppose f:AR is a continuous function, KA is compact. Then f(K) is also compact.

Proof: Let (yn)n be any sequence in f(K). Choose, for n1, xnK such that f(xn)=yn. Then, (xn)n is a sequence in K. By compactness, we can choose a subsequence (xnk)k(xn)n such that limkxnk=x0K. Consider (ynk)k where ynk=f(xnk). By continuity of f at x0, limkf(xnk)=f(x0)f(K).

Corollary (Extreme Value Theorem): If f:KR is continuous and KR is non-empty and compact, then f admits its maximum and minimum value on K.

Proof: By the theorem above, f(K)R is a compact subset, so by Heine-Borel, it is closed and bounded. Then, inff(K),supf(K)R. We have inff(K),supf(K) are limit points of f(K), and f(K) being closed, it follows that inff(K),supf(K)f(K).

Definition: We say f:AR is uniformly continuous when

ϵ>0,>0,x1,x2A,|x1x2|<δ|f(x1)f(x2)|<ϵ

Theorem: If f:KR is continuous and K is compact, then f is uniformly continuous.

Proof: Suppose for the sake of contradiction that there is ϵ0>0 such that δ>0, x1,x2K such that |x1x2|<δ|f(x1)f(x2)|ϵ0. In particular, nZ+, x1n,x2nK such that |x1nx2n|<1/n|f(x1n)f(x2n)|ϵ0. Hence, we get two sequences (x1n)n,(x2n)nK. Pick a subsequence (x1nk)k(x1n)n such that limkx1nk=x0K. Consider (x2nk)k(x2n)n. We have k,|x1nkx2nk|<1/nkn0, so limkx2nk=limkx1nk=x0. By continuity of f at x0, limf(x1nk)=f(x)0=limf(x2nk). So K0N such that kK0, |f(x1nk)f(x0)|<ϵ0/2|f(x2nk)f(x0)|ϵ0/2. When adding these two inequalities, we get a contradiction, since we already determined that |f(x1n)f(x2n)|ϵ0.

Examples (Warning): The theorem fails if K is not closed or not bounded.

  1. Consider f(x)=x2 on [0,). We show that f(x) is not uniformly continuous.

Proof: Suppose otherwise. Consider ϵ=1. Let δ0>0 such that 0x1<x2, x2x1<δ0, then |x22x21|<1. Choose x1=2/δ0 and x2=2/δ0+δ0/2. Then, x2x1=δ0/2<δ0, and |x22x21|=(x2x1)(x2+x1)=δ0/2(2/δ0+2/δ0+δ0/2)>δ0/24/δ0=2>ϵ=1.

  1. Consider f(x)=1/x on (0,1]. Since (0,1] is not closed, it is not compact. We claim that f(x) is not unifromly continuous.

Proof: Suppose otherwise. Consider ϵ=1. Choose 0<δ0<1 such that 0<x1<x21,x2x1<δ0|1/x21/x1|<1. Let x1=δ0/4, x2=δ0/2. Then x2x1=δ0/2δ0/4=δ0/4<δ0, and 1/x11/x2=x2x1x1x2=δ0/48/δ20=2/δ0>2>1; a contradiction.

Theorem (Intermediate Value Theorem): Let f:IR be continuous, where I is any interval. Then, f(I)R is an interval.

Proof: We want to show that u,v,wR;u<v<w;u,wf(I)vf(I). Let u,v,wR such that u<v<w and u,wf(I). Choose xu,xwI be such that f(xu)=u and f(xw)=w. Either xu<xw or xu>xw. WLOG, suppose xu<xw. Then, [xu,xw]I. Consider A={x[xu,xw]:f(x)<v}, B={x[xu,xw]:f(x)>v}. We have xuA and xwB. So A,B are non-empty and bounded, so they have an infimum and supremum. Define α:=supA[xu,xw]. By continuity at α,f(α)=limnf(xn) for any (xn)A such that limxn=α. It follows that f(α)v, since f(xn)<v. Now, nZ+, α+1/nA. It follows that nZ+,f(α+1/n)v. Consider the sequence (zn)nI where zn=α+1/n. So |znα|=1/nn0, so limnzn=α. By continuity, limf(zn)=f(α). Hence, f(α)v. So f(α)=v. So vf(I).

Example: Let g:[0,1][0,1] be continuous. Show that a[0,1] such that g(a)+2a5=3a7.

Proof: Consider* f(x):=g(x)+2x53x7. Then f is continuous on [0,1]. We want to show that a[0,1] such that f(a)=0. Note that f(0)=g(0)0. Also, f(1)=g(1)10. Either f(0)=0 so a=0, or f(1)=0 so a=1, or else f(0)>0 and f(1)<0. So 0(f(1),f(0)). By IVT, a(0,1) such that f(a)=0.

Corollary: If f:IR is continuous and I is a closed interval, then f(I) is a closed interval.

Proof: By IVT, f(I) is an interval. By EVT, f(I) is compact, so it is bounded. So inff(I),supf(I)R. Since inff(I) and supf(I) are limit points of f(I) and f(I) is closed, inff(I),supf(I)f(I). So f(I)=[inff(I),supf(I)].

Monotone Functions

Definition: Let f:AR with A. We say that f is:

  1. increasing when x,yA,x<yf(x)f(y)
  2. strictly increasing when x,yA,x<yf(x)<f(y)
  3. decreasing when x,yA,x<yf(x)f(y)
  4. strictly decreasing when x,yA,x<yf(x)>f(y)

A function is monotone if it is increasing or decreasing, and strictly montoone if it is strictly increasing or strictly decreasing.

Theorem: Let IR be an interval and let f:IR be a continuous injection. Then

(1) f is strictly monotone.

(2) f1:f(I)I is a strictly monotone continuous injection.

Proof:

(1) Observe that for any a,b,cI such that a<b<c, one cannot have f(a)<f(b)>f(c)x or f(a)>f(b)<f(c) (by IVT). Therefore, xI,u,vI such that u<x<v, either (a) f(u)<f(x)<f(v) or else (b) f(u)>f(x)>f(v). Let x1I. Suppose that (a) is the case. We claim that xI, (a) holds at x. Suppose otherwise, that there exists x2I such that (b) holds at x2. If x1<x2, then f(x1)<f(x2) (by (a) at x1) and f(x1)>f(x2) (by (b) at x2), a contradiction. The argument is symmetric for if x2<x1. So, f is strictly increasing. Case (b) holds symmetrically to show that f is strictly decreasing.

(2) We claim that if (and only if) f is strictly increasing, f1 is strictly increasing. If y1,y2f(I),y1<y2, let x1,x2I be such that f(x1)=y1,f(x2)=y2. Then f1(y1)=x1<x2=f1(y2), for otherwise, x2<x1f(x2)<f(x1); a contradiction.

Let bf(I) be arbitrary. We claim that f1 is continuous at b. Let ϵ>0. Let a=f1(b). Consider y1:=f(aϵ),y2:=f(a+ϵ). Choose δ=min{y2b,by1}. Then yI,

|yb|<δy(y1,y2)y(f(aϵ),f(a+ϵ))xy(aϵ,a+ϵ),f(xy)=y (by IVT)f1(y)(aϵ,a+ϵ)|f1(y)f1(b)|<ϵ

Definition: A function f:AR is Lipschitz, when

L0,x1,x2A,|f(x1)f(x2)|L|x1x2|

Any such L is called a Lipschitz constant for f.

Remark: Any Lipschitz function is uniformly continuous (Lipschitz is a stronger condition than uniform continuity).

Proof: Let L be a Lipschitz constant for f. Let ϵ>0 be arbitrary. Set δ:=ϵ/L. Ten x1,x2A,|x1x2|<δ|f(x1)f(x2)|<Lδ=ϵ.

Example: Find a function that is uniformly continuous but not Lipschitz.

f(x)={xsin(π/x2)x(0,1]0x=0

Since limx0+f(x)=0=f(0), f is continuous at 0, so f is continuous on [0,1], so f is uniformly continuous. Set xn=12n and yn=12n+12,nZ+. Then f(xn)=0 and f(yn)=yn. Then,

|f(xn)f(yn)||xnyn|=12n+12112n12n+12=22n(2n+12+2n)n

Definition: A function f:AR is called a contraction when f is Lipschitz with a Lipschitz constant L<1.

Theorem (Fixed Point): Let A,AR, and let f:AA be a contraction. Suppose A is a closed set. Then !pA such that f(p)=p.

Proof: Pick any x1A. Construct a sequence (xn)A defined as xk+1=f(xk),kZ+. Let α[0,1) be a Lipschitz constant of f.

We claim that k2, |xk+1xk|αk1|x2x1|. We proceed by induction. We have |x3x2|=|f(x2)f(x1)|α|x2x1| since α is a Lipschitz constant of f. Now, assuming |xk+1xk|αk1|x2x1|, consider |xk+2xk+1|=|f(xk+1)f(xk)|α|xk+1xk|α(k+1)1|x2x1|; proving the claim.

Claim 2: (xn) is Cauchy. Let ϵ>0. Choose N0N such that αN011α|x2x1|<ϵ. Then, nmN0, and

|xnxm|=|(xnxn1)+(xn1xn2)++|xm+1(xm+1xm)||xnxn1|+|xn1xn2|++|xm+1xm|αn2|x2x1|+αn3|x2x1|++αm1|x2x1|=|x2x1|αm1αm1nm1k=0αk|x2x1|αN0111α<ϵ

Let pR be such that limnxn=p. Since A is closed, pA. By the continuity of f at p, f(p)=limnf(xn)=limnxn+1=limnxn=p (since (xn+1)(xn)). So suppose there is some other qA such that f(q)=q. Then |pq|=|f(p)f(q)|α|pq|, so |pq|=0, so p=q.

Definition: Given f:AR, aR is such that kZ+,xkA,xk<a|xka|<1/k. Then, we say L=limxaf(x), when

ϵ>0,δ>0,xA,0<ax<δ|f(x)L|<ϵ