If a<b and f:[a,b]→R is a monotonic function on [a,b], then suppose first f is monotonic increasing, we have f(b)≥f(x),∀x∈[a,b], and f(a)≤f(x),∀x∈[a,b], so f attain its maximum at b and its minimum at a, if f is strictly increasing, the proof is the same. Suppose next that f is monotonic decreasing, we have f(a)≥f(x),∀x∈[a,b], and f(b)≤f(x),∀x∈[a,b], so f attain its maximum at a and its minimum at b, if f is strictly increasing, the proof is the same.
Exercise 9.8.2
Let f:[−1,1]→R be defined as: f(x)={x,x+1,x∈[−1,0)x∈[0,1] Then f is strictly monotone (thus monotone), f(−1)=−1 and f(1)=2, but no element in [−1,1] could make f(x)=1/2.
Exercise 9.8.3
We shall divide into three cases: f(a)=f(b),f(a)<f(b),f(a)>f(b). The first case is obviously a contradiction to f is one-to-one. So we only consider the last two cases. Case f(a)<f(b). Assume we can find x<y∈[a,b] s.t. f(x)≥f(y), since f is one-to-one we can’t have f(x)=f(y), so we can only assume f(x)>f(y). Since x<y, we have y=a. So if f(a)>f(y), then f(y)<f(a)<f(b), by the intermediate value theorem, ∃c∈[y,b], s.t. f(c)=f(a), this contradicts the fact that f is one-to-one. If f(a)<f(y), then f(a)<f(y)<f(x), by the intermediate value theorem, ∃c∈[a,x], s.t. f(c)=f(y), this again contradicts the fact that f is one-to-one. So ∀x<y∈[a,b],f(x)<f(y), thus f is strictly increasing. Case f(a)>f(b) can be similarly proved. In this case f is strictly decreasing. In conclusion f is strictly monotone.
Exercise 9.8.4
f is strictly monotone increasing means f(a)<f(b), and for ∀x,y∈[a,b],f(x)<f(y), thus f is injective. By the intermediate value theorem, ∀y∈[f(a),f(b)],∃c∈[a,b],f(c)=y, thus f is surjective. In conclusion f is a bijection from [a,b] to [f(a),f(b)].
To prove f−1 is continuous on [f(a),f(b)], choose some y0∈[f(a),f(b)], then ∃x0∈[a,b],f(x0)=y0. Now for ∀ϵ>0, let δ=⎩⎪⎨⎪⎧min{y0−f(a),f(x0+ϵ)−y0},min{y0−f(x0−ϵ),f(x0+ϵ)−y0},min{y0−f(x0−ϵ),f(b)−y0},a≤x0<a+ϵa+ϵ≤x0≤b−ϵb−ϵ<x0≤b Then as long as y∈[f(a),f(b)],∣y−y0∣<δ, we can have ∣f−1(y)−f−1(y0)∣=∣f−1(y)−x0∣<ϵ Thus f−1 is continuous.
To prove f−1 is monotonic increasing on [f(a),f(b)], let ∀y1,y2∈[f(a),f(b)],y1<y2, then ∃x1,x2∈[a,b], s.t. f(x1)=y1,f(x2)=y2. Now we must have x1<x2, otherwise contradicting f being strictly monotone increasing. This means f−1(y1)<f−1(y2).
If the continuity assumption is dropped, the proposition is false, a counterexample may be f:[0,2]→[0,3]:={x,x+1,x∈[0,1)x∈[1,2] which is not a surjection to [0,3]. The inverse f−1 exists but is not continuous.
If strict monotonicity is replaced by monotonicity, the proposition is false, a counterexample may be f:[0,2]→R:=1,x∈[0,2] which is not an injection, and f−1 doesn’t exist.
To deal with strict monotone decreasing functions, we shall modify the proposition like this: Let a<b be real numbers, and let f∶[a,b]→R be a function which is both continuous and strictly monotone decreasing. Then f is a bijection from [a,b] to [f(b),f(a)], and the inverse f−1∶[f(b),f(a)]→[a,b] is also continuous and strictly monotone decreasing.
Exercise 9.8.5
( a ) Given ∀x1,x2∈R, we can find q∈Q,x1<q<x2, thus ∃n0∈N,q=q(n0), so g(q)=2−n0>0. We have f(x2)=r∈Q:r<x2∑g(r)=r∈Q:r<x1∑g(r)+r∈Q:x1≤r<x2∑g(r)≥f(x1)+g(q)>f(x1)
( b ) ∀r∈Q,∃n∈N,r=q(n). So given this r, for ∀x>r: f(x)=a∈Q:a<x∑g(a)=a∈Q:a<r∑g(a)+a∈Q:r≤a<x∑g(a)=f(r)+a∈Q:r≤a<x∑g(a)≥f(r)+g(r)=f(r)+2(−n) By the comparison principle we have f(r+)≥f(r)+2−n, thus f(r+)=f(r), use Proposition 9.5.3 we can conclude f is not continuous at r.
( c ) First, we show fn(x) is continuous at irrational x. Since there’s at most n rationals r which could satisfy g(r)≥2−n, we name them r1,…,rn, then it’s able to choose δ=min∣x−ri∣>0,1≤i≤n We conclude fn(y) remains constant for any y∈(x−δ,x+δ), thus fn is continuous at x. Also, notice that ∣f(x)−fn(x)∣=r∈Q:r<x;g(r)<2−n∑g(r)≤k=n+1∑∞2−k=2−n
Now for ∀ϵ>0, choose n s.t. 2−n<ϵ/2, and for this n choose δ s.t. (x−δ,x+δ)∩{r∈Q:g(r)≥2−n}=∅ Then if y∈(x−δ,x+δ), we can conclude fn(y)=fn(x), also ∣f(y)−fn(y)∣=r∈Q:r<y,g(r)<2−n∑g(r)≤k=n+1∑∞2−k=2−n So we can have ∣f(y)−f(x)∣≤∣f(y)−fn(y)∣+∣fn(y)−f(x)∣=∣f(y)−fn(y)∣+∣fn(x)−f(x)∣≤2−n+2−n<2ϵ+2ϵ=ϵ,∀y∈(x−δ,x+δ) This proves f is continuous at x.