Salta al contenuto
Note per Studenti Absolute Convergence and the Leibniz Test Report

Absolute Convergence and the Leibniz Test

In questa pagina 9
In questa pagina 7

Prerequisites: Comparison Tests for Series with Non-Negative TermsA series with terms >= 0 either converges or diverges to +infinity, never irregular. The comparison test (0 <= a_k <= b_k), the asymptotic comparison test (a_k ~ L b_k) and its corollary with the model series: a series is studied by comparing it with 1/n^alpha or q^n.Comparison Tests for Series with Non-Negative Terms →, Ratio and Root Tests for SeriesFor a series with positive terms, if the limit of a_(n+1)/a_n (ratio test) or of the n-th root of a_n (root test) is L < 1 the series converges, if it is L > 1 it diverges; with L = 1 the test says nothing.Ratio and Root Tests for Series →.

The problem

When the terms ana_n oscillate between positive and negative values even for large nn, none of the tests seen so far (comparison, asymptotic comparison, ratio, root) can be used: they hold only if an≥0a_n \ge 0 eventually (or an≤0a_n \le 0 eventually). For these series only the necessary condition an→0a_n \to 0 is left.

Why they are different: an example

∑n=1+∞(−1)nnα,α>0:a1=−1, a2=12α, a3=−13α, …\sum_{n=1}^{+\infty} \frac{(-1)^n}{n^\alpha}, \quad \alpha > 0: \qquad a_1 = -1, \ a_2 = \frac{1}{2^\alpha}, \ a_3 = -\frac{1}{3^\alpha}, \ \dots

Think of each ana_n as the signed area of a rectangle of base 11 and height ana_n: the rectangles lie alternately above and below the xx axis, between the curves y=1xαy = \frac{1}{x^\alpha} and y=−1xαy = -\frac{1}{x^\alpha}. The partial sum is

sn=sn+−sn−s_n = s_n^+ - s_n^-

where sn+s_n^+ is the sum of the areas of the rectangles above the axis and sn−s_n^- that (taken positive) of the rectangles below. Observations:

  • sns_n is not monotone (it goes up and down): the limit may not exist (irregular series), which is impossible for series with positive terms.
  • If sn+s_n^+ and sn−s_n^- both have a finite limit (here this happens if an→0a_n \to 0 fast, like 1nα\frac{1}{n^\alpha} with α>1\alpha > 1), the series converges.
  • But sns_n might converge even if sn+→+∞s_n^+ \to +\infty and sn−→+∞s_n^- \to +\infty: it is a +∞−∞+\infty - \infty form, and cancellations between positive and negative terms may give a finite limit.

Hence: (1) if an→0a_n \to 0 "fast" (α>1\alpha > 1) the series should converge; (2) but it might converge even when an→0a_n \to 0 slowly (α≤1\alpha \le 1).

Absolute convergence

Definition (absolute convergence). The series ∑n=0+∞an\sum_{n=0}^{+\infty} a_n converges absolutely if the series of absolute values ∑n=0+∞∣an∣\sum_{n=0}^{+\infty} |a_n| converges.

To distinguish it, "ordinary" convergence (sns_n has a finite limit) is called simple convergence.

The advantage: ∑∣an∣\sum |a_n| has terms ∣an∣≥0|a_n| \ge 0, so to study absolute convergence all the tests for series with non-negative terms can be used.

Example. ∑n=1+∞(−1)nnα\sum_{n=1}^{+\infty} \frac{(-1)^n}{n^\alpha} converges absolutely if and only if ∑∣(−1)nnα∣=∑1nα\sum \left|\frac{(-1)^n}{n^\alpha}\right| = \sum \frac{1}{n^\alpha} converges, that is (generalized harmonic series) if and only if α>1\alpha > 1.

Relation with simple convergence

  • If an≥0a_n \ge 0 for every nn: ∣an∣=an|a_n| = a_n, so the two series coincide and simple convergence = absolute convergence.
  • If an≤0a_n \le 0 for every nn: ∣an∣=−an|a_n| = -a_n and ∑∣an∣=−∑an\sum |a_n| = -\sum a_n, same character: again they coincide.
  • The same holds if an≥0a_n \ge 0 or an≤0a_n \le 0 only eventually.

In general, however, only one implication holds.

Theorem (absolute convergence implies simple convergence)

Theorem. If ∑n=0+∞∣an∣\sum_{n=0}^{+\infty} |a_n| converges, then ∑n=0+∞an\sum_{n=0}^{+\infty} a_n converges.

Example. ∑(−1)nn2\sum \frac{(-1)^n}{n^2} converges absolutely, because ∑1n2\sum \frac{1}{n^2} converges; hence it converges.

Proof. For every nn, by the properties of the absolute value (−∣x∣≤x≤∣x∣-|x| \le x \le |x| for every real xx), −∣an∣≤an≤∣an∣-|a_n| \le a_n \le |a_n|. Adding ∣an∣|a_n| to all members:

0≤an+∣an∣≤2∣an∣0 \le a_n + |a_n| \le 2|a_n|

The series ∑(an+∣an∣)\sum (a_n + |a_n|) has terms ≥0\ge 0 and is smaller than ∑2∣an∣\sum 2|a_n|, which converges by hypothesis: by the comparison test it converges; call S1S_1 its sum, and S2=∑∣an∣S_2 = \sum |a_n|. Then, by the property of the sum of convergent series,

∑n=0+∞an=∑n=0+∞((an+∣an∣)−∣an∣)=∑n=0+∞(an+∣an∣)−∑n=0+∞∣an∣=S1−S2∈R\sum_{n=0}^{+\infty} a_n = \sum_{n=0}^{+\infty} \big((a_n + |a_n|) - |a_n|\big) = \sum_{n=0}^{+\infty} (a_n + |a_n|) - \sum_{n=0}^{+\infty} |a_n| = S_1 - S_2 \in \mathbb{R}

so ∑an\sum a_n converges ∎.

The trick is to write ana_n as a difference of two non-negative things: an=(an+∣an∣)−∣an∣a_n = (a_n + |a_n|) - |a_n|.

A useful remark for non-convergence

lim⁡nan=0  ⟺  lim⁡n∣an∣=0\lim_n a_n = 0 \iff \lim_n |a_n| = 0

(the distance from 00 is the same). So if ∣an∣↛0|a_n| \not\to 0, also an↛0a_n \not\to 0, and the series does not converge even in the simple sense. This is how to conclude when the ratio test applied to ∣an∣|a_n| gives L>1L > 1 (and hence ∣an∣→+∞|a_n| \to +\infty).

The converse is false

Absolute convergence is only a sufficient condition: there are series that converge simply but not absolutely (∑∣an∣=+∞\sum |a_n| = +\infty but ∑an\sum a_n converges). The typical example is ∑(−1)nn\sum \frac{(-1)^n}{n}, as the Leibniz test shows right below.

Alternating series and the Leibniz test

A series is alternating (or has alternating signs) if the terms of even index are all ≥0\ge 0 and those of odd index all ≤0\le 0, or the other way round. It is written ∑(−1)nan\sum (-1)^n a_n with an≥0a_n \ge 0.

Leibniz test. Let ∑n=0+∞(−1)nan\sum_{n=0}^{+\infty} (-1)^n a_n with an≥0a_n \ge 0 for every nn. If

  1. lim⁡nan=0\lim_n a_n = 0, and
  2. (an)(a_n) is decreasing,

then the series converges.

Example. ∑n=1+∞(−1)nn\sum_{n=1}^{+\infty} \frac{(-1)^n}{n}: 1n→0\frac{1}{n} \to 0 and is decreasing, so the series converges (even though it does not converge absolutely).

  • The same holds for ∑(−1)n+1an\sum (-1)^{n+1} a_n or ∑(−1)n−1an\sum (-1)^{n-1} a_n (only the sign of all terms changes).
  • It is enough that an≥0a_n \ge 0 and decreasing hold eventually (the first terms do not matter).

Example 1: ∑n=1+∞(−1)nnα\sum_{n=1}^{+\infty} \frac{(-1)^n}{n^\alpha}, α>0\alpha > 0

It is alternating with an=1nα>0a_n = \frac{1}{n^\alpha} > 0. (1) 1nα→0\frac{1}{n^\alpha} \to 0; (2) 1nα\frac{1}{n^\alpha} is decreasing for every α>0\alpha > 0 (increasing denominator). By Leibniz it converges for every α>0\alpha > 0.

Putting this together with absolute convergence:

α\alpha ∑(−1)nnα\sum \frac{(-1)^n}{n^\alpha}
α>1\alpha > 1 converges absolutely (hence also simply)
0<α≤10 < \alpha \le 1 converges simply, not absolutely

In particular ∑(−1)nn\sum \frac{(-1)^n}{n} converges, even though ∑1n\sum \frac1n diverges: the cancellations between positive and negative terms are enough, even with ana_n going to zero slowly.

Example 2: monotonicity is essential

∑n=1+∞(−1)n⋅2+(−1)nn\sum_{n=1}^{+\infty} (-1)^n \cdot \frac{2 + (-1)^n}{n}

It is alternating: an=2+(−1)nna_n = \frac{2 + (-1)^n}{n} equals 3n\frac3n for nn even and 1n\frac1n for nn odd, always >0> 0.

  • It does not converge absolutely: 1n≤an≤3n\frac1n \le a_n \le \frac3n, and ∑an≥∑1n=+∞\sum a_n \ge \sum \frac1n = +\infty.
  • (1) an→0a_n \to 0 holds (it tends to 00 on both even and odd indices).
  • (2) ana_n is not decreasing: it jumps between the curve 3x\frac3x and the curve 1x\frac1x (a1=1a_1 = 1, a2=32a_2 = \frac32, a3=13a_3 = \frac13, a4=34a_4 = \frac34, …).

Leibniz does not apply, and indeed the series diverges. This is seen by splitting it ((−1)n⋅(−1)n=1(-1)^n \cdot (-1)^n = 1):

(−1)n⋅2+(−1)nn=(−1)n⋅2n+1n⟹∑n=1+∞an=∑(−1)n2n⏟converges (Leibniz)+∑1n⏟=+∞=+∞(-1)^n \cdot \frac{2 + (-1)^n}{n} = (-1)^n \cdot \frac2n + \frac1n \quad \Longrightarrow \quad \sum_{n=1}^{+\infty} a_n = \underbrace{\sum (-1)^n \frac2n}_{\text{converges (Leibniz)}} + \underbrace{\sum \frac1n}_{= +\infty} = +\infty

(property of the sum of series: convergent ++ divergent == divergent.)

Warning: monotonicity must be proved for the given ana_n

If an∼bna_n \sim b_n and bnb_n is decreasing, it does not follow that ana_n is decreasing (asymptotic equivalence does not see small oscillations). One must always prove that the given ana_n is eventually decreasing. The typical method: consider the function f(x)f(x) obtained by putting xx in place of nn and show that f′(x)<0f'(x) < 0 eventually, as x→+∞x \to +\infty.

How to prove monotonicity

Two ways:

  1. Without derivatives, when an=1Cna_n = \frac{1}{C_n} and CnC_n is built from positive increasing functions:

    • a sum of increasing functions is increasing;
    • a product of positive increasing functions is increasing: if 0<un≤un+10 < u_n \le u_{n+1} and 0<vn≤vn+10 < v_n \le v_{n+1}, then unvn≤unvn+1≤un+1vn+1u_n v_n \le u_n v_{n+1} \le u_{n+1} v_{n+1} (change one factor at a time, always multiplying by positive numbers). With derivatives: (fg)′=f′g+fg′≥0(fg)' = f'g + fg' \ge 0, because all four factors are ≥0\ge 0;
    • the reciprocal of a positive increasing quantity is decreasing.

    So an=1(sums and products of positive increasing functions)a_n = \frac{1}{\text{(sums and products of positive increasing functions)}} is decreasing. For instance 15arctan⁡n+nlog⁡n+6n+13\frac{1}{5\arctan n + \sqrt n\log n + 6\sqrt[3]{n+1}}.

    Warning: for a product the factors must be positive. And if numerator and denominator both contain increasing quantities (such as log⁡αnn\frac{\log^\alpha n}{n} with α>0\alpha > 0) this method is not enough.

  2. With the derivative, in the other cases: take f(x)f(x) with xx in place of nn and show f′(x)<0f'(x) < 0 for x→+∞x \to +\infty, often by finding an asymptotic equivalent of f′(x)f'(x) with negative sign.

Equivalent forms of (−1)n(-1)^n

An alternating series does not always appear with (−1)n(-1)^n written explicitly. The most common forms:

Expression Values for n=0,1,2,3,…n = 0, 1, 2, 3, \dots Equivalent to
(−1)n2+1(-1)^{n^2+1} −1,1,−1,1,…-1, 1, -1, 1, \dots (−1)n+1(-1)^{n+1} (n2n^2 and nn have the same parity)
cos⁡(nπ)\cos(n\pi) 1,−1,1,−1,…1, -1, 1, -1, \dots (−1)n(-1)^n
sin⁡(nπ2)\sin\left(\frac{n\pi}{2}\right) 0,1,0,−1,0,1,…0, 1, 0, -1, 0, 1, \dots 00 for nn even, (−1)k(-1)^k for n=2k+1n = 2k + 1

In the last case the terms of even index are zero: they are removed (they do not change the partial sums) and the series is rewritten with the index kk of the odd terms only, n=2k+1n = 2k+1.

A remark: power series

A series of the form ∑n=0+∞cn xn\sum_{n=0}^{+\infty} c_n\, x^n with cnc_n fixed numbers and x∈Rx \in \mathbb{R} variable is called a power series. For each xx it is a numerical series, usually of varying sign (if x<0x < 0, xnx^n changes sign): it is studied with absolute convergence and then with Leibniz at the endpoints. The set of xx for which it converges is the domain of the function f(x)=∑n=0+∞cn xn.f(x) = \sum_{n=0}^{+\infty} c_n\, x^n. For instance f(x)=∑n=1+∞xn9n(n3+4)f(x) = \sum_{n=1}^{+\infty} \frac{x^n}{9^n(\sqrt[3]n + 4)} is defined exactly for x∈[−9,9[x \in [-9, 9[.

Some elementary functions can be defined this way (they are the Taylor series, i.e. Maclaurin expansions "to infinity"), and the series converges for every x∈Rx \in \mathbb{R}: ex=∑n=0+∞xnn!,sin⁡x=∑n=0+∞(−1)nx2n+1(2n+1)!.e^x = \sum_{n=0}^{+\infty} \frac{x^n}{n!}, \qquad \sin x = \sum_{n=0}^{+\infty} (-1)^n \frac{x^{2n+1}}{(2n+1)!}.

Proof of the Leibniz test (not required)

The partial sums of even and odd index are studied separately.

  • The even ones decrease. s2n=s2n−2−a2n−1+a2n=s2n−2−(a2n−1−a2n)≤s2n−2s_{2n} = s_{2n-2} - a_{2n-1} + a_{2n} = s_{2n-2} - (a_{2n-1} - a_{2n}) \le s_{2n-2}, because a2n−1−a2n≥0a_{2n-1} - a_{2n} \ge 0 (ana_n decreasing). Hence s2n≤s0=a0s_{2n} \le s_0 = a_0.
  • The odd ones increase. s2n+1=s2n−1+(a2n−a2n+1)≥s2n−1s_{2n+1} = s_{2n-1} + (a_{2n} - a_{2n+1}) \ge s_{2n-1}. Hence s2n+1≥s1=a0−a1s_{2n+1} \ge s_1 = a_0 - a_1.
  • Link. s2n+1=s2n−a2n+1≤s2ns_{2n+1} = s_{2n} - a_{2n+1} \le s_{2n}.

Putting it together: a0−a1≤s2n+1≤s2n≤a0a_0 - a_1 \le s_{2n+1} \le s_{2n} \le a_0. The two subsequences are monotone and bounded, so they have finite limits S1S_1 (odd) and S2S_2 (even). Moreover s2n−s2n+1=a2n+1→0s_{2n} - s_{2n+1} = a_{2n+1} \to 0 by hypothesis 1, so S2−S1=0S_2 - S_1 = 0. Even and odd indices have the same limit SS, and therefore (subsequence criterion) the whole sequence sns_n tends to SS: the series converges ∎.

Scheme for studying a series of varying sign

  1. Absolute convergence: study ∑∣an∣\sum |a_n| with the tests for positive series. If it converges, the series converges (also simply). Done.
  2. If ∣an∣↛0|a_n| \not\to 0: the series does not converge (neither absolutely nor simply).
  3. If ∑∣an∣\sum |a_n| diverges but ∣an∣→0|a_n| \to 0: if the series is alternating, try Leibniz (checking eventual monotonicity of the given ana_n).

Common mistakes

  • Applying comparison, ratio or root directly to a series of varying sign: they must be applied to ∣an∣|a_n|.
  • Concluding "does not converge" because it does not converge absolutely: it may converge simply (Leibniz).
  • Using Leibniz without checking monotonicity, or checking it only on the asymptotic equivalent.

Versione ripasso

Prerequisites: Comparison Tests for Series with Non-Negative TermsA series with terms >= 0 either converges or diverges to +infinity, never irregular. The comparison test (0 <= a_k <= b_k), the asymptotic comparison test (a_k ~ L b_k) and its corollary with the model series: a series is studied by comparing it with 1/n^alpha or q^n.Comparison Tests for Series with Non-Negative Terms →, Ratio and Root Tests for SeriesFor a series with positive terms, if the limit of a_(n+1)/a_n (ratio test) or of the n-th root of a_n (root test) is L < 1 the series converges, if it is L > 1 it diverges; with L = 1 the test says nothing.Ratio and Root Tests for Series →. When the terms change sign, the tests for positive terms do not apply directly. Only the necessary condition an→0a_n \to 0 remains.

Absolute convergence

The series ∑an\sum a_n converges absolutely if ∑∣an∣\sum |a_n| converges.

  • Absolute convergence ⇒\Rightarrow simple convergence. The converse is false.
  • For ∑∣an∣\sum |a_n| all tests for non-negative terms hold.
  • Proof: 0≤an+∣an∣≤2∣an∣0 \le a_n + |a_n| \le 2|a_n|, so ∑(an+∣an∣)\sum(a_n + |a_n|) converges by comparison, and ∑an=∑(an+∣an∣)−∑∣an∣\sum a_n = \sum (a_n+|a_n|) - \sum|a_n|.
  • If ∣an∣↛0|a_n| \not\to 0 then an↛0a_n \not\to 0 and the series does not converge.

Example: ∑(−1)nnα\sum\frac{(-1)^n}{n^\alpha} converges absolutely if and only if α>1\alpha > 1.

Leibniz test

Let ∑(−1)nan\sum (-1)^n a_n with an≥0a_n \ge 0. If an→0a_n \to 0 and (an)(a_n) is eventually decreasing, the series converges.

  • Example: ∑(−1)nn\sum\frac{(-1)^n}{n} converges although ∑1n\sum\frac1n diverges. For ∑(−1)nnα\sum\frac{(-1)^n}{n^\alpha} with 0<α≤10 < \alpha \le 1 convergence is simple, not absolute.
  • Monotonicity must be checked on the given ana_n. If an∼bna_n \sim b_n with bnb_n decreasing, nothing follows: for instance ∑(−1)n2+(−1)nn\sum (-1)^n\frac{2+(-1)^n}{n} is not alternating-decreasing and diverges.
  • Monotonicity without derivatives: an=1Cna_n = \frac{1}{C_n} with CnC_n a sum or product of positive increasing functions.
  • Monotonicity with derivatives: show f′(x)<0f'(x) < 0 for x→+∞x \to +\infty, where f(n)=anf(n) = a_n.

Equivalent forms of (−1)n(-1)^n

  • (−1)n2+1=(−1)n+1(-1)^{n^2+1} = (-1)^{n+1}, because n2n^2 and nn have the same parity.
  • cos⁡(nπ)=(−1)n\cos(n\pi) = (-1)^n.
  • sin⁡(nπ2)\sin\left(\frac{n\pi}{2}\right) is 00 for nn even and (−1)k(-1)^k for n=2k+1n = 2k+1: drop the zero terms and rewrite with the index of the odd ones.

Scheme

  1. Study ∑∣an∣\sum|a_n| with the tests for positive terms. If it converges, the series converges absolutely.
  2. If ∣an∣↛0|a_n| \not\to 0, the series does not converge.
  3. If the series is alternating and ∑∣an∣\sum|a_n| diverges, check the hypotheses of Leibniz.

Proof of Leibniz (idea)

The partial sums of even index decrease and those of odd index increase. Also s2n+1=s2n−a2n+1s_{2n+1} = s_{2n} - a_{2n+1}, so a0−a1≤s2n+1≤s2n≤a0a_0 - a_1 \le s_{2n+1} \le s_{2n} \le a_0. The two subsequences are monotone and bounded, and have the same limit because s2n−s2n+1=a2n+1→0s_{2n} - s_{2n+1} = a_{2n+1} \to 0. So the whole sequence sns_n converges.

Example: alternating but not decreasing

∑(−1)n2+(−1)nn\sum (-1)^n\frac{2+(-1)^n}{n} has an=2+(−1)nna_n = \frac{2+(-1)^n}{n}, equal to 3n\frac3n on even indices and 1n\frac1n on odd ones: not decreasing, so Leibniz does not apply. Splitting (−1)n⋅2+(−1)nn=(−1)n2n+1n(-1)^n\cdot\frac{2+(-1)^n}{n} = (-1)^n\frac2n + \frac1n, the alternating part converges and ∑1n\sum\frac1n diverges: the series diverges to +∞+\infty.

Common mistakes

  • Applying comparison, ratio or root directly to the series of varying sign instead of to the absolute values.
  • Concluding "does not converge" because it does not converge absolutely: it may converge simply.
  • Using Leibniz without proving monotonicity, or proving it only on the asymptotic equivalent.

Teoria collegata