AngouriMath
BreakpointIntegration
Description
Summary
A definite integral whose integrand can jump inside the range, split at the jumps. A
piecewise breaks where a case's condition changes truth;floor(x) and
ceil(x) break at every whole number. Between two breakpoints the piecewise is one
of its cases and the step is one constant, so the pieces integrate through an
antiderivative and add.
piecewise breaks where a case's condition changes truth;
of its cases and the step is one constant, so the pieces integrate through an
antiderivative and add.
Remarks
an antiderivative found with the piecewise's cases or the floor taken as constants is
continuous between two jumps and not across one. Taken across one it answered
bound it answered
piecewise that still mentioned the integration variable. None of that happens here: an
integrand with a break never goes through an antiderivative between two bounds.
numbers -- are collected, the range is cut at the ones inside it, and on each piece the
piecewise is replaced by the case that holds at the piece's midpoint, which is exact
because the condition has no other place to change. A condition that compares the
variable with something symbolic, or a bound that is symbolic, is declined: the pieces
depend on where the jumps fall, and answering across them is what this exists to stop.
A piecewise whose conditions do not mention the variable is a constant here and goes
through the antiderivative as one.
same split written as a sum: on
over whole bounds is a sum over
which the summation's closed forms answer;
numeric bound that is not whole contributes the piece up to the nearest whole number,
on which the step is one constant. The fractional part
as a unit, since written out it arrives as
itself simplifies to a conditional zero rather than to nothing
(#1174).
of unevaluated integrals is not an answer. Question I.2 of
#1212, and the
review of #1215,
which asked for the general mechanism rather than the floor's special case.
Members
HasABreak(AngouriMath.Entity,AngouriMath.Entity.Variable)
MethodResolvedAt(AngouriMath.Entity,AngouriMath.Entity.Variable,AngouriMath.Entity.Number.Real)
Method
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online