I'm just gonna do two problems that I thought were relatively interesting.
Problem 2
Use induction to prove that 2n≤(n+1)! for all n≥0.
Solution.
Base case: (n=0)
When n=0, we get 20=1=1!, so the base case holds.
Inductive step:
Suppose 2n≤(n+1)!. We want to show that 2n+1≤(n+2)! also. First, notice that since n≥0, we get n+2≥2. Thus,
2n+1=2⋅2n≤(n+2)⋅(n+1)!=(n+2)!.
By induction, the inequality holds for all n≥0.
Problem 4
Let {sn}n be a recursive sequence such that s0=21 and sn+1=sn3 for all n≥0.
Prove that sn∈[0,1] for all n≥0.
Prove that sn is decreasing.
Prove that sn is convergent and n→∞limsn=0.
Solution.
We'll do this by induction.
Base case: (n=0)
By definition, s0=21∈[0,1] already, so the base case holds.
Inductive step:
Suppose that sn∈[0,1], or equivalently, that 0≤sn≤1. Then by cubing everything, we get
03≤sn3≤13⟹0≤sn+1≤1,
since sn+1=sn3 by definition. Thus, by induction, sn∈[0,1] for all n≥0.
First, notice that
sn−sn+1=sn−sn3=sn(1−sn2).
By (1), we know that sn≥0, and because sn∈[0,1], we also know that sn2≤1. Thus, 1−sn2≥0, so sn−sn+1≥0 also, i.e., sn≥sn+1, so sn is decreasing.
By (1) and (2), we see that sn is a bounded monotone sequence, so it converges to some s. Thus, by the limit laws, we can take limits on both sides of the recursive relation:
sn+1=sn3⟹s=s3⟹s(1−s2)=0.
So, there are three possibilities: s∈{−1,0,1}. Since sn≥0 for all n≥0, we get s≥0, so s=−1. Because sn is decreasing, we also know that sn≤s0=21, so s≤21 also. Thus, s=0.
Subsequences
Definition
Let {sn}n≥m be a sequence. We say another sequence {tk}k≥1 is a subsequence of {sn}n≥m if there exist integers
m≤n1<n2<⋯
such that tk=snk.
Example 1.
If sn=(−1)n, then s2k=1 and s2k+1=−1.
Subsequences are similar to subsets, but with one important distinction: you have to respect the ordering of the original sequence. For example, if sn=n, then
1,3,2,4,5,…
is not a subsequence of {sn}n.
Theorem (Bolzano-Weierstrass)
Every bounded sequence has a convergent subsequence.
This is a very important idea in analysis, but it's won't be particularly useful for us while we're looking at regular sequences.
Theorem
A sequence {sn}n converges if and only if every subsequence of {sn}n converges to the same limit.
This theorem is useful for us because it gives us another way to prove that sequence diverges. Instead of using the ε definition of a limit, we can just find two subsequences which converge to different numbers.
Example 2.
Let sn=(−1)n(1+n1). Notice that
s2k=1+2k1k→∞1ands2k+1=−(1+2k+11)k→∞−1,
so {sn}n diverges.
Example 3.
Let sn=∣∣cos3nπ∣∣. Then
s3k=1ands3k+1=21,
so {sn}n must diverge.
Example 4.
(9.9)
This example will be helpful for one of the homework problems this week.
Suppose there exists N0 such that sn≤tn for all n>N0.
Prove that if n→∞limsn=∞, then n→∞limtn=∞.
Prove that if n→∞limsn and n→∞limtn exist, then n→∞limsn≤n→∞limtn.
Solution.
Let M>0. Since n→∞limsn=∞, there exists N1∈R such that if n>N1, then sn≥M. Thus, if n>max{N0,N1}, we get
M≤sn≤tn.
Since M was arbitrary, this proves that n→∞limtn=∞ also.
In Week 4, I proved a fact about non-negative sequences: if {an}n is a sequence such that an≥0 for all n≥0 and that n→∞liman exists, then n→∞liman≥0.
If we set an=tn−sn, then an≥0 (technically only for n>N0, but this doesn't make a big difference since we're working with limits), then because all the limits in question exist, the proposition and the limit laws tell us
Alternatively, if we didn't have this theorem, we can also prove it using the ε definition directly. Let s=n→∞limsn and t=n→∞limtn, and suppose for the sake of contradiction that s>t.
The idea is this: eventually, sn should be very close to s, and tn should be very close to t. If they're close enough, then we should eventually end up with sn>tn, which contradicts our assumption that sn≤tn for n>N0.
Let ε=2s−t, i.e., half the distance between s and t. Since s=n→∞limsn, there exists N1∈R such that if n>N1, then
∣sn−s∣<ε⟹sn−s>−ε⟹sn>s−ε=s−(2s−t)=2s+t.
Similarly, there exists N2∈R such that if n>N2, then
∣tn−t∣<ε⟹tn−t<ε⟹tn<t+ε=t+2t−s=2s+t.
Thus, if n>max{N0,N1,N2}, then
tnn>N2<2s+tn>N1<snn>N0≤tn
which is a contradiction.
Example 5.
(basically 11.11)
Let S be a bounded set. Prove that there is a decreasing sequence {sn}n of points in S such that n→∞limsn=infS.
First, if infS∈S, then we can just set sn=infS for all n≥1. Thus, from now on, we will assume that infS∈/S.
Our strategy will be to construct a sequence that satisfies two properties:
sn≤infS+n1.
sn+1≤sn for all n≥0.
As before, (1) is here to make sure {sn}n actually converges to infS, and (2) is here to make sure the sequence is decreasing. We can do this by induction:
Base case: (n=1)
Since infS is the greatest lower bound, this means that infS+1 cannot be a lower bound. Thus, there exists s1∈S such that s≤infS+1.
Inductive step:
Suppose we have s1,…,sn∈S such that sk≤infS+k1 for all 1≤k≤n and so that s1≥s2≥⋯≥sn. We need to find sn+1∈S such that sn+1≤infS+n+11 and sn+1≤sn.
As before, we know that infS+n+11 cannot be a lower bound for S. Similarly, because infS∈/S, we get infS<sn, so sn is not a lower bound for S either. Hence if we set ε=min{n+11,sn−infS}, then ε>0, so infS+ε is not a lower bound for S. By definition, there exists sn+1∈S such that sn+1≤infS+ε. Thus,