Comparing sums and integrals #
Summary #
It is often the case that error terms in analysis can be computed by comparing an infinite sum to the improper integral of an antitone function.
It contains several lemmas in this direction, for antitone or monotone functions
(or products of antitone and monotone functions), formulated for sums on range i or Ico a b.
These are used to prove a version of the integral test for antitone functions.
Main Results #
AntitoneOn.integral_le_sum: The integral of an antitone function is at most the sum of its values at integer steps aligning with the left-hand side of the interval.AntitoneOn.sum_le_integral: The sum of an antitone function along integer steps aligning with the right-hand side of the interval is at most the integral of the function along that intervalMonotoneOn.integral_le_sum: The integral of a monotone function is at most the sum of its values at integer steps aligning with the right-hand side of the interval.MonotoneOn.sum_le_integral: The sum of a monotone function along integer steps aligning with the left-hand side of the interval is at most the integral of the function along that intervalsum_mul_Ico_le_integral_of_monotone_antitone: the sum off i * g ion an interval is bounded by the integral off x * g (x - 1)iffis monotone andgis antitone.integral_le_sum_mul_Ico_of_antitone_monotone: the sum off i * g ion an interval is bounded below by the integral off x * g (x - 1)iffis antitone andgis monotone.AntitoneOn.summable_of_integrableOn_Ioi_zeroandAntitoneOn.tsum_le_integral, the integral test for antitone functions.AntitoneOn.abs_tsum_sub_sum_range_le_integral: an error estimate for the difference between a sum and its partial sums in terms of an integral.AntitoneOn.integrableOn_Ioi_zero_of_summableandAntitoneOn.integral_le_tsum, the converse to the integral test.
Tags #
analysis, comparison, asymptotics
Comparison of infinite sums and integrals #
The partial sums of a nonnegative antitone function are bounded
by the integral over (a, ∞).
The partial sums of a nonnegative function are bounded by the integral over (0, ∞).
Integral test: A function which is nonnegative, integrable and antitone
for sufficiently large n is summable.
Integral test: a nonnegative antitone function is summable if it is integrable.
Integral test: bounds the sum from 1 by an integral.
Integral test: bounds the sum of a nonnegative antitone function by an integral.
Bounds the difference between a sum and its partial sums by an integral.
Converse to the integral test: a nonnegative, integrable, summable function is integrable.
The sum of a nonnegative, antitone function is bounded below by its integral.