Series convergence lab – partial sums, nth-term, integral, comparison, ratio and alternating series tests

MathematicsCalculusAges 16–17

Use with my class

Choose a series (harmonic, p-series, geometric, alternating, and examples for the ratio and comparison tests), watch its partial sums Sₙ change with n and apply the tests one by one: the nth-term test, the geometric and p-series rules, the integral test with rectangles above and below the curve, direct and limit comparison with a known series, the ratio |aₙ₊₁/aₙ| and the alternating series test with its error bound |S − Sₙ| ≤ |aₙ₊₁|, checked against ln 2, π/4 and π²/12.

Lesson: Infinite series: convergence tests and the alternating series error bound

What it shows

A series Σaₙ converges when its partial sums Sₙ approach a number S. No single test decides every series. The nth-term test can only show divergence; the p-series and geometric rules settle two families; the integral test compares Sₙ with the area under f; the comparison tests borrow the behaviour of a known series; the ratio test looks at |aₙ₊₁/aₙ|; and the alternating series test also bounds the error by the next term. Each tab applies one test to the chosen series and says whether it decides, gives no conclusion or does not apply.

How to use

Choose Series aₙ, set Exponent p or Common ratio r when they appear, and change Number of terms n with the slider, n − 1, n + 1 or Add terms. Each tab applies one test: on Partial sums choose Test, and on Comparison choose Compare with bₙ. Record adds the series, n, Sₙ, the test and its verdict to the table.

Parameters you can change

  • Screen Partial sums, Integral test, Comparison, Ratio test, Alternating series
  • Series aₙ Harmonic: 1/n, p-series: 1/nᵖ, Geometric: rⁿ⁻¹, Alternating harmonic: (−1)ⁿ⁺¹/n, Leibniz: (−1)ⁿ⁺¹/(2n − 1), (−1)ⁿ⁺¹/n², n/2ⁿ, 2ⁿ/n!, nⁿ/n!, 1/(2ⁿ + 1), 1/(n + 1), ln n/n², n/(3n − 1)
  • Exponent p 0.5–3
  • Common ratio r -1.5–1.5
  • Number of terms n 1–100
  • Compare with bₙ 1/√n, 1/n, 1/(n√n), 1/n², (1/2)ⁿ, (2/3)ⁿ

Questions to explore

  1. Why does the harmonic series diverge although its terms tend to 0?
  2. For which values of p does the ratio test decide a p-series?
  3. Why is the convergence of the alternating harmonic series called conditional?