5.3: CHAPTER 3
( \newcommand{\kernel}{\mathrm{null}\,}\)
Exercise 3.1.6.
Answer
- Observe that when x is near 1/2, f(x) is near 1/2 no matter whether x is rational or irrational. We have |f(x)−1/2|={|x−1/2|, if x∈Q;|1−x−1/2|, if x∉Q. Thus, |f(x)−1/2|=|x−1/2| for all x∈R.
Given any ε>0, choose δ=ε. Then |f(x)−1/2|<ε whenever |x−1/2|<δ. Therefore, limx→1/2f(x)=1/2.
- Observe that when x is near 0 and x is rational, f(x) is near 0. However, when f is near 0 and x is irrational, f(x) is near 1. Thus, the given limit does not exists. We justify this using the sequential criterion for limits (Theorem 3.1.2). By contradiction, assume that limx→0f(x)=ℓ, where ℓ is a real number. Choose a sequence {rn} of rational numbers that converges to 0. Then f(rn)=rn and f(sn)=1−sn and, hence, ℓ=limn→∞f(rn)=0 and ℓ=limn→∞f(sn)=limn→∞(1−sn)=1. This is a contradiction.
- By a similar method to part (b), we can show that limx→1f(x) does not exist.
Solving this problem suggests a more general problem as follows. Given two polynomials P and Q, define the function f(x)={P(x), if x∈Q;Q(x), if x∉Q. If a is a solution of the equation P(x)=Q(x), i.e., P(a)=Q(a), then the limit limx→af(x) exists and the limit is this common value. For all other points the limit does not exist.
Similar problems:
- Determine all a∈R at which limx→af(x) exists, where f(x)={x2, if x∈Q;x+2, if x∈x∉Q.
- Consider the function f(x)={x2+1, if x∈Q;−x, if x∉Q.
Prove that f does not have a limit at any a∈R.
Exercise 3.2.5.
Answer
The given condition implies that if both x1 and x2 are close to ˉx, then they are close to each other and, hence, f(x1) and f(x2) are close to each other. This suggests the use of the Cauchy criterion for limit to solve the problem. Given any ε>0, choose δ=ε2(k+1). If x1,x2∈D∖{ˉx} with |x1−ˉx|<δ and |x2−ˉx|<δ, then |f(x1)−f(x2)|≤k|x1−x2|≤k(|x1−ˉx|+|x2−ˉx|)<k(δ+δ)=2kε2(k+1)<ε. Therefore, limx→ˉxf(x) exists.Exercise 3.3.8.
Answer
- Observe that f(a)=g(a)=h(a) and, hence, |f(x)−f(a)|={|g(x)−g(a)|, if x∈Q∩[0,1];|h(x)−h(a)|, if x∈Qc∩[0,1]. It follows that |f(x)−f(a)|≤|g(x)−g(a)|+|h(x)−h(a)| for all x∈[0,1]. Therefore, limx→af(x)=f(a) and, so, f is continuous at a.
- Apply part (a).
Exercise 3.3.9.
Answer
At any irrational number a∈(0,1], we have f(a)=0. If x is near a and x is irrational, it is obvious that f(x)=0 is near f(a). In the case when x is near a and x is rational, f(x)=1/q where p,q∈N. We will see in part (a) that for any ε>0, there is only a finite number of x∈(0,1] such that f(x)≥ε. So f(x) is close to f(a) for all x∈(0,1] except for a finite number of x∈Q. Since a is irrational, we can choose a sufficiently small neighborhood of a to void such x.
- For any ε>0, Aε={x∈(0,1]:f(x)≥ε}={x=pq∈Q:f(x)=1q≥ε}={x=pq∈Q:q≤1ε}. Clearly, the number of q∈N such that q≤1ε is finite. Since 0<pq≤1, we have p≤q. Therefore, Aε is finite.
- Fix any irrational number a∈(0,1]. Then f(a)=0. Given any ε>0, by part (a), the set Aε is finite, so we can write Aε={x∈(0,1]:f(x)≥ε}={x1,x2,…,xn}, for some n∈N, where xi∈Q for all i=1,…,n. Since a is irrational, we can choose δ>0 such that xi∉(a−δ,a+δ) for all i=1,…,n (more precisely, we can choose δ=min{|a−xi|:i=1,…,n}). Then |f(x)−f(a)|=f(x)<ε whenever |x−a|<δ. Therefore, f is continuous at a.
Now fix any rational number b=pq∈(0,1]. Then f(b)=1q. Choose a sequence of irrational numbers {sn} that converges to b. Since f(sn)=0 for all n∈N, the sequence {f(sn)} does not converge to f(b). Therefore, f is not continuous at b.
In this problem, we consider the domain of f to be the interval (0,1], but the conclusion remain valid for other intervals. In particular, we can show that the function defined on R by f(x)={1q, if x=pq,p,q∈N, where p and q have no common factors; 1, if x=0;0, if x is irrational , is continuous at every irrational point, and discontinuous at every rational point.
Exercise 3.3.10.
Answer
Consider f(x)={(x−a1)(x−a2)⋯(x−ak), if x∈Q;0, if x∈Qc.Exercise 3.4.6.
Answer
Let α=min{f(x):x∈[a,b]} and β=max{f(x):x∈[a,b]}. Then f(x1)+f(x2)+⋯+f(xn)n≤nβn=β. Similarly, α≤f(x1)+f(x2)+⋯+f(xn)n. Then the conclusion follows from the Intermediate Value Theorem.Exercise 3.4.7.
Answer
- Observe that |f(1/n)|≤1/n for all n∈N.
- Apply the Extreme Value Theorem for the function g(x)=|f(x)x| on the interval [a,b].
Exercise 3.4.8.
Answer
First consider the case where f is monotone decreasing on [0,1]. By Exercise 3.4.5, f has a fixed point in [0,1], which means that there exists x0∈[0,1] such that f(x0)=x0 Since f is monotone decreasing, f has a unique fixed point. Indeed, suppose that there exists x1∈[0,1] such that f(x1)=x1. If x1<x0, then x1=f(x1)≥f(x0)=x0, which yields a contradiction. It is similar for the case where x1>x0. Therefore, x0 is the unique point in [0,1] such that f(x0)=x0.
Since f(g(x))=g(f(x)) for all x∈[0,1], we have f(g(x0))=g(f(x0))=g(x0). Thus, g(x0) is also a fixed point of f and, hence, g(x0)=x0=f(x0). The proof is complete in this case.
Consider the case where f is monotone increasing. In this case, f could have several fixed points on [0,1], so the previous argument does not work. However, by Exercise 3.4.5, there exists c∈[0,1] such that g(c)=c. Define the sequence {xn} as follows: x1=c,xn+1=f(xn) for all n≥1. Since f is monotone increasing, {xn} is a monotone sequence. In fact, if x1≤x2, then {xn} is monotone increasing; if x1≥x2, then {xn} is monotone decreasing. Since f is bounded, by the monotone convergence theorem (Theorem 2.3.1), there exists x0∈[0,1] such that limn→∞xn=x0. Since f is continuous and xn+1=f(xn) for all n∈N, taking limits we have f(x0)=x0.
We can prove by induction that g(xn)=xn for all n∈N. Then g(x0)=limn→∞g(xn)=limxn=x0. Therefore, f(x0)=g(x0)=x0.
Exercise 3.5.2.
Answer
- Let f:D→R. From Theorem 3.5.3 we see that if there exist two sequences {xn} and {yn} in D such that |xn−yn|→0 as n→∞, but {|f(xn)−f(yn)|} does not converge to 0, then f is not uniformly continuous on D. Roughly speaking, in order for f to be uniformly continuous on D, if x and y are close to each other, then f(x) and f(y) must be close to each other. The behavior of the graph of the squaring function suggests the argument below to show that f(x)=x2 is not uniformly continuous on R.
Define two sequences {xn} and {yn} as follows: xn=n and yn=n+1n for n∈N. Then |xn−yn|=1n→0 as n→∞. However, |f(xn)−f(yn)|=(n+1n)2−n2=2+1n2≥2 for all n∈N. Therefore, {|f(xn)−f(yn)|} does not converge to 0 and, hence, f is not uniformly continuous on R. In this solution, we can use xn=√n+1n and yn=√n for n∈N instead.
- Use xn=1π/2+2nπ and yn=12nπ, n∈N.
- Use xn=1/n and yn=1/(2n).
It is natural to ask whether the function f(x)=x3 is uniformly continuous on R. Following the solution for part (a), we can use xn=3√n+1n and yn=3√n for n∈N to prove that f is not uniformly continuous on R. By similar method, we can show that the function f(x)=xn, n∈N, n≥2, is not uniformly continuous on R. A more challenging question is to determine whether a polynomial of degree greater than or equal to two is uniformly continuous on R.
Exercise 3.5.7.
Answer
Hint: For part (a) use Theorem 3.5.5. For part (b) prove that the function can be extended to a continuous function on [a,b] and then use Theorem 3.5.5.Exercise 3.5.8.
Answer
- Applying the definition of limit, we find b>a such that c−1<f(x)<c+1 whenever x>b. Since f is continuous on [a,b], it is bounded on this interval. Therefore, f is bounded on [a,∞].
- Fix any ε>0, by the definition of limit, we find b>a such that |f(x)−c|<ε2 whenever x>b. Since f is continuous on [a,b+1], it is uniformly continuous on this interval. Thus, there exists 0<δ<1 such that |f(u)−f(v)|<ε2 whenever |u−v|<δ,u,v∈[a,c+1]. Then we can show that |f(u)−f(v)|<ε2 whenever |u−v|<δ,u,v∈[a,c+1] whenever |u−v|<δ,u,v∈[a,∞).
- Since limx→∞f(x)=c>f(a), there exists b>a such that f(x)>f(a) whenever x>b. Thus, inf{f(x):x∈[a,∞)}=inf{f(x):x∈[a,b]}. The conclusion follows from the Extreme Value Theorem for the function f on [a,b].
Exercise 3.7.4.
Answer
Since inf{f(x):x∈[a,∞)}=inf{f(x):x∈[a,b]}, there exists a>0 such that f(x)≥f(0) whenever |x|>a. Since f is lower semicontinuous, by Theorem 3.7.3, it has an absolute minimum on [−a,a] at some point ˉx∈[−a,a]. Obviously, f(x)≥f(ˉx) for all x∈[−a,a]. In particular, f(0)≥f(ˉx). If |x|>a, then f(x)≥f(0)≥f(ˉx). Therefore, f has an absolute minimum at ˉx.
Observe that in this solution, we can use any number γ in the range of f instead of f(0). Since any continuous function is also lower semicontinuous, the result from this problem is applicable for continuous functions. For example, we can use this theorem to prove that any polynomial with even degree has an absolute minimum on R. Since \boldsymbol{\mathbb[R}} is a not a compact set, we cannot use the extreme value theorem directly.TST9