| 1 | initial version |
The point is that g(t)=t^2 creates g as a "symbolic function" (properly a callable symbolic expression), whereas t^2 is a symbolic expression.
sage: g
t |--> t^2
sage: g(t)
t^2
sage: g.is_callable()
True
sage: g(t).is_callable()
False
Differentiating a functin gets you a function, whereas differentiating a symbolic expression gets you a symbolic expression :
sage: g.diff(t)
t |--> 2*t
sage: g(t).diff(t)
2*t
HTH,
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.