Skip to content
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

is_zero_dimensional bug #11175

Open
Shekharrajak opened this Issue May 28, 2016 · 3 comments

Comments

Projects
None yet
4 participants
@Shekharrajak
Copy link
Member

Shekharrajak commented May 28, 2016

In [5]: is_zero_dimensional([x**2 + 2/y - 2, x + y - 3])
Out[5]: False

In [6]: solve([x**2 + 2/y - 2, x + y - 3])
Out[6]: [{x: 1, y: 2}, {x: 1 + √5, y: -√5 + 2}, {x: -√5 + 1, y: 2 + √5}]

is_zero_dimensional should return True, in this case, since this system has finite solution.

@parsoyaarihant

This comment has been minimized.

Copy link
Contributor

parsoyaarihant commented May 28, 2016

I would like to work on this issue. Tips are welcome :) .

@kshitij10496

This comment has been minimized.

Copy link
Member

kshitij10496 commented May 28, 2016

An audit of the method would be a good starting point.

@Shekharrajak

This comment has been minimized.

Copy link
Member Author

Shekharrajak commented Jul 3, 2016

Another case

In [22]: system = [sqrt(x**2 + y**2) - sqrt(10), x + y - 4]

In [23]: is_zero_dimensional(system)
Out[23]: False

In [24]: solve(system, [x, y])
Out[24]: [(1, 3), (3, 1)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.