domain function has problems with abs
Publié : ven. déc. 22, 2017 10:40 am
Hello,
The following command gives wrong result:It givesHowever, the complete solution is [-2,2]\{-1,0,1} (the given expression is even). Hence "domain" discards left half of the solution... I had a brief look at derive.cc and function "domain" handles abs function somehow, but obviously not in this case.
The following command gives wrong result:
Code : Tout sélectionner
domain(sqrt(ln(3-abs(x)))/ln(abs(x)),x)
Code : Tout sélectionner
[((x>0) and (x<=2) and (x<>1))]