← Back to the MPU1054 course page
Convergence tests
Series of positive terms: each term is the area of a rectangle, and each test compares areas.
How to use
Let us draw each term \( x_n \ge 0 \) of a series as a rectangle of width 1 and height \( x_n \): its area is \( x_n \), the partial sum \( s_n \) is the area of the first \( n \) rectangles, and the series converges if and only if the total area is finite. The first terms do not change the nature of the series: only the tail counts, the area from some rank \( N \) on. The five convergence tests of the course rest on the same idea: compare this area with a known area, that of a series whose nature is known or that under a curve. With this application, you can:
- choose the test: comparison or limit comparison (Section 3.1), root, ratio or integral (Section 3.3);
-
enter the general term \( x_n \) of the series, for example
n/2^n,n!/n^nor(log n)^(-n), and, for the two comparison tests, that of the comparison series \( y_n \), for example1/n^2; the examples of my lecture notes and of the exercises are one click away; - see the rectangles of \( x_n \), in gold, and those of the comparison series, in green (for the root and ratio tests, it is the geometric series given by the test); what sticks out is in red, and the exact values are written when they fit above the rectangles;
- follow, below the rectangles, the sequence that decides the test, \( x_n/y_n \), \( x_n^{1/n} \) or \( x_{n+1}/x_n \), and its limit \( r \), estimated numerically and recognized when possible (for example \( r = 1/e \) for \( n!/n^n \));
- move the rank \( N \) (or \( K \)) and choose \( \varepsilon \) or \( r_1 \), with the sliders or by dragging the lines of the graph: the application checks the inequality of the test from this rank on (numerically, up to \( n = 10^7 \)) and suggests the smallest rank that works;
- for the integral test, see the curve \( y = f(t) \) that gives the terms, \( x_n = f(n) \), the area under the curve from the rank on and the rectangles, under the curve or above it; the application looks for an antiderivative (the indefinite integral \( \int f(t)\,dt = F(t) + C \)), then for the limit of \( F(b) - F(N) \), and gives \( \int_N^\infty f(t)\,dt \) exactly when possible (\( \pi/4 \) for \( f(t) = 1/(t^2+1) \), \( +\infty \) for \( f(t) = 1/(t \log t) \));
- add up the areas from the rank on, one rectangle at a time, then faster and faster: the two areas stay finite, or become infinite, together;
- read the reasoning of the test, step by step, up to its conclusion, or up to the reason why it is inconclusive (a bound by a divergent series, \( r = 1 \) for the root and ratio tests, a function that is not decreasing for the integral test…).
The “The tail” button shows the rectangles from the rank on, enlarged, and the logarithmic scale makes very small terms visible; the mouse wheel zooms in on the graph and a click on a rectangle puts the rank there. The “Copy link” button gives an address that reopens the same test with the same series, handy for showing it in class. Press ? in the application for the complete help.
HTML, CSS and JavaScript application, created with the help of Claude Code (Anthropic). The formulas are typeset with KaTeX.