What are the conditions?
f positive, continuous and decreasing on [a,∞), with a_n=f(n).
Does the integral equal the series sum?
No, it only shares convergence; the integral gives an order of magnitude.
When does a p-series converge?
Σ1/n^p converges for p>1 and diverges for p≤1.
Why compute the tail?
The upper limit is infinite; a tiny tail means the remaining integral is negligible.
What if f is not decreasing?
The test does not apply directly; check eventual monotonicity or use another test.