Unit 10 · Topic 10.6 · BC

Comparison tests

Builds on partial sums, geometric series and p-series. 13 minutes.

  1. Example 1Choose a useful comparison series
  2. Example 2Use direct comparison in the correct direction
  3. Example 3Carry out a limit comparison
  4. Example 4Recognize an inconclusive comparison

Geometric series (topic 10.2) and p-series (topic 10.5) converge or diverge by simple rules. A comparison test decides a series with positive terms by comparing its terms with the terms of a known series. Throughout, \(\sum\cy{a_n}\) is the series to test, and \(\sum b_n\) is a series whose behavior you know. This topic shows when a comparison decides convergence or divergence, how to choose \(b_n\), and when a comparison decides nothing.

Direct comparison

Two graphs for n from 1 to 20. In the upper graph, orange bars for the terms 1 over n squared plus 3 stand inside taller chalk outlines for the terms 1 over n squared. In the lower graph, chalk points for the partial sums of 1 over n squared rise from 1 to about 1.6, under a faint dashed line at their sum, about 1.64. Teal points for the partial sums of the orange terms rise from 0.25 to about 0.69. A toggle changes the orange terms to negative 1 over 2n: their bars turn red and lie below the axis, and the teal points fall from −0.5 to about −1.8.

Figure 1The orange bars are the terms \(\cy{a_n}\), red where negative, and the chalk outlines are the larger terms \(b_n\). In the lower graph, the teal and chalk points are their partial sums \(\cb{S_n}\) and \(T_n\), and the faint dashed line is \(T=\sum b_n\).

In Figure 1, the orange bars are the terms \(\cy{a_n}=\frac1{n^2+3}\), and the chalk outlines are the terms \(b_n=\frac1{n^2}\) of a p-series, which converges because \(p=2>1\). A larger bottom makes a fraction smaller, so \(0<\cy{a_n}<b_n\).

In the lower graph, the teal points are the partial sums \(\cb{S_n}=a_1+\cdots+a_n\), and the chalk points are the partial sums \(T_n=b_1+\cdots+b_n\). Every term is positive, so both sequences increase. The faint dashed line is the sum \(T\) of \(\sum b_n\), and \(T_n<T\), because the tail \(T-T_n\) is a sum of positive terms (topic 10.1). Each \(\cb{S_n}\) is less than \(T_n\), because each of its terms is less than the matching term of \(T_n\). The partial sums \(\cb{S_n}\) therefore increase and stay below \(T\).

A sequence that never decreases and stays below a fixed number converges. This result is the Monotonic Sequence Theorem of topic 10.4, which some books call the Monotone Convergence Theorem. By it, \(\cb{S_n}\) has a limit, so \(\sum\cy{a_n}\) converges, and its sum is at most \(T\).

The argument uses only that \(0\le a_n\le b_n\) and that \(\sum b_n\) converges. Suppose instead that \(0\le b_n\le a_n\) and that \(\sum b_n\) diverges. The partial sums \(T_n\) never decrease and have no limit, so by the theorem they do not stay below any number. Because they never decrease, they stay above each number once they pass it, so they grow without bound. Each \(\cb{S_n}\) is at least \(T_n\), so the \(\cb{S_n}\) grow without bound too, and \(\sum a_n\) diverges. These two results are the direct comparison test, which some books call the comparison test.

A change in finitely many terms does not change convergence (topic 10.5), so each inequality needs to hold only from some index on.

The test needs \(a_n\ge0\). Use the toggle under Figure 1 to make the terms \(-\frac1{2n}\). These terms are negative, so their bars turn red and lie below the axis, and each of them is less than \(\frac1{n^2}\). The teal partial sums fall without bound, because they are \(-\frac12\) times the partial sums of the harmonic series. The argument used \(a_n\ge0\) so that the partial sums never decrease, and partial sums that fall can stay below \(T\) without a limit.

Limit comparison

Dots for the ratios of the terms 5n plus 1 over n cubed plus 16 to the terms 1 over n to the power p, for n from 1 to 20, where a slider sets p to 1, 1.5, 2, 2.5 or 3. At p = 2 the first two dots are at about 0.35 and 1.83, and the others rise to about 5.04 and approach a faint dashed line at 5. An orange strip from 2.5 to 7.5 holds every dot from n = 3 on, and a faint vertical line stands between n = 2 and n = 3. For p = 1 and p = 1.5 the dots fall toward 0, and for p = 2.5 and p = 3 they rise past the top of the graph, where small arrows mark them.

Figure 2The dots are the ratios \(\frac{a_n}{b_n}\) for \(a_n=\frac{5n+1}{n^3+16}\) and \(b_n=\frac1{n^p}\), with \(p\) set by the slider. At \(p=2\), the faint dashed line marks their limit \(c\), and the orange strip runs from \(\frac c2\) to \(\frac{3c}2\). The faint vertical line stands just before the index \(N\).

To choose \(b_n\), write each root in \(a_n\) as a power. Then keep the term with the highest power of \(n\) in the top and in the bottom. For large \(n\), the other terms are small next to it. If the top or the bottom holds exponentials with bases above 1, keep the one with the largest base. It dominates the others and every power (topic 1.15).

For \(a_n=\frac{5n+1}{n^3+16}\), these terms give \(\frac{5n}{n^3}=\frac5{n^2}\). A constant factor does not change whether a series converges (topic 10.5), so compare with \(b_n=\frac1{n^2}\). From \(n=9\) on, the terms \(a_n\) are larger than \(\frac5{n^2}\), so a direct comparison with \(\frac5{n^2}\) decides nothing, as the final section shows. The limit comparison test uses the ratio of the terms instead:

\[\frac{a_n}{b_n}=\frac{5n^3+n^2}{n^3+16}=\frac{5+\frac1n}{1+\frac{16}{n^3}}\to5\]

The last form divides the top and the bottom by \(n^3\). In Figure 2, with \(p=2\), the dots approach the faint dashed line at the limit \(c=5\).

Suppose that \(a_n>0\) and \(b_n>0\), and that \(\frac{a_n}{b_n}\) approaches a number \(c>0\). By the definition of a limit with the distance \(\frac c2\), the ratio lies between \(c-\frac c2=\frac c2\) and \(c+\frac c2=\frac{3c}2\) from some index \(N\) on. In Figure 2, the orange strip holds these heights, and it contains every dot from \(N=3\) on. Multiplying by the positive number \(b_n\) gives

\[\frac c2\,b_n<a_n<\frac{3c}2\,b_n\quad\text{for }n\ge N\]

If \(\sum b_n\) converges, so does \(\sum\frac{3c}2\,b_n\), and \(\sum a_n\) converges by direct comparison. If \(\sum b_n\) diverges, so does \(\sum\frac c2\,b_n\), and \(\sum a_n\) diverges. Both series converge, or both diverge. This result is the limit comparison test. In Figure 2, \(\sum\frac1{n^2}\) converges, so \(\sum\frac{5n+1}{n^3+16}\) converges. The test decides convergence only, and \(c\) need not be the ratio of the two sums.

When a comparison decides nothing

A direct comparison decides only in its two directions. The terms \(\frac1{n^2}\) and \(\frac1n\) are both at most \(\frac1{\sqrt n}\), and \(\sum\frac1{\sqrt n}\) diverges, but \(\sum\frac1{n^2}\) converges and \(\sum\frac1n\) diverges. Below a divergent series, a series can therefore converge or diverge. Above a convergent series, both outcomes occur too, because \(\frac1{n^2}\) and \(\frac1n\) are both at least \(\frac1{n^3}\), and \(\sum\frac1{n^3}\) converges.

A limit of 0 or \(\infty\) is not a positive number, so the limit comparison test does not apply. Move \(p\) in Figure 2. For \(p\lt 2\), the terms \(b_n\) are too large, and the dots fall toward 0. For \(p>2\), they are too small, and the dots rise past the top of the figure, where small arrows mark them. Only \(p=2\), the power from the highest powers of \(a_n\), makes the limit a positive number.

Such a limit still compares the terms. If the ratio approaches 0, the definition of a limit puts it below 1 from some index on, so \(a_n\lt b_n\). This bound decides only when \(\sum b_n\) converges, as at \(p=1.5\), where it shows again that \(\sum a_n\) converges. At \(p=1\), \(\sum b_n\) diverges, and the comparison decides nothing. In the same way, a limit of \(\infty\) gives \(a_n>b_n\) from some index on, which decides only when \(\sum b_n\) diverges. At \(p=2.5\) and \(p=3\), it converges, so the comparison decides nothing.

Example 1

Choose a useful comparison series

For each series, choose a p-series or a geometric series to compare it with. Then use the limit comparison test to determine whether the series converges or diverges. (a) \(\displaystyle\sum_{n=1}^{\infty}\frac{n^2+4}{\sqrt{n^5+1}}\) (b) \(\displaystyle\sum_{n=1}^{\infty}\frac{2^n+5}{3^n-1}\)

Solution

Both series have positive terms. (a) Write the root as a power. For large \(n\), the bottom behaves like \(\sqrt{n^5}=n^{5/2}\) and the top like \(n^2\), so the terms behave like \(\frac{n^2}{n^{5/2}}=\frac1{n^{1/2}}\). Compare with the p-series \(\sum\frac1{n^{1/2}}\), which diverges because \(\frac12\le1\). Divide the top and the bottom of the ratio by \(n^{5/2}\):

\[\begin{aligned}\frac{a_n}{b_n}&=\frac{\sqrt n\left(n^2+4\right)}{\sqrt{n^5+1}}\\&=\frac{1+\frac4{n^2}}{\sqrt{1+\frac1{n^5}}}\to1\end{aligned}\]

The limit 1 is a positive number, so series (a) diverges, as \(\sum\frac1{n^{1/2}}\) does.

(b) For large \(n\), \(2^n\) is much larger than 5, and \(3^n\) is much larger than 1, so the terms behave like \(\frac{2^n}{3^n}=\left(\frac23\right)^n\). Compare with this geometric series, which converges because its common ratio \(\frac23\) is less than 1:

\[\begin{aligned}\frac{a_n}{b_n}&=\frac{2^n+5}{3^n-1}\cdot\frac{3^n}{2^n}\\&=\frac{1+\frac5{2^n}}{1-\frac1{3^n}}\to1\end{aligned}\]

The limit is again a positive number, so series (b) converges.

Example 2

Use direct comparison in the correct direction

Use the direct comparison test to determine whether each series converges or diverges. (a) \(\displaystyle\sum_{n=1}^{\infty}\frac{4+(-1)^n}{n^2}\) (b) \(\displaystyle\sum_{n=1}^{\infty}\frac{4+(-1)^n}{n}\)

Solution

The factor \((-1)^n\) is 1 or \(-1\), so the top \(4+(-1)^n\) is 5 or 3. The terms of both series are therefore positive, and

\[3\le4+(-1)^n\le5\]

(a) To show convergence, bound the terms above by a convergent series. The top is at most 5:

\[0<\frac{4+(-1)^n}{n^2}\le\frac5{n^2}\]

The series \(\sum\frac5{n^2}\) is 5 times a p-series with \(p=2>1\), so it converges, and series (a) converges by direct comparison.

(b) The terms are about the size of \(\frac1n\), whose series diverges, so bound them below. The top is at least 3:

\[\frac{4+(-1)^n}{n}\ge\frac3n>0\]

The series \(\sum\frac3n\) is 3 times the harmonic series, so it diverges, and series (b) diverges by direct comparison. A limit comparison with \(\frac1{n^2}\) or \(\frac1n\) does not apply, because the ratio of the terms is \(4+(-1)^n\), which has no limit.

Example 3

Carry out a limit comparison

Use the limit comparison test with \(\displaystyle\sum_{n=1}^{\infty}\frac1n\) to determine whether \(\displaystyle\sum_{n=1}^{\infty}\sin\frac1n\) converges or diverges.

Solution

For \(n\ge1\), the number \(\frac1n\) is positive and at most 1, and the sine of a number between 0 and \(\pi\) is positive. Both series therefore have positive terms. As \(n\) grows, \(x=\frac1n\) approaches 0 from the right, so the standard limit of topic 1.7 gives

\[\lim_{n\to\infty}\frac{\sin(1/n)}{1/n}=\lim_{x\to0^+}\frac{\sin x}{x}=1\]

The limit \(c=1\) is a positive number, so the two series both converge or both diverge. The harmonic series diverges, so \(\sum\sin\frac1n\) diverges.

Example 4

Recognize an inconclusive comparison

Let \(a_n=\dfrac{\ln n}{n^2}\) and \(b_n=\dfrac1n\). Find \(\displaystyle\lim_{n\to\infty}\frac{a_n}{b_n}\), and explain why this limit does not decide whether \(\displaystyle\sum_{n=2}^{\infty}a_n\) converges. Then determine whether the series converges.

Solution

For \(n\ge2\), \(\ln n>0\), so the terms are positive. Every positive power of \(n\) dominates \(\ln n\) (topic 1.15), so

\[\lim_{n\to\infty}\frac{a_n}{b_n}=\lim_{n\to\infty}\frac{\ln n}{n}=0\]

The limit is not a positive number, so the limit comparison test does not apply. The limit 0 puts \(a_n\) below \(b_n\) from some index on, and a series below a divergent series can converge or diverge.

Compare instead with \(\frac1{n^{3/2}}\). Its power \(\frac32\) is greater than 1, so its series converges, and less than 2, so the ratio keeps the power \(n^{1/2}\) in its bottom:

\[\frac{\ln n/n^2}{1/n^{3/2}}=\frac{\ln n}{n^{1/2}}\to0\]

This limit puts \(a_n\) below \(\frac1{n^{3/2}}\) from some index on, so \(\sum a_n\) converges by direct comparison.

Each example is one of the four skills of topic 10.6 in Which & Why: AP Calculus.