-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
calculus -- bugs in solve #3745
Comments
comment:1
Also:
|
comment:3
And even:
|
comment:4
Note this particular bug is still in Maxima as of 5.19.1. More bugs (but also lots more correct answers) have been introduced in the last year, and other bugs have been fixed. Writing a solve from scratch still looks very hard. |
comment:5
Update from Maxima 5.20.1 in Sage:
so this one seems to be working now, at least in the sense that it doesn't throw an error. The second one now causes a hang. And the first one is still there :( |
comment:6
We should write our own native solve from scratch. Depending on maxima for solve is silly, for several reasons:
</irrelevant rant> |
comment:7
It could be worth trying these with #13364. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:15
|
Upstream: Reported upstream. No feedback yet. |
comment:16
The one in comment:1 hangs for me as before, but upon Ctrl-C it does give
almost immediately. So I'm not sure why it hangs. Is there even a solution to that? It seems quite arbitrary. |
comment:17
By the way, in the original report which has been erased, a Maxima dev suggested he'd reported this, so perhaps this is redundant, but I don't know where it would be. |
Stopgaps: todo |
comment:19
I would like to point out that this bug still exists, 7 years later. There were a couple other cases of maxima's solve giving an incorrect answer (for eg, giving 0 when the function is undefined at 0). I am interested in studying this problem, does anyone have any recommendations on what would make for a better equation solver? And, if possible, some information on why Maxima's isn't great? |
comment:20
Basically, the short answer is that solving in general cases isn't easy. The long answer is that Maxima's is reasonable but often has small changes that impact other things. You are likely to get some response on the Maxima email list if you mention this bug. But writing a new one from scratch isn't a good idea; on the other hand, perhaps sympy's solver is now ready to swap in for Maxima's in Sage, I don't know. We do have both available. |
We get a "solution" from
solve()
that isn't actually a solution:The following is correct:
Reduced example (after manually removing the factor
sin(x)
):Upstream: Reported upstream. No feedback yet.
Component: calculus
Stopgaps: todo
Issue created by migration from https://trac.sagemath.org/ticket/3745
The text was updated successfully, but these errors were encountered: