Lecture 9 - Introduction to Sequences and Series

This will not be on the exam tomorrow, and this introduction will be pretty light.

First let's define a Sequence:

These are just ordered lists of elements. Essentially we talked about Countable Sets, so in the same vein we can have an order to the elements a1,a2,a3,....

Sequence

A sequence is a function f where the domain is just N.

For instance, consider the sequence of numbers {12,14,18,...}. What do we mean that the sequence is a function with domain N? Essentially 112,214, and so on. In general n12n.

Logically, having either a finite sequence or an infinite sequence, both are countable, which is the key here.

Notation

We write a sequence in any of the following notations:

  • (a1,a2,a3,...)
  • (an)n=1
  • (an)nN
  • (an)
From calculus ...

We may start with an index n starting from 0 or some other integer kZ.

Why do we care about sequences? They're important for describing infinite sums, known as Series, Convergence of A Series.

Examples of Sequences

i. (1,12,13,14,)
ii. (1+nn)n=1
iii. (an) where an=2n for each nN
iv. (xn) where x1=2 and xn+1=xn+12

\

Before our definition, consider an infinite sum n=1an=a1+a2+a3+. Then the sequence of partial sums sn is just the first n-terms summed up:
sn=k=1nak=a1+a2++an
So given the definition of a convergent sequence, we'll have a definition for a convergent series as well.

Series

An infinite series is a formal expression of the form:
n=1an=a1+a2+
To this we associate a sequence of partial sums is the sequence (sm)mN defined as:
sm=a1+a2++am
We say that n=1an converges to sR and write:
n=1an=s
To mean that (sm)s.

The difficulty here is that (sm) is usually very hard to compute. But let's look at a simple one.

Example: Geometric Series

Let rR. Consider:
n=0rn=1+r+r2+
sm=1+r+r2++rm
Recall that in general that: akbk=(ab)(ak+ak1b++bk) (multiply out the right side to verify). With that then:
1rm+1=(1r)(1+r+r2++rm)=(1r)sm
So long as r1 (which diverges anyways) then:
sm=1rm+11r=11r+(11r)rm+1
Then from our talk on Monotonic Sequences:

Monotonic Sequences

A Sequence (an) is

  • increasing if nN we have anan+1
  • decreasing if nN we have anan+1
  • monotone if it is either increasing or decreasing.

See also Monotone Convergence Theorem.

Gives us that when r(0,1) then:
sm11r+(11r)limrm+1=11r
So if |r|<1 then |rm+1|0 so then rm+10, allowing us to make this deduction.

If instead |r|>1 then rm+1 is unbounded, so then the sequence has to diverge (since all sequences are bounded, so unbounded must imply divergent).

If r=1 then it diverges since it's also unbounded as sm=m+1. If r=1 then:
(rm+1)=(1,1,1,1,)
Which is divergent since we can use the definition of convergence and show that we can choose ε=12 such that any bound is missing 1 or 1, showing divergence.

Using the ALT

Using the Limit Laws (Algebraic Limit Theorem) then:
n=0rn
is:

  • converges 11r if |r|<1
  • diverges otherwise
Showing any series converges.

Consider for a moment the series n=1an where nN, an0 and an+1an. As a result, we have to have (sm) be increasing (since there's no negative terms to decrease the partial sum), and thus monotonic. Using the Monotonic Sequences then the only way n=1an converges iff (sm) is bounded above (obviously it is bounded below already).
So the name of the game to show the series converges is to show an upper bound for the partial sums. Similarly, to show it diverges, show that no such upper bound can exist.

Series converges Bounded Partial Sums

A series n=1 where an0 and an+1an for all nN converges iff (sm), the sequence of partial sums, is bounded above.

Proof
See our remark above.

Example 2

Consider the series:
n=1=1+122+132+
It's a p-series with p=2>1 so we expect it to converge. But let's show it converges. We'll show that there's a bound for sm. Notice that:
sm=1+122+132++1m2
Notice that:
sm=1+122+132++1m2Incomputable1+112+123++1(m1)mSlightly bigger, but computable=1+(1112)+(1213)++(1m11m)1(x1)x=1x11x=1+1(1212)(1313)++(1m11m1)1m=21m<2
Thus then sm is bounded above by 2, so then the series converges. Not only that, but by the Limits and Order (Order Limit Theorem), then it converges to some value less than 2.

Example 3: Harmonic Series

Consider:
n=11n=1+12+13+
we know that this diverges, but let's prove it. We have to show that (sm) is unbounded. Then:
sm=1+12+13++1mIncomputable=1+12+13++12kLet m=2k for a moments2k=1+12+(13+14)214+(15++18)418++(12k1+1++12k)2k112k1+12+12+12++12k times=1+k2
Clearly as k then 1+k2 (diverges) so then s2k must also diverge since it's unbounded.

Example 4: The General Case

Now consider the abstract, general case of nN where an0 and an+1an. Let sm=n=1man. Then let m=2k similar to our previous example:
s2k=a1+a2+(a3+a4)+(a5++a8)++(a2k1+1++a2k)a1+a2+2a4+4a8++2k1a2k12(a1+2a2+4a4++2ka2k):=tk
So if m2k then sm12tk. Showing that tk is unbounded would imply that s2k is unbounded, showing a divergent series.

We could do a bound in the other direction too:
s2k=a1+(a2+a3)2a2+(a4++a7)4a4+(a8++a15)8a8++(1a2k1++1a2k1)+a2k2k1a2k1a1+2a2+4a4+8a8++2k1a2k1+2kak=tk
So if m2k then smtk.

There are some cautionary tales that will help develop more rigorous definitions here.

Cautionary Tales

The First Tale

Consider the alternating harmonic series:

112+1314+1516+

from calculus we can use the AST to show that this converges. Specifically it is given that it converges to ln(2), but this isn't important so say it converges to sR:

s=112+1314+1516+

Now multiply the series by 12:

12s=1214+1618+

Now add the halves from the s equation with either other with the 12 in the 12s equation:

32s=1+1312+15+1714+

is a rearrangement of the terms of the AHS. It seems that rearranging the series gives a different number.

Summary

The order of added terms dictates what number the series converges to.

Because P(N) is uncountable, then we could reorder this in an uncountable order. This suggests that we could order these in any way, such that we could get any real number out. In fact, we claim that:

Claim

Given any rR, there is some rearrangement of the AHS such that it adds up to r.

This is crazy! This seems to break commutativity that we know in the finite sense.

The Second Tale

What if we do double summations (similar to that of doing double integrals)? Consider the series:

12+14+18+116+=1

Let's make it add to zero by doing a 1 out front:

1+12+14+18+116+=0

Remark that putting a 0 out front doesn't change the sum:

01+12+14+18+116+=0

and we can keep adding zeroes:

0+01+12+14+18+116+=0

Putting these in a giant grid:

-1 1/2 1/4 1/8 1/16 ...
0 -1 1/2 1/4 1/8 ...
0 0 -1 1/2 1/4 ...
0 0 0 -1 1/2 ...
... ... ... ... ... ...
Let amn denote the entry in the m-th row and n-th column. What is mN,nNamn?
If we go rows first then they all add to 0, by our arguments above. For the column first, we have:

If we add all the values in the rows first, we expect 0 since 0+0+=0. So Σ=0 right?If we add columns first instead we get:

11214=2=Σ

So what is it? Is the series 0 or -2?

The Third Tale

Consider the series:

11+11+11+

We could add in groups like:

(11)+(11)+(11)+=0+0+0+=0

But we could also group like:

1+(1+1)+(1+1)+=1+0+0+=1

so again which is it?

The Conclusion

The moral of these tales is that we need to be precise about what it means to converge! As such then

This allows us to define Convergence of a Sequence:

Convergence of a sequence

A Sequence (an) of real numbers converges to some LR if:
ε>0NNnN(|anL|<ε)

Geometrically this is saying:

Given some error ε, you can always choose a start point in the sequence an at point N such that all further terms are within the range of anL and an+L .

We write:
L=limnan=limananL
when L is the limit of (an).

If L then we say (an) diverges; namely if (an) doesn't converge then it diverges.