#4721: [with patch; needs work] Indefinite integration for piecewise functions
-------------------------+--------------------------------------------------
Reporter: pbutler | Owner: burcin
Type: enhancement | Status: new
Priority: minor | Milestone: sage-3.2.2
Component: calculus | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by pbutler):
Interestingly, Mathematica Online Integrator gives an answer too, but
chops off the constant in each piece. You still get a valid
antiderivative, but it is not useful as an indefinite integral. (Since it
is discontinuous, it doesn't have to satisfy the conclusion of the FTC.)
I do see the value of keeping to mathematically well-defined results, but
there is also value in consistency. integrate(f) returning an
antiderivative in some cases and a definite integral in others doesn't
feel intuitive to me.
In any case, I'll clean this code up so that it can be included. It should
be useful for people working with continuous probability distributions, if
nothing else. (Actually, there must be some other use for it too, because
Mathematica does it and their results would not be useful for
probability.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4721#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---