MATH31-comparison-tests

Comparison tests #

Idea: Compare one series to another with a known convergence/divergence (geometric, harmonic, p-series, etc).

Suppose we have two series \(\sum a_n\) and \(\sum b_n\) with positive terms:

  1. If \(a_b < b_n\) for all \(n\) , and \(\sum b_n\) converges, then \(\sum a_n\) also converges.
  2. If \(a_b > b_n\) for all \(n\) , and \(\sum b_n\) diverges, then \(\sum a_n\) also diverges.

If you show divergence for \(b_n\) when \(a_n < b_n\) , it proves nothing. The upper series diverges up to infinity and that tells us nothing about the lower series. It may diverge or converge. So make sure to show the correct comparison. (The same useless comparison is showing convergence for \(b_n\) when \(a_n > b_n\) ).

Example 1 #

\[\begin{aligned} \sum_{n=1}^\infty \frac{1}{n^2+2} \end{aligned}\]

First check if it fails divergence test, look for other known series, see if integral test could work (it would), but theres a better way. Consider this comparison:

\[\begin{aligned} 0 \leq \frac{1}{n^2+2} \leq \frac{1}{n^2} \end{aligned}\]

If we’re trying to show convergence, we need this to be less than something we know convergence for.

So lets show convergence of \(\frac{1}{n^2}\) :

$$ \sum_{n=1}^\infty \frac{1}{n^2} $$

This is a P-series with \(p=2\) , and since our \(p >1\) it means the series converges. This means by the comparison test that the original problem also converges.

Example 2 #

$$ \sum_{n=1}^\infty \frac{1}{3+2^n} $$

All the terms are positive on the interval, consider this comparison:

$$ 0 \leq \frac{1}{3+2^n} \leq \frac{1}{2^n} $$

So try to determine convergence of the rightmost fraction:

\[\begin{aligned} \sum_{n=1}^\infty \frac{1}{2^n} & = \sum_{n=1}^\infty \Big( \frac{1}{2} \Big)^n \\ & = \sum_{n=1}^\infty \Big( \frac{1}{2} \Big) \Big( \frac{1}{2}\Big)^{n-1} \end{aligned}\]

This is a geometric sum with \(a = \frac{1}{2}\) and \(r = \frac{1}{2}\) , therefore since \(r < 1\) this will converge. So by the comparison test the original problem also converges.

Example 3 #

$$ \sum_{n=3}^\infty \frac{3^n}{2^n-4} $$

All the terms on the interval are positive, so lets try a comparison:

$$ \frac{3^n}{2^n - 4} \geq \frac{3^n}{2^n} $$

We’re trying to show divergence of the rightmost fraction, and that will show that the original also diverges.

\[\begin{aligned} \sum_{n=3}^\infty \frac{3^n}{2^n} & = \sum_{n=3}^\infty \Big( \frac{3}{2} \Big)^n \\ & = \sum_{n=3}^\infty \Big( \frac{3}{2} \Big)^3 \Big( \frac{3}{2} \Big)^{n-3} \end{aligned}\]

Since this is a geometric and our \(r > 1\) , it diverges. Therefore the original problem diverges.

Example 4 #

$$ \sum_{n=1}^\infty \frac{1}{\sqrt{n} + 1} $$

Consider this comparison:

$$ 0 \leq \frac{1}{\sqrt{n}+1} \leq \frac{1}{\sqrt{n}} $$

This is a P-series with \(p\) . This means it diverges. This shows nothing about the original problem!

When you can’t use a comparison like this, you can use the limit comparison test.

Limit comparison test #

Idea: If \(\sum a_n\) and \(\sum b_n\) have positive terms, and this limit exists:

$$ \lim_{n \rightarrow \infty} \frac{a_n}{b_n} $$

If this limit exists, then that means that both terms are so close together that it doesn’t matter. That means that both series either converge or diverge.

If it goes to infinity then the terms must difference enough that one or both of them diverges.

Proof #

Suppose this limit exists:

$$ \lim_{n \rightarrow \infty} \frac{a_n}{b_n} = L $$

Then by definition:

$$ \Big| \frac{a_b}{b_n} - L \Big| < \epsilon $$

So:

\[\begin{aligned} -\epsilon L < \frac{a_b}{b_n} - L < \epsilon L \\ L-\epsilon L < \frac{a_b}{b_n} < L + \epsilon L \\ (1-\epsilon)L \cdot b_n < a_n < (1+ \epsilon)L \cdot b_n \end{aligned}\]

\((1+ \epsilon)L\) is just a constant (doesn’t affect the convergence/divergence of the series), so if \(b_n\) converges \(a_n\) is less than that so it also converges. If \(b_n\) diverges, then \(a_n\) is greater than that so it also diverges.

Example 5 #

So to take a look again at Example 4 above:

$$ \sum_{n=1}^\infty \frac{1}{\sqrt{n} + 1} $$

Lets try the limit comparison test where:

$$ \lim_{n \rightarrow \infty} \frac{a_n}{b_n} $$

and

$$ b_n = \frac{1}{\sqrt{n}} $$

So:

\[\begin{aligned} \lim_{n \rightarrow \infty} \frac{\frac{1}{\sqrt{n} + 1}}{\frac{1}{\sqrt{n}}} & = \lim_{n \rightarrow \infty} \frac{1}{\sqrt{n} + 1} \cdot \frac{\sqrt{n}}{1} \\ & = \lim_{n \rightarrow \infty} \frac{\sqrt{n}}{\sqrt{n} + 1} \\ & = \lim_{n \rightarrow \infty} \frac{1}{1 + \frac{1}{\sqrt{n}}} \\ & = 1 \end{aligned}\]

Since our limit exists, \(a_n\) and \(b_n\) are so close together, that if one converges the other must also. If one diverges the other must also. Just because the limit exists it doesn’t mean they converge! They will just have the same result.

Now we know that \(b_n\) diverges (p-series with \(p < 1\) ), it means the \(a_n\) does also!

Example 6 #

$$ \sum_{n=1}^\infty \frac{2n^2+n}{\sqrt{4n^7+3}} $$

Lets choose a \(b_n\) that we know convergence/divergence. Start by trying a \(b_n\) that models the end behavior of \(a_n\) :

\[\begin{aligned} \sum_{n=1}^\infty \frac{2n^2}{\sqrt{4n^7}} & = \sum_{n=1}^\infty \frac{1}{n^{3/2}} \end{aligned}\]

This is a P-series with a \(p = \frac{3}{2}\) , since \(p > 1\) it converges!

Limit comparison test:

\[\begin{aligned} \lim_{n \rightarrow \infty} \frac{a_n}{b_n} & = \lim_{n \rightarrow \infty} \frac{\frac{2n^2+n}{\sqrt{4n^7+3}}}{\frac{1}{n^{3/2}}} \\ & = \lim_{n \rightarrow \infty} \frac{2n^2+n}{\sqrt{4n^7+3}} \cdot n^{3/2} \\ & = \lim_{n \rightarrow \infty} \frac{2n^{7/2} + n^{5/2}}{\sqrt{4n^7+3}} \\ & = \lim_{n \rightarrow \infty} \frac{2 + \frac{1}{n}}{\sqrt{4 + \frac{3}{n^7}}} \\ & = 1 \end{aligned}\]

Since we know the limit exists, and we know that \(b_n\) converges, \(a_n\) must converge also!

Example 7 #

$$ \sum_{n=1}^\infty \frac{\sqrt{n} + \ln n}{n^2 + 1} $$

Lets use the limit comparison test, and compare to \(b_n\) of:

\[\begin{aligned} b_n & = \sum_{n=1}^\infty \frac{\sqrt{n}}{n^2} \\ & = \sum_{n=1}^\infty \frac{1}{n^{3/2}} \end{aligned}\]

This is a P-series with \(p\) .

Limit comparison test:

\[\begin{aligned} \lim_{n \rightarrow \infty} \frac{\sqrt{n} + \ln n}{n^2 + 1} \cdot n^{3/2} & = \lim_{n \rightarrow \infty} \frac{n^2 + n^{3/2} \ln n}{n^2 + 1} \\ & = \lim_{n \rightarrow \infty} \frac{1 + \frac{\ln n}{n^{1/2}}}{1 + \frac{1}{n^{2}}} \\ && = \lim_{n \rightarrow \infty} \frac{\ln n}{n^{1/2}} \\ && \text{Use L'Hospitals} \\ && = \lim_{n \rightarrow \infty} \frac{\frac{1}{n}}{\frac{1}{2\sqrt{n}}} \\ && = \lim_{n \rightarrow \infty} \frac{2\sqrt{n}}{n} \\ && \text{Use L'Hospitals} \\ && = \lim_{n \rightarrow \infty} \frac{2}{\sqrt{n}} \\ && = 0 \\ \therefore & = \lim_{n \rightarrow \infty} \frac{1 + 0}{1 + 0} \\ & = 1 \end{aligned}\]

So since the series \(b_n\) converges, the series \(a_n\) also converges.