The following code outputs rational parametrization of genus 0
curve of degree 5
:
x, y = QQ['x,y'].gens()
C=Curve(2*x^5 + x^2*y - 4*x^3*y + 2*x*y^2 + 2*x*y^3 + 1*y^5)
print(C.is_smooth())
print(C.genus())
C.rational_parameterization()
False
0
Scheme morphism:
From: Affine Space of dimension 1 over Rational Field
To: Affine Plane Curve over Rational Field defined by 2*x^5 + y^5 - 4*x^3*y + 2*x*y^3 + x^2*y + 2*x*y^2
Defn: Defined on coordinates by sending (t) to
((-2*t^2 - t)/(4*t^5 + 1), (4*t^4 + 2*t^3)/(4*t^5 + 1))
Is there a function that instead of parametrization outputs transformation x -> f1(u,t), y -> f2(u,t)
so that the curve is transformed into a conic section curve (any curve of degree 2
)?
The curve would look like this with given coefficients a1..a6
.
a1*u^2 + a2*v^2 + a3*u*v + a4*u + a5*v +a6