Ask Your Question
1

How does one find solutions to a polynomial over a finite field?

asked 2013-02-15 20:05:04 +0100

Zaubertrank gravatar image

updated 2015-01-14 14:56:28 +0100

FrédéricC gravatar image

I'm trying to find the solutions to the polynomial $y^2=x^3+1$ over $\mathbb{F}_5$. I have constructed the correct polynomial ring, but I don't know what the analogous function to .roots() is for the two variable case. Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
3

answered 2013-02-16 07:29:17 +0100

Francis Clarke gravatar image

Alternatively

sage: R.<x,y> = GF(5)[]
sage: C = Curve(y^2 - x^3 - 1)
sage: C.point_set().points()
[(0, 1), (0, 4), (2, 2), (2, 3), (4, 0)]
edit flag offensive delete link more
2

answered 2013-02-16 06:16:04 +0100

achrzesz gravatar image
sage: E=EllipticCurve(GF(5),[0,1]);E
Elliptic Curve defined by y^2 = x^3 + 1 over Finite Field of size 5
sage: pp=E.points()
sage: [p.xy() for p in pp[1:]]
[(0, 1), (0, 4), (2, 2), (2, 3), (4, 0)]
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-02-15 20:05:04 +0100

Seen: 584 times

Last updated: Feb 16 '13