I need to calculate a Grobner basis of $$I=(u-x^2,v-y^2,w-xy)$$ with lexicographic order $x>y>u>v>w$.
I am trying to proceed with Buchberger's algorithm, but i probably didn't quite understand how to apply the multivariate division algorithm.
Let $f_1:=u-x^2$, $f_2:=v-y^2$, $f_3:=w-xy$.
Denote by $g_i$ the leading term of $f_i$ with respect to the given ordering $\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\; g_1:=x^2$, $g_2:=y^2$, $g_3:=xy$.
Denote by $a_{ij}$ the least common multiple of $g_i$ and $g_j$.$\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;a_{1,2}=x^2y^2$, $a_{1,3}=x^2y$, $a_{2,3}=xy^2$
Choose two polynomials in G and let $S_{ij} = (a_{ij} / g_i) f_i − (a_{ij} / g_j) f_j. \;\;\;$I chose $S_{1,2}=y^2(u-x^2)-x^2(v-y^2)$
But now, from multivariate division algorithm of $S_{ij}$ by $f_1,f_2,f_3$ always gives $r=0$. What am I doing wrong?
(u-x^2)*y^2+u*(v-y^2)-(w+x*y)*(w-x*y)
$\endgroup$