Math Core

Lesson 6.8 · Infinite Sequences and Series

The ratio test

Factorials and exponentials make comparison tests clumsy. The ratio test handles them directly by asking one question: in the long run, how does each term compare with the one before it? It is also the main tool you will use to find where power series converge.

The idea: eventually geometric

In a geometric series, the ratio of consecutive terms is always the same number rr, and the series converges exactly when ∣r∣<1|r| < 1. Many other series are "geometric in the long run": the ratio an+1an\dfrac{a_{n+1}}{a_n} isn't constant, but it approaches a limit. If that limit is less than 11 in absolute value, then far out the series looks like a convergent geometric series, and it converges.

The ratio test

For a series ∑an\sum a_n with nonzero terms, compute

L=lim⁡n→∞∣an+1an∣.L = \lim_{n\to\infty} \left|\frac{a_{n+1}}{a_n}\right|.
  • If L<1L < 1, the series converges (in fact, it converges absolutely).
  • If L>1L > 1 (including L=∞L = \infty), the series diverges.
  • If L=1L = 1, the test is inconclusive.

When L>1L > 1, the terms are eventually growing in size, so they cannot approach 00, and the nth term test finishes the job.

Why it works

Suppose L=12L = \frac12. Then, far enough out in the series, every ratio ∣an+1an∣\left|\frac{a_{n+1}}{a_n}\right| is less than, say, 0.60.6. From that point on, each term is less than 0.60.6 times the one before it, so the tail of the series is smaller, term by term, than a geometric series with ratio 0.60.6:

∣aN∣+∣aN+1∣+∣aN+2∣+⋯≤∣aN∣(1+0.6+0.62+⋯ )=∣aN∣1−0.6.|a_N| + |a_{N+1}| + |a_{N+2}| + \cdots \le |a_N|\left(1 + 0.6 + 0.6^2 + \cdots\right) = \frac{|a_N|}{1 - 0.6}.

That geometric series converges, so by direct comparison the tail converges, and adding back the first NN terms doesn't change that. The same argument works for any L<1L < 1: just pick a ratio between LL and 11.

So the ratio test is really a comparison test in disguise, with a geometric series as the benchmark. That also explains why it fails when L=1L = 1: there is no convergent geometric series with ratio 11 to compare against, and the series may be shrinking too slowly for geometric comparison to detect.

Notice that the test uses absolute values. That means it works for series whose terms have mixed signs, like ∑(−2)nn!\sum \frac{(-2)^n}{n!}, and when L<1L < 1 it actually proves the stronger statement that ∑∣an∣\sum |a_n| converges. You will make this precise in the next lesson on absolute convergence.

Looking ahead to power series

At the end of this unit, you will apply the ratio test to series with a variable in them, such as ∑xnn\sum \frac{x^n}{n}. Then the limit LL depends on xx, here L=∣x∣L = |x|, and the condition L<1L < 1 becomes an inequality that tells you exactly which values of xx make the series converge. The algebra is the same as in the examples below, with xx carried along as a constant.

Simplifying the ratio

The algebra is where students lose points. Write the ratio as a product an+1⋅1ana_{n+1} \cdot \dfrac{1}{a_n} so you can cancel. These simplifications come up constantly:

(n+1)!n!=n+1,n!(n+1)!=1n+1,3n+13n=3,(2n+2)!(2n)!=(2n+2)(2n+1).\frac{(n+1)!}{n!} = n + 1, \qquad \frac{n!}{(n+1)!} = \frac{1}{n+1}, \qquad \frac{3^{n+1}}{3^n} = 3, \qquad \frac{(2n+2)!}{(2n)!} = (2n+2)(2n+1).

Common mistake

The ratio test says nothing when L=1L = 1. This happens for every p-series and for most rational expressions in nn. For example, for ∑1n\sum \frac{1}{n} (diverges) and ∑1n2\sum \frac{1}{n^2} (converges), the ratio limit is 11 both times. If you get L=1L = 1, switch to a comparison, integral, or alternating series test.

When to reach for the ratio test

The ratio test works best when the terms contain

  • factorials, such as n!n! or (2n)!(2n)!;
  • exponentials, such as 3n3^n or ene^n, especially mixed with powers of nn;
  • nnth powers, such as nnn^n.

It is almost never the right tool for purely algebraic terms like n2+1n4−3\dfrac{n^2 + 1}{n^4 - 3}.

Worked examples

Worked example: Powers over exponentials

Determine whether ∑n=1∞n23n\displaystyle\sum_{n=1}^{\infty} \frac{n^2}{3^n} converges.

Solution.

∣an+1an∣=(n+1)23n+1⋅3nn2=13(n+1n)2→13.\left|\frac{a_{n+1}}{a_n}\right| = \frac{(n+1)^2}{3^{n+1}} \cdot \frac{3^n}{n^2} = \frac{1}{3}\left(\frac{n+1}{n}\right)^2 \to \frac{1}{3}.

Since L=13<1L = \frac13 < 1, the series converges.

Worked example: Factorials beat exponentials

Determine whether ∑n=1∞n!5n\displaystyle\sum_{n=1}^{\infty} \frac{n!}{5^n} converges.

Solution.

∣an+1an∣=(n+1)!5n+1⋅5nn!=n+15→∞.\left|\frac{a_{n+1}}{a_n}\right| = \frac{(n+1)!}{5^{n+1}} \cdot \frac{5^n}{n!} = \frac{n+1}{5} \to \infty.

Since L=∞>1L = \infty > 1, the series diverges. (Its terms grow without bound.)

Worked example: A double factorial ratio

Determine whether ∑n=0∞(n!)2(2n)!\displaystyle\sum_{n=0}^{\infty} \frac{(n!)^2}{(2n)!} converges.

Solution.

∣an+1an∣=((n+1)!)2(2n+2)!⋅(2n)!(n!)2=(n+1)2(2n+2)(2n+1)=n+12(2n+1)→14.\left|\frac{a_{n+1}}{a_n}\right| = \frac{\big((n+1)!\big)^2}{(2n+2)!} \cdot \frac{(2n)!}{(n!)^2} = \frac{(n+1)^2}{(2n+2)(2n+1)} = \frac{n+1}{2(2n+1)} \to \frac{1}{4}.

Since L=14<1L = \frac14 < 1, the series converges.

Worked example: A limit that equals e

Determine whether ∑n=1∞n!nn\displaystyle\sum_{n=1}^{\infty} \frac{n!}{n^n} converges.

Solution.

∣an+1an∣=(n+1)!(n+1)n+1⋅nnn!=(n+1) nn(n+1)n+1=(nn+1)n.\left|\frac{a_{n+1}}{a_n}\right| = \frac{(n+1)!}{(n+1)^{n+1}} \cdot \frac{n^n}{n!} = \frac{(n+1)\,n^n}{(n+1)^{n+1}} = \left(\frac{n}{n+1}\right)^n.

Now (nn+1)n=1(1+1n)n→1e\left(\dfrac{n}{n+1}\right)^n = \dfrac{1}{\left(1 + \frac1n\right)^n} \to \dfrac{1}{e}. Since L=1e<1L = \frac{1}{e} < 1, the series converges.

Tip

Before diving into the algebra, predict the answer with growth rates. Factorials beat exponentials, which beat powers. So n102n\frac{n^{10}}{2^n} should converge, and 100nn!\frac{100^n}{n!} should converge, while n!100n\frac{n!}{100^n} diverges. If your computed LL disagrees with your prediction, recheck the algebra.

Practice

Practice 1

For ∑n=1∞n3n\displaystyle\sum_{n=1}^{\infty} \frac{n}{3^n}, compute L=lim⁡n→∞∣an+1an∣L = \displaystyle\lim_{n\to\infty} \left|\frac{a_{n+1}}{a_n}\right|.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

What does the ratio test tell you about ∑n=1∞n!10n\displaystyle\sum_{n=1}^{\infty} \frac{n!}{10^n}?

Practice 3

What does the ratio test tell you about ∑n=0∞2nn!\displaystyle\sum_{n=0}^{\infty} \frac{2^n}{n!}?

Practice 4

For ∑n=0∞(n!)2(2n)!\displaystyle\sum_{n=0}^{\infty} \frac{(n!)^2}{(2n)!}, compute the ratio test limit LL.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

For which series is the ratio test inconclusive?

Practice 6

For ∑n=1∞nnn!\displaystyle\sum_{n=1}^{\infty} \frac{n^n}{n!}, compute the ratio test limit LL. Give an exact value.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

For ∑n=1∞5nn⋅4n\displaystyle\sum_{n=1}^{\infty} \frac{5^n}{n\cdot 4^n}, compute the ratio test limit LL.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.