Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Defining a general curve

Hey, I am relatively new to Sage, so this question might be very simple: I want to define a projective curve in P2 given by x3=y3Az3, where A is an arbitrary non-zero element of an algebraically closed field, say C. I tried the following:

x,y,z=ProjectiveSpace(2,CC,'xyz').gens();

var('A',domain=CC);

C=Curve(x^3+y^3-A*z^3);

But I get TypeError: F (=-A*z^3 + x^3 + y^3) must be a multivariate polynomial.

Is it possible to define the curve I want in Sage? All examples of algebraic geometry in Sage I saw deal with explicitly defined curves.