A sequence or equivalently an infinite sequence is a function \(f\) from the positive integers, \(\mathbb{Z}^{+}\) to the reals. The following \((a_{1},a_{2},a_{3},\ldots )\) is a sequence and can more compactly be written \((a_{n})_{n=1}^{\infty}\text{.}\)
The definition states that a sequence is a function from the positive integers to the reals, it is often nice to write down the function. It isn’t always easy to do. For example, the function of the first three sequences in Example 1.3.2, are \(a_{n}=n\text{,}\)\(b_{n}=\frac{1}{n}\text{,}\)\(c_{n} = -\cos (n\pi/2)\text{.}\) The fourth and fifth ones are not easily written as a function, but instead can be easily written recursively. For example, the fourth sequence is
Despite the fact that we could not write down a formula for the function to generated sequences 4 and 5 in Example 1.3.2, since a function is a rule, some function actually exists.
As we will see or you probably already know, it is important to know if the sequence approaches a number eventually. This is called the limit of the sequence and
A monotonically increasing sequence is a sequence \(a_{n}\text{,}\) such that \(a_{n+1}\geq a_{n}\) for all \(n\text{.}\) A monotonically decreasing sequence is a sequence \(b_{n}\text{,}\) such that \(b_{n+1}\leq b_{n}\) for all \(n\text{.}\) A sequence that is either monotonically increasing or decreasing is called a monotonic sequence.
The first sequence is fairly obviously decreasing. However, the second is a bit less clear. The second is increasing, and can be shown by examining the derivative. If \(b_{n}=f(n)\text{,}\) then
And solving for \(L\) leads to \(L=(-1+\sqrt{5})/2\approx 0.618)\text{.}\) If you take a number of terms of the sequence, you’ll see that it appears to be converging to this. We’ll see in Section ????? why this actually converges.
This is actually relative difficult to prove that it converges even though it appears that the sequence is approaching 0. However, the squeeze theorem is quite helpful:
In more informal terms, if the sequence \(a_{n}\) is always between two sequences \(b_{n}\) and \(c_{n}\) for all \(n\text{,}\) and the limit is the same for both \(b_{n}\) and \(c_{n}\text{,}\) then the limit of \(a_{n}\) is the same.