A collection of specific limit computations #
This file contains important specific limit computations in (semi-)normed groups/rings/spaces, as
well as such computations in ℝ when the natural proof passes through a fact about normed spaces.
Powers #
Various statements equivalent to the fact that f n grows exponentially slower than R ^ n.
- 0: $f n = o(a ^ n)$ for some $-R < a < R$;
- 1: $f n = o(a ^ n)$ for some $0 < a < R$;
- 2: $f n = O(a ^ n)$ for some $-R < a < R$;
- 3: $f n = O(a ^ n)$ for some $0 < a < R$;
- 4: there exist
a < RandCsuch that one ofCandRis positive and $|f n| ≤ Ca^n$ for alln; - 5: there exists
0 < a < Rand a positiveCsuch that $|f n| ≤ Ca^n$ for alln; - 6: there exists
a < Rsuch that $|f n| ≤ a ^ n$ for sufficiently largen; - 7: there exists
0 < a < Rsuch that $|f n| ≤ a ^ n$ for sufficiently largen.
NB: For backwards compatibility, if you add more items to the list, please append them at the end of the list.
For any natural k and a real r > 1 we have n ^ k = o(r ^ n) as n → ∞.
For a real r > 1 we have n = o(r ^ n) as n → ∞.
If |r| < 1, then n ^ k r ^ n tends to zero for any natural k.
For k ≠ 0 and a constant r the function r / n ^ k tends to zero.
If 0 ≤ r < 1, then n ^ k r ^ n tends to zero for any natural k.
This is a specialized version of tendsto_pow_const_mul_const_pow_of_abs_lt_one, singled out
for ease of application.
If |r| < 1, then n * r ^ n tends to zero.
If 0 ≤ r < 1, then n * r ^ n tends to zero. This is a specialized version of
tendsto_self_mul_const_pow_of_abs_lt_one, singled out for ease of application.
In a normed ring, the powers of an element x with ‖x‖ < 1 tend to zero.
v (1 / (1 + a ^n)) tends to 1 for all v : AbsoluteValue R S for fields R and S,
provided v a < 1.
v (1 / (1 + a ^n)) tends to 0 whenever v : AbsoluteValue R S for fields R and S,
provided 1 < v a.
Geometric series #
A non-unital normed ring has summable geometric series if, for all ξ of norm < 1, the
geometric series ∑' n, ξ ^ (n + 1) converges. This holds both in non-unital complete normed rings
and in normed fields, providing a convenient abstraction of these two classes to avoid repeating
the same proofs.
Due to the fact that Mathlib has no Pow G ℕ+ instance for semigroups, this is currently stated
using iterated multiplication. Once semigroups implement this bundled Pow instance, then we can
switch the statements to use that instead, and improve the proofs.
Instances
Bound for the sum of a geometric series in a normed ring. This formula does not assume that the
normed ring satisfies the axiom ‖1‖ = 1.
If ‖x‖ < 1 and x lies in a non-unital normed ring, then ∑' n : ℕ, x ^ (n + 1) is summable
if and only if -x is quasiregular.
A non-unital normed ring R has summable geometric series if and only if every element of
in the open unit ball is quasiregular.
Alias of the reverse direction of hasSummableGeomSeries_iff_summable_pow.
If ‖x‖ < 1 and x lies in a normed ring, then ∑' n : ℕ, x ^ n is summable
if and only if 1 - x is invertible.
The element 1 - x also available bundled as a term of Rˣ with inverse ∑' n : ℕ, x ^ n
in Units.oneSub.
In a normed ring with summable geometric series, a perturbation of 1 by an element t
of distance less than 1 from 1 is a unit. Here we construct its Units structure.
Instances For
If ‖r‖ < 1, then ∑' n : ℕ, n.descFactorial j * r ^ n = j ! * r ^ j / (1 - r) ^ (j + 1).
HasSum version in a general ring with summable geometric series. For a version in a field, using
division instead of Ring.inverse, see hasSum_descFactorial_mul_geometric_of_norm_lt_one.
If ‖r‖ < 1, then ∑' n : ℕ, n.descFactorial j * r ^ n = j ! * r ^ j / (1 - r) ^ (j + 1).
This is the version in a general ring with summable geometric series. For a version in a field,
using division instead of Ring.inverse, see tsum_descFactorial_mul_geometric_of_norm_lt_one.
If ‖r‖ < 1, then ∑' n : ℕ, n.descFactorial j * r ^ n = j ! * r ^ j / (1 - r) ^ (j + 1).
If ‖r‖ < 1, then ∑' n : ℕ, n.descFactorial j * r ^ n = j ! * r ^ j / (1 - r) ^ (j + 1).
If ‖r‖ < 1, then ∑' n : ℕ, n ^ k * r ^ n is given by the finite sum
∑ j ∈ range (k + 1), S(k, j) * j ! * r ^ j * (1 - r)⁻¹ʳ ^ (j + 1), where S(k, j) denotes the
Stirling numbers of the second kind.
HasSum version in a general ring with summable geometric series. For a version in a field, using
division instead of Ring.inverse, see hasSum_pow_mul_geometric_of_norm_lt_one.
If ‖r‖ < 1, then ∑' n : ℕ, n ^ k * r ^ n is given by the finite sum
∑ j ∈ range (k + 1), S(k, j) * j ! * r ^ j * (1 - r)⁻¹ʳ ^ (j + 1), where S(k, j) denotes the
Stirling numbers of the second kind.
Version in a general ring with summable geometric series. For a version in a field, using division
instead of Ring.inverse, see
tsum_pow_mul_geometric_of_norm_lt_one.
If ‖r‖ < 1, then ∑' n : ℕ, n ^ k * r ^ n is given by the finite sum
∑ j ∈ range (k + 1), S(k, j) * j ! * r ^ j / (1 - r) ^ (j + 1), where S(k, j) denotes the
Stirling numbers of the second kind.
If ‖r‖ < 1, then ∑' n : ℕ, n ^ k * r ^ n is given by the finite sum
∑ j ∈ range (k + 1), S(k, j) * j ! * r ^ j / (1 - r) ^ (j + 1), where S(k, j) denotes the
Stirling numbers of the second kind.
If ‖r‖ < 1, then ∑' n : ℕ, n * r ^ n = r / (1 - r) ^ 2.
HasSum version in a general ring with summable geometric series. For a version in a field, using
division instead of Ring.inverse, see hasSum_coe_mul_geometric_of_norm_lt_one.
If ‖r‖ < 1, then ∑' n : ℕ, n * r ^ n = r / (1 - r) ^ 2.
This is the version in a general ring with summable geometric series. For a version in a field,
using division instead of Ring.inverse, see tsum_coe_mul_geometric_of_norm_lt_one.
If ‖r‖ < 1, then ∑' n : ℕ, n ^ 2 * r ^ n = r * (1 + r) / (1 - r) ^ 3.
HasSum version in a general ring with summable geometric series. For a version in a field, using
division instead of Ring.inverse, see hasSum_sq_mul_geometric_of_norm_lt_one.
If ‖r‖ < 1, then ∑' n : ℕ, n ^ 2 * r ^ n = r * (1 + r) / (1 - r) ^ 3.
This is the version in a general ring with summable geometric series. For a version in a field,
using division instead of Ring.inverse, see tsum_sq_mul_geometric_of_norm_lt_one.
If ‖f n‖ ≤ C * r ^ n for all n : ℕ and some r < 1, then the partial sums of f form a
Cauchy sequence. This lemma does not assume 0 ≤ r or 0 ≤ C.
If ‖f n‖ ≤ C * r ^ n for all n : ℕ and some r < 1, then the partial sums of f are within
distance C * r ^ n / (1 - r) of the sum of the series. This lemma does not assume 0 ≤ r or
0 ≤ C.
The term norms of any convergent series are bounded by a constant.
Summability tests based on comparison with geometric series #
If a power series converges at w, it converges absolutely at all z of smaller norm.
If a power series converges at 1, it converges absolutely at all z of smaller norm.
Dirichlet and alternating series tests #
Dirichlet's test for monotone sequences.
Dirichlet's test for antitone sequences.
The alternating series test for monotone sequences.
See also Monotone.tendsto_alternating_series_of_tendsto_zero.
The alternating series test for monotone sequences.
The alternating series test for antitone sequences.
See also Antitone.tendsto_alternating_series_of_tendsto_zero.
The alternating series test for antitone sequences.
Partial sum bounds on alternating convergent series #
Partial sums of an alternating monotone series with an even number of terms provide upper bounds on the limit.
Partial sums of an alternating monotone series with an odd number of terms provide lower bounds on the limit.
Partial sums of an alternating antitone series with an even number of terms provide lower bounds on the limit.
Partial sums of an alternating antitone series with an odd number of terms provide upper bounds on the limit.
Factorial #
The series ∑' n, x ^ n / n! is summable of any x : ℝ. See also expSeries_div_summable
for a version that also works in ℂ, and NormedSpace.expSeries_summable' for a version
that works in any normed algebra over ℝ or ℂ.
Limits when f x * g x is bounded or convergent and f tends to the cobounded filter.