R.<d_p,d_q,k,l,x,y,u,v,w> = PolynomialRing(QQ,9)
ideal = R.ideal([u-d_p*d_q,v-d_p-d_q,w-d_q*k-d_p*l,x-k-l,y-k*l])
list(ideal.elimination_ideal([d_p,d_q,k,l]).gens())

[x^2*u + y*v^2 - x*v*w - 4*y*u + w^2]

-M. Hampton

On Dec 1, 8:04 am, Santanu Sarkar <[email protected]>
wrote:
> Suppose,
> u=d_p*d_q
> v=d_p+d_q
> w=d_q*k+d_p*l
> x=k+l
> y=k*l
>
> where dp,dq,k,l are variables.
> Then, how one can find the relation v*w*x= (v^2 - 2*u)*y + w^2 - 2*u*y +
> u*x^2 using Groebner Basis
> in sage?

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to