# how to get rank of elliptic curve of QuadraticField This post is a wiki. Anyone with karma >750 is welcome to improve it.

I try two examples,even elliptic curve of Q cannot run:

http://cjsh716.blog.163.com/blog/stat...

E = EllipticCurve([0,0,0,0,2332])
show(E)
E1 = EllipticCurve(K1,[0,0,0,0,2332]);show(E1);
E.rank()
E1.rank()

E = EllipticCurve([0,0,0,-15,22])
show(E)
E1 = EllipticCurve(K1,[0,0,0,-15,22]);show(E1)
E.torsion_points()
E1.torsion_points()
E.rank()
E1.rank()


TypeError: Unable to start pari because the command 'gp --emacs --quiet --stacksize 10000000' failed.

edit retag close merge delete

Sort by » oldest newest most voted

Computing ranks of elliptic curves over number fields is not easy, but should not give the error message posted above. Can you try a smaller example, such as

sage: E1 = EllipticCurve(K1,[0,0,0,0,2])
sage: E1.rank()
2


Secondly, if E is an elliptic curve over Q then its rank over K=Q(sqrt(d)) is E.rank()+E.quadratic_twist(d).rank(), for example here

sage: E = EllipticCurve([0,0,0,0,2])
2


sage: E = EllipticCurve([0,0,0,0,2332])
2
sage: E = EllipticCurve([0,0,0,-15,22])
0

more