This web page contains some examples of the use of the comparison test. The comparison test is perhaps the most basic and the most useful test of all and will be used many times later on, including in the proofs of some important theorems and other tests for convergence such as the ratio test.

I will illustrate both versions of the comparison test here. In the forms I have presented them, the basic form of the comparison test is more general and applies to a greater number of series, and in all cases where the limit comparison test is used the other form may be used instead. The limit comparison test may be conceptually a little harder to state and use, and the final calculation does involves a limit, but generally speaking the algebraic manipulations required tend to be easier. You can, if you prefer, just learn the first version of the test and use that throughout.

Example.

The series $\sum _{n=1}^{\infty}\frac{1}{(n+\frac{1}{2}{)}^{2}}$ converges.

**Proof.**

Note that, for all $n\in \mathbb{N}$, $0\u2a7d\frac{1}{(n+\frac{1}{2}{)}^{2}}\u2a7d\frac{1}{{n}^{2}}$, and the series $\sum _{n=1}^{\infty}\frac{1}{{n}^{2}}$ is an example of a standard convergent series.

Example.

The series $\sum _{n=1}^{\infty}\frac{1}{3n-1}$ diverges.

**Proof.**

For all $n\in \mathbb{N}$, we have $\frac{1}{3n-1}>\frac{1}{3}\xb7\frac{1}{n}$, and the constant $\frac{1}{3}$ is positive and the series $\sum _{n=1}^{\infty}\frac{1}{n}$ is an example of a standard divergent series.

Example.

The series $\sum _{n=1}^{\infty}{n}^{-p}$ diverges for all rational $0\u2a7dp<1$.

**Proof.**

Again, as $p<1$ we have ${n}^{-p}\u2a7e\frac{1}{n}$, so the divergence of the series follows from the comparison test and the divergence of $\sum _{n=1}^{\infty}{n}^{-1}$.

Example.

Let $x$ be a positive real number. Then the series $\sum _{n=1}^{\infty}\frac{{x}^{n}}{n}$ diverges for $x\u2a7e1$, and converges for $0<x<1$.

**Proof.**

In the case $x=1$, the series is the harmonic series so diverges, by previous results. If $x>1$ we have $\frac{{x}^{n}}{n}>\frac{1}{n}>0$ for each $n$ and so $\sum _{n=1}^{\infty}\frac{{x}^{n}}{n}$ also diverges, by the comparison test.

If $0<x<1$ then $0<\frac{{x}^{n}}{n}<{x}^{n}$ for all $n\u2a7e2$ and so by comparison with the convergent geometric series $\sum _{n=1}^{\infty}{x}^{n}$ the series $\sum _{n=1}^{\infty}\frac{{x}^{n}}{n}$ converges.

Example.

The series $\sum _{n=1}^{\infty}\frac{{n}^{2}+3n+1}{{n}^{4}+3{n}^{2}+4n+1}$ converges.

**Proof.**

Let ${u}_{n}=\frac{{n}^{2}+3n+1}{{n}^{4}+3{n}^{2}+4n+1}$ and ${v}_{n}=\frac{1}{{n}^{2}}$. (We chose ${v}_{n}$ because, by counting indices, we guess
that ${u}_{n}$ behaves like

$\frac{1}{{n}^{2}}$ as
$n\to \infty $.) Now compute the limit:

by continuity of $+,\xb7$ and of division at $(1,1)$, and by standard null sequences ${n}^{-1}$, ${n}^{-2}$, etc.

Now as the limit is $1>0$ and both series are of positive terms only, by the limit comparison test $\sum _{n=1}^{\infty}{u}_{n}$ and $\sum _{n=1}^{\infty}{v}_{n}$ either both diverge or both converge. But $\sum _{n=1}^{\infty}{v}_{n}=\sum _{n=1}^{\infty}{n}^{-2}$ is a standard convergent series and therefore our series also converges.

Example.

The series $\sum _{n=1}^{\infty}\frac{{n}^{2}+3n+1}{8{n}^{3}+3{n}^{2}+4n+1}$ diverges.

**Proof.**

We perform limit comparision of our series with the harmonic series $\sum _{n=1}^{\infty}\frac{1}{n}$. We have,

by continuity and standard null sequences ${n}^{-1}$, ${n}^{-2}$, etc. Therefore by the limit comparison test, our sequence behaves as the harmonic series does. But the harmonic series is a standard divergent series, so our series also diverges.