Documentation

Atlas.RealAnalysis.code.Integration.Properties

theorem Integration.integral_comparison_and_triangle (f g : ) (a b : ) (hab : a b) (hf : ContinuousOn f (Set.Icc a b)) (hg : ContinuousOn g (Set.Icc a b)) :
((∀ xSet.Icc a b, f x g x) (x : ) in a..b, f x (x : ) in a..b, g x) | (x : ) in a..b, f x| (x : ) in a..b, |f x|

Comparison and triangle inequalities for the Riemann integral.

For continuous functions f, g : ℝ → ℝ on [a, b] with a ≤ b:

  1. (Comparison) If f x ≤ g x for all x ∈ [a, b], then ∫ x in a..b, f x ≤ ∫ x in a..b, g x.
  2. (Triangle inequality) |∫ x in a..b, f x| ≤ ∫ x in a..b, |f x|.
theorem Integration.integral_bounds (f : ) (a b : ) (hab : a b) (hf : ContinuousOn f (Set.Icc a b)) :
sInf (f '' Set.Icc a b) * (b - a) (x : ) in a..b, f x (x : ) in a..b, f x sSup (f '' Set.Icc a b) * (b - a)

Lower and upper bounds for the Riemann integral via the infimum and supremum.

If f : ℝ → ℝ is continuous on [a, b] with a ≤ b, then setting m_f = sInf (f '' [a, b]) and M_f = sSup (f '' [a, b]), we have m_f * (b - a) ≤ ∫ x in a..b, f x ≤ M_f * (b - a).

theorem Integration.integral_additivity (f : ) (a b c : ) (hac : a < c) (hcb : c < b) (hf : ContinuousOn f (Set.Icc a b)) :
(x : ) in a..b, f x = ( (x : ) in a..c, f x) + (x : ) in c..b, f x

Additivity of the Riemann integral over adjacent intervals.

If f : ℝ → ℝ is continuous on [a, b] and a < c < b, then ∫ x in a..b, f x = (∫ x in a..c, f x) + ∫ x in c..b, f x.

theorem Integration.integral_linearity (f g : ) (a b α : ) (hf : ContinuousOn f (Set.Icc a b)) (hg : ContinuousOn g (Set.Icc a b)) (hab : a b) :
(x : ) in a..b, α * f x + g x = (α * (x : ) in a..b, f x) + (x : ) in a..b, g x

Linearity of the Riemann integral.

If f, g : ℝ → ℝ are continuous on [a, b] with a ≤ b and α : ℝ, then ∫ x in a..b, (α * f x + g x) = α * (∫ x in a..b, f x) + ∫ x in a..b, g x.