Sequences

I.  Midterm 2

II.   Definition of a Sequence

A sequence is a list of numbers, or more formally, a function f(n) from the natural numbers to the real numbers.

We write

an to mean the nth term of the sequence.

Example:

If an = 1/(n + 2) then we have

a1 = 1/3, a2 = 1/4, etc.

Exercise:  

Write the general term an for the following sequences:

A)  -1,1,-1,1,-1,1,...

B)  1,4,9,16,...

C)  1/2, -1/6, 1/24,-1/120,...

D)  1, 1/2, -1/4, -1/8, 1/16, 1/32, -1/64, -1/128, ...

II.  The Limit of a Sequence

Consider the sequence

1/2, 2/3, 3/4, 4/5, ...

We see that as n becomes large the numbers approach 1.  In particular if you give me any small error number e, I can find an N such that all an for n > N, |an -1| < e.  We say that the limit of the sequence approaches 1.  

In general, if an is a sequence that converges to a limit L then for any e > 0, we can find an N such that for all n > N

|an - L| < e  

If there is no such L then we say that the sequence diverges.

Theorem:  Let f(n) = an  be a sequence, then an -> L if and only if lim f(n) as n -> infinity = L.

Example:  We find the limit of the sequence an = (2n + 1)/(n-3) by considering the function

f(n) = (2n + 1)/(n - 3)  We not that as n -> infinity, we get infinity/infinity hence we can use L'Hopital's Rule:  Taking derivatives of the top and bottom, we have

2/1 hence the limit is 2.