Pages

Saturday, April 22, 2023

alternating series

 

Alternating series

In mathematics, an alternating series is an infinite series of the form

or

with an > 0 for all n. The signs of the general terms alternate between positive and negative. Like any series, an alternating series converges if and only if the associated sequence of partial sums converges.


Examples[edit]

The geometric series 1/2 − 1/4 + 1/8 − 1/16 + ⋯ sums to 1/3.

The alternating harmonic series has a finite sum but the harmonic series does not.

The Mercator series provides an analytic expression of the natural logarithm:

The functions sine and cosine used in trigonometry can be defined as alternating series in calculus even though they are introduced in elementary algebra as the ratio of sides of a right triangle. In fact,

and
When the alternating factor (–1)n is removed from these series one obtains the hyperbolic functions sinh and cosh used in calculus.

Proof of Alternating Series Test

Without loss of generality we can assume that the series starts at =1. If not we could modify the proof below to meet the new starting place or we could do an index shift to get the series to start at =1.

Also note that the assumption here is that we have =(1)+1. To get the proof for =(1) we only need to make minor modifications of the proof and so will not give that proof.

Finally, in the examples all we really needed was for the  to be positive and decreasing eventually but for this proof to work we really do need them to be positive and decreasing for all .

First, notice that because the terms of the sequence are decreasing for any two successive terms we can say,

+10

Now, let’s take a look at the even partial sums.

2=1204=12+34=2+342because 3406=4+564because 5602=22+21222because 2120

So, {2} is an increasing sequence.

Next, we can also write the general term as,

2=12+34+5+22+212=1(23)(45)+(2221)2

Each of the quantities in parenthesis are positive and by assumption we know that 2 is also positive. So, this tells us that 21 for all .

We now know that {2} is an increasing sequence that is bounded above and so we know that it must also converge. So, let’s assume that its limit is  or,

lim2=

Next, we can quickly determine the limit of the sequence of odd partial sums, {2+1}, as follows,

lim2+1=lim(2+2+1)=lim2+lim2+1=+0=

So, we now know that both {2} and {2+1} are convergent sequences and they both have the same limit and so we also know that {} is a convergent sequence with a limit of . This in turn tells us that  is convergent.


EXAMPLE  1  Determine if the following series is convergent or divergent.

ANSWERE

First, identify the  for the test.

=1(1)+1==1(1)+11=1

Now, all that we need to do is run through the two conditions in the test.

lim=lim1=0=1>1+1=+1

Both conditions are met and so by the Alternating Series Test the series must converge.

Example 2  Determine if the following series is convergent or divergent.

=2cos()

ANSWERE

The point of this problem is really just to acknowledge that it is in fact an alternating series. To see this we need to acknowledge that,

cos()=(1)

If you aren’t sure of this you can easily convince yourself that this is correct by plugging in a few values of  and checking.

So the series is really,

=2cos()==2(1)=1

Checking the two condition gives,

lim=lim1=0=1>1+1=+1

The two conditions of the test are met and so by the Alternating Series Test the series is convergent.

Example 3 Determine if the following series is convergent or divergent.

=1(1)22+5A

ANSWERE

First, identify the  for the test.

=1(1)22+5==1(1)22+5=22+5

Let’s check the conditions.

lim=lim22+5=10

So, the first condition isn’t met and so there is no reason to check the second. In these cases where the first condition isn’t met it is usually best to use the divergence test.

So, the divergence test requires us to compute the following limit.

lim(1)22+5

This limit can be somewhat tricky to evaluate. For a second let’s consider the following,

lim(1)22+5=(lim(1))(lim22+5)

Splitting this limit like this can’t be done because this operation requires that both limits exist and while the second one does the first clearly does not.

So, let’s start with,

lim(1)22+5=lim[(1)22+5]

Now, the second part of this clearly is going to 1 as  while the first part just alternates between 1 and -1. So, as  

In order for limits to exist we know that the terms need to settle down to a single number and since these clearly don’t this limit doesn’t exist and so by the Divergence Test this series diverges.

for more better understanding refer this video



No comments:

Post a Comment

PREVIOUS POSTS