Signed variation #
We define variationOnFromTo f s a b : ℝ as the signed variation of f between a and b, i.e.,
its variation if a ≤ b, and its opposite otherwise. We establish basic properties of this notion,
and use it to show that a bounded variation real function is the difference of two monotone
functions.
The signed variation of f on the interval Icc a b intersected with the set s,
squashed to a real (therefore only really meaningful if the variation is finite)
Equations
- variationOnFromTo f s a b = if a ≤ b then (eVariationOn f (s ∩ Set.Icc a b)).toReal else -(eVariationOn f (s ∩ Set.Icc b a)).toReal
Instances For
The jump of variationOnFromTo on the left of a point is given by the distance between the
left limit and the value of the function.
The jump of variationOnFromTo on the right of a point is given by the distance between the
right limit and the value of the function.
The jump of variationOnFromTo on the left of a point is given by the distance between the
left limit and the value of the function.
The jump of variationOnFromTo on the right of a point is given by the distance between the
right limit and the value of the function.
If a real-valued function has bounded variation on a set, then it is a difference of monotone
functions there. Moreover, one can make sure that the two monotone functions add up to the
variation of f.
If a real-valued function has bounded variation on a set, then it is a difference of monotone functions there.