Integrals with exponential decay at ∞ #
As easy special cases of general theorems in the library, we prove the following test for integrability:
integrable_of_isBigO_exp_neg: Iffis continuous on[a,∞), for somea ∈ ℝ, and there existsb > 0such thatf(x) = O(exp(-b x))asx → ∞, thenfis integrable on(a, ∞).
theorem
exp_neg_integrableOn_Ioi
(a : ℝ)
{b : ℝ}
(h : 0 < b)
:
MeasureTheory.IntegrableOn (fun (x : ℝ) => Real.exp (-b * x)) (Set.Ioi a) MeasureTheory.volume
exp (-b * x) is integrable on (a, ∞).
theorem
integrable_of_isBigO_exp_neg
{f : ℝ → ℝ}
{a b : ℝ}
(h0 : 0 < b)
(hf : ContinuousOn f (Set.Ici a))
(ho : f =O[Filter.atTop] fun (x : ℝ) => Real.exp (-b * x))
:
If f is continuous on [a, ∞), and is O (exp (-b * x)) at ∞ for some b > 0, then
f is integrable on (a, ∞).