Arithmetic-geometric sequences #
An arithmetic-geometric sequence is a sequence defined by the recurrence relation
u (n + 1) = a * u n + b.
Main definitions #
arithGeom a b u₀: arithmetic-geometric sequence with starting valueu₀and recurrence relationu (n + 1) = a * u n + b.
Main statements #
arithGeom_eq: fora ≠ 1,arithGeom a b u₀ n = a ^ n * (u₀ - (b / (1 - a))) + b / (1 - a)tendsto_arithGeom_atTop_of_one_lt: if1 < aandb / (1 - a) < u₀, thenarithGeom a b u₀ ntends to+∞asntends to+∞.tendsto_arithGeom_nhds_of_lt_one: if0 ≤ a < 1, thenarithGeom a b u₀ ntends tob / (1 - a)asntends to+∞.arithGeom_strictMono: if1 < aandb / (1 - a) < u₀, thenarithGeom a b u₀is strictly monotone.
Arithmetic-geometric sequence with starting value u₀ and recurrence relation
u (n + 1) = a * u n + b.
Instances For
@[simp]
theorem
arithGeom_eq_add_sum
{R : Type u_1}
{a b u₀ : R}
[CommSemiring R]
(n : ℕ)
:
arithGeom a b u₀ n = a ^ n * u₀ + b * ∑ k ∈ Finset.range n, a ^ k
theorem
arithGeom_same_eq_sum
{R : Type u_1}
{a b : R}
[CommSemiring R]
(n : ℕ)
:
arithGeom a b b n = b * ∑ k ∈ Finset.range (n + 1), a ^ k
theorem
arithGeom_zero_eq_sum
{R : Type u_1}
{a b : R}
[CommSemiring R]
(n : ℕ)
:
arithGeom a b 0 n = b * ∑ k ∈ Finset.range n, a ^ k
theorem
arithGeom_eq
{R : Type u_1}
{a b u₀ : R}
[Field R]
(ha : a ≠ 1)
(n : ℕ)
:
arithGeom a b u₀ n = a ^ n * (u₀ - b / (1 - a)) + b / (1 - a)
theorem
arithGeom_eq'
{R : Type u_1}
{a b u₀ : R}
[Field R]
(ha : a ≠ 1)
:
arithGeom a b u₀ = fun (n : ℕ) => a ^ n * (u₀ - b / (1 - a)) + b / (1 - a)
theorem
arithGeom_same_eq_mul_div'
{R : Type u_1}
{a b : R}
[Field R]
(ha : a ≠ 1)
(n : ℕ)
:
arithGeom a b b n = b * (1 - a ^ (n + 1)) / (1 - a)
theorem
arithGeom_same_eq_mul_div
{R : Type u_1}
{a b : R}
[Field R]
(ha : a ≠ 1)
(n : ℕ)
:
arithGeom a b b n = b * (a ^ (n + 1) - 1) / (a - 1)
theorem
arithGeom_zero_eq_mul_div'
{R : Type u_1}
{a b : R}
[Field R]
(ha : a ≠ 1)
(n : ℕ)
:
arithGeom a b 0 n = b * (1 - a ^ n) / (1 - a)
theorem
arithGeom_zero_eq_mul_div
{R : Type u_1}
{a b : R}
[Field R]
(ha : a ≠ 1)
(n : ℕ)
:
arithGeom a b 0 n = b * (a ^ n - 1) / (a - 1)
theorem
div_lt_arithGeom
{R : Type u_1}
{a b u₀ : R}
[Field R]
[LinearOrder R]
[IsStrictOrderedRing R]
(ha_pos : 0 < a)
(ha_ne : a ≠ 1)
(h0 : b / (1 - a) < u₀)
(n : ℕ)
:
theorem
arithGeom_strictMono
{R : Type u_1}
{a b u₀ : R}
[Field R]
[LinearOrder R]
[IsStrictOrderedRing R]
(ha : 1 < a)
(h0 : b / (1 - a) < u₀)
:
StrictMono (arithGeom a b u₀)
theorem
tendsto_arithGeom_atTop_of_one_lt
{R : Type u_1}
{a b u₀ : R}
[Field R]
[LinearOrder R]
[IsStrictOrderedRing R]
[Archimedean R]
(ha : 1 < a)
(h0 : b / (1 - a) < u₀)
:
Filter.Tendsto (arithGeom a b u₀) Filter.atTop Filter.atTop
theorem
tendsto_arithGeom_nhds_of_lt_one
{R : Type u_1}
{a b u₀ : R}
[Field R]
[LinearOrder R]
[IsStrictOrderedRing R]
[Archimedean R]
[TopologicalSpace R]
[OrderTopology R]
(ha_pos : 0 ≤ a)
(ha : a < 1)
:
Filter.Tendsto (arithGeom a b u₀) Filter.atTop (nhds (b / (1 - a)))