Series 215 problem 03.mws

The integral test is used to determine whether certain series converge. In order to use the integral test on the

series , it is necessary to find a continuous, positive, and decreasing function f which satisfies .

For example, let . Then a natural choice for the function f is .

This function is continuous and positive for . To check that it is also decreasing , let us examine its derivative.

> f:=x->1/(x*ln(x+1));

> simplify(D(f)(x));

Note that every term in the fraction is positive when , and the fraction is multiplied by -1, so the derivative of the function f is negative, which means the function is decreasing. Thus we can use this function in the integral test, because all the hypotheses of the integral test are satisfied. Let us compute the integral.

> int(f(x),x=1..infinity);evalf(%);

Whatever Maple means by Float(infinity), we surely don't know, but Maple has not told us whether this integral converges, and it means that we will have to compare this integral to one which we can evaluate. Let . Then

it is easy to see that 0 < < on [ ). We can calculate using Maple:

> int(1/((x+1)*ln(x+1)),x=1..infinity);

But by the comparison test for integrals, it follows that diverges because diverges. From this result, we obtain that our original series also diverges.

Submission:

For the series below, do the following.

a) Find a function f which satisfies .

b) Show that your function is positive, continuous, and decreasing.

c) Determine whether the integral of your function converges or diverges.

d) Determine whether the series converges or diverges.

1)

2)

Submission worksheet:

>

The integral test is used to determine whether certain series converge. In order to use the integral test on a positive term series , it is necessary to find a continuous, positive, and decreasing function f which satisfies . Consider the series, . This series is convergent since it is a p-series with p = 4 > 1, but let us argue carefully that it is convergent using the integral test. First, we choose , and observe that . Also for

(in fact it is always positive valued, but we don't need this) and f is continuous on . To show that f is decreasing we take its derivative and show that this is negative on . We could get Maple to differentiate, but this is easier to do it by hand, so which is negative if . Therefore (and this is important), f satisfies the hypotheses of the integral test. So if the series above will converge if the improper integral, does, and diverge if the

improper integral diverges. A one line Maple code confirms what we already know.

> int(1/x^4,x=1..infinity);

Therefore the series converges by the integral test.

Submission:

(a) Show that the series is convergent.

(b) Find an upper bound for the error in the approximation = .

(c) What is the smallest value for N such the upper bound is less than 0.05 ?

(d) Find for this value of N .

(hint: you may want to use the comparison theorem for improper integrals)

Submission worksheet:

>

Let us consider the series whose n 'th term is given by . To apply the ratio test, we need to consider . Let us define the n 'th term as a function of n and use Maple to compute this limit.

> a:=n->(2^n+5)/(3^n);

> limit(a(n+1)/a(n),n = infinity);

Since this limit is less than 1, the series converges. We could also try the root test, which means we need to compute .

> limit(a(n)^(1/n),n = infinity);

According to the root test, since 2/3<1, the series converges. Of course, we could also compute the sum of the series directly, and verify it converges this way. With Maple, we calculate

> Sum(a(n),n=0..infinity)=sum(a(n),n=0..infinity);

We really don't need Maple to compute this sum, because the series can be broken up as a sum of two geometric series.

> Sum((2^n+5)/(3^n),n=0..infinity)=Sum((2/3)^n,n=0..infinity)+Sum(5*(1/3)^n,n=0..infinity);

The first series converges to , while the second converges to , which explains the sum of the whole series.

Submission:

For the following series, use Maple to apply the ratio and the root tests. Determine whether the series converges.

1) .

2) .

Submission worksheet:

>

You have been introduced to the ideas of absolute and conditional convergence along with the ratio and root tests.

Submission:

Determine if the following series are absolutely convergent, conditionally convergent or divergent.

If the series is convergent, use Maple to approximate the sum by finding the sum of the first 100 terms.

(a)

(b)

(c)

Submission worksheet:

>

>

>