# Calculus/Comparison Test for Convergence

## Comparison Test

The first real determiner of convergence is the comparison test. This test is very basic and intuitive.

Comparison for Convergence and Divergence

If two series, ${\displaystyle S=\sum _{n=j}^{\infty }{s_{n}}}$ and ${\displaystyle Z=\sum _{n=j}^{\infty }{z_{n}}}$, and if ${\displaystyle 0\leq z_{n}\leq s_{n}}$ in the interval ${\displaystyle [j,\infty )}$, then if

1. ${\displaystyle Z}$ is divergent, so is ${\displaystyle S}$
2. ${\displaystyle S}$ is convergent, so is ${\displaystyle Z}$

First, a few words about this test. Notice that this test applies even if the two series' summands are equal. This is because if summands are the same, this means that the series must also be the same, and so if one of them converges or diverges by the equality property they must both converge or diverge. However, if the starting point ${\displaystyle j}$ is different from series to series, then they will not converge to the same value, that is to say ${\displaystyle Z\neq S}$, but this test will still apply.

The test itself follows from the fact that if we know that ${\displaystyle S}$ converges to some finite number, and we know that ${\displaystyle z_{n}}$ is less than (or equal to) ${\displaystyle s_{n}}$ for all ${\displaystyle n}$ then it follows that ${\displaystyle Z}$ should also converge to some finite number greater than zero. i.e., if there is a sum ${\displaystyle 1+2+3+4}$ and a sum ${\displaystyle 2+3+4+5}$ then we know that the first sum will be smaller because it has smaller numbers; the only thing smaller than a finite number is another finite number. The same is true for the divergence portion of this test. If ${\displaystyle Z}$ diverges and ${\displaystyle z_{n}}$ is less than or equal to ${\displaystyle s_{n}}$ for all ${\displaystyle n}$ then ${\displaystyle S}$ will diverge for essentially the same reason: the summand is bigger, and the sum of a set of numbers greater than the sum of numbers that is infinite must also be infinite as there is no finite number larger than an infinite number.

One last key note is that all the terms ${\displaystyle z_{n}}$ and ${\displaystyle s_{n}}$ must be larger than zero in order for this test to be conclusive. The series ${\displaystyle \sum _{n=1}^{\infty }{\frac {(-1)^{n}}{n}}}$ cannot be tested with the comparison test because it is alternating and half the terms are less than zero.

### Example 1

Use the divergent and monotonic harmonic series ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{n}}}$ to determine if the following series are divergent or if the test is inconclusive.

1. ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{n+1}}}$
2. ${\displaystyle \sum _{n=2}^{\infty }{\frac {1}{n-1}}}$
3. ${\displaystyle \sum _{n=1}^{\infty }{\frac {3}{n}}}$
4. ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{\sqrt {n}}}}$
5. ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{n^{2}}}}$

### Solutions

1. Notice that this sum can be rewritten as ${\displaystyle \sum _{n=2}^{\infty }{\frac {1}{n}}}$, making it have the same summand as the harmonic series which is divergent; therefore, this series is divergent.
2. This series is similar: it can be rewritten as ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{n}}}$ which is the harmonic series and so it is divergent.
3. For each ${\displaystyle n}$, this series is larger because ${\displaystyle 3}$ divided by any integer is larger than ${\displaystyle 1}$ divided by any integer. This can also be seen as ${\displaystyle 3\times \sum _{n=1}^{\infty }{\frac {1}{n}}}$, which is essentially ${\displaystyle 3\times \infty }$ and so this series is divergent.
4. For every ${\displaystyle n}$ in this series, the summand of ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{\sqrt {n}}}}$ is larger than the summand of the harmonic series and so this series is divergent. This can be seen by simply plotting the graph of ${\displaystyle f(n)={\frac {1}{\sqrt {n}}}}$. Something interesting to note is that when ${\displaystyle n<1}$, the summand of the harmonic series is actually larger.
5. Via plotting/plugging in values of ${\displaystyle n}$, we see that for every ${\displaystyle n}$ in the series, the summand of the harmonic series is larger and so the test fails and is inconclusive.

### Example 2

Use the convergent and monotonic series ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{2^{n}}}}$ to determine whether the following series are convergent or if the test is inconclusive.

1. ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{n^{2}}}}$
2. ${\displaystyle \sum _{n=1}^{\infty }{e^{-x}}}$
3. ${\displaystyle \sum _{n=1}^{\infty }{{\frac {1}{2^{n}}}\sin ^{2}(x)}}$
4. ${\displaystyle \sum _{n=1}^{\infty }{\frac {2}{2^{n}}}}$
5. ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{1.5^{n}}}}$
6. ${\displaystyle \sum _{n=1}^{\infty }{\frac {(-1)^{n}}{2^{n}}}}$

### Solutions

1. ${\displaystyle n^{-2}}$ decreases at a faster rate than ${\displaystyle 2^{-n}}$. However, these series do not satisfy the ${\displaystyle 0\leq z_{n}\leq s_{n}}$ requirement, because ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{n^{2}}}}$ is larger than ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{2^{n}}}}$ when ${\displaystyle n<2}$. We can solve this issue by taking removing the first term from the both series to obtain ${\displaystyle 1+\sum _{n=2}^{\infty }{\frac {1}{n^{2}}}}$ and ${\displaystyle 2+\sum _{n=2}^{\infty }{\frac {1}{2^{n}}}}$. Now, comparing ${\displaystyle \sum _{n=2}^{\infty }{\frac {1}{n^{2}}}}$ with ${\displaystyle \sum _{n=2}^{\infty }{\frac {1}{2^{n}}}}$ shows that ${\displaystyle \sum _{n=2}^{\infty }{\frac {1}{n^{2}}}}$ is indeed convergent. Because this is convergent, adding the original ${\displaystyle 1}$ will not change whether it is convergent or not, it will add ${\displaystyle 1}$ to the value of convergence.
2. ${\displaystyle \sum _{n=1}^{\infty }{e^{-x}}}$ is smaller ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{2^{n}}}}$ for every ${\displaystyle n}$, so this series is convergent.
3. ${\displaystyle \sum _{n=1}^{\infty }{{\frac {1}{2^{n}}}\sin ^{2}(x)}}$ is less than or equal to ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{2^{n}}}}$ and is greater than ${\displaystyle 0}$ for every ${\displaystyle n}$ in the domain; this is because ${\displaystyle \sin ^{2}(x)}$ conforms to [/itex]\frac{1}{2^n}[/itex], and the fact that ${\displaystyle \sin(x)}$ is squared implies that it will never be less than zero.
4. ${\displaystyle \sum _{n=1}^{\infty }{\frac {2}{2^{n}}}}$ is convergent. Notice that this is just ${\displaystyle 2\times \sum _{n=1}^{\infty }{\frac {1}{2^{n}}}}$, which is just ${\displaystyle 2}$ multiplied by some finite number.
5. ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{1.5^{n}}}}$ is greater than ${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{2^{n}}}}$ for an infinite amount of ${\displaystyle n}$ so the test in inconclusive.
6. This series is not greater than or equal to zero for an infinite amount of ${\displaystyle n}$'s, so this test is inconclusive.