This is primarily an issue of printing. The str() printer prints
things in a way that can be copy-pasted back into SymPy, and since
f'(0) isn't valid syntax, you end up with the more verbose
representation that is used for the expression.
It would be useful to have printers, at least pretty
Yeah, it would be nice to be able to do that. Unfortunately SymPy has
no notion of the derivative of an unapplied function. I'd like to have
a differential operator so you could do something like `D(sin) == cos`
etc. I believe there are some long-standing issues on Github about
this.
--
Oscar
On
The ability to expand an expression containing unknown functions, about
some point, is obviously very valuable, and it is nice that this is
possible using SymPy, however if I expand f(x) about 0 I get this:
f(0) + x*Subs(Derivative(f(_x), _x), _x, 0) + x**2*Subs(Derivative(f(_x),
(_x, 2)), _x,