maths.freeReal Analysis › Sequences and series › Alternating series test

Alternating series test

In mathematical analysis, the alternating series test proves that an alternating series is convergent when its terms decrease monotonically in absolute value and approach zero in the limit.

Alternating series test

In mathematical analysis, the alternating series test proves that an alternating series is convergent when its terms decrease monotonically in absolute value and approach zero in the limit. The test was devised by Gottfried Leibniz and is sometimes known as Leibniz's test, Leibniz's rule, or the Leibniz criterion. The test is only sufficient, not necessary, so some convergent alternating series may fail the first part of the test.

For a generalization, see Dirichlet's test.

History

Leibniz discussed the criterion in his unpublished De quadratura arithmetica of 1676 and shared his result with Jakob Hermann in June 1705 and with Johann Bernoulli in October, 1713. It was only formally published in 1993.

Alternating series test

A series of the form

\[\sum_{n=0}^\infty (-1)^{n} a_n = a_0-a_1 + a_2 - a_3 + \cdots\]

where either all an are positive or all an are negative, is called an alternating series.

The alternating series test guarantees that an alternating series converges if the following two conditions are met:

  1. \(|a_n|\) decreases monotonically, i.e., \(|a_{n+1}|\leq|a_n|\), and
  2. \(\lim_{n \to \infty} a_n = 0\) .

Alternating series estimation theorem

Moreover, let L denote the sum of the series, then the partial sum \(S_k = \sum_{n=0}^k (-1)^{n} a_n\!\) approximates L with error bounded by the next omitted term:

\[\left | S_k - L \right \vert \le \left | S_k - S_{k+1} \right \vert = a_{k+1}.\!\]

Proof

Suppose we are given a series of the form \(\sum_{n=1}^\infty (-1)^{n-1} a_n\!\), where \(\lim_{n\rightarrow\infty}a_{n}=0\) and \(a_n \geq a_{n+1}\) for all natural numbers n. (The case \(\sum_{n=1}^\infty (-1)^{n} a_n\!\) follows by taking the negative.)

Proof of the alternating series test

We will prove that both the partial sums \(S_{2m+1}=\sum_{n=1}^{2m+1} (-1)^{n-1} a_n\) with odd number of terms, and \(S_{2m}=\sum_{n=1}^{2m} (-1)^{n-1} a_n\) with even number of terms, converge to the same number L. Thus the usual partial sum \(S_k = \sum_{n=1}^k (-1)^{n-1} a_n\) also converges to L.

The odd partial sums decrease monotonically:

\[S_{2(m+1)+1}=S_{2m+1}-a_{2m+2}+a_{2m+3} \leq S_{2m+1}\]

while the even partial sums increase monotonically:

\[S_{2(m+1)}=S_{2m}+a_{2m+1}-a_{2m+2} \geq S_{2m}\]

both because an decreases monotonically with n.

Moreover, since an are positive, \(S_{2m+1}-S_{2m}=a_{2m+1} \geq 0\). Thus we can collect these facts to form the following suggestive inequality:

Condensed: the full section is in Wikipedia.

Proof of the alternating series estimation theorem

We would like to show \(\left| S_k - L \right| \leq a_{k+1}\!\) by splitting into two cases.

When k = 2m+1, i.e. odd, then

\[\left| S_{2m+1} - L \right| = S_{2m+1} - L \leq S_{2m+1} - S_{2m+2} = a_{(2m+1)+1} .\]

When k = 2m, i.e. even, then

\[\left| S_{2m} - L \right| = L - S_{2m} \leq S_{2m+1} - S_{2m} = a_{2m+1}\]

as desired.

Both cases rely essentially on the last inequality derived in the previous proof.

A typical example

The alternating harmonic series

\[\sum_{n=1}^\infty\frac{(-1)^{n+1}}{n}=1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\frac{1}{5}-\cdots\]

meets both conditions for the alternating series test and converges.

Monotonicity is needed

Both conditions in the test must be met for the conclusion to be true. For example, take the series

\[\frac{1}{\sqrt{2}-1}-\frac{1}{\sqrt{2}+1}+\frac{1}{\sqrt{3}-1}-\frac{1}{\sqrt{3}+1}+\cdots\ .\]

The signs are alternating and the terms tend to zero. However, monotonicity is not present and we cannot apply the test. Actually, the series is divergent. Indeed, for the partial sum \(S_{2n}\) we have \(S_{2n}=\frac{2}{1}+\frac{2}{2}+\frac{2}{3}+\cdots+\frac{2}{n-1}\) which is twice the partial sum of the harmonic series, which is divergent. Hence the original series is divergent.

The test is sufficient, but not necessary

Leibniz test's monotonicity is not a necessary condition, thus the test itself is only sufficient, but not necessary.

Examples of nonmonotonic series that converge are:

\[\sum_{n=2}^\infty \frac{(-1)^n}{n+(-1)^n}\quad\text{and}\quad\sum_{n=1}^{\infty} (-1)^n\frac{\cos^2n}{n^2}\ .\]

In fact, for every monotonic series it is possible to obtain an infinite number of nonmonotonic series that converge to the same sum by permuting its terms with permutations satisfying the condition in Agnew's theorem.

Now you Không máy tính nào có thể tính toán được nó, nhưng các mảnh của nó có thể tính toán được. Thử một trong những cách dưới đây, hoặc gõ theo ý bạn.

Để cho anh làm việc

Một tài khoản miễn phí thêm ghi chú vào mỗi bài học, ghi chép những gì bạn đã hoàn thành, các bài toán bạn giải quyết ở một nơi, và một giáo viên bạn có thể hỏi về trang này. Toán học là mở cho mọi người, dù có đăng nhập hay không.

Đăng ký Đăng nhập

Ký hiệu được dùng ở đây

Nhấn vào bất kỳ ký hiệu nào để xem định nghĩa đầy đủ, một bức ảnh, và ý nghĩa của từng chữ cái trong nó.

Câu hỏi người ta hỏi

What is the ε, δ definition actually saying?

That you can make the output as close to the limit as anyone demands (within ε) by keeping the input close enough (within δ). It replaces "approaches" with a challenge-and-response that can be checked.

Why does the harmonic series diverge when its terms go to zero?

Because the terms shrink too slowly: group them as 1/3 + 1/4 > 1/2, 1/5 + … + 1/8 > 1/2, and so on: infinitely many halves.

Một số phần của trang này được chuyển từ Wikipedia (CC BY-SA 4.0). Được nén lại và giải thích lại ở đây; lỗi là của chúng tôi.

More in Real Analysis