Unit 10 · Topic 10.8 · BC

Ratio test

Builds on geometric series, the nth-term test and direct comparison. 12 minutes.

  1. Example 1Form the absolute term ratio
  2. Example 2Simplify the ratio
  3. Example 3Evaluate and interpret the ratio limit
  4. Example 4Handle an inconclusive ratio test

In a geometric series, each term is the term before it times the same number \(r\). If the first term is not 0, the series converges when \(|r|<1\) and diverges when \(|r|\ge1\). In most other series, the ratio of a term to the term before it changes with \(n\), but it often approaches a limit. For a series \(\sum a_n\) with no zero terms, the ratio test uses the limit

\[\cy{L}=\lim_{n\to\infty}\left|\frac{a_{n+1}}{a_n}\right|\]

With the absolute value, the ratio compares the size \(|a_{n+1}|\) of each term with the size \(|a_n|\) of the term before it. The signs of the terms therefore do not change \(L\). For a geometric series with no zero terms, every ratio is that same number, so \(L\) is its size. This topic shows which conclusion each value of \(L\) gives, how to find \(L\), and what to do when \(L=1\).

Comparison with a geometric series

Two graphs for n from 1 to 20. The upper graph has bars for the terms n times four fifths to the n, which rise to about 1.64 at n = 4 and n = 5 and then fall. The lower graph has dots for the ratios of consecutive terms, which fall from 1.6 toward an orange line at 0.8, with a faint dashed line at 1 and a line at a chosen number r between 0.8 and 1. A faint vertical line stands just before the first index N whose dot lies below r. From N on, outlined bars of a geometric series with ratio r stand over the bars of the terms.

Figure 1The bars are the terms of \(\sum n\left(\frac45\right)^n\), and the dots are their ratios \(\frac{a_{n+1}}{a_n}\), which approach the orange line at \(\cy{L}\). Right of the faint vertical line, every dot lies below the line at \(r\), and the outlined geometric series with ratio \(r\) covers the bars.

Figure 1 shows the series \(\sum n\left(\frac45\right)^n\). Its terms are positive, so each bar in the upper graph has the height of a term. In the lower graph, the dot above \(n\) is the height of bar \(n+1\) divided by the height of bar \(n\). The powers of \(\frac45\) cancel except for one factor:

\[\begin{aligned}\frac{a_{n+1}}{a_n}&=\frac{(n+1)\left(\frac45\right)^{n+1}}{n\left(\frac45\right)^n}\\&=\frac45\left(1+\frac1n\right)\end{aligned}\]

As \(n\) grows, \(\frac1n\) approaches 0, so the dots approach the orange line at \(\cy{L}=\frac45\). The first three dots lie above the faint dashed line at 1, because bars 2, 3 and 4 are each taller than the bar before them. The argument below uses only the ratios for large \(n\), so these first dots do not affect the result.

Suppose that \(L<1\), and choose a number \(r\) with \(L<r<1\), like the \(r\) marked by a line in Figure 1. The ratios approach \(L\), and the distance \(r-L\) is positive. By the definition of a limit, from some index \(N\) on, every ratio lies within \(r-L\) of \(L\), so it is less than \(r\). From \(N\) on, each step multiplies the size of a term by a factor less than \(r\), so after \(k\ge1\) steps

\[|a_{N+k}|<|a_N|\,r^k\]

The numbers \(|a_N|\,r^k\) are the terms of a geometric series with ratio \(r\), which converges because \(0<r<1\). In Figure 1 they are the outlined bars. The faint vertical line stands just before bar \(N\), and to its right the bars lie inside the outlines. By the direct comparison test, the smaller series \(|a_N|+|a_{N+1}|+\cdots\) converges too. The first \(N-1\) terms add a finite amount, so \(\sum|a_n|\) converges.

Move \(r\) toward \(L\) with the slider. The index \(N\) moves to the right, because more dots lie above \(r\). A geometric series with ratio \(r\) still covers the terms from \(N\) on. Any \(r\) between \(L\) and 1 works, and such an \(r\) exists only because \(L<1\).

If some terms are negative, \(\sum a_n\) converges as well. Each number \(a_n+|a_n|\) is either 0 or \(2|a_n|\), so \(\sum\left(a_n+|a_n|\right)\) converges by direct comparison with \(\sum2|a_n|\), which converges because it is twice \(\sum|a_n|\). The partial sums of \(\sum a_n\) are the totals of its first \(n\) terms. They are the partial sums of \(\sum\left(a_n+|a_n|\right)\) minus those of \(\sum|a_n|\), so they approach the difference of the two sums.

Suppose instead that \(L>1\), or that the ratios grow without bound, which is written \(L=\infty\). By the definition of a limit, every ratio from some index \(M\) on is greater than 1. Each size after \(|a_M|\) is then larger than the one before it, so \(|a_n|\ge|a_M|\) for \(n\ge M\), and \(|a_M|>0\) because no term is 0. The terms do not approach 0, so the series diverges by the nth-term test. These two results are the ratio test.

Finding the limit

To write \(a_{n+1}\), replace every \(n\) in the formula for \(a_n\) with \(n+1\) in parentheses. This includes an \(n\) in an exponent or inside a factorial \(n!=1\cdot2\cdot3\cdots n\). Divide \(a_{n+1}\) by \(a_n\), with the later term on top. The absolute value then removes a sign factor such as \((-1)^n\), because its size is 1.

Most ratios simplify by canceling. A power \(c^{n+1}\) is \(c\) times \(c^n\), and a factorial is the factorial before it times one more factor. A larger factorial is therefore a smaller one times the factors that it has in addition:

\[\begin{aligned}\frac{c^{n+1}}{c^n}&=c\\\frac{(n+1)!}{n!}&=n+1\\\frac{(2n+2)!}{(2n)!}&=(2n+2)(2n+1)\end{aligned}\]

What remains is usually a quotient of polynomials in \(n\), and dividing its top and bottom by the highest power of \(n\) gives the limit. The test suits terms with factorials or with \(n\) in an exponent, because these cancel to short quotients.

When the limit is 1

Two graphs for n from 1 to 20. The upper graph has two rows of dots: the ratios n over n plus 1 of the series of 1 over n, and below them the ratios n squared over n plus 1 squared of the series of 1 over n squared. Both rows rise toward a dashed line at 1. The lower graph has the partial sums of the two series as teal points joined by lines: those of 1 over n rise past 3.5, and those of 1 over n squared level off near 1.6.

Figure 2The dots are the ratios of consecutive terms of \(\sum\frac1n\) and \(\sum\frac1{n^2}\). Below them, the teal points are the partial sums of the two series.

The harmonic series \(\sum\frac1n\) diverges, and the p-series \(\sum\frac1{n^2}\) converges. Their ratios both approach 1:

\[\begin{aligned}\frac{1/(n+1)}{1/n}&=\frac{n}{n+1}\to1\\\frac{1/(n+1)^2}{1/n^2}&=\left(\frac{n}{n+1}\right)^2\to1\end{aligned}\]

In Figure 2, the dots of both series rise toward the faint dashed line at 1. The teal partial sums continue to rise for \(\sum\frac1n\) and level off for \(\sum\frac1{n^2}\). A limit of 1 occurs for convergent and for divergent series, so when \(L=1\) the ratio test is inconclusive: it gives no conclusion. Every dot of \(\sum\frac1n\) lies below the dashed line, yet the series diverges. A ratio below 1 at every \(n\) is not enough, because no single \(r<1\) lies above all the dots. The test also ignores signs. The series \(\sum\frac{(-1)^{n+1}}{n}\) has the same sizes as \(\sum\frac1n\), so it also has \(L=1\), but it converges by the alternating series test.

When \(L=1\), choose a test that uses the terms themselves. If they do not approach 0, the nth-term test shows divergence. If they are positive and behave like \(\frac1{n^p}\) for large \(n\), compare them with the p-series \(\sum\frac1{n^p}\). Use direct comparison or limit comparison. That p-series converges if \(p>1\) and diverges if \(p\le1\). If their signs alternate, try the alternating series test.

A term built from powers such as \(n^2\) and \(\sqrt n\), with no factorial and no \(n\) in an exponent, always gives \(L=1\). When \(n\) becomes \(n+1\), the power \(n^2\) changes by the factor \(\left(1+\frac1n\right)^2\) and \(\sqrt n\) by \(\sqrt{1+\frac1n}\), and both factors approach 1. In a sum of powers, the highest power decides the size for large \(n\), so the sum changes by a factor that approaches 1 too. For these terms, start with another test.

Example 1

Form the absolute term ratio

Let \(a_n=\dfrac{(-3)^n}{n^2}\). Find \(\displaystyle\lim_{n\to\infty}\left|\frac{a_{n+1}}{a_n}\right|\), and use it to determine whether \(\displaystyle\sum_{n=1}^{\infty}a_n\) converges or diverges.

Solution

No term is 0. Replace every \(n\) with \(n+1\), including the \(n\) in the exponent. Then divide by \(a_n\). The powers of \(-3\) leave one factor \(-3\), whose size is 3:

\[\begin{aligned}\left|\frac{a_{n+1}}{a_n}\right|&=\left|\frac{(-3)^{n+1}}{(n+1)^2}\cdot\frac{n^2}{(-3)^n}\right|\\&=\frac{3n^2}{(n+1)^2}\end{aligned}\]

Dividing the top and the bottom by \(n^2\) gives the limit:

\[L=\lim_{n\to\infty}\frac{3}{\left(1+\frac1n\right)^2}=3\]

Because \(L>1\), the series diverges by the ratio test.

Example 2

Simplify the ratio

Use the ratio test to determine whether \(\displaystyle\sum_{n=1}^{\infty}\frac{(2n)!}{3^n\,(n!)^2}\) converges or diverges.

Solution

The terms are positive. In \(a_{n+1}\), the factorial \((2n)!\) becomes \(\big(2(n+1)\big)!=(2n+2)!\), the power \(3^n\) becomes \(3^{n+1}\), and \(n!\) becomes \((n+1)!\). Group the like factors of \(\frac{a_{n+1}}{a_n}\). Then cancel within each group:

\[\begin{aligned}\frac{a_{n+1}}{a_n}&=\frac{(2n+2)!}{(2n)!}\cdot\frac{3^n}{3^{n+1}}\\&\quad\cdot\left(\frac{n!}{(n+1)!}\right)^2\\&=\frac{(2n+2)(2n+1)}{3\,(n+1)^2}\end{aligned}\]

Because \(2n+2=2(n+1)\), one factor \(n+1\) cancels. Dividing the top and the bottom by \(n\) gives the limit:

\[L=\lim_{n\to\infty}\frac{2(2n+1)}{3(n+1)}=\frac43\]

Because \(L>1\), the series diverges.

Example 3

Evaluate and interpret the ratio limit

Use the ratio test to determine whether \(\displaystyle\sum_{n=1}^{\infty}\frac{n!}{10^n}\) and \(\displaystyle\sum_{n=1}^{\infty}\frac{10^n}{n!}\) converge or diverge.

Solution

The terms of both series are positive. The powers of 10 leave one factor 10, and \((n+1)!\) is \(n+1\) times \(n!\), so the ratios are

\[\begin{aligned}\frac{(n+1)!}{10^{n+1}}\cdot\frac{10^n}{n!}&=\frac{n+1}{10}\\\frac{10^{n+1}}{(n+1)!}\cdot\frac{n!}{10^n}&=\frac{10}{n+1}\end{aligned}\]

As \(n\) grows, \(\frac{n+1}{10}\) grows without bound, so the first series has \(L=\infty\) and diverges. The ratio \(\frac{10}{n+1}\) approaches 0, so the second series has \(L=0\), which is less than 1, and it converges.

The terms of the second series grow to more than 2700 before they shrink, but the test uses only the limit of the ratios.

Example 4

Handle an inconclusive ratio test

Show that the ratio test is inconclusive for \(\displaystyle\sum_{n=1}^{\infty}\frac{\sqrt n}{n^2+1}\). Then determine whether the series converges or diverges.

Solution

The terms are positive, and their ratio is a product of two factors:

\[\frac{a_{n+1}}{a_n}=\sqrt{\frac{n+1}{n}}\cdot\frac{n^2+1}{(n+1)^2+1}\]

Dividing by \(n\) inside the root and by \(n^2\) in the fraction shows that both factors approach 1. The limit is 1, so the ratio test is inconclusive.

For large \(n\), the term behaves like \(\frac{\sqrt n}{n^2}=\frac1{n^{3/2}}\), so compare it with this p-series. Because \(n^2+1>n^2\) for every \(n\),

\[0<\frac{\sqrt n}{n^2+1}<\frac{\sqrt n}{n^2}=\frac1{n^{3/2}}\]

The p-series \(\sum\frac1{n^{3/2}}\) converges because \(\frac32>1\). By the direct comparison test, \(\sum\frac{\sqrt n}{n^2+1}\) converges.

Each example is one of the four skills of topic 10.8 in Which & Why: AP Calculus.