---
title: The ratio and root tests
heading: Series that act like geometric series
eyebrow: A6 · Lesson 27 · Ratio and root tests
xp: 40
---

::: hook
The terms of $\sum n\,r^n$ grow at first, because $n$ is rising, then shrink, because $r^n$ wins. Will they shrink fast enough? Far out in the series, the ratio of each term to the one before settles down to $r$, so the tail behaves like a geometric series with ratio $r$, and you already know when those converge. That one idea, comparing the tail with a geometric series, is the ratio test. It's the test that tells you where power series converge, which is what the next lessons are about.
:::

::: play
- The bars are the terms $n\,r^n$. For $r$ near 1 they climb for a while before falling away.
- Raise $r$ toward 1. The peak moves out and the sum grows quickly.
- The readout shows the ratio of consecutive terms far out, and the sum.
:::
:::

```sim plot
view: graph
x: n = 0..60
y: y = 0..4
slider: r = 0.5..0.97 step 0.01 = 0.9
plot: floor(n)*r^floor(n) | label: terms n rⁿ | samples: 1200
readout: ratio far out = r | digits: 3
readout: sum of all terms = r/(1 - r)^2 | digits: 5
readout: largest term near n = -1/ln(r) | digits: 3
```

::: predict
## For $\sum n(0.9)^n$, the terms keep growing until about $n = 9$. Does the series still converge?

- [x] Yes: far out, each term is about 0.9 times the one before
- [ ] No: the terms grow at first
- [ ] Only if the first terms are left out
- [ ] It can't be decided

::: reveal
Yes. What happens in the first few terms doesn't affect convergence; only the tail matters. The ratio $\frac{(n + 1)r^{n+1}}{nr^n} = r\frac{n + 1}{n} \to r = 0.9$, so the tail shrinks like a geometric series with ratio 0.9. The sum is $\frac{0.9}{0.01} = 90$.
:::
:::

::: nameit
## The ratio test

Let $L = \lim_{n\to\infty}\left|\frac{a_{n+1}}{a_n}\right|$.

- If $L < 1$, the series converges (absolutely).
- If $L > 1$, or the ratio grows without limit, it diverges.
- If $L = 1$, the test says nothing; use another test.

Why it works: past some point every ratio is below a number $\rho < 1$, so the terms are smaller than a geometric series with ratio $\rho$.

The ratio test shines on factorials and exponentials, where the ratio simplifies: $\frac{(n + 1)!}{n!} = n + 1$ and $\frac{c^{n+1}}{c^n} = c$.

## The root test

Let $L = \lim\sqrt[n]{|a_n|}$. The same three cases apply. It's the natural test when each term is something to the $n$th power, like $\left(\frac{n}{2n + 1}\right)^n$.

## Where L = 1 leaves you stuck

Every p-series gives $L = 1$ in both tests: $\frac{1/(n + 1)^p}{1/n^p} \to 1$ whatever $p$ is. Yet some converge and some don't. When the terms shrink like a power of $n$ rather than geometrically, use the integral or comparison tests from lesson 26.

## A useful sum

Differentiating the geometric series (lesson 35 shows why that's allowed) gives

$$\sum_{n=1}^\infty n\,r^n = \frac{r}{(1 - r)^2}, \qquad |r| < 1$$
:::

::: example
## Does $\sum\frac{n}{2^n}$ converge, and to what?

::: solution
1. **Ratio test.**
   $$\frac{(n + 1)/2^{n+1}}{n/2^n} = \frac{n + 1}{2n} \to \frac{1}{2}$$
   which is less than 1, so it converges.
2. **Find the sum.** With $r = \frac{1}{2}$:
   $$\frac{1/2}{(1/2)^2} = 2$$

**Answer:** it converges, to 2.
:::
:::

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

::: solution
1. **Ratio test.**
   $$\begin{aligned} \frac{a_{n+1}}{a_n} &= \frac{(n + 1)!}{(n + 1)^{n+1}}\cdot\frac{n^n}{n!} \\ &= \frac{n^n}{(n + 1)^n} \\ &= \frac{1}{(1 + 1/n)^n} \\ &\to \frac{1}{e} \end{aligned}$$
2. **Conclude.** Since $\frac{1}{e} < 1$, it converges. Factorials grow fast, but $n^n$ grows faster.

**Answer:** yes, it converges.
:::
:::

::: example
## Does $\sum_{n=1}^\infty\frac{3^n}{n!}$ converge, and to what?

::: solution
1. **Ratio test.**
   $$\frac{a_{n+1}}{a_n} = \frac{3}{n + 1} \to 0$$
   which is less than 1, so it converges, however large the early terms get.
2. **Find the sum.** It's the series for $e^3$ without its first term:
   $$e^3 - 1 = 19.09$$

**Answer:** it converges, to $e^3 - 1 = 19.09$.
:::
:::

::: check
given: c = 2 | 3 | 5; k = 2 | 3
answer: 1/c
tolerance: 0.5%

## For $\sum\dfrac{n^{\given{k}}}{\given{c}^n}$, what is the ratio test's limit $L$?

::: right
Right. $\left(\frac{n + 1}{n}\right)^k\frac{1}{c} \to \frac{1}{c}$ = {answer}, so it converges.
:::

::: misses
- [c] Upside down: the next term divides by one more factor of $c$.
- [1] The power of $n$ contributes a ratio that tends to 1, but the exponential contributes $1/c$.
- [any] Not yet. Divide the $(n + 1)$th term by the $n$th.
:::
:::

::: check
given: r = 0.5 | 0.25 | 0.8
answer: r/(1 - r)^2
tolerance: 0.5%

## What is $\displaystyle\sum_{n=1}^\infty n\,(\given{r})^n$?

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

::: misses
- [r/(1 - r)] That's $\sum r^n$ from $n = 1$, without the factor $n$.
- [1/(1 - r)^2] That's $\sum(n + 1)r^n$ from $n = 0$, which starts at 1.
- [any] Not yet. Use $\sum nr^n = \frac{r}{(1 - r)^2}$.
:::
:::

::: check
given: a = 1 | 2; b = 3 | 5
answer: a/b
tolerance: 0.5%

## For $\sum\left(\dfrac{\given{a}n}{\given{b}n + 1}\right)^n$, what is the root test's limit $L$?

::: right
Right. The $n$th root removes the power, leaving $\frac{an}{bn + 1} \to \frac{a}{b}$ = {answer}. It's below 1, so the series converges.
:::

::: misses
- [b/a] Upside down.
- [any] Not yet. Take the $n$th root of the term, then let $n \to \infty$.
:::
:::

::: check
given: c = 1 | 2 | 3
answer: exp(c) - 1
tolerance: 0.5%

## The ratio test shows $\sum_{n=1}^\infty\dfrac{\given{c}^n}{n!}$ converges (its ratio $\frac{c}{n + 1} \to 0$). What is its sum?

::: right
Right. It's the series for $e^c$ without its first term, 1: {answer}.
:::

::: misses
- [exp(c)] That includes the $n = 0$ term, 1. This sum starts at $n = 1$.
- [any] Not yet. Recall $e^x = \sum_{n=0}^\infty\frac{x^n}{n!}$.
:::
:::

::: check
kind: choice

## For which series is the ratio test inconclusive?

- [x] $\sum\frac{1}{n^2}$
- [ ] $\sum\frac{1}{2^n}$
- [ ] $\sum\frac{3^n}{n!}$
- [ ] $\sum n\,(0.5)^n$

::: right
Right. The ratio $\frac{n^2}{(n + 1)^2} \to 1$. It converges, but the integral test is what shows it.
:::

::: misses
- [2] Ratio $\frac{1}{2}$: it converges.
- [3] Ratio $\frac{3}{n + 1} \to 0$: it converges.
- [4] Ratio $\to 0.5$: it converges.
- [any] Look for $L = 1$.
:::
:::

::: check
kind: choice

## What does the ratio test say about $\sum\dfrac{2^n}{n^{10}}$?

- [ ] It converges, since $n^{10}$ is huge
- [x] It diverges: the ratio tends to 2
- [ ] Inconclusive: the ratio tends to 1
- [ ] It converges to 0

::: right
Right. $\frac{2^{n+1}}{(n + 1)^{10}}\cdot\frac{n^{10}}{2^n} \to 2 > 1$. The terms eventually grow without limit.
:::

::: misses
- [1] $n^{10}$ is ahead for a while (until $n = 59$), but the exponential wins.
- [3] The power of $n$ gives a ratio tending to 1, but the $2^n$ contributes a factor of 2.
- [any] Work out the ratio of consecutive terms.
:::
:::

::: check
kind: parts
given: c = 2 | 3; r = 0.25 | 0.5

## Use the ratio test and known sums.

::: part
answer: exp(c) - 1
tolerance: 0.5%

### $\displaystyle\sum_{n=1}^\infty\frac{\given{c}^n}{n!}$

::: misses
- [exp(c)] Start at $n = 1$: leave out the 1.
- [any] It's $e^c$ without its first term.
:::
:::

::: part
answer: r/(1 - r)^2
tolerance: 0.5%

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

::: misses
- [any] Differentiate the geometric series, then multiply by $r$.
:::
:::
:::

::: check
kind: derivation
vars: c = 0.5..5, n = 1..50

## Apply the ratio test to $\sum\frac{c^n}{n!}$.

::: step
answer: c/(n + 1)

### Simplify $\frac{a_{n+1}}{a_n}$.
:::

::: step
answer: 0

### What does it approach as $n \to \infty$?
:::

::: right
Right. The ratio goes to 0 < 1, so the series converges for every $c$: factorials beat any power.
:::
:::

::: explain
## The ratio test says nothing when the limit is exactly 1. Why can't it decide those cases?

::: model
The ratio test works by comparing the tail with a geometric series whose ratio is below 1 (converges) or above 1 (diverges). When the ratio tends to exactly 1, the terms shrink more slowly than any geometric series, and both convergent and divergent series behave that way: $\sum 1/n$ and $\sum 1/n^2$ both have ratios tending to 1, yet one diverges and one converges. The test can't tell them apart because the difference lies in how the ratio approaches 1, which it ignores.
:::
:::

::: practice

::: check
given: c = 2..9 int
answer: c/(c - 1)^2
tolerance: 0.5%

## What is $\displaystyle\sum_{n=1}^\infty\frac{n}{\given{c}^n}$?

::: misses
- [any] $\sum nr^n$ with $r = 1/c$.
:::
:::

::: check
given: c = 2..12 int
answer: 0

## What is the ratio test's limit for $\sum\dfrac{\given{c}^n}{n!}$?

::: misses
- [c] The factorial adds a factor $n + 1$ to the denominator each step.
- [any] $\frac{c}{n + 1} \to 0$.
:::
:::

::: check
given: a = 2 | 3; b = 4 | 7
answer: a/b
tolerance: 0.5%

## For $\sum\left(\dfrac{\given{a}n + 5}{\given{b}n}\right)^n$, what is the root test's limit?

::: misses
- [any] Take the $n$th root and let $n \to \infty$.
:::
:::
:::
