Hi list,

I found a problem with simplify_radical()

sage: f(x)=asin(2*x/(x^2+1))
sage: g=f.derivative();g
x |--> -2*(2*x^2/(x^2 + 1)^2 - 1/(x^2 + 1))/sqrt(-4*x^2/(x^2 + 1)^2 +
1)
sage: g.simplify_radical()
x |--> -2/(x^2 + 1)

The last answer should be:

x |--> -2/(x^2 + 1)* (x^2-1)/abs(x^2-1)

or easier

x |--> -2/(x^2 + 1)*sign(x^2-1)

Best,

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to