-
Notifications
You must be signed in to change notification settings - Fork 156
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
cannot solve x * a ^ b + x for x (but sympy can) #1302
Comments
Is that solution even correct? What if a = 0? Then x^0 + x = 1 + x and so 0 is not a solution. |
if |
You would need to pass that assumption though. SymPy's result is strictly not correct without it. |
What about Symbolics making the assumption and giving the result? The same way it is done in this case: Smb.symbolic_solve(x / a + x / b, x)
[ Info: Assuming (a*b) != 0
[ Info: Assuming (a*b) != 0
1-element Vector{Int64}:
0 so that in the case of Smb.symbolic_solve(x * a ^ b + x, x)
[ Info: Assuming !(a = 0 & b < 0)
1-element Vector{Int64}:
0 |
That could be the case, yes. We could add a |
I am trying to eliminate SymPy as a dependency and switch to Symbolics.jl, but this is currently the hold up. Could you point me to where I can try and fix this? |
The text was updated successfully, but these errors were encountered: