Comparison tests and the ratio test · Mathematics Class… | StemPy Lab
Course 15.2·Lesson 2 of 3
Comparison tests and the ratio test
When the integral is hard, compare the series with a simpler one whose behaviour you know. Direct comparison needs an inequality in the right direction. Limit comparison needs only that the ratio of the terms tends to a positive, finite number. The ratio test compares the series with a geometric series and works well with factorials and powers. It says nothing when the limit of the ratio is 1.
about 35 min1 simulation2 practice questions1 Python program5 questions to check yourself
This lesson is free to read. Enroll free to keep your place and take the tests.
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
compare a positive series with a geometric series or a p-series, in the right direction;
use the limit comparison test and choose the comparison series;
use the ratio test, and say when it cannot decide;
know what the root test does.
Compare with something you know
You now know two families of series completely: the geometric series and the p-series. Many other series look almost like one of them. If a series is smaller than a convergent one, it must converge too. If it is bigger than a divergent one, it must diverge. That is the idea of comparison.
Direct comparison
Suppose 0≤an≤bn for all n from some point on.
If ∑bn converges, then ∑an converges.
If ∑an diverges, then ∑bn diverges.
Think of two piles of coins, one pile inside the other. If the big pile is finite, the small one is finite. If the small pile is infinite, the big one is infinite.
Example 1. Does n=1∑∞2n+51 converge? For every n we have 2n+5>2n, so 2n+51<2n1. The geometric series with ratio 21 converges. So the given series converges.
Example 2. Does n=3∑∞nlnn converge? For n≥3 we have lnn>1, so nlnn>n1. The harmonic series diverges. So the given series diverges.
The direction matters. A series that is bigger than a convergent series tells you nothing. Take n2−11 for n≥2. It is bigger than n21, which converges, so the comparison is useless as it stands. But for n≥2 we have n2−1≥21n2, so n2−11≤n22. Now the comparison works, because a constant multiple of a convergent series still converges.
Two parts. On the left, the terms of two series for n from 1 to 10 drawn as bars: the larger blue bars are 1 over n squared and the smaller orange bars are 1 over n squared plus 3, so each orange bar is shorter than the blue bar beside it. On the right, the partial sums of the two series for n from 1 to 30: both curves rise and level off, the orange curve below the blue one, which levels off near 1.645.
Limit comparison
Direct comparison needs an inequality, which can be awkward. The limit comparison test needs only a limit. Let an>0 and bn>0, and suppose
L=n→∞limbnan
is a finite number greater than 0. Then ∑an and ∑bn either both converge or both diverge.
The reason is that for large n the term an is trapped between 2Lbn and 2Lbn. So the two series behave in the same way.
How to choose bn. Keep the highest power of n on the top and on the bottom, and drop the rest.
Example 3. Does n=1∑∞n3+42n+1 converge? The highest powers give bn=n3n=n21. Then
bnan=n3+4(2n+1)n2=1+4/n32+1/n→2.
The limit 2 is finite and above 0. The series of n21 converges, so the given series converges.
Example 4. Does n=1∑∞n2+n1 converge? For large n the root is close to n, so take bn=n1. The ratio n2+nn=1+1/n1→1. The harmonic series diverges, so the given series diverges.
When L=0 or L=∞. The test as stated does not apply, and the AP course stops here. A stronger version exists. If L=0 and ∑bn converges, then ∑an converges, because an is far smaller than bn. But if L=0 and ∑bn diverges, you learn nothing. Compare an=n21 with bn=n1. The ratio tends to 0, and ∑bn diverges, yet ∑an converges. For L=∞ the roles swap: if ∑bn diverges, then ∑an diverges.
The ratio test
Some series have no good comparison. A factorial, for instance, has no neat power to compare with. The ratio test looks at how fast the terms shrink. Let
L=n→∞limanan+1.
If L<1, the series converges absolutely.
If L>1 (or L=∞), the series diverges.
If L=1, the test cannot decide.
The reason is a comparison with a geometric series. If L<1, then for large n each term is less than r times the one before, with r between L and 1. So the terms shrink at least as fast as a geometric series with ratio r.
Example 5. Take n=1∑∞2nn. The ratio is n/2n(n+1)/2n+1=2nn+1→21. Since 21<1, the series converges.
Example 6. Take n=1∑∞3nn!. The ratio is n!/3n(n+1)!/3n+1=3n+1→∞. The series diverges.
Example 7. Take n=1∑∞n1 and n=1∑∞n21. Both ratios tend to 1, because (n+1n)p→1 for every p. Yet the first series diverges and the second converges. So L=1 truly means that the test is silent.
The ratio test works best when the terms have factorials, or n in an exponent, as in n!2n, 3nn2 or nn5n. It does not help with a rational function of n, because the ratio then always tends to 1. Use a comparison there.
The ratio of each term to the one before it, plotted for n from 1 to 30, for three series. The curve for n over 2 to the n starts at 1 and settles at 0.5. The curve for 2 to the n over n factorial falls quickly to nearly 0. The curve for 1 over n squared climbs from 0.25 towards 1 and never crosses it. A dashed red line marks the height 1, and the region below it is labelled converges and the region above it diverges.
The root test
The root test looks at L=n→∞limn∣an∣. The verdicts are the same: converges absolutely if L<1, diverges if L>1, and no decision if L=1. It is handy when the whole term is raised to the power n.
For example, for ∑(2n+1n)n the root is 2n+1n→21, so the series converges. The root test is not part of the AP Calculus BC course. Some A-Level and university courses teach it, so it is good to know that it exists.
Practise with new numbers
Try it in Python
The program prints the ratio anan+1 at n=5,20 and 80 for four series.
Common mistakes
Comparing in the wrong direction. A series that is bigger than a convergent one proves nothing. A series that is smaller than a divergent one proves nothing.
Using limit comparison when L=0 or L=∞ as if it were the plain test. The plain test needs a finite number above 0. The stronger versions work in one direction only.
Using the comparison tests on terms that change sign. The terms must be positive.
Concluding from L=1 in the ratio test. It is silent. Try another test.
Turning the ratio upside down. Write a later term over an earlier term, anan+1.
Using the ratio test on np1 or on a fraction of polynomials. The limit is always 1.
Remember these
Direct comparison: 0≤an≤bn. The smaller series inherits convergence, the bigger series inherits divergence.
Limit comparison: bnan→L with 0<L<∞. Both series behave the same way.
Ratio test: L<1 converges, L>1 diverges, L=1 gives no answer.
Factorials and n in an exponent suggest the ratio test. Rational functions suggest limit comparison with a p-series.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Does n=1∑∞n3+n1 converge?
Does n=1∑∞n2+35n+2 converge?
Does n=1∑∞n!4n converge?
What does the ratio test say about n=1∑∞n21?
Does n=2∑∞n2−21 converge?
References
OpenStax, Calculus Volume 2, Chapter 5, section 5.4 on comparison tests and section 5.6 on the ratio and root tests.
College Board, AP Calculus AB and BC Course and Exam Description, Unit 10, the topics on comparison tests and the ratio test.
Enroll free in Tests for Convergence
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.