By Theorem 11.4, every sequence has an increasing subsequence.
Here is the statement of Theorem 11.4:
Every sequence {sn}n has a monotonic subsequence.
Notice that the theorem only says that every sequence has a monotonic sequence, which is why the statement is false. It's possible for a sequence to have no increasing subsequences, e.g., if sn=n1, then every subsequence of {sn}n is decreasing. However, in this problem, you can show that the monotone sequence you get does actually increase.
12.2
I saw the following (incorrect) statements pop up a bunch of times:
n→∞limsupsn=0⟹n→∞limsup∣sn∣=0
Basically, this boils down to the fact that it's possible for
∣sup{x∣x∈S}∣=sup{∣x∣∣x∈S}.
For example, if S=[−1,0], then supS=0, but {∣x∣∣x∈S}=[0,1] has supremum 1. As for a counterexample for this specific statement, the sequence sn=−1+(−1)n works. This is the sequence that alternates between 0 and −2, so
n→∞limsupsn=0butn→∞limsup∣sn∣=2.
I also saw something like:
n→∞limsup∣sn∣=−n→∞liminf∣−sn∣
The following statement is true:
n→∞limsuptn=−n→∞liminf(−tn).
In this problem, we have tn=∣sn∣, so substituting in,
n→∞limsup∣sn∣=−n→∞liminf(−∣sn∣),
i.e., the negative sign goes outside of the absolute values. As a counterexample, the sequence sn=1 works:
n→∞limsup∣sn∣=1but−n→∞liminf∣−sn∣=−1.
Continuous Functions
Since things don't seem to be too hard this week, I decided to do a fun example.
Example 1.
Let f:R→R be a continuous function such that f(1)=1 such that f(1)=1 and f(nx)=nf(x) for any n∈Z and x∈R. Then f(x)=x for all x∈R.
Solution.
The idea here is that it's hard to show directly for any x∈R that this equality is true, since it's hard to connect irrational numbers to the conditions given to you. Instead, however, we can show that it's true for x∈Q, and by a proposition from last week, it follows that f(x)=x everywhere.
First, if we set x=1, then for n∈Z, we get
f(n)=f(n⋅1)=nf(1)=n.
Next, we can let x=n1 to get
f(1)=f(n⋅n1)=nf(n1)⟹f(n1)=n1.
Finally, if m,n∈N, then
f(nm)=mf(n1)=nm.
Thus, f(q)=q for all q∈Q, so by density, we have f(x)=x for all x∈R.
Properties
Definition
Let f:D→R be a function. Then the image of a set A⊆D under f is f(A)={f(x)∣x∈A}.
Basically, the image tells you all the points that f attains when you restrict the domain to A.
Example 2.
Let f(x)=x2. Then
f(R)=[0,∞)
f({−1,0,1,2,3})={0,1,4,9}
Next are two very important theorems about continuous functions:
Theorem (extreme value theorem)
If f:[a,b]→R is continuous, then f is bounded and there exist s0,s1∈[a,b] such that f(s0)≤f(x)≤f(s1) for all x∈[a,b].
In short, this tells you that on a closed and bounded interval, f is bounded and attains both its minimum and maximum. (In general, we say that the image of a compact set under a continuous function is compact, but this is beyond the scope of this class.)
Theorem (intermediate value theorem)
Let I⊆R be an interval. If f:I→R is a continuous function, then f(I) is an interval.
This basically tells you that continuous functions can't "jump" on an interval. (In general, the continuous image of a connected set is connected, but like compactness, this is beyond our class.)
Example 3.
(18.5)
Let f and g be continuous functions on [a,b] such that f(a)≥g(a) and f(b)≤g(b). Prove f(x0)=g(x0) for at least one x0∈[a,b].
Solution.
For problems like these, you usually want to use the intermediate value theorem. That only involves a single function, though, so you need to turn f and g into a single function. Notice that
f(x)=g(x)⟺f(x)−g(x)=0,
so we'll set h(x)=f(x)−g(x). Then
h(a)=f(a)−g(a)≥0andh(b)=f(b)−g(b)≤0.
Thus, by the intermediate value theorem, h attains every value in the interval [h(b),h(a)], which contains 0. In other words, there exists x0∈[a,b] such that h(x0)=0, which means f(x0)=g(x0).
Example 4.
(18.8)
Suppose f is a real-valued continuous function on R and f(a)f(b)<0 for some a,b∈R. Prove there exists x between a and b such that f(x)=0.
Solution.
(Hint)
f(a)f(b)<0 tells you that a=b and f(a),f(b) have different signs (you should prove this). From there, you should break up the problem into different cases based on the signs of f(a),f(b) and apply the intermediate value theorem.
Uniform Continuity
Definition
Let f:D→R. Then f is uniformly continuous on D if for all ε>0, there exists δ>0 such that ∣f(x)−f(y)∣<ε whenever x,y∈D satisfy ∣x−y∣<δ.
Remark.
Compare this with our usual definition of continuity:
For all x∈D and ε>0, there exists δ>0 such that ∣f(x)−f(y)∣<ε when y∈D satisfies ∣x−y∣<δ.
Notice that δ may depend on x, i.e., given a different x∈D, you may have to pick a different δ for regular continuity. However, for uniform continuity, you can find a δ that works for all values of x∈D.
This concept is useful when we need to bound a lot of values of f at the same time, e.g., when finding inequalities for integrals or sums relating to continuous functions.
Example 5.
Show that x3 is uniformly continuous on [0,1] with the ε-δ definition.
Solution.
Let ε>0 and x,y∈[0,1]. Then
∣∣x3−y3∣∣=∣x−y∣∣∣x2+xy+y2∣∣≤∣x−y∣(∣x∣2+∣x∣∣y∣+∣y∣2)≤3∣x−y∣,(difference of cubes)(triangle inequality)
since ∣x∣,∣y∣≤1. Thus, let δ=3ε (which only depends on ε and not the actual values of x and y) so that if ∣x−y∣<δ, then
∣∣x3−y3∣∣≤3∣x−y∣<3δ=ε,
so x3 is uniformly continuous on [0,1].
True or False
Example 6.
True or false: If f and g are uniformly continuous on R, then so is fg.
Solution.
False. If f(x)=g(x)=x, then f(x)g(x)=x2, which is not uniformly continuous on R.
Example 7.
True or false: If f and g are uniformly continuous on R, then so is f+g.
Solution.
True. Let ε>0 and notice that by the triangle inequality,
Since f is uniformly continuous on R, there exists δ1>0 such that if ∣x−y∣<δ1, then ∣f(x)−f(y)∣<2ε. Similarly, because g is uniformly continuous on R, there exists δ2>0 so that if ∣x−y∣<δ2, then ∣g(x)−g(y)∣<2ε.
Let δ=min{δ1,δ2}, so if ∣x−y∣<δ, then ∣x−y∣<δ1 and ∣x−y∣<δ2, and so