Math for Non-Geeks/ Alternating series test

From testwiki
Jump to navigation Jump to search

{{#invoke:Math for Non-Geeks/Seite|oben}} File:Leibniz-Kriterium - Quatematik.webm The alternating series criterion serves to prove convergence of an alternating series, i.e. a series where the pre-signs alternately change from positive to negative, like k=1(1)k+1bk or k=1(1)kbk (with all bk being positive). Series of this kind can be convergent, but not absolutely convergent. I those cases, criteria for absolute convergence will fail, but the alternating series criterion may be successful.

The alternating series criterion goes back to Gottfried Wilhelm Leibniz and was published in 1682.

Introductory example: Convergence of the alternating harmonic series

Series treated by the alternating series criterion will often converge, but not converge absolutely. Perhaps, the most prominent example for such a converging, but not absolutely convergent series is the alternating harmonic series k=1(1)k+1k. Convergence of it can be shown by making sure that the sequence of partial sums (Sn)n=(k=1n(1)k+1k)n converges. For n=1,2,3,4,5,6,7,8 , those partial sums are

The partial sums - visualized

Template:Math

Those partial sums tend to make jumps of ever smaller getting distance. Those partial sums with odd indices, (S2n1) seem to be monotonically decreasing and those with even indices S2n seem to be increasing. A simple calculation can mathematically verify this assertion: For all n there is Template:Math i.e. S2n+1S2n1 (monotonically decreasing). Analogously, S2n+2S2n=(1)2n+32n+2+(1)2n+22n+1=12n+2+12n+10, so S2n+2S2n (monotonically increasing).

If we could now show that (S2n1) is bounded from below and (S2n)is bounded from above, then both sequences would converge by the monotonicity criterion. Luckily, this is exacly the case: all odd partial sums are bounded from below by any even partial sum and all even partial sums are bounded from above by any odd partial sum: For all n Template:Math so S2n1S2n and S2nS2n1. We therefore have the bounds S2n1S2nS2=12 and S2nS2n1S1=1. Hence, (S2n1) is bounded from below by 12 and (S2n) is bounded from above by 1 .

The monotonicity criterion now implies that both the subsequences of partial sums (S2n1) and (S2n) are convergent.

In order to get convergence of the series, we need to show that the sequence of partial sums (Sn) converges. This is for sure the case, if both the odd and the even subsequence (S2n1) and (S2n) converge to the same limit.

How can this be shown? First, let us assign a name too the limits: limnS2n1=S and limnS2n=S. The statement we want to show can then mathematically be expressed as S=S. We show this by subtracting both limits from each other, which is equivalent to taking the limit of the sequence difference: Template:Math Above, we showed S2n1S2n=12n which is a null sequence: Template:Math Hence, SS=0 which means S=S.

From this, we can imply that the sequence of partial sums (Sn) converges to S . Mathematically, we need to stay closer than any ϵ to the limit value after surpassing some sequence element number N for the corresponding ϵ Template:Math For a fixed ϵ, both the odd and the even partial sum sequences have a suitable N, which we name by (2N11) (odd) and 2N2(even): Template:Math After reaching the greater of these two numbers N=max{(2N11),2N2}, both sequences stay closer than ϵ to the limit value and Template:Math


Generalizing the proof idea / alternating series test

Now we consider any alternating series. Can we use the same proof as for the alternating harmonic series to show that our general alternating series converges? The answer will depend on the properties of the general alternating series. We used the following properties from the alternating harmonics series:

  • The sequence of coefficients (bk)=(1k) without the alternating presign is monotonically decreasing. This gave us monotonicity and boundedness of the two partial sums (S2n1) and (S2n) , so we could show that they converge. Without the monotonicity, this may not be the case.
  • Further, we used that (bk)=(1k) is a null sequence. This was needed to show that both (S2n1) and (S2n) had the same limit, so (Sn) converges to that limit. If (bk)=(1k) converged to a constant B, then (Sn) would in the end tend to "jump" up and down by an amount of B and the limits of (S2n1) and (S2n) may differ by B, so they are not equal.

No further properties of the alternating harmonic series have been used for the proof. So we may use the above proof steps to show convergence of a general alternating series:

Math for Non-Geeks: Template:Satz

Proof alternative

Alternatively, one may use the Cauchy criterion for proving the alternating series criterion.

Math for Non-Geeks: Template:Alternativer Beweis

Application example

Math for Non-Geeks: Template:Beispiel

Notes to the alternating series test

  • Of course, we can also change the series presigns from positive negative positive ... to negative positive negative ... and get a valid convergence criterion for series like k=1(1)kbk. The proof is the same, under an interchange of (S2n1) and (S2n).
  • One can also start from k=0, i.e. consider series like k=0(1)kbk or k=0(1)k+1bk. Any starting index k is OK. The proof is just the same including an index shift.
  • As above, the alternating series test does only lead convergence, but no absolute convergence. For instance, the alternating harmonic series k=1(1)k+1k converges by the alternating series test. However, it does not converge absolutely.
  • The alternating series test can never be used for implying divergence of a series. If a series fails to meet the criteria for the alternating series test, it can still converge. There is an example warning about this below Template:Noprint

Template:Noprint

  • We could also take (bk)k to be a non-positive and monotonically increasing null sequence. I.e. it approaches 0 from below. The proof works the same way. Especially, that means k=1(1)k+1bk converges, whenever (bk)k is just any monotone null sequence.

A test problem

Math for Non-Geeks: Template:Aufgabe

Math for Non-Geeks: Template:Frage

What, if a condition is not fulfilled?

It is important to check that the 2 conditions for the alternating series test are fulfilled! There are alternating series, which do not meet one. The following examples will illustrate alternating series, where (bk) is either not converging to 0 (our example converges to 1) or not monotone. Both examples fail to be convergent (although they are alternating). The third example is an alternating series, which fails the alternating series test (as it is not monotone), but nevertheless converges. So the alternating series test does not identify all convergent alternating series.

Math for Non-Geeks: Template:Beispiel Math for Non-Geeks: Template:Beispiel

Math for Non-Geeks: Template:Beispiel

Conclusion: Error bounds for the limit

The alternating series test can show converges, but does not give us the limit. For instance, for the alternating harmonic series , there is k=1(1)k+1k=ln(2) . But this limit can not be computed by the alternating series test. However, we can approximate the limit by considering partial sums and the alternating series test will provide us with a neat upper bound for the error of such an approximation.

We have seen above in this article, that the sequence of partial sums with odd index (S2n1) is monotonically decreasing and converges to the limit limnS2n1=S . Further, S=inf{S2n1:n}, where the infimum of a set is the greatest possible lower bound to its elements. Hence, S2n1S for all n, so we have upper bounds for the limit getting better and better. Conversely, (S2n) is monotonically increasing with limnS2n=S=sup{S2n:n} . So S2nS gives a lower bound for all n. That means, we have an estimate S2nSS2n1 and S2nSS2n+1.

How good is the estimate? We subtract the two inequalities and get Template:Math So, the series elements serve as a precision indicator for the estimate of the limit by partial sums: Template:Math

Math for Non-Geeks: Template:Satz

Generalizing the alternating series test to the Dirichlet test

The Dirichlet test serves for proving convergence of series of the form k=1akbk . It extends the alternating series test to cases where there is not ak=(1)k+1 . This is particularly useful, if the presign does not change from element to element (like +,,+,,+,,+,...) but can have streaks without a change in between (like +,,,+,,+,+,...) . The proof is based on Abel's partial summation, which is quite some work to do. We will not state it here. Math for Non-Geeks: Template:Satz The conditions for (bk) are exactly the same as for the alternating series test. Actually, with ak=(1)k+1, we just get the alternating series test as a special case: Math for Non-Geeks: Template:Aufgabe

{{#invoke:Math for Non-Geeks/Seite|unten}}

Template:BookCat