Back to Real Analysis
Example Proofs: Using Theorems
n! = n factorial
n! = 𝛱
k = 1 to n k for n ≥ 1
So 1! = 1, 2! = 1*2, 3! = 1*2*3, ...
And 0! is defined to be 1.
Show that s
n = ∑
i=0 to n1/i! converges.
Thought Process:
Note: Using the definition of convergence
an converges to limit, L ⇔
∀ 𝜀 > 0, ∃ N ∈ ℕ s.t. n ≥ N ⇒ |an - L| < 𝜀
to prove the sequence converges requires knowing the limit.
Let's assume we don't recognize the series as e = ∑
i=0 to ∞1/i!.
So we would look over the theorems on convergence.
Theorems have one or more conditions and some conclusion.
When using a theorem, you must prove that
every condition is met.
This can effectively lead to one proof per condition.
Here are two theorems that can be used to conclude that a sequence converges.
-
Cauchy Criterion:
A sequence an is said to be a Cauchy sequence if
∀ 𝜀 > 0, ∃ N ∈ ℕ s.t. n≥ N and m ≥ N ⇒ |an - am| < 𝜀
Theorem 1: A real valued sequence converges iff it is Cauchy.
-
Bounded Monotonic Sequences:
A sequence an is said to be monotonically increasing if an ≤ an+1
for n = 1, 2, 3, ...
A sequence an is said to be monotonically decreasing if an ≥ an+1
for n = 1, 2, 3, ...
Theorem 2: A monotonic sequence converges iff it is bounded.
So how do we decide which theorem to use?
In a way it doesn't matter. Neither theorem requires knowing the limit. Either one should work.
Theorem 1 has a single condition (the Cauchy property), but that condition is complicated.
Theorem 2 has two conditions (monotonic and bounded), but each condition is simple.
Let's try both.
Using Bounded Monotonicity (Theorem 2)
∀ integer n ≥ 1,
|
|
|
0
|
|
< |
|
1/(n+1)! |
|
|
|
sn + 0 |
|
< |
|
sn + 1/(n+1)! |
|
|
|
sn
|
|
< |
|
(∑i=0 to n 1/i!) + 1/(n+1)! |
|
|
|
|
|
< |
|
∑i=0 to n+1 1/i! |
|
|
|
|
|
< |
|
sn+1 |
So s
n is monotonically increasing.
(intermediate result 1)
Is s
n bounded?
The difficult part to work with is the factorials.
Trying to simplify the factorial, we note that if we want an upper bound on 1/i!,
we can look for a lower bound on i!.
|
|
|
1! |
|
= |
|
1 |
|
= |
|
20 |
|
|
|
2! |
|
= |
|
1*2 |
|
= |
|
21 |
|
|
|
3! |
|
= |
|
1*2*3 |
|
> |
|
22 |
|
|
|
4! |
|
= |
|
1*2*3*4 |
|
> |
|
23 |
|
|
|
i! |
|
|
|
|
|
≥ |
|
2i-1 |
|
|
for i ≥ 1 |
|
|
|
1/i! |
|
|
|
|
|
≤ |
|
1/2i-1 |
|
|
for i ≥ 1 |
Note: The presentation above illustrates the idea.
To be rigorous, you could use proof by induction to shiw that 1/i! ≤ 1/2
i-1.
Then
|
|
|
|sn| |
|
= |
|
sn |
|
|
|
|
|
= |
|
∑i=0 to n 1/i! |
|
|
|
|
|
= |
|
1/0! + ∑i=1 to n 1/i! |
|
|
|
|
|
= |
|
1/1 + ∑i=1 to n 1/i! |
|
|
|
|
|
= |
|
1 + ∑i=1 to n 1/i! |
|
|
|
|
|
≤ |
|
1 + ∑i=1 to n 1/2i-1 |
|
|
|
|
|
≤ |
|
1 + ∑i=0 to n-1 (1/2)i |
|
|
|
|sn| |
|
≤ |
|
1 + ∑i=0 to n-1 (1/2)i |
|
|
(intermediate result 3)
|
Then we either remember or derive a closed form for b
n = ∑
i=0 to m r
i,
|
|
|
(1-r) * bn |
|
= |
|
|
(1-r) * ∑i=0 to m ri |
|
|
|
|
|
= |
|
|
∑i=0 to m ri - r * ∑i=0 to m ri |
|
|
|
|
|
= |
|
r0 |
+ r1 + r2 + ... + rn-1 + rm |
|
|
|
|
|
|
|
|
- r1 - r2 - ... - rm-1 - rm |
- rm+1 |
|
|
|
|
|
= |
1 |
|
|
- rm+1 |
|
|
|
(1-r) * bm |
|
= |
1 |
|
|
- rm+1 |
|
|
|
bm |
|
= |
|
|
(1 - rm+1) / (1-r) |
|
|
|
∑i=0 to m ri |
|
= |
|
|
(1 - rm+1) / (1-r) |
|
|
(intermediate result 4) |
Then
|
|
|
|sn| |
|
≤ |
|
1 + ∑i=0 to n-1 (1/2)i |
|
|
|
(intermediate result 3)
|
|
|
|
|
|
= |
|
1 + (1 - (1/2)n) / (1-1/2) |
|
|
|
using (intermediate result 4) with r = 1/2 and m = n-1 |
|
|
|
|
|
= |
|
1 + (1 - (1/2)n) / (1/2) |
|
|
|
|
|
= |
|
1 + 2 - (1/2)n - 1 |
|
|
|
|
|
< |
|
1 + 2 - (1/2)n - 1 + (1/2)n - 1 |
|
|
|
since (1/2)n - 1 > 0 |
|
|
|
|
|
= |
|
1 + 2 + 0 |
|
|
|
|
|
|
|
= |
|
3 |
|
|
|
|
|
|sn| |
|
< |
|
3 |
So s
n is bounded.
(intermediate result 2)
s
n is monotonic and bounded by
(intermediate result 1) and
(intermediate result 2)
so s
n converges by Theorem 2.
Notes:
-
Each property requires its own proof.
-
Because the properties were not too complicated, the work does not need to be re-ordered for the proof.
-
The actual use of the theorem is only a single sentence (2 lines).
Using The Cauchy Criterion (Theorem 1)
Assume n ≥ 0 and m ≥ 0. Without loss of generality, assume n ≤ m
|
|
|
|sn - sm| |
|
= |
|
|∑i=0 to n1/i! - ∑i=0 to m 1/i!| |
|
|
Definition of sn |
|
|
|
|
|
= |
|
|∑i=n+1 to m 1/i!| |
|
|
|
|
|
= |
|
∑i=n+1 to m 1/i! |
|
|
|
|
|
< |
|
∑i=n+1 to m 1/2i-1 |
|
|
Same argument as in previous proof. |
|
|
|
|
|
= |
|
2 * ∑i=n+1 to m 1/2i |
|
|
|
|
|
< |
|
2 * (1/2)n + 1∑i=0 to m-n-1 1/2i |
|
|
|
|
|
= |
|
(1/2)n * (1 - (1/2)m - n)/(1 - 1/2) |
|
|
Using (intermediate result 4) |
|
|
|
|
|
= |
|
(1/2)n * (1 - (1/2)m - n)/(1/2) |
|
|
|
|
|
= |
|
(1/2)n - 1 * (1 - (1/2)m - n) |
|
|
|
|
|
< |
|
(1/2)n - 1 * (1) |
|
|
|
|
|
= |
|
(1/2)n - 1 |
|
|
|
|
|
= |
|
(1/2)n - 1 |
The Cauchy property requires that |a
n - a
m| < 𝜀.
So we want to find values of n that satisfy (1/2)
n - 1 < 𝜀.
|
|
(1/2)n - 1 < 𝜀 |
|
|
⇔ |
|
|
2*(1/2)n < 𝜀 |
|
|
|
|
|
⇔ |
|
|
(1/2)n < 𝜀/2 |
|
|
|
|
|
⇔ |
|
|
2n > 2/𝜀 |
|
|
|
|
|
⇔ |
|
|
n > log2(2/𝜀) |
Writing out the Proof:
Let s
n = ∑
i=0 to n1/i!
∀ 𝜀 > 0, let N = ceiling(log
2(2/𝜀))
Then let n and m be integers s.t. n≥N and m≥N. (without loss of generality, assume n ≤ m.)
|
|
|
|sn - sm| |
|
= |
|
|∑i=0 to n 1/i! - ∑i=0 to m 1/i!| |
|
|
Definition of sn |
|
|
|
|
|
= |
|
|∑i=n+1 to m 1/i!| |
|
|
|
|
|
= |
|
∑i=n+1 to m 1/i! |
|
|
|
|
|
< |
|
∑i=n+1 to m 1/2i-1 |
|
|
Same argument as in previous proof. |
|
|
|
|
|
= |
|
2 * ∑i=n+1 to m 1/2i |
|
|
|
|
|
< |
|
2 * (1/2)n + 1∑i=0 to m-n-1 1/2i |
|
|
|
|
|
= |
|
(1/2)n * (1 - (1/2)m - n)/(1 - 1/2) |
|
|
Using (intermediate result 4) |
|
|
|
|
|
= |
|
(1/2)n * (1 - (1/2)m - n)/(1/2) |
|
|
|
|
|
= |
|
(1/2)n - 1 * (1 - (1/2)m - n) |
|
|
|
|
|
< |
|
(1/2)n - 1 * (1) |
|
|
|
|
|
= |
|
(1/2)n - 1 |
|
|
|
|
|
= |
|
2 * (1/2)n |
|
|
|
|
|
≤ |
|
2 * (1/2)N |
|
|
since n ≥ N |
|
|
|
|
|
≤ |
|
2*(1/2)log2(2/𝜀) |
|
|
By choice of N |
|
|
|
|
|
= |
|
2*1/2log2(2/𝜀) |
|
|
|
|
|
= |
|
2*1/(2/𝜀) |
|
|
|
|
|
= |
|
𝜀 |
|
|
|
|sn - sm| |
|
< |
|
𝜀 |
∀ 𝜀 > 0, ∃ N = ceiling(log
2(2/𝜀)) ∈ ℕ
s.t. for n,m ∈ ℕ, n≥N and m≥N ⇒ |s
n - s
m| < 𝜀
s
n = ∑
i=0 to n1/i! is a Cauchy sequence.
s
n converges by Theorem 1.
Key Takeaways:
-
Again, the order in which the proof is presented is not the order in which the proof is constructed.
Construction: N is found at the end.
Presentation: N is given at the beginning.
If one reads only the proof, the key part (N = ceiling(log2(2/𝜀))) seems to appear out of thin air.
The way to study the proof is to try the proof on your own and figure out the thought process that
motivates the key parts.
-
This page shows an example of how you can prove a single result in multiple ways.
-
Patterns:
When applying theorems, you must make sure that every condition is met.
The proof will be a sequence of sub-proofs, one for each property.
After those, applying the theorem may be just one line.
-
Notation:
When your proofs get long, you might want to label intermediate results for easier reference later in the proof.
Using different colors or boxes around key points makes your proof easier to follow.
-
Organizing the theorems:
This example considered only two theorems.
But a typical class will have many theorems.
One way to organize the theorems in you head is to group them by inputs and outputs.
Inputs are the conditions that must be met (monotonic, bounded, Cauchy).
Outputs are the conclusions (the squence converges, the sequence converges to limit L,
the function is differentiable).
Back to Real Analysis