---
title: Strategy for testing series
heading: Which test to try first
eyebrow: A6 · Lesson 30 · Strategy for testing series
xp: 50
---

::: hook
You now have a shelf of convergence tests: divergence, geometric, p-series, comparison, integral, ratio, root and alternating. A real series doesn't say which one fits. As with integrals, the skill is a quick scan of the term's shape that points to the right test, so you reach an answer in one or two lines instead of trying everything.
:::

::: play
- The stems are the terms $a_n$ of four series, chosen with the slider: $\frac{n}{n^3 + 1}$, $\frac{n^2}{3^n}$, $\frac{\ln(n + 1)}{n + 1}$ and $\frac{n}{n + 1}$.
- For each one, predict which test fits before reading on.
- Watch how fast the terms shrink: geometrically (ratio test), like a power of $n$ (comparison or p-series), or not at all (divergence test).
:::

```sim plot
view: graph
x: n = 1..30
y: a = 0..1.2
slider: k = 1..4 step 1 = 1
plot: step(1.5 - k)*n/(n^3 + 1) + step(k - 1.5)*step(2.5 - k)*n^2/3^n + step(k - 2.5)*step(3.5 - k)*ln(n + 1)/(n + 1) + step(k - 3.5)*n/(n + 1) | stems | label: terms
```

::: predict
## Which test settles $\sum\frac{n}{n^3 + 1}$ fastest?

- [x] Limit comparison with $\sum\frac{1}{n^2}$
- [ ] The ratio test
- [ ] The alternating series test
- [ ] The divergence test

::: reveal
Limit comparison. For large $n$ the term behaves like $\frac{n}{n^3} = \frac{1}{n^2}$, and $\frac{n/(n^3 + 1)}{1/n^2} \to 1$, so both converge. The ratio test gives a limit of 1 for any rational function of $n$, which decides nothing; the divergence test only proves divergence, and these terms do go to zero.
:::
:::

::: nameit
## A scan, in order

1. **Do the terms go to zero?** If not, the series diverges (divergence test). It's the cheapest check; for example $\sum\frac{n}{n + 1}$ fails it.
2. **Is it geometric or a p-series?** $\sum ar^n$ converges for $|r| < 1$; $\sum\frac{1}{n^p}$ converges for $p > 1$.
3. **Is it a rational function of $n$, or like one?** Compare its largest powers: $\frac{\text{degree } d \text{ on top}}{\text{degree } e \text{ below}}$ behaves like $\frac{1}{n^{e - d}}$. Use limit comparison with that p-series.
4. **Does it have factorials or $n$th powers?** Use the ratio test ($n!$, $c^n$) or the root test (things to the $n$th power). They give 1 for rational functions, so don't use them there.
5. **Does it alternate?** If the terms shrink to zero, it converges; then check absolute convergence separately.
6. **Is it $f(n)$ for a function you can integrate?** Use the integral test, especially with logarithms, as in $\sum\frac{1}{n\ln n}$.

## Rough sizes of terms

From slowest to fastest shrinking: $\frac{1}{\ln n}$, $\frac{1}{\sqrt n}$, $\frac1n$, $\frac{1}{n^2}$, $r^n$, $\frac{1}{n!}$, $\frac{1}{n^n}$. A series converges if its terms shrink faster than $\frac1n$ by a power, like $\frac{1}{n^{1.01}}$; $\frac1n$ itself, and anything slower, diverges.

## Two sums worth knowing

For $|r| < 1$: $\sum_{n=1}^\infty nr^n = \frac{r}{(1 - r)^2}$ and $\sum_{n=1}^\infty n^2r^n = \frac{r(1 + r)}{(1 - r)^3}$, by differentiating the geometric series.
:::

::: example
## Does $\sum\frac{2^n}{n^2}$ converge?

::: solution
1. **Check the terms first.** An exponential beats any power, so
   $$\frac{2^n}{n^2} \to \infty$$
2. **Conclude.** The terms don't go to zero, so the series diverges. No other test is needed.

**Answer:** no, it diverges.
:::
:::

::: example
## Does $\sum\frac{\ln n}{n}$ converge?

::: solution
1. **Compare with $1/n$.** For $n \ge 3$, $\ln n > 1$, so
   $$\frac{\ln n}{n} > \frac1n$$
2. **Conclude.** Since $\sum\frac1n$ diverges, so does this series, by direct comparison. The logarithm makes the terms bigger than the harmonic series', and that's already too big.

**Answer:** no, it diverges.
:::
:::

::: example
## Find $\sum_{n=1}^\infty\frac{n^2}{3^n}$.

::: solution
1. **Ratio test.**
   $$\frac{(n + 1)^2}{3n^2} \to \frac13$$
   which is less than 1, so it converges.
2. **Find the value.** Its value is $\frac{r(1 + r)}{(1 - r)^3}$ with $r = \frac13$:
   $$\begin{aligned} \frac{\frac13 \cdot \frac43}{(2/3)^3} &= \frac{4/9}{8/27} \\ &= 1.5 \end{aligned}$$

**Answer:** the sum is 1.5.
:::
:::

::: check
kind: choice

## Which test settles $\sum\frac{n!}{5^n}$?

- [ ] Comparison with a p-series
- [x] The divergence test (or the ratio test)
- [ ] The alternating series test
- [ ] The integral test

::: misses
- [1] Factorials grow faster than any power or exponential: the terms don't shrink.
- [3] It doesn't alternate.
- [4] There's no easy function to integrate, and the terms blow up anyway.
:::
:::

::: check
kind: choice

## Which test settles $\sum\frac{1}{n\ln n}$ (from $n = 2$)?

- [ ] The ratio test
- [ ] Comparison with $\sum\frac{1}{n^2}$
- [x] The integral test
- [ ] The divergence test

::: misses
- [1] The ratio tends to 1: no decision.
- [2] The terms are bigger than $\frac{1}{n^2}$, so that comparison proves nothing.
- [4] The terms do go to zero, so that test can't decide.
:::
:::

::: check
given: d = 1 | 2; e = 3 | 4 | 5
answer: e - d
tolerance: 0

## A term behaves like $\frac{n^{\given{d}}}{n^{\given{e}}}$ for large $n$. Comparing with $\sum\frac{1}{n^p}$, what is $p$?

::: right
Right. $p$ = {answer}, so the series converges when that's more than 1.
:::

::: misses
- [e + d] Divide: $\frac{n^d}{n^e} = \frac{1}{n^{e - d}}$.
- [any] Not yet. Subtract the degrees.
:::
:::

::: check
given: r = 0.25 | 0.5 | 0.75
answer: r*(1 + r)/(1 - r)^3
tolerance: 0.5%

## What is $\sum_{n=1}^\infty n^2\given{r}^n$?

::: right
Right. $\frac{r(1 + r)}{(1 - r)^3}$ = {answer}.
:::

::: misses
- [r/(1 - r)^2] That's $\sum nr^n$. With $n^2$ there's another factor.
- [any] Not yet. Differentiate the geometric series twice, or use $\frac{r(1 + r)}{(1 - r)^3}$.
:::
:::

::: check
kind: parts
given: a = 1 | 3; b = 2 | 5

## Use limit comparison on $\sum\frac{\given{a}n + 1}{\given{b}n^3 + n}$.

::: part
answer: 2
tolerance: 0

### Its terms behave like $\frac{c}{n^p}$. What is $p$?

::: misses
- [any] Highest powers: $\frac{n}{n^3}$.
:::
:::

::: part
answer: a/b
tolerance: 0.5%

### What is $\displaystyle\lim_{n\to\infty}\frac{a_n}{1/n^2}$?

::: misses
- [b/a] Upside down.
- [any] Divide the leading coefficients.
:::
:::
:::

::: check
kind: derivation
vars: r = 0.05..0.9

## Derive $\sum_{n=1}^\infty nr^n$ from the geometric series.

::: step
answer: 1/(1 - r)^2

### Differentiate $\sum_{n=0}^\infty r^n = \frac{1}{1 - r}$ with respect to $r$. What is $\sum nr^{n-1}$?
:::

::: step
answer: r/(1 - r)^2

### Multiply by $r$.
:::

::: right
Right. $\sum nr^n = \frac{r}{(1 - r)^2}$, valid for $|r| < 1$.
:::
:::

::: explain
## Why is the ratio test useless for $\sum\frac{1}{n^2}$, even though that series converges?

::: model
The ratio test compares a series with a geometric one: it asks whether each term is eventually a fixed fraction of the one before. For $\frac{1}{n^2}$, the ratio $\frac{n^2}{(n + 1)^2}$ approaches 1, the same as for the divergent $\frac1n$: power-law terms shrink, but by less and less of a fraction each step, so they look like a geometric series with ratio 1, the borderline case where the test says nothing. Telling $\frac{1}{n^2}$ from $\frac1n$ needs a test that measures how fast a power law falls, which is what the p-series, comparison and integral tests do. The ratio test is the right tool when terms shrink by a fixed factor, as with exponentials and factorials.
:::
:::

::: practice

::: check
given: r = 0.05..0.95
answer: r/(1 - r)^2
tolerance: 0.5%

## $\sum_{n=1}^\infty n\given{r}^n$?

::: misses
- [any] $\frac{r}{(1 - r)^2}$.
:::
:::

::: check
given: r = 0.05..0.9
answer: r*(1 + r)/(1 - r)^3
tolerance: 0.5%

## $\sum_{n=1}^\infty n^2\given{r}^n$?

::: misses
- [any] $\frac{r(1 + r)}{(1 - r)^3}$.
:::
:::
:::
