Integral, \(p\)-Series & Comparison Tests
For most series, you can't find the exact sum—and the AP exam won't ask you to. It just asks: does this series converge or diverge? Every test in this lesson works for series with positive terms (\(a_n > 0\)).
By the end you can
- Use the Integral Test and state all three required conditions on FRQs
- Classify any \(p\)-series in one second
- Use Direct Comparison (in the valid direction!)
- Use Limit Comparison by matching dominant terms—the workhorse of Unit 10
The Integral Test
If you plot the terms \(a_n = f(n)\) as width-1 rectangles on top of (or underneath) the curve \(y = f(x)\), the sum of the rectangles behaves just like the area under the curve \(\int_N^\infty f(x)\,dx\).
Let \(a_n = f(n)\). If \(f(x)\) is positive, continuous, and decreasing for \(x \ge N\), then
\[ \sum_{n=N}^\infty a_n \quad \text{and} \quad \int_N^\infty f(x)\,dx \]either both converge or both diverge.
- The integral's value is NOT the sum of the series! For example, \(\int_1^\infty \frac{1}{x^2}\,dx = 1\), whereas \(\sum_{n=1}^\infty \frac{1}{n^2} = \frac{\pi^2}{6} \approx 1.645\). They just agree on converge vs. diverge.
- You MUST state the three conditions on an FRQ: "\(f(x)\) is positive, continuous, and decreasing for \(x \ge N\)." Dropping even one condition can cost the justification point.
Determine whether \(\displaystyle\sum_{n=2}^{\infty} \frac{1}{n\ln n}\) converges or diverges.
- Check conditions for \(f(x) = \dfrac{1}{x\ln x}\) on \([2, \infty)\):
\(x > 0\) and \(\ln x > 0\), so \(f\) is positive and continuous; as \(x\) increases, \(x\ln x\) increases, so \(f\) is decreasing. - Evaluate the improper integral using \(u = \ln x,\; du = \frac1x\,dx\): \[ \int_2^\infty \frac{1}{x\ln x}\,dx = \lim_{b\to\infty}\Big[\ln(\ln x)\Big]_2^b = \lim_{b\to\infty}\big(\ln(\ln b) - \ln(\ln 2)\big) = \infty \]
- Write the conclusion: since the improper integral diverges, \(\sum_{n=2}^\infty \frac{1}{n\ln n}\) diverges by the Integral Test.
Determine whether \(\displaystyle\sum_{n=1}^{\infty} n e^{-n^2}\) converges or diverges.
- Check conditions for \(f(x) = xe^{-x^2}\) on \([1, \infty)\): clearly positive and continuous. Differentiate to verify decreasing: \(f'(x) = (1 - 2x^2)e^{-x^2} < 0\) for all \(x \ge 1\). ✓
- Integrate with \(u = -x^2,\; du = -2x\,dx\): \[ \lim_{b\to\infty}\int_1^b xe^{-x^2}\,dx = \lim_{b\to\infty}\Big[-\tfrac12 e^{-x^2}\Big]_1^b = \lim_{b\to\infty}\left(-\frac{1}{2e^{b^2}} + \frac{1}{2e}\right) = \frac{1}{2e} \]
- Since the integral converges to a finite number (\(\frac{1}{2e}\)), the series converges by the Integral Test.
\(p\)-Series (instant recognition!)
Applying the Integral Test to \(a_n = \frac{1}{n^p}\) connects straight back to the \(p\)-integral rule from Improper Integrals:
- \(\sum \frac{1}{n^2}\): \(p = 2 > 1\) → converges.
- \(\sum \frac{1}{n}\): \(p = 1 \le 1\) (harmonic series) → diverges.
- \(\sum \frac{1}{\sqrt{n}} = \sum \frac{1}{n^{1/2}}\): \(p = \frac12 \le 1\) → diverges.
- \(\sum \frac{1}{n^{1.01}}\): \(p = 1.01 > 1\) → converges.
Direct Comparison Test (DCT)
Now that you know geometric series and \(p\)-series, you can judge ugly positive-term series by comparing them to nice ones! Suppose \(0 \le a_n \le b_n\) for all \(n \ge N\):
- If the bigger series \(\sum b_n\) converges, then the smaller series \(\sum a_n\) is trapped underneath it and converges.
- If the smaller series \(\sum a_n\) diverges (goes to \(\infty\)), then the bigger series \(\sum b_n\) is pushed up to \(\infty\) and diverges.
- Being smaller than a divergent series tells you NOTHING (smaller than \(\infty\) could be finite or \(\infty\)).
- Being bigger than a convergent series tells you NOTHING (bigger than \(5\) could be \(6\) or \(\infty\)).
Determine whether \(\displaystyle\sum_{n=1}^{\infty} \frac{1}{n^2 + 5}\) converges or diverges.
- Compare with \(\frac{1}{n^2}\): making the denominator bigger makes the fraction smaller: \[ 0 < \frac{1}{n^2 + 5} < \frac{1}{n^2} \qquad \text{for all } n \ge 1 \]
- \(\sum_{n=1}^\infty \frac{1}{n^2}\) converges because it is a \(p\)-series with \(p = 2 > 1\).
- Smaller than a convergent positive series ⇒ converges by Direct Comparison.
For \(\displaystyle\sum_{n=3}^{\infty} \frac{1}{n^2 - 5}\), notice \(\dfrac{1}{n^2 - 5} > \dfrac{1}{n^2}\). What does Direct Comparison with \(\sum \frac{1}{n^2}\) tell you?
Limit Comparison Test (LCT) — your best friend
When a positive-term series looks messy like \(\frac{1}{n^2 - 5}\) or \(\frac{3n^2 + 1}{n^4 - n + 5}\), Direct Comparison inequalities can be annoying or go the wrong way. Limit Comparison skips inequalities completely!
Suppose \(a_n > 0\) and \(b_n > 0\). Compute \(L = \displaystyle\lim_{n\to\infty} \frac{a_n}{b_n}\).
If \(L\) is a finite, positive number (\(0 < L < \infty\)), then \(\sum a_n\) and \(\sum b_n\) both converge or both diverge.
How to pick \(b_n\): just keep the highest-power (dominant) term on top and the highest-power term on bottom, and simplify!
Determine whether \(\displaystyle\sum_{n=3}^{\infty} \frac{1}{n^2 - 5}\) converges or diverges.
- Keep dominant terms: compare \(a_n = \frac{1}{n^2-5}\) with \(b_n = \frac{1}{n^2}\) (both positive for \(n \ge 3\)).
- Compute the limit of the ratio: \[ \lim_{n\to\infty} \frac{a_n}{b_n} = \lim_{n\to\infty} \frac{1/(n^2-5)}{1/n^2} = \lim_{n\to\infty} \frac{n^2}{n^2 - 5} = 1 \]
- Since \(L = 1\) is finite and positive (\(0 < 1 < \infty\)), and \(\sum \frac{1}{n^2}\) converges (\(p\)-series, \(p = 2 > 1\)), our series converges by the Limit Comparison Test.
Determine whether \(\displaystyle\sum_{n=1}^{\infty} \frac{3n^2 + 1}{n^3 - n + 5}\) converges or diverges.
- Keep dominant terms: \(\dfrac{3n^2}{n^3} = \dfrac{3}{n}\), so choose \(b_n = \dfrac{1}{n}\). (Both \(a_n > 0\) and \(b_n > 0\) for \(n \ge 1\).)
- Compute the limit: \[ \lim_{n\to\infty} \frac{(3n^2 + 1)/(n^3 - n + 5)}{1/n} = \lim_{n\to\infty} \frac{3n^3 + n}{n^3 - n + 5} = 3 \]
- Since \(0 < 3 < \infty\) and \(\sum \frac{1}{n}\) diverges (harmonic / \(p\)-series with \(p = 1\)), the series diverges by the Limit Comparison Test.
Determine whether \(\displaystyle\sum_{n=1}^{\infty} \frac{1}{2^n - 1}\) converges or diverges.
- Direct comparison with \(\frac{1}{2^n}\) goes the wrong way (\(\frac{1}{2^n-1} > \frac{1}{2^n}\)). Use Limit Comparison with \(b_n = \frac{1}{2^n}\) instead!
- Limit: \[ \lim_{n\to\infty} \frac{1/(2^n - 1)}{1/2^n} = \lim_{n\to\infty} \frac{2^n}{2^n - 1} = \lim_{n\to\infty} \frac{1}{1 - 2^{-n}} = 1 \]
- Since \(0 < 1 < \infty\) and \(\sum (\frac12)^n\) converges (geometric, \(|r| = \frac12 < 1\)), our series converges by the Limit Comparison Test.
To test \(\displaystyle\sum_{n=1}^{\infty} \frac{\sqrt{n} + 2}{n^2 + 3n}\) with Limit Comparison, what \(b_n\) should you pick?
Common mistakes
- Forgetting the three Integral Test conditions: positive, continuous, decreasing.
- Using Direct Comparison in the wrong direction (e.g. showing \(a_n < \frac{1}{n}\) and concluding convergence).
- Forgetting to verify positive terms for DCT and LCT (don't apply LCT to alternating series!).
- Writing "converges by Limit Comparison" without saying WHY the comparison series \(b_n\) converges (always state "\(p\)-series with \(p = 2 > 1\)" or "geometric with \(|r| = \frac12 < 1\)").
LCT is your go-to whenever you see polynomials, roots, or exponentials with extra \(+ 5\) or \(- 1\) terms. A complete LCT justification on an FRQ always has 4 ingredients: (1) state \(b_n\) and note \(a_n, b_n > 0\), (2) show \(\lim_{n\to\infty} \frac{a_n}{b_n} = L\) with \(0 < L < \infty\), (3) state why \(\sum b_n\) converges/diverges, and (4) conclude by the Limit Comparison Test.
Practice problems
Converge or diverge? \(\displaystyle\sum_{n=1}^{\infty} \frac{5}{n^{4/3}}\)
Hint
Pull out the \(5\)—it's a \(p\)-series.
Solution
Constant multiple of a \(p\)-series with \(p = \frac43 > 1\), so it converges.
Converge or diverge? \(\displaystyle\sum_{n=1}^{\infty} \frac{1}{n^3 + n}\)
Hint
Direct comparison with \(\frac{1}{n^3}\) goes the right way here!
Solution
For all \(n \ge 1\), \(0 < \frac{1}{n^3 + n} < \frac{1}{n^3}\). Since \(\sum \frac{1}{n^3}\) converges (\(p = 3 > 1\)), our series converges by Direct Comparison.
Converge or diverge? \(\displaystyle\sum_{n=2}^{\infty} \frac{n + 3}{\sqrt{n^3 - 1}}\)
Hint
Dominant terms: \(\frac{n}{n^{3/2}} = \frac{1}{\sqrt{n}}\). Use Limit Comparison.
Solution
Compare with \(b_n = \frac{1}{n^{1/2}}\) (positive for \(n \ge 2\)):
\[ \lim_{n\to\infty} \frac{(n+3)/\sqrt{n^3-1}}{1/\sqrt{n}} = \lim_{n\to\infty} \frac{n^{3/2} + 3n^{1/2}}{\sqrt{n^3 - 1}} = 1 \]Since \(0 < 1 < \infty\) and \(\sum \frac{1}{n^{1/2}}\) diverges (\(p = \frac12 \le 1\)), the series diverges by LCT.
Converge or diverge? \(\displaystyle\sum_{n=2}^{\infty} \frac{\ln n}{n}\)
Hint
For \(n \ge 3\), \(\ln n > 1\), so Direct Comparison with \(\frac{1}{n}\) works in two lines! (Or use the Integral Test.)
Solution
For \(n \ge 3\), \(\ln n > 1\), so \(\frac{\ln n}{n} > \frac{1}{n} > 0\). Because \(\sum \frac{1}{n}\) diverges (harmonic series), \(\sum \frac{\ln n}{n}\) diverges by Direct Comparison. (Integral Test also gives \(\int_2^\infty \frac{\ln x}{x}\,dx = \lim [\frac12(\ln x)^2]_2^b = \infty\).)
Converge or diverge? \(\displaystyle\sum_{n=2}^{\infty} \frac{1}{n(\ln n)^2}\)
Hint
Looks just like \(\int_2^\infty \frac{1}{x(\ln x)^2}\,dx\) from the Improper Integrals lesson—use the Integral Test!
Solution
\(f(x) = \frac{1}{x(\ln x)^2}\) is positive, continuous, and decreasing on \([2, \infty)\).
With \(u = \ln x\): \(\lim_{b\to\infty}\Big[-\frac{1}{\ln x}\Big]_2^b = 0 + \frac{1}{\ln 2} = \frac{1}{\ln 2}\) (finite).
Determine whether \(\displaystyle\sum_{n=1}^{\infty} \frac{2^n + 1}{3^n - 1}\) converges or diverges. Write a complete AP-style justification.
Hint
Keep the dominant terms: \(\frac{2^n}{3^n} = (\frac23)^n\). Use Limit Comparison!
Solution
Both \(a_n = \frac{2^n + 1}{3^n - 1}\) and \(b_n = \left(\frac23\right)^n\) are positive for \(n \ge 1\).
\[ \lim_{n\to\infty} \frac{(2^n + 1)/(3^n - 1)}{2^n / 3^n} = \lim_{n\to\infty} \frac{(2^n + 1)3^n}{(3^n - 1)2^n} = \lim_{n\to\infty} \frac{1 + 2^{-n}}{1 - 3^{-n}} = 1 \]Since \(0 < 1 < \infty\) and \(\sum_{n=1}^\infty (\frac23)^n\) converges (geometric series with \(|r| = \frac23 < 1\)), \(\sum_{n=1}^\infty \frac{2^n+1}{3^n-1}\) converges by the Limit Comparison Test.