Difference between revisions of "Alternating Series"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
(Created page with "<strong>The Alternating Series Test</strong> * [https://www.youtube.com/watch?v=8qhVGeCkgGg The Alternating Series Test] Video by James Sousa, Math is Power 4U * [https://www...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<strong>The Alternating Series Test</strong>
+
== Alternating series ==
 +
 
 +
An ''alternating series'' is any series whose terms alternate in sign — that is, any series for which the product of any two consecutive terms is negative.
 +
 
 +
Equivalently, an alternating series is one that can be written in the form
 +
:<math>\sum_{n=c}^\infty (-1)^{n+d}\, b_n,</math>
 +
for some fixed integers <math>c</math> and <math>d</math>, and sequence of positive terms <math>b_n</math>. (If the ''n''<sup>th</sup> term of the series is called <math>a_n</math>, as usual, then notice that <math>b_n=|a_n|</math>.)
 +
 
 +
As with geometric series, we have defined alternating series here in a slightly more general way than is typically done in calculus textbooks. Usually alternating series are either defined quite restrictively as
 +
:<math>\sum_{n=1}^\infty (-1)^{n+1} b_n,</math>
 +
or as being in one of the two forms
 +
:<math>\sum_{n=1}^\infty (-1)^{n} b_n \mbox{ or } \sum_{n=1}^\infty (-1)^{n-1} b_n,</math>
 +
in all cases the <math>b_n</math> being some sequence of positive terms. It is easy to see that these other definitions are special cases of our formula above.
 +
 
 +
It should be obvious that we could not hope to write a formula for the partial sums of a general alternating series (besides, of course, the definition of partial sums given earlier), but, perhaps surprisingly, we ''can'' say when such a series converges.
 +
 
 +
An alternating series converges if its terms eventually decrease in magnitude to zero — that is, if
 +
:<math>\lim_{n\to\infty} |a_n| = 0</math>
 +
and
 +
:the sequence <math>\{|a_n|\}</math> is eventually decreasing.
 +
 
 +
However, if either of these conditions are not satisfied, it does ''not'' mean that the alternating series must diverge.
 +
 
 +
Note that any geometric series with <math>r<0</math> is alternating. If <math>|r|<1</math>, then the conditions for convergence of an alternating series will be satisfied. This can be proven in the general case, but we will simply illustrate with an example.
 +
 
 +
; Example
 +
 
 +
Consider the series
 +
:<math>\sum_{n=1}^\infty \left(-\frac{1}{2}\right)^{n-1}.</math>
 +
This series can be written in the form
 +
:<math>\sum_{n=1}^\infty (-1)^{n-1} \left(\tfrac{1}{2}\right)^{n-1},</math>
 +
and so matches our definition of an alternating series (<math>c=1</math>, <math>d=-1</math>, and <math>b_n=(\tfrac{1}{2})^{n-1}</math>).
 +
 
 +
It is obvious that
 +
:<math>\lim_{n\to\infty} |a_n| = \lim_{n\to\infty} \left(\frac{1}{2}\right)^{n-1} = 0</math>
 +
and that
 +
:<math>|a_n|=\left(\frac{1}{2}\right)^{n-1}</math>
 +
is a decreasing sequence, so the series converges (as we knew it must, since it is geometric with <math>|r|<1</math>).
 +
 
 +
; Example
 +
 
 +
Consider the series
 +
:<math>\sum_{n=1}^\infty \frac{(-1)^n}{n}.</math>
 +
This is an alternating version of the harmonic series. Since
 +
:<math>\lim_{n\to\infty} \frac{1}{n} = 0</math>
 +
and
 +
:<math>|a_n|=\frac{1}{n}</math>
 +
is a decreasing sequence of terms, the series converges.
 +
 
 +
=== Absolute and conditional convergence ===
 +
 
 +
At this point we have considered divergent series whose terms have no limit (the arithmetic series) and divergent series whose terms have a limit of zero (the harmonic series). But every convergent series must have terms that converge to zero. So, does this mean convergent series are "all the same"? Definitely not. There are two kinds of convergence that can be thought of as two "strengths" of convergence: absolute and conditional. The distinction is important because there are things you can do with absolutely convergent series that you cannot do with merely conditionally convergent ones. First, though, some definitions:
 +
* A series <math>\textstyle \sum_{n=c}^{\infty} a_n</math> is said to ''converge absolutely'' (or to ''be absolutely convergent'') if <math>\textstyle \sum_{n=c}^{\infty} |a_n|</math> converges.
 +
* A series <math>\textstyle \sum_{n=c}^{\infty} a_n</math> is said to ''converge conditionally'' (or to ''be conditionally convergent'') if <math>\textstyle \sum_{n=c}^{\infty} |a_n|</math> diverges but <math>\textstyle \sum_{n=c}^{\infty} a_n</math> itself converges.
 +
 
 +
It should be obvious that this distinction only makes sense for series with a mixture of positive and negative terms. This includes, but is not limited to, alternating series.
 +
 
 +
; Example
 +
 
 +
We have seen that the harmonic series
 +
:<math>\sum_{n=1}^{\infty} \frac{1}{n}</math>
 +
is divergent but its alternating version
 +
:<math>\sum_{n=1}^{\infty} \frac{(-1)^n}{n}</math>
 +
is convergent. Since the first series may be formed by taking the absolute value of the terms in the second series, we see that the second series is conditionally convergent.
 +
 
 +
; Example
 +
 
 +
Consider the series
 +
:<math>\sum_{n=1}^{\infty} \frac{(-1)^n}{n^2}.</math>
 +
This is an alternating series whose terms decrease to zero in magnitude, so it converges. Furthermore, the series formed by the absolute value of the terms
 +
:<math>\sum_{n=1}^{\infty} \frac{1}{n^2}</math>
 +
is a ''p''-series with <math>p=2</math>, so it converges also. Therefore the original alternating series is absolutely convergent.
 +
 
 +
==Resources==
 +
===The Alternating Series Test===
  
 
* [https://www.youtube.com/watch?v=8qhVGeCkgGg The Alternating Series Test] Video by James Sousa, Math is Power 4U
 
* [https://www.youtube.com/watch?v=8qhVGeCkgGg The Alternating Series Test] Video by James Sousa, Math is Power 4U
Line 23: Line 97:
  
  
<strong>The Alternating Series Estimation Theorem</strong>
+
===The Alternating Series Estimation Theorem===
  
 
* [https://www.youtube.com/watch?v=oZ3PKvQKffE Find the Error in Using a Partial Sum to Approximate the Sum of an Alternating Series] Video by James Sousa, Math is Power 4U
 
* [https://www.youtube.com/watch?v=oZ3PKvQKffE Find the Error in Using a Partial Sum to Approximate the Sum of an Alternating Series] Video by James Sousa, Math is Power 4U
Line 36: Line 110:
  
  
<strong>Absolute Convergence and Conditional Convergence</strong>
+
===Absolute Convergence and Conditional Convergence===
  
 
* [https://www.youtube.com/watch?v=rEyeRKd3TWo Absolutely and Conditionally Convergent Series] Video by James Sousa, Math is Power 4U
 
* [https://www.youtube.com/watch?v=rEyeRKd3TWo Absolutely and Conditionally Convergent Series] Video by James Sousa, Math is Power 4U
Line 52: Line 126:
  
 
* [https://www.youtube.com/watch?v=FPK6LO1iiXc Absolute Convergence, Conditional Convergence, and Divergence] Video by The Organic Chemistry Tutor
 
* [https://www.youtube.com/watch?v=FPK6LO1iiXc Absolute Convergence, Conditional Convergence, and Divergence] Video by The Organic Chemistry Tutor
 +
 +
==Licensing==
 +
Content obtained and/or adapted from:
 +
* [https://en.wikibooks.org/wiki/User:Dcljr/Series Series, Wikibooks] under a CC BY-SA license

Latest revision as of 13:29, 29 October 2021

Alternating series

An alternating series is any series whose terms alternate in sign — that is, any series for which the product of any two consecutive terms is negative.

Equivalently, an alternating series is one that can be written in the form

for some fixed integers and , and sequence of positive terms . (If the nth term of the series is called , as usual, then notice that .)

As with geometric series, we have defined alternating series here in a slightly more general way than is typically done in calculus textbooks. Usually alternating series are either defined quite restrictively as

or as being in one of the two forms

in all cases the being some sequence of positive terms. It is easy to see that these other definitions are special cases of our formula above.

It should be obvious that we could not hope to write a formula for the partial sums of a general alternating series (besides, of course, the definition of partial sums given earlier), but, perhaps surprisingly, we can say when such a series converges.

An alternating series converges if its terms eventually decrease in magnitude to zero — that is, if

and

the sequence is eventually decreasing.

However, if either of these conditions are not satisfied, it does not mean that the alternating series must diverge.

Note that any geometric series with is alternating. If , then the conditions for convergence of an alternating series will be satisfied. This can be proven in the general case, but we will simply illustrate with an example.

Example

Consider the series

This series can be written in the form

and so matches our definition of an alternating series (, , and ).

It is obvious that

and that

is a decreasing sequence, so the series converges (as we knew it must, since it is geometric with ).

Example

Consider the series

This is an alternating version of the harmonic series. Since

and

is a decreasing sequence of terms, the series converges.

Absolute and conditional convergence

At this point we have considered divergent series whose terms have no limit (the arithmetic series) and divergent series whose terms have a limit of zero (the harmonic series). But every convergent series must have terms that converge to zero. So, does this mean convergent series are "all the same"? Definitely not. There are two kinds of convergence that can be thought of as two "strengths" of convergence: absolute and conditional. The distinction is important because there are things you can do with absolutely convergent series that you cannot do with merely conditionally convergent ones. First, though, some definitions:

  • A series is said to converge absolutely (or to be absolutely convergent) if converges.
  • A series is said to converge conditionally (or to be conditionally convergent) if diverges but itself converges.

It should be obvious that this distinction only makes sense for series with a mixture of positive and negative terms. This includes, but is not limited to, alternating series.

Example

We have seen that the harmonic series

is divergent but its alternating version

is convergent. Since the first series may be formed by taking the absolute value of the terms in the second series, we see that the second series is conditionally convergent.

Example

Consider the series

This is an alternating series whose terms decrease to zero in magnitude, so it converges. Furthermore, the series formed by the absolute value of the terms

is a p-series with , so it converges also. Therefore the original alternating series is absolutely convergent.

Resources

The Alternating Series Test


The Alternating Series Estimation Theorem


Absolute Convergence and Conditional Convergence

Licensing

Content obtained and/or adapted from: