Because , each of , and is positive and increasing for . Hence is positive, continuous and decreasing. With , , so
The integral test for convergence implies that the series is convergent.
On , is positive, continuous and decreasing, since its denominator has positive derivative . Substituting gives
The integral test for convergence therefore shows that the series is divergent.
The integral test for convergence applies when for all sufficiently large , where is nonnegative, continuous and nonincreasing on . It states that converges if and only if the improper integral is finite. Its comparison bounds are
No conclusion about an arbitrary nonnegative sequence follows without such a monotone comparison function; finite initial terms do not affect convergence.
For with , all the hypotheses hold. If ,
whereas for the integral is . The first expression has a finite limit exactly when . Thus the p-series satisfies
For any fixed , as . For example, l'Hôpital's rule applied to gives the limit zero. With , this implies eventually. Therefore
for all sufficiently large . The comparison series diverges by the integral test for convergence, since
The comparison test for series gives
One may obtain the same growth bound by extending the given logarithmic estimate to real through and choosing any exponent smaller than ; no special convergence test for iterated logarithms is needed.
The comparison test for series says that an eventual upper bound by a convergent positive series proves convergence, while an eventual lower bound by a divergent positive series proves divergence. The p-series converges exactly when .
If , then for all sufficiently large , so
and the series converges. If , choose . The allowed logarithmic bound, applied with exponent , gives eventually. Thus
and the series diverges.
For , use the integral test for convergence: for an eventually positive decreasing function , and either both converge or both diverge. Here is decreasing for , and the substitution gives
This integral converges exactly when . Hence the polynomial-logarithmic series convergence classification is
All other allowed positive give divergence.
For a bounded real function on , convergence of its improper integral means that its restriction to every , , is Riemann integrable and that the finite limit
exists. Boundedness by itself does not guarantee either local Riemann integrability or existence of this limit.
A monotone function on is bounded between its endpoint values. Divide the interval into equal pieces with endpoints . If is nondecreasing, its upper and lower Darboux sums differ by
For nonincreasing , the same calculation with reversed endpoint values gives . Thus in either case . For every one can choose to make this gap smaller than ; the Riemann integrability criterion proves that is Riemann integrable.
Now let be decreasing on with limit zero. For each , . On its monotonicity gives
Summing these bounds, with , yields
Both the partial sums and the truncated integrals are nondecreasing because . The inequalities show that one family is bounded above if and only if the other is. The bounded monotone sequence theorem then gives convergence of the sums exactly when the integer-endpoint integrals converge. For real between and , the integral to lies between the integrals to these integer endpoints; the squeeze theorem supplies the same limit. If either family is unbounded, both tend to . This proves the integral test for convergence in the required form.
For , use , which is decreasing and tends to zero. Its truncated improper integral is
This has a finite limit exactly when . If , the terms do not tend to zero, so the term test for divergence applies. Thus the full p-series criterion is
For every its nonnegative partial sums tend to .
The function is decreasing and positive. Therefore on it is at most , and the Riemann integral gives
Summing from to yields
For both sides are zero; for the inequality is actually strict. The same integral test for convergence gives .
First, for , the derivative of is , while . Hence .
Choose large enough that the given ratio bound holds for every . Positivity permits taking logarithms, and the preceding inequality gives
Summing, and using the integral test for convergence from part (b), gives for
Thus . Since , the P-series converges, so the comparison test for series proves
The finitely many initial terms do not affect convergence. This power-law comparison from a refined ratio bound supplies information when the ordinary ratio test can be inconclusive.
The summand is positive, so it suffices to show that its partial sums are unbounded. On the block , for ,
There are terms in that block, so its sum is at least . Adding blocks gives a constant multiple of the divergent harmonic series. Hence
Equivalently the integral test for convergence gives . The block proof supplies the divergence without assuming the integral test.
The comparison test for series states that if eventually and converges, then converges. The partial sums of are increasing and bounded above by a constant plus the bounded partial sums of , so the monotone bounded sequence theorem applies.
If converges, then proves convergence of . Also , so eventually and , proving convergence of . The converse for the square series is false: has convergent square series but divergent original series. The converse for the fraction series is true because .
If is positive and decreasing and converges, put . Then
so . The converse fails for for : it is decreasing and , but the integral test for convergence shows that its series diverges.
Even convergence of need not imply . Choose integers and set for . This is decreasing, and the th block contributes at most , so the series converges. At , however, .
For , strict decrease gives , while for it gives . Integrating over these unit intervals proves
Summing the rectangle bounds gives
The partial sums and the improper integral are nondecreasing. These bounds show that one is bounded exactly when the other is bounded, proving the integral test for convergence. In the convergent case, sum the same interval inequalities for to obtain
For , the antiderivative is , which grows without bound, so the first series diverges. For , the antiderivative is , whose tail integral is finite, so the second series converges, with
Both functions are positive and strictly decreasing on , as required.
The function is likewise positive and decreasing on , with . Now
The integral test for convergence shows that converges. This comparison integral determines convergence, not the numerical value of the series itself.
The function is positive and decreasing for , since . The integral test for convergence therefore applies. Its comparison improper integral is
Consequently diverges.
For , the positive series converges precisely when , or and . For use comparison with a convergent p-series; for , the bound gives a lower comparison with a divergent p-series. At , the integral test for convergence and reduce the question to . In contrast, diverges for every finite , since eventually and diverges.
Take independent random variables , each with the continuous uniform distribution on , and set . Then , and the events are mutually independent events. The product probability space supplies a model for the entire infinite sequence; a finite list of simulated values is only an illustration.
For , the p-series is summable:
The Basel problem supplies the total sum, and the integral test for convergence gives the displayed tail bound. The First Borel-Cantelli lemma makes the limsup of events have probability zero. In fact, the tail bound implies that the probability of even one alarm at or after is at most ; for , it is at most . This bound remains valid for dependent events with the same individual probabilities.
For , the harmonic series diverges, so the Second Borel-Cantelli lemma makes the limsup of events have probability one. There is also an exact finite-horizon calculation using independent events:
For any fixed , this finite product of numbers tends to zero as . Every infinite tail therefore contains an alarm almost surely, even though the individual probabilities tend to zero.
Figure 1.
Summable and harmonic probabilities: partial sums and the probability of a later event
. The left panel shows finite partial sums. On the right, the blue curve is the infinite tail of the squared-reciprocal p-series, bounding the probability of a later event by the union bound; the gray curve is its upper bound. For harmonic probabilities, mutually independent events have a later occurrence with probability one, while the shared-uniform counterexample to the second Borel-Cantelli lemma has tail probability . The infinite claims follow from the calculations, not from the finite plotted range. Details.