Professional Documents
Culture Documents
Lecture Notes On Grobner Basis Theory: Prof Shiv Datt Kumar
Lecture Notes On Grobner Basis Theory: Prof Shiv Datt Kumar
Theory
by
2
Chapter 1
Elementary Notions of
Affine Variety
fs (x1 , . . . , xn ) = 0.
j ≤ t).
3
Shiv Datt Kumar Elementary Notions of Affine Variety
ishing.
(ii) If (a1 , . . . , an ) ∈ V , then all of the fi , vanish at this point, which implies
(a1 , . . . , an ) ∈ V (fi gj ). If this lies in V , we are done and if not, there exists
(i) V (x2 − y 2 − 1)
(ii) V (x2 + y 2 + 22 − 1)
(iii) V (x2 y + xy 2 − x4 − y 4 )
(iv) V (x2 + y 2 − z 2 )
Remark 1.1.1. Finite intersection and finite union of affine varieties are again
affine varieties.
(i) 0 ∈ I
(ii) If f, g ∈ I, then f + g ∈ I
Ps Ps
Proof. 0 ∈ (f1 , . . . , fs ), since 0 = i=1 0.fi . Note that f = i=1 pi fi & g =
Ps P
i=1 gi fi , and if h ∈ K[x1 , . . . , xn ]. Then f + g = i=1 (pi + qi )fi , hf =
P
i=1 (hpi )fi completes the proof that (f1 , . . . , fs ) is an ideal.
4
Shiv Datt Kumar Elementary Notions of Affine Variety
V (f1 , . . . , fs ) = V (g1 , . . . , gt ).
Remark 1.1.2. Ability to change the basis of the ideal without affecting the
= h(a1 , . . . , an ).0 = 0.
Ps
Proof. Let f ∈ (f1 , . . . , fs ). Then f = hi fi , where hi ∈ K[x1 , . . . , xn ].
i=1
Ps
Since f1 , . . . , fs vanish on V (f1 , . . . , fs ), so must i=1 hi fi . Thus f vanish on
5
Shiv Datt Kumar Elementary Notions of Affine Variety
polynomial of the form h1 (x, y)x2 + h2 (x, y)y 2 , the degree of the monomial is at
least two.
affine varieties because intersection of affine varieties is again affine variety. Then
V 6= V1 . We claim that I(V ) = I(V2 ). To prove this note that I(V ) ⊆ I(V2 ),
since V2 ⊆ V . For the opposite inclusion, first note that I(V ) ( I(V1 ), since
V1 ( V . Thus we can pick f ∈ I(V1 ) − I(V ). Now take any g ∈ I(V2 ). Since
I(V2 ) ⇒ V = V2 .
1.2 Parametrization
x + y + z = 1, x + 2y − z = 3 .........................(1)
Geometrically this represents the line in R3 . It follows that there are in-
x + 3z = 1, y − 2z = 2 .............................(2)
6
Shiv Datt Kumar Elementary Notions of Affine Variety
x = −1 − 3t
y = 2 + 2t
Remark 1.2.1. This parametrization does not describe the whole circle. Since
1−t2
x= 1+t2 can never be equal to −1. The point (−1, 0) is not covered.
{ fg |f, g ∈ K[t1 , . . . , tn ], g 6= 0}
lies in V .
Questions: (1) Does every affine variety has a rational parametric representa-
tion? Answer - No
curve. Given one point on it we can draw the tangent line at that point. Now
imagine taking the tangent lines at all points on the twisted cubic. These tangent
7
Shiv Datt Kumar Elementary Notions of Affine Variety
this as r(t) = (t, t2 , t3 ). Now fix a particular value of t, which gives us a point
on the curve r0 (t) = (1, 2t, 3t2 ). It follows that tangent line is parametrized by
r(t) + ur0 (t) = (t, t2 , t3 ) + u(1, 2t, 3t2 ) = (t + u, t2 + 2tu, t3 + 3t2 u), where u is
a parameter that moves along the tangent line. If we now allow t to vary, then
interpretation: t tells position on the curve and u tells position on the tangent
line. This parametrization was used to draw the picture of the tangent surface
presented earlier.
tween Algebra and geometry: It says that a polynomial in one variable over C,
are algebraic object, is determined up to scalar factor by the set of its roots with
theorem of algebra in the sense that it holds for any algebraically closed field.
vanish identically on K n .
tions. Thus we may regard the polynomial ring K[x1 , . . . , xn ] as the ring of poly-
8
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
if it not the union of two non empty smaller algebraic subsets. Irreducible
algebraic sets are called algebraic varieties. Given any set V ⊆ K n , we define
K n.
Remark 1.3.1. Not every radical ideal can occur as I(V ), for example. I =
R[x] ∼
(x2 + 1)| ⊆ R[x] is radical because = C is reduced but V (I) = φ.
(x2 + 1)
So I is not of the form I(V ) for any V . If K is algebraically closed, then
of linear factors and a polynomial f ∈ K[x] generates a radical ideal iff it has
Hilbert Nullstellensatz (1893) extends this to the polynomial ring with many
variables.
V (I) which implies that f ∈ V (I). Conversely, suppose f ∈ I(V (I)). Then by
9
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
10
Chapter 2
Basis Theory
Since elements in factor rings are cosets of the type f + I, then first problem
Example 2.1.1. If I = (g(x)), and f (x) ∈ K[x]. Then f (x) = q(x)g(x) + r(x),
K[x]
Here r(x) is unique. Thus each element in has representation f1 (x)+ <
g(x)
g(x) >, with deg(f1 (x)) < deg(g(x)).
K[x]
Example 2.1.2. Suppose R = . Then to find normal form of
(x2 − x + 1)
x4 + 2x + 3, we note that x2 − x + 1+ < x2 − x + 1 >= 0+ < x2 − x + 1 >.
11
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
K[x, y]
Example 2.1.3. Let R = . Here there are two choices x2 → xy or
(x2 − xy)
xy → x2 . First choice gives normal form g1 (y) + xg2 (y)+ < x2 − xy >. Second
choice gives normal form g(y) + xf (x)+ < x2 − xy >, which one to use will
depend on which kind of questions we to want answer. In the first choice normal
used in each degree is same for both choices and this is not a coincidence.
2.1.1 Problems
nite generating set i.e. can we write I =< f1 , . . . , fs > for some f1 , . . . , fs ∈
K[x1 , . . . , xn ].
i.e.
12
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
deg(m) < deg(n) or if deg(m) = deg(n), then last variable with different
Remark 2.2.1. : There are different ways to vary these ordering to get new
ones. In all above examples, we have x1 > x2 > . . . > xn of the variable. The
Example 2.2.2. Let f = 4xy 2 z + 4z 2 − 5x3 + 7x2 z 2 ∈ K[x, y, z]. In lex order
and Zn≥0 .
13
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
Example 2.2.4. Let f = 4xy 2 z + 4z 2 − 5x3 + 7x2 z 2 ∈ K[x, y, z]. In lex order
LT (f ) = −5x3 .
subset A ⊂ Zn≥0 (possibly infinite) such that I consists of all polynomials which
are finite sums of the form α∈A hα xα , where hα ∈ K[x1 , . . . , xn ]. In this case
P
hi as linear combination of monomials, we see that every term on the right side
of the equation is divisible by xα(i) . Hence the left hand side xβ must have the
same property.
Lemma 2.3.2. Let I be a monomial ideal and let f ∈ K[x1 , . . . , xn ]. Then the
1. f ∈ I
14
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
of monomials in I.
generated.
K[x1 , . . . , xn ]. Let Ji = (I :< xin >) ∩ K[x1 , . . . , xn−1 ] =< Si >. Since Ji is an
J0 ⊆ J1 ⊆ J2 ⊆ . . .
It follows easily that ∪Ji is an ideal J in K[x1 , . . . , xn−1 ] and hence finitely
15
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
J0 = J1 = (0), J2 = J3 = (x4 ), J4 =< x3 >. These slices are the ideal slices.
Theorem 2.4.1. (Division Algorithm) Fix a monomial order > on Zn≥0 and let
INPUT f1 , . . . , fs , f
Initialization : a1 = 0, . . . , as = 0, h := f
WHILE h 6= 0 DO
i := 1
16
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
DO
Else i = i + 1
r := r + LT (h)
h := h − LT (h)
The first calculation shows that even if f ∈ (f1 , f2 ), it is still possible to obtain
properties.
17
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
{f1 , f2 } is not a Grobner basis with respect to grlex order for x2 ∈ LT (I) but
x2 ∈<
/ LT (f1 ), LT (f2 ) >, for xf2 − yf1 = x2 .
basis using lex order in R[x, y, z]. (LT (g1 ), LT (g2 )) = (x, y). This is equivalent
to show that the initial form of any non-zero element of I is divisible by either
for any real number t. The only polynomial in z alone that vanishes at all points
LT (g1 ), . . . , LT (gt ) >. This implies that LT (gi )|LT (r2 − r1 ) for some i. This is
18
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
division by G is zero.
which satisfies two conditions of previous proposition. It follows that zero is the
remainder of f on division by G.
Remark 2.5.1. If I =< f1 , . . . , fr >, then < LT (f1 ), . . . , LT (fs ) >⊆< LT (I) >.
2. There are g1 , . . . , gt ∈ I such that < LT (I) >=< LT (g1 ), . . . , LT (gt ) >.
Proof. (i) The leading monomials LM (g) of elements g ∈ I − {0} generate the
monomial ideal < LM (g) : g ∈ I − {0} >, Since LM (g) and LT (g) differ by
constants, the ideal is equal to < LT (g) : g ∈ I − {0} >. Thus LT (I) is a
monomial ideal.
Dickson lemma there are finitely many g1 , g2 , . . . , gt such that < LT (I) >=<
LM (g1 ), . . . , LM (gt ) >. Since LM (g) and LT (g) differ by constants, it follows
19
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
Proof. If I =< 0 >, nothing to do. If I 6= (0), then by Proposition 2.5.3, there
LT (r) ∈< LT (I) >=< LT (g1 ), . . . , LT (gt ) >. It follows that LT (r) must
F
Definition 2.5.6. We write f for the remainder of f on division by the
0(x4 y 2 − y 2 ) + xy 3 .
2.6 S-polynomial
S-polynomial of f and g is
f g
S(f, g) = LCM (LM (f ), LM (g))[ − ].
LT (f ) LT (g)
Example 2.6.2. Let f = x3 y 2 − x2 y 3 + x, g = 3x4 y + y 2 ∈ R[x, y] with
20
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
Pt αi
Lemma 2.6.1. Suppose we have a sum of the form i=1 ci x gi , where c1 , c2 , . . . , ct
ci xαi gi have multi degree δ and their sum has strictly smaller multi degree, it
P xαi gi
follows that ci di = 0. Define pi = and that pi has leading coefficient
di
Pt Pt
1. Consider the telescopic sum i=1 ci xαi gi = i=1 ci di pi = c1 d1 (p1 − p2 ) +
LM (gi ) = xβi divides xδ and consequently xγjk = LCM (LM (gj ), LM (gk )) also
a sum of the desired form. Since pj and pk have multideg δ and leading term
=1, the difference pj − pk has multideg < δ. By equation (∗) same is true of
Theorem 2.6.2. Let I be a non-zero ideal of K[x1 , . . . , xn ]. Then for the set of
G
2. f ∈ I iff f −
→+ 0.
Pt
3. f ∈ I iff f = i=1 hi gi with lp(f ) = max1≤i≤t (lp(hi )lp(gi )).
4. LT (G) = LT (I)
21
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
then r ∈ I and by (1) there exists i ∈ {1, 2, . . . , t} such that lp(gi ) | lp(r). This
(3) ⇒ (4) Clearly LT (G) ⊆ LT (I). For the reverse inclusion, let f ∈ I, then by
Pt
(3), f = i=1 hi gi with lp(f ) = max1≤i≤t (lp(hi )lp(gi )). Thus LT (f ) ∈ LT (G)
and
X
LT (f ) = LT (hi )LT (gi ),
i
where sum is over all i such that lp(f ) = lp(hi )lp(gi ). Hence LT (I) ⊆ LT (G).
t
X
LT (f ) = hi LT (gi ), f or some hi ∈ K[x1 , . . . , xn ]. (2.1)
i=1
Expanding RHS of 2.1, we observe that each term is divisible by some lp(gi ).
22
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
for c1 a1 + . . . + cs as = 0.
is a Grobner basis for I iff for all pairs (i, j), i 6= j the remainder on division of
all i ∈ S, but lp(g) < X. By Lemma 2.6.3, there exist dij ∈ K such that
X
g= dij S(Xi gi , Xj gj ).
i,j∈S,i6=j
X X
S(Xi gi , Xj gj ) = Xi gi − Xj gj
LT (Xi gi ) LT (Xj gj )
X X X
S(Xi gi , Xj gj ) = gi − gj = S(gi , gj ),
LT (gi ) LT (gj ) Xij
G
where Xij = lcm(LM (gi ), LM (gj )). By hypothesis S(gi , gj ) −
→+ 0 and then
G
from the last equation we have S(Xi gi , Xj gj ) −
→+ 0. This gives representation
t
X
S(Xi gi , Xj gj ) = hijr gr ,
i=1
23
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
Pt
Substituting these expressions above and g into f , we get f = i=1 hi 0 gi , with
0
max1≤r≤t (lp(Xi gi ), lp(hi ) < X. This is contradiction.
Remark 2.6.2. G is not a Grobner basis in the above example when x > y > z
Theorem 2.7.1. Let I =< f1 , . . . , fs >6= (0) be a polynomial ideal. Then Grob-
ner basis for I can be constructed in a finite number of steps by the following
algorithm:
Input F = (f1 , . . . , fs )
G := F
REPEAT:
0
G := G
0
For each pair {p, q}, p 6= q in G ,
DO
0
G
S := S(p, q)
IF S 6= 0, THEN G := G ∪ {S}
24
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
UNTIL
0
G=G.
Proof. Note that G ⊂ I at every stage of the algorithm. This is initially true
0
G
and whenever we enlarge G, we do so by adding the remainder S = S(p, q) for
0
p, q ∈ G . Thus if G ⊂ I, then p, q and hence S(p, q) are in I and since we are
0
dividing by G ⊂ I, we get G∪{S} ⊂ I. Also note that G contains the given basis
0
F of I, so that G is actually a basis of I. The algorithm terminates when G = G
0
G 0
which means that S(p, q) = 0 for all p, q ∈ G . Hence G is a Grobner basis
that < LT (G0 ) >(< LT (G) >. Suppose remainder r(6= 0) has been attached
0 0
to G . Since r is the remainder on division by elements of G , LT (r) is not
0 0
divisible by leading terms of elements of G , and thus LT (r) ∈<
/ LT (G ) >. Yet
0
LT (r) ∈< LT (G) >, which proves our claim. Since < LT (G ) >⊆< LT (G) >,
0
the ideals < LT (G ) > from successive iterations of the loop form an ascending
chain of ideals in K[x1 , . . . , xn ]. Then ACC implies that after finite number
0
of iterations the chain will stabilize, so that < LT (G ) >=< LT (G) > must
0
happen eventually. By Theorem 2.6.2, G = G, so that the algorithm terminates.
that < f1 , f2 > is not Grobner basis for I, for LT (S(f1 , f2 )) = −x2 ∈<
/
25
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
−1 2 F
y(x3 − 2xy) − ( )x (−2xy) = −2xy 2 = yf4 , so S(f1 , f4 ) = 0. S(f2 , f3 ) =
2
F
(x2 y −2y 2 +x)−(−y)(−x2 ) = −2y 2 +x but S(f2 , f3 ) = −2y 2 +x 6= 0. Thus we
26
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
2.8 Exercises
leading coefficient and leading monomial of f with respect to the lex, grlex
f1 = 2xy 2 + 3x + 4y 2 and f2 = y 2 − 2y − 1.
Using the lex order show that < LT (I) >6=< LT (g1 ), LT (g2 ), LT (g3 ) >.
6. Find the Grobner basis for the ideal I = (y 5 +x2 +z 2 −4, y 2 +2x2 −5, yz−1)
Q[x, y, z]. Is xy 9 ∈ I?
8. Determine whether the following sets G are Grobner basis for the ideal
they generate
9. Let R = Q[x, y, z] and f = 4x2 yz+3z 2 −5x3 +7xy 2 −7y 4 . Find the leading
monomial, leading term and leading exponent and leading coefficient for
10. Find the GCD and LCM of f1 and f2 where f1 = x3 −3x+2 and f2 = x2 −1.
27
Shiv Datt Kumar Basic Notions of Grobner Basis Theory
3x + 4y − z + w = 0,
x − 3y + 3z − 4w = 0,
x−y+z−w =0
f1 = 3x + 4y − z + w, f2 = x − 3y + 3z − 4w, f3 = x − y + z − w.
a Grobner basis for the ideal they generate. Show that they do not form
x > y.
28
Bibliography
[8] .B. Bhattacharya, S.K. Jain, S.R. Nagpaul: Basic Abstract Algebra
29