A sequence(an)n is an infinitely long ordered list of numbers.
When working with sequences, we're most interested in the limiting behavior, i.e., what happens as n→∞.
Limits of Sequences
Definition
Let (an)n be a sequence. Then we say that (an)nconverges if limn→∞an exists, and we say that it diverges if the limit does not exist.
A lot of times, you can just replace n with x and calculate limits like you usually do:
Example 1.
Calculate n→∞lim3n2+4n2+1.
Solution.
Technically, we can't use L'Hôpital's rule yet. We need differentiable functions to use it, but functions of n are not differentiable. This is because to take a derivative, you need to take a limit that looks like this:
f′(x)=h→0limhf(x+h)−f(x),
but sequences are only defined on whole numbers, whereas h can take on fractional values as h→0. However, if you replace n with xand the resulting limit exists, then it's the same as the original limit:
The bolded part of the sentence above is important: if the limit with x doesn't exist, then you run into trouble.
Example 2.
Calculate n→∞limsin(nπ).
Solution.
Let's try to replace n with x (the following thing is wrong):
n→∞limsin(nπ)=x→∞limsin(πx)=DNE.
You can't write the first equals sign because the resulting limit does not exist. In this example, the limit with x doesn't exist, but the limit with n does: sin(nπ)=0 for every integer n, so
n→∞limsin(nπ)=n→∞lim0=0.
(For this example, the fact that n is an integer is very important.)
Bounded Monotone Sequences
Theorem (bounded monotone sequences converge)
Let (an)n be a sequence.
If (an)n is bounded above and is increasing, then (an)n converges.
If (an)n is bounded below and is decreasing, then (an)n converges.
As a rule of thumb, this theorem is mainly useful when dealing with recursive sequences.
Example 3.
Let a1=4 and an=21(an−1+8) for n≥2. Show that (an)n converges and calculate its limit.
Solution.
To solve this problem, we'll be using induction a lot. Basically, induction says that to prove something is true for every n, we just need to prove two things:
Base case: Prove it's true for the first case, usually n=1.
Inductive step: Assume it's true for n=k and prove it's true for n=k+1 (i.e., if one case is true, then so is the next one).
We're going to try to use the theorem above to prove that this sequence converges, so we need to show that it's bounded and that it's increasing or decreasing. To figure that out, it's a good idea to write out the first couple terms and make an educated guess:
Based on these terms, we're going to make the guess that an≤10 and that (an)n is increasing.
Proof that an≤10:
As mentioned above, we're going to use induction here.
Base case: (n=1)
a1=4≤10, so the base case is true.
Inductive step:
To do this step, we need to assume that ak≤10 and then prove that ak+1≤10 also. If we use the recursive formula for ak+1, we get
ak+1=21(ak+8).
Since ak≤10, we can replace ak with 10 and get something bigger overall:
ak+1=21(ak+8)≤21(10+8)=9≤10,
which finishes the inductive step.
Since the base case and inductive step are both true, this means that an≤10 for every n.
Proof that (an)n is increasing:
(an)n increasing means that an≤an+1 for every n. Like above, we're going to prove this by induction:
Base case: (n=1)
a1=4 and a2=6, so a1≤a2, which means the base case is true.
Inductive step:
Like before, we're going to assume that ak≤ak+1, and we need to prove that ak+1≤ak+2 also. As a tip, it's almost always easier to move all the terms to one side, i.e., prove that ak+1−ak+2≤0 instead:
ak+1−ak+2=21(ak+8)−21(ak+1+8)=21≤0 by assumption(ak−ak+1)≤0.
This proves that ak+1≤ak+2, so by induction, (an)n is increasing.
Finishing the problem:
We've shown that (an)n is bounded above (by 10) and is increasing, so by the theorem, we know that the sequence converges. So, the limit L=limn→∞an exists. To complete the problem, we just need to figure out what 10 is. We can do this via the recursive relation:
an=21(an−1+8).
Because we know that limn→∞an exists, we're now allowed to take limits on both sides:
The sequence (an−1)n is just the sequence (an)n, but shifted one term over. This means that they're essentially the same sequence, which means they have the same limit, i.e., limn→∞an−1=L also. Thus,
L=21(L+8)⟹2L=L+8⟹L=8.
Squeeze Theorem
Theorem (squeeze theorem)
Let (an)n,(bn)n,(cn)n be sequences. If:
an≤bn≤cn
limn→∞an=limn→∞cn=L
Then limn→∞bn=L as well.
In general, this theorem is pretty hard to use because you have to figure out what an and cn need to be.
Example 4.
Prove that n→∞limn!Rn=0 when R>0.
Solution.
Since R>0, there exists an integer M such that M≤R≤M+1. Since R>0 and n!>0, we already know that 0≤n!Rn. On the other hand,