A more general test, which includes the test of § 188 as a particular test case, is the following.

Dirichlet’s Test. If $$\phi_{n}$$ satisfies the same conditions as in § 188, and $$\sum a_{n}$$ is any series which converges or oscillates finitely, then the series $a_{0}\phi_{0} + a_{1}\phi_{1} + a_{2}\phi_{2} + \dots$ is convergent.

The reader will easily verify the identity $a_{0}\phi_{0} + a_{1}\phi_{1} + \dots + a_{n}\phi_{n} = s_{0}(\phi_{0} – \phi_{1}) + s_{1}(\phi_{1} – \phi_{2}) + \dots + s_{n-1}(\phi_{n-1} – \phi_{n}) + s_{n}\phi_{n},$ where $$s_{n} = a_{0} + a_{1} + \dots + a_{n}$$. Now the series $$(\phi_{0} – \phi_{1}) + (\phi_{1} – \phi_{2}) + \dots$$ is convergent, since the sum to $$n$$ terms is $$\phi_{0} – \phi_{n}$$ and $$\lim \phi_{n} = 0$$; and all its terms are positive. Also since $$\sum a_{n}$$, if not actually convergent, at any rate oscillates finitely, we can determine a constant $$K$$ so that $$|s_{\nu}| < K$$ for all values of $$\nu$$. Hence the series $\sum s_{\nu}(\phi_{\nu} – \phi_{\nu+1})$ is absolutely convergent, and so $s_{0}(\phi_{0} – \phi_{1}) + s_{1}(\phi_{1} – \phi_{2}) + \dots + s_{n-1}(\phi_{n-1} – \phi_{n})$ tends to a limit as $$n \to \infty$$. Also $$\phi_{n}$$, and therefore $$s_{n}\phi_{n}$$, tends to zero. And therefore $a_{0}\phi_{0} + a_{1}\phi_{1} + \dots + a_{n}\phi_{n}$ tends to a limit, the series $$\sum a_{\nu}\phi_{\nu}$$ is convergent.

Abel’s Test. There is another test, due to Abel, which, though of less frequent application than Dirichlet’s, is sometimes useful.

Suppose that $$\phi_{n}$$, as in Dirichlet’s Test, is a positive and decreasing function of $$n$$, but that its limit as $$n \to \infty$$ is not necessarily zero. Thus we postulate less about $$\phi_{n}$$, but to make up for this we postulate more about $$\sum a_{n}$$, viz. that it is convergent. Then we have the theorem:

if $$\phi_{n}$$ is a positive and decreasing function of $$n$$, and $$\sum a_{n}$$ is convergent, then $$\sum a_{n}\phi_{n}$$ is convergent.

For $$\phi_{n}$$ has a limit as $$n \to \infty$$, say $$l$$: and $$\lim (\phi_{n} – l) = 0$$. Hence, by Dirichlet’s Test, $$\sum a_{n}(\phi_{n} – l)$$ is convergent; and as $$\sum{a_{n}}$$ is convergent it follows that $$\sum a_{n}\phi_{n}$$ is convergent.

This theorem may be stated as follows:

a convergent series remains convergent if we multiply its terms by any sequence of positive and decreasing factors.

Example LXXIX
1. Dirichlet’s and Abel’s Tests may also be established by means of the general principle of convergence (§ 84). Let us suppose, for example, that the conditions of Abel’s Test are satisfied. We have identically $\begin{gathered} a_{m}\phi_{m} + a_{m+1}\phi_{m+1} + \dots + a_{n}\phi_{n} = s_{m, m}(\phi_{m} – \phi_{m+1}) + s_{m, m+1}(\phi_{m+1} – \phi_{m+2})\\ + \dots + s_{m, n-1}(\phi_{n-1} – \phi_{n}) + s_{m, n}\phi_{n}\dots, \Tag{(1)}\end{gathered}$ where $s_{m, \nu} = a_{m} + a_{m+1} + \dots + a_{\nu}.$

The left-hand side of (1) therefore lies between $$h\phi_{m}$$ and $$H\phi_{m}$$, where $$h$$ and $$H$$ are the algebraically least and greatest of $$s_{m, m}$$, $$s_{m, m+1}$$, …, $$s_{m, n}$$. But, given any positive number $$\epsilon$$, we can choose $$m_{0}$$ so that $$|s_{m, \nu}| < \epsilon$$ when $$m \geq m_{0}$$, and so $|a_{m}\phi_{m} + a_{m+1}\phi_{m+1} + \dots + a_{n}\phi_{n}| < \epsilon \phi_{m} \leq \epsilon \phi_{1}$ when $$n > m \geq m_{0}$$. Thus the series $$\sum a_{n}\phi_{n}$$ is convergent.

2. The series $$\sum \cos n\theta$$ and $$\sum \sin n\theta$$ oscillate finitely when $$\theta$$ is not a multiple of $$\pi$$. For, if we denote the sums of the first $$n$$ terms of the two series by $$s_{n}$$ and $$t_{n}$$, and write $$z = \operatorname{Cis}\theta$$, so that $$|z| = 1$$ and $$z \neq 1$$, we have $|s_{n} + it_{n}| = \left|\frac{1 – z^{n}}{1 – z}\right| \leq \frac{1 + |z^{n}|}{|1 – z|} \leq \frac{2}{|1 – z|};$ and so $$|s_{n}|$$ and $$|t_{n}|$$ are also not greater than $$2/|1 – z|$$. That the series are not actually convergent follows from the fact that their $$n$$th terms do not tend to zero (Ex. XXIV. 7, 8).

The sine series converges to zero if $$\theta$$ is a multiple of $$\pi$$. The cosine series oscillates finitely if $$\theta$$ is an odd multiple of $$\pi$$ and diverges if $$\theta$$ is an even multiple of $$\pi$$.

It follows that if $$\theta_{n}$$ is a positive function of $$n$$ which tends steadily to zero as $$n \to \infty$$, then the series $\sum \phi_{n} \cos n\theta,\quad \sum \phi_{n} \sin n\theta$ are convergent, except perhaps the first series when $$\theta$$ is a multiple of $$2\pi$$. In this case the first series reduces to $$\sum \phi_{n}$$, which may or may not be convergent: the second series vanishes identically. If $$\sum \phi_{n}$$ is convergent then both series are absolutely convergent (Ex. LXXVII. 4) for all values of $$\theta$$, and the whole interest of the result lies in its application to the case in which $$\sum \phi_{n}$$ is divergent. And in this case the series above written are conditionally and not absolutely convergent, as will be proved in Ex. LXXIX. 6. If we put $$\theta = \pi$$ in the cosine series we are led back to the result of § 188, since $$\cos n\pi = (-1)^{n}$$.

3. The series $$\sum n^{-s} \cos n\theta$$, $$\sum n^{-s} \sin n\theta$$ are convergent if $$s > 0$$, unless (in the case of the first series) $$\theta$$ is a multiple of $$2\pi$$ and $$0 < s \leq 1$$.

4. The series of Ex. 3 are in general absolutely convergent if $$s > 1$$, conditionally convergent if $$0 < s \leq 1$$, and oscillatory if $$s \leq 0$$ (finitely if $$s = 0$$ and infinitely if $$s < 0$$). Mention any exceptional cases.

5. If $$\sum a_{n}n^{-s}$$ is convergent or oscillates finitely, then $$\sum a_{n}n^{-t}$$ is convergent when $$t > s$$.

6. If $$\phi_{n}$$ is a positive function of $$n$$ which tends steadily to $$0$$ as $$n \to \infty$$, and $$\sum \phi_{n}$$ is divergent, then the series $$\sum \phi_{n} \cos n\theta$$, $$\sum \phi_{n} \sin n\theta$$ are not absolutely convergent, except the sine-series when $$\theta$$ is a multiple of $$\pi$$. [For suppose, , that $$\sum \phi_{n} |\cos n\theta|$$ is convergent. Since $$\cos^{2} n\theta \leq |\cos n\theta|$$, it follows that $$\sum \phi_{n} \cos^{2} n\theta$$ or $\tfrac{1}{2} \sum \phi_{n} (1 + \cos 2n\theta)$ is convergent. But this is impossible, since $$\sum \phi_{n}$$ is divergent and $$\sum \phi_{n} \cos 2n\theta$$, by Dirichlet’s Test, convergent, unless $$\theta$$ is a multiple of $$\pi$$. And in this case it is obvious that $$\sum \phi_{n} |\cos n\theta|$$ is divergent. The reader should write out the corresponding argument for the sine-series, noting where it fails when $$\theta$$ is a multiple of $$\pi$$.]