-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simplify("(x^2)^0.5") should be "abs(x)" #3329
Comments
Thanks that is a very good and valid point. Anyone able to improve |
Well, the relation |
Hm that makes sense Glen. I hadn't thought about complex numbers. It makes sense to restrict this simplification, and only simplify to |
The other tricky bit here is that it is not clear which direction is "simpler," as is often the case with simplification. For example, for all real numbers |
While there are genuine use cases when returning "x" would be better (that's what most humans would expect), strictly speaking it is incorrect.
To reproduce in the mathnotepad:
Here I evaluate the same derivative at the same point
x=-3
but get two different results.Same problem for
x^4
and I assume all other even powers.The text was updated successfully, but these errors were encountered: