Although it would be nice if manipulations returned things in the same form as their input, that isn't something that most of Maxima does. For example:
My primary objective was to eliminate a few unnecessary calls to sratsimp in the limit code, not to make the input and output forms more parallel. I believe there are good reasons for doing so: improved speed, better efficiency, and avoiding surprising float‑to‑rational conversions.
I constructed this example specifically to illustrate why removing these unnecessary calls to sratsimp was the right thing to do.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe we could at least have a version of ratsimp that simplifies only with respect to some given variable (e.g., limit variable, integration variable) and leaves everything else alone.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Although it would be nice if manipulations returned things in the same form as their input, that isn't something that most of Maxima does. For example:
but
(2*x-3)^4/8would preserve the input form.My primary objective was to eliminate a few unnecessary calls to
sratsimpin the limit code, not to make the input and output forms more parallel. I believe there are good reasons for doing so: improved speed, better efficiency, and avoiding surprising float‑to‑rational conversions.I constructed this example specifically to illustrate why removing these unnecessary calls to
sratsimpwas the right thing to do.Maybe we could at least have a version of
ratsimpthat simplifies only with respect to some given variable (e.g., limit variable, integration variable) and leaves everything else alone.