A series is a sequence of partial sums, hence
a series converges if and only if its sequence of partial sums converges.
** **
We explore this more here. Consider the geometric series
. First the terms of the sequence to be added.

`> `
**a := n-> 1/exp(2*n);
**
Now we build the sequence of partial sums associated to the series in Exercise 14.

`> `
**S := n-> sum(a(k),k=1..n);**

And for example we can obtain the first 30 terms of both sequences:

`> `
**seq(a(n),n=1..20);**

`> `
**seq(evalf(S(n)),n=1..30);**

You should be sure to understand where both these sequences come from. From this work, it looks like the series converges to .1565176426 (at least to 10 significant digits). In fact, we see that this series is a
**geometric series**
with
and
. Since
, we have by the geometric series formula, that this series will sum to
which is to 10 significant digits equal to .1565176427.

`> `
**S(n);**

`> `
**Limit(Sum(a(k),k=1..n),n=infinity) = limit((S(n),n=infinity));**

Now Maple can do infinite series - but you should know that an infinite series is always a limit of partial sums as discussed here.

`> `
**limit(S(n),n=infinity);**

`> `

**Submission:**

Consider the series .

**(a)**
Argue from the
**test for divergence**
, why this series is POSSIBLY convergent.

**(b)**
Use Maple's partial fraction command to rewrite the terms of the series.

**(c)**
Use your result in (b) to find an expression for the
*n*
th term in the sequence of partial sums.

**(d)**
Take the limit of this expression as
, and confirm your answer with Maple.

**(e)**
Consider the series
. Determine whether this series converges. Justify your answer.

**Submission worksheet:**

`> `

**2. Plotting the **
**n****'th partial sum of a series.**
** **

If
, then we can plot the sequence of partial sums in order to get an impression of whether the series converges. For example, consider the series
. This time, let us define the
*k*
'th term and
*n*
'th partial sum as functions, and then plot the first few partial sums.

`> `
**a:=k->1/sqrt(k)-1/sqrt(k+1);**

`> `
**s:=n->sum(a(k),k=1..n);**

`> `
**plot([seq([n,s(n)],n=1..1000)],style=point);**

The plot does support the idea that the sequence of partial sums may be converging to 1. But pictures can be very deceiving, so be careful. For example, consider the series represented below.

`> `
**a:=k->1/k;**

`> `
**s:=n->sum(a(k),k=1..n);**

`> `
**plot([seq([n,s(n)],n=1..1000)],style=point);**

The sum of the first 1000 terms is not very large. But we know the series diverges, because this is just the harmonic series. Even Maple knows this series diverges.

`> `
**sum(a(k),k=1..infinity);**

**Submission:**

Consider the series given by .

a) Have Maple try to compute . If that does not work, ask Maple for a floating point estimate of the sum. What does Maple's response tell you?

b) Plot the first 100 points in the sequence of partial sums. Use this to give an estimate of the sum of the series.

c) Plot the first 200 points in the sequence of partial sums. Use this to give a new estimate of the sum of the series.

d) Plot the first 400 points in the sequence of partial sums. What do you observe now?

e) You probably have observed that there is some interesting behaviour in the sequence of partial sums that happens when . Find a floating point estimate of the number 355/113, and explain why that estimate has something to do with what happens.

**Submission Worksheet:**

`> `

`> `

`> `