Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
'diff(x*y,x) gives the correct result (holds form), while
'diff(x,x) gives 1, calculates the differencial.
I may be stupid or blind, but I do not see the problem here. Would you like to see diff(x*x,x) resulting in x rather than 2x? May be your remark is more subtle than this.
Problem is in quoted diff, which should not evaluate, but it does in 'diff(x,x) case:
(%o2) -- (x y)
(%o4) -- (2 x)
'diff(x,x) gives 1 because of simplification in the simplifying function simpderiv.
We have a similar simplification for integrals:
Therefore, we can do something like
Furthermore, the following simplification is build in:
This works for an arbitrary expression too:
It might be arguable why Maxima does not do more simplifications of this type, but the implement simplifications are not wrong. I have no example, where these simplifications cause problems.
So, I would suggest not to change the behavior of Maxima to simplify the examples in this bug report.
Setting the status to pending and resolution "works for me".
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).