| 1 | initial version |
When you write:
raar1 = -diff(Uf1, x,2)/diff(Uf1, x).full_simplify()
what is fully simplified is diff(Uf1, x), not diff(Uf1, x,2)/diff(Uf1, x)
If you want the full_simplify method to be applied to the whole diff(Uf1, x,2)/diff(Uf1, x), you have to add parentheses :
sage: raar1 = -(diff(Uf1, x,2)/diff(Uf1, x)).full_simplify()
sage: raar1
-(a - 1)/x
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.