scieee AI-readable full text Open interactive document viewer

Proportionally modular affine semigroups

García García, J. Ignacio,Moreno Frías, María Ángeles,Vigneron Tenorio, Alberto

Abstract

Producción Científica

Full text

Proportionally modular affine semigroups J. I. Garc´ıa-Garc´ıa∗ M. A. Moreno-Fr´ıas† A. Vigneron-Tenorio‡ Abstract This work introduces a new kind of semigroup of Npcalled proportionally modular affine semigroup. These semigroups are defined by modular Diophantine inequalities and they are a generalization of proportionally modular numerical semigroups. We give an algorithm to compute their minimal generating sets. We also specialize on the case p= 2. For this case, we provide a faster algorithm to compute their minimal system of generators, prove they are Cohen-Macaulay and Buchsbaum, and determinate their (minimal) Frobenius vectors. Besides, Gorenstein proportionally modular affine semigroups are characterized. Keywords: affine semigroup, Buchsbaum ring, Cohen-Macaulay ring, Frobenius vector, Gorenstein ring, modular Diophantine inequalities, numerical monoid, numerical semigroup. MSC-class 2010: 20M14 (Primary), 11Y50, 13H10, 11D07 (Secondary). Introduction All monoids and semigroups appearing in this work are commutative. For this reason, we omit this adjective in the sequel. Given two non-negative integers a, b with b6= 0, we denote by amod bthe remainder of the Euclidean division of aby b. For a rational number p/q with gcd(p, q) = 1,we say that p/q = 0 mod bif p= 0 mod b, and for two rational numbers p/q and p0/q0we say that p/q =p0/q0mod bif p/q −p0/q0= 0 mod b. A proportionally modular Diophantine inequality in one variable is an expression of the form ax mod b≤cx with a,band cpositive integers. The set Sof nonnegative integer solutions of that modular inequality is a numerical semigroup, that is, it is a subset of the set of non-negative integers Nthat is closed under addition, 0 ∈Sand N\Shas finitely many elements. So, the submonoids of N ∗Departamento de Matem´aticas, Universidad de C´adiz, E-11510 Puerto Real (C´adiz, Spain). E-mail: [email protected]. Partially supported by MTM2014-55367-P (MINECO, Spain), FEDER funds and Junta de Andaluc´ıa group FQM-366. †Departamento de Matem´aticas, Universidad de C´adiz, E-11510 Puerto Real (C´adiz, Spain). E-mail: [email protected]. Partially supported by MTM2014-55367-P (MINECO, Spain), FEDER funds and Junta de Andaluc´ıa group FQM-298. ‡Departamento de Matem´aticas, Universidad de C´adiz, E-11406 Jerez de la Frontera (C´adiz, Spain). E-mail: alb[email protected]. Partially supported by MTM2015-65764- C3-1-P (MINECO/FEDER, UE) and Junta de Andaluc´ıa group FQM-366. 1 of the form S={x∈N|ax mod b≤cx}are called proportionally modular numerical semigroups. They were introduced in [16], and many papers about them have been written (see, for example [14], [15], [18], [19]). In this work, we introduce proportionally modular affine semigroups as a generalization of proportionally modular numerical semigroups. Instead of using three integers a, b and c, we use two nonnull linear functions f, g :Qp→Qand a natural number b. With these elements, we define the semigroup S={x∈Np|f(x) mod b≤g(x)} which it is called proportionally modular affine semigroup. In Theorem 3, we provide an algorithm to compute the minimal generating of S. Besides, we prove that the intersection of every rational straight line with a proportionally modular affine semigroup is isomorphic to a proportionally modular numerical semigroup. This makes possible to view every proportionally modular affine semigroup as a beam of proportionally modular numerical semigroups. In the second part of this work, we focus on proportionally modular affine semigroups of N2and we explore some of their properties. Using that any nontrivial proportionally modular affine semigroup Sof N2is simplicial, we study some of the properties of its associated semigroup ring k [S] from the semigroup S. These properties are the Cohen-Macaulayness, Gorensteiness and Buchsbaumness, which have been widely studied in ring theory, but if we try to search these kind of rings, few methods to obtain them are found (see [9], [12], [17], [21] and references therein). In particular, we prove that these semigroups are Cohen-Macaulay and Buchsbaum, and we characterize when they are Gorenstein. That allows us to affirm that an application of modular Diophantine inequalities to Commutative Algebra is the construction of special kinds of rings. For these semigroups, we also give a geometrical algorithm for a fast computation of the minimal generating set of S, and we determinate the (minimal) Frobenius vectors of these semigroups (some references to Frobenius vectors are found in [1] and [2]). In this work, all the examples have been done using the software available at [8]. The content of this work is organized as follows: in Section 1, we provide some basic definitions and results on monoids and semigroup rings. In Section 2, we give the definition of proportionally modular semigroup, we represent it as beams of proportionally numerical semigroups, and we show an algorithm to compute its minimal generating set. In Section 3, we provide a faster algorithm to obtain a system of generators of a given proportionally modular affine semigroup of N2. For this semigroup, we also give its set of (minimal) Frobenius vectors. Finally, in Section 4, we study methods to check the above mentioned properties of the semigroup ring of a proportionally modular affine semigroup of N2. 1 Preliminaries and notations A semigroup is a pair (S, +), with Sa nonempty set and + a binary operation defined on Sverifying the associative law. In addition, if there exists an element 0∈Ssuch that a+ 0 = 0 + afor all a∈S, we say that (S, +) is a monoid. Given a subset Aof a monoid S, the monoid generated by A, denoted by hAi, is the least (with respect to inclusion) submonoid of Scontaining A. When 2 S=hAi, we say that Sis generated by Aor that Ais a system of generators of S. The monoid Sis finitely generated if it has a finite generating set. Finitely generated submonoids of Npare known as affine semigroups, and they are called numerical semigroups when p= 1. Given a system of linear equations or linear inequalities, a solution is called N-solution if it is a non-negative integer solution (see [13] for details). For a subset A∈Qp, denote by ConvexHull(A) the convex hull of the set A, that is, the smallest convex subset of Qpcontaining A. In this work, the product ordering in Npis denoted by .So, given two elements x, y ∈Np,xyif y−x∈Np.Besides, we denote by ||x|| the 1-norm of x(i.e. ||x|| =Pp i=1 |xi|) and by [k] the set {1, . . . , k}for every k∈N.We use L(A) to denote the set {Pm i=1 λiai|λi∈Q≥, ai∈A, m ∈N}, this set is known as the rational cone of A. For a better understanding of the last section of this work, we need to recall some definitions. Let Rbe a Noetherian local ring, a finite R-module M6= 0 is a Cohen-Macaulay module if depth(M) = dim(M). If Ritself is a Cohen-Macaulay module, then it is called a Cohen-Macaulay ring (see [5]). A Gorenstein ring is a special case of Cohen-Macaulay ring: a Gorenstein local ring is a Noetherian commutative local ring Rwith finite injective dimension, as an R-module (see [3]). The last concept, Buchsbaum ring, is defined as follows: a noetherian R-module Mis called a Buchsbaum module is every system of parameters of Mis a weak M-sequence, and Ris a Buchsbaum ring if it is Buchsbaum module as a module over itself (see [10] and [21] for details). For every (S, +) finitely generated commutative monoid and a field k ,we denote by k [S] the semigroup ring of Sover k . Note that k [S] is equal to Lm∈S k χmendowed with a multiplication which is k -linear and such that χm·χn=χm+nfor every m, n ∈S(see [4]). We say that Sis a Cohen-Macaulay/Gorenstein/Buchsbaum semigroup if k [S] is a Cohen-Macaulay/Gorenstein/Buchsbaum ring. 2 Proportionally modular affine semigroups Let f, g :Qp→Qbe two nonnull linear functions and let b∈N\{0}. If x, y ∈Np verify f(x) mod b≤g(x) and f(y) mod b≤g(y), by the linearity of fand g, we have f(x+y) mod b= (f(x) + f(y)) mod b≤(f(x) mod b) + (f(y) mod b)≤g(x) + g(y) = g(x+y). Clearly, f(0) mod b= 0 ≤g(0). In this way, the set of N−solutions of every inequality of the form f(x) mod b≤g(x) is a submonoid of Np. Every submonoid Sof Npobtained as above is called a proportionally modular monoid. Let us suppose that f(x1, . . . , xp) = f1x1+· · · +fpxpand g(x1, . . . , xp) = g1x1+· · · +gpxpwith fi, gi∈Qfor all i= 1, . . . , p, and b∈Q≥. If d∈ N, then an element x∈Npverifies f(x) mod b≤g(x) if and only if df(x) mod db ≤dg(x). Hence, by multiplying the inequality f(x) mod b≤g(x) by dthe least common multiple of the denominators of f1, . . . , fp, g1, . . . , gp,and b, we obtain an inequality where db ∈Nand the coefficients of df and dg are integers. So, in the sequel, we assume that f(x1, . . . , xp) = f1x1+· · · +fpxp and g(x1, . . . , xp) = g1x1+· · · +gpxpwith fi, gi∈Zand b∈N. Remark 1.If we intersect Swith any axis, the set obtained is formed by the elements of Npfulfilling a proportionally modular Diophantine inequality or it is 3 equal to {0}. Thus, this intersection is isomorphic to a proportionally modular numerical semigroup. Besides, every x∈Npsatisfying g(x)≥bbelongs to S. Remark 2.Let w= (w1, . . . , wp)∈Np\{0}such that gcd(w1, . . . , wp) = 1. The set {λw|λ∈Q} ∩ Npis equal to {xw |x∈N}. If g(w)>0, then g(xw)>0 for all x∈N\ {0}. Since g(x1, . . . , xp) = g1x1+· · · +gpxpand f(x1, . . . , xp) = f1x1+· · · +fpxpwith fi, gi∈Zfor all i∈[p], then g(xw) = g(xw1, . . . , xwp) = (g1w1+· · ·+gpwp)xand f(xw) = f(xw1, . . . , xwp)=(f1w1+· · ·+fpwp)x. The element c0=g1w1+· · ·+gpwpis in Nand a0=f1w1+· · ·+fpwpbelongs to Z. So, xw ∈Sif and only if a0xmod b≤c0x. Hence, the submonoid {xw |x∈N}∩S is isomorphic to a proportionally modular numerical semigroup. We suppose now that g(w) = 0. Let ube the nonnull element of {λw|λ∈ Q}∩Npclosest to the origin verifying that f(u) mod b≤g(u). By the linearity of gwe have g(u) = 0 and thus f(u) mod b= 0. Assume that w0∈ {λw|λ∈ Q} ∩ Npand f(w0) mod b≤g(w0). If w06∈ {ku |k∈N}, consider k0∈Nsuch that kk0uk<kw0kand k(k0+ 1)uk>kw0k. The element w0−k0u∈Npverifies g(w0−k0u) = 0, f(w0−k0u) mod b= 0 ≤g(w0−k0u) and kw0−k0uk<kuk, which is a contradiction. Thus, {λw |λ∈Q, f(λw) mod b≤g(λw)} ∩ Npis equal to {λu |λ∈N}and this submonoid is isomorphic to N. The above two paragraphs allow us to view proportionally modular semigroups as beams of proportionally modular numerical semigroups. In the following result we give an effective proof that a proportionally modular semigroup is finitely generated. This proof is tailored to these semigroups. Theorem 3. Every proportionally modular monoid of Npis finitely generated. Proof. We suppose again that g(x1, . . . , xp) = g1x1+· · ·+gpxpwith g1, . . . , gp∈ Z, and denote the p-tuple (x1, . . . , xp) by x. Let Sbe the proportionally modular monoid defined by the inequality f(x) mod b≤g(x). We have two straightforward cases: g1, . . . , gp<0 and g1, . . . , gp>0. If g1, . . . , gp<0, then S={0}. If g1, . . . , gp>0, every set {x∈Np|g(x) = i} with i∈Nis finite. Since Np\S⊂ ∪b−1 i=0 {x∈Np|g(x) = i}, the set Np\Sis finite, and hence a minimal generating set of Scan be computed by using [6, Corollary 9]. Assume that there exist i, j ∈[p] such that gigj≤0.Let U={u1,...,ut} be the minimal generating set of the N-solutions of the system of Diophantine equations (see [13]) f(x) mod b= 0, g(x)=0. Every x∈Npverifying g(x)≥bis in Sand therefore S∩ {x∈Np|g(x)≥b} is equal to {x∈Np|g(x)≥b}(see Remark 1). So, we obtain that S\ ∪b−1 i=1 {x∈Np|g(x) = i}= S∩({x∈Np|g(x) = 0}∪{x∈Np|g(x)≥b}) = (S∩ {x∈Np|g(x)=0})∪ {x∈Np|g(x)≥b}. Take x∈S∩(∪b−1 i=1 {x∈Np|g(x) = i}) and assume that g(x) = dwith d∈ {1, . . . , b −1}. This element is a N-solution of a Diophantine system of equations of the form f(x) mod b=k, g(x) = d. (1) 4 with k= 0, . . . , d. Let Mdk be the set of minimal N-solutions of (1). By [13], the element xcan be expressed as m+Pt i=1 λiuiwith m∈Mdk and λi∈N. Figure 1 illustrates graphically the sets Mdk of an example. Figure 1: Semigroup given by the inequality 5x+ 2y+zmod 4 ≤3x+y−4z. We now construct a generating set of the monoid {x∈Np|g(x)≥b} ∪ (S∩ {x∈Np|g(x)=0}). An graphical example of this monoid is showed in Figure 1. Let V={v1, . . . , vl} be the minimal generating set of {x∈Np|g(x)=0}.Note that bvi∈ hUifor all i= 1, . . . , l. Since the set L(S)∩Npis the cone determined by the hyperplanes g(x)≥0, x1≥0, . . . , xp≥0, it is a finitely generated monoid (see [20, Section §7.2 and Theorem 16.4]). Define C0=V∪ {w1 1, . . . , w1 n1, w2 1, . . . , w2 n2, . . . , wb−1 1, . . . , wb−1 nb−1,ew1,..., ewq} the minimal generating set of L(S)∩Npsatisfying: •g(wi j) = ifor all i= 1, . . . , b −1,and j= 1, . . . , ni. •g(ewj)≥bfor all j= 1, . . . , q. Let C1be the finite set (C0\ {w1 1, . . . , w1 n1})∪ ∪i∈[n1]{2w1 i,3w1 i}∪∪j∈[n1]{w1 j+s|s∈ C0\V}. Note that for every element s∈ C1, g(s) = 0 or g(s)≥2.Besides, if s∈ (L(S)∩Np)\ {x∈Np|g(x)=1}we also have that g(s) = 0 or g(s)≥2.If g(s) = 0, then sbelongs to the semigroup generated by V⊂ C1.If g(s)≥2,we consider λj, νij, µj∈Nsuch that s= l X j=1 λjvj+ n1 X j=1 ν1jw1 j+ b−1 X i=2 ni X j=1 νijwi j+ q X j=1 µjewj. For each ν1j>1,the addend ν1jw1 jcan be replace by a non-negative integer linear combination of the elements of {2w1 j,3w1 j}⊂C1.Since g(s)≥2,if there 5 exists ν1j= 1,then there exists a nonnull coefficient νi0j0with j06=jand/or there exists a nonnull coefficient µj00 . Hence, w1 j+νi0j0wi0 j0or w1 j+µj00 ewj00 appears in the expression of s. Note that both elements are obtained as a nonnegative integer linear combination of elements of C1.In any case, the element s is in the semigroup generated by C1,and therefore C1is a system of generators of (L(S)∩Np)\ {x∈Np|g(x)=1}. Once we have the sets C0and C1, the sets Ckwith k∈[b−1] are obtained recursively as follows: Ck= (Ck−1\{wk 1, . . . , wk nk})∪∪i∈[nk]{2wk i,3wk i}∪∪j∈[nk]{wk j+s|s∈ Ck−1\V}. Reasoning as above, it is straightforward to prove that the set Ckis a system of generators of the semigroup (L(S)∩Np)\ ∪k j=1{x∈Np|g(x) = j}.Thus, Cb−1 is a system of generators of {x∈Np|g(x)≥b}∪{x∈Np|g(x)=0}. Let Cbe the finite set C= (Cb−1\V)∪U. Then, S∩ {x∈Np|g(x) = 0}= hCi ∩ {x∈Np|g(x)=0}.Let e Cbe the finite set C ∪ [ w∈C∩{x∈Np|g(x)≥b} {z∈Np|w≺zw+ l X i=1 bvi}, and let s∈ {x∈Np|g(x)≥b} ∪ (S∩ {x∈Np|g(x) = 0}).If g(s) = 0, s can be obtained from the set U⊂e C.Otherwise, s=X bw∈C,g(bw)≥b λbwbw+ l X i=1 µivi, with λbw, µi∈N.For every µi,let µ0 i, ri∈Nbe the quotient and the remainder of the integer division µi/b (µi=µ0 ib+riwith ri∈[b−1]). With these values we have s=X bw∈C,g(bw)≥b λbwbw+ l X i=1 µ0 ibvi+ l X i=1 rivi, where Pl i=1 µ0 ibvi∈ hUi⊂he Ci and Pbw∈C,g(bw)≥bλbwbwi+Pl i=1 rivibelong to he Ci. Hence, e Cis a system of generators of {x∈Np|g(x)≥b}∪(S∩{x∈Np|g(x) = 0}), and thus a system of generators of Sis the finite set e C∪(∪b−1 d=1∪d k=0Mdk). From the above proof we obtain an algorithm to compute systems of generators of proportionally modular affine semigroups. Although, with this method it is necessary to solve several system of Diophantine equations (this is a NP- complete problem) and consider several big sets of elements. A particular case where we avoid these issues is when p= 2. This case is studied in next sections. We describe a geometrical approach, easier to solve, that allows us to determinate the Cohen-Macaulayness, Gorensteiness and Buchsbaumness. 3 Proportionally modular affine semigroups of N2 This section is about proportional modular semigroups associated to modular Diophantine inequalities into two variables: f(x, y) mod b≤g(x, y) where 6 f(x, y) = f1x+f2y, g(x, y) = g1x+g2ywith b∈Nand f1, f2, g1, g2∈Z. As in previous sections, we denote by Sthe proportionally modular affine semigroup associated to the above modular inequality. In this section, we provide a geometrical algorithm to compute their minimal generating sets. Besides, their associated (minimal) Frobenius vectors are studied. Given a subset A⊂Q2, we denote by Tint(L(A)) the topological interior of the cone L(A). This set is equal to Tint(A) = {Pm i=1 λiai|λi∈Q>, ai∈ A, m ∈N}. Note that given a subsemigroup Sof N2minimally generated by {s1, . . . , sp}there exists a minimal set of elements {si1, . . . , sit}such that its associated cone L(S) is equal to {Pt j=1 λjsij|λj∈Q≥}.The semigroup Sis called simplicial whenever L(S) = L({s1, s2}).Note that every nontrivial proportionally modular semigroup of N2is simplicial. Definition 4. Assume g(x, y) = g1x+g2ywith g1g2≤0. Denote by uthe generator of the semigroup given by the N-solutions of g1x+g2y= 0, f1x+f2ymod b= 0. If g16= 0, this element is the minimal solution of (−g2f1+f2g1 g1ymod b= 0). Analogously, if g26= 0 we also obtain only an element. In particular, note that uis a minimal generator of S. The vector uhas a nice property which allows to obtain all the elements belonging to Sfrom a strip of S. Lemma 5. Assume g(x, y) = g1x+g2ywith g1g2≤0, let u∈N2be as in Definition 4 and v, w ∈N2such that v+u=w. Then, v∈Sif and only if w∈S. Proof. Assume v∈S. We have f(v) mod b≤g(v) and f(u) mod b=g(u) = 0. Thus, f(w) mod b=f(v+u) mod b= (f(v) + f(u)) mod b≤f(v) mod b+f(u) mod b≤g(v) = g(v) + g(u) = g(v+u) = g(w). If w∈S, we can proceed similarly to obtain that v∈S. The following result provides us with an alternative geometrical and effective proof of Theorem 3 for a subsemigroup on N2. Proposition 6. Every nontrivial proportionally modular semigroup Sof N2is finitely generated. Proof. We have f, g :Q2→Q. Assume that g(x, y) = g1x+g2ywith g1, g2∈Z. If g1, g2<0, then S={(0,0)}. For the other cases we distinguish two main cases: g1, g2>0 and g1g2≤0. Assume that g1, g2>0. The elements of N2not belonging to Sare in the straight lines g(x, y) = 1, . . . , g(x, y) = b−1. Furthermore, the intersection of every straight line g(x, y) = dwith Q2 ≥is the segment with endpoints (0,d g2), (d g1,0). Thus, in the straight lines g(x, y) = 1, . . . , g(x, y) = b−1 there are only a finite number of elements in N2. Hence, N2\Sis finite and the minimal generating set Scan be obtained from N2\Susing [6, Corollary 9]. Assume now that g1g2≤0.Let u= (u1, u2) be as in Definition 4. The intersection of g(x) = bwith one of the two axes is not empty. Assume that 7 this axis is the x-axis and then g1>0 and g2≤0. Let w= ( b g1,0) be the point of intersection of the straight line g(x, y) = bwith the line y= 0,and e u= (eu1,0) ∈N2be the minimal generator of the affine semigroup S∩OX closest to the origin. By Remark 1, the element e uexists and it is a minimal generator of S. Fixed s= (s1, s2)∈S, by Lemma 5, if s2≥u2, s satisfies s−u∈S, and it can be obtained from an element s0= (s0 1, s0 2)∈Swith s0 2< u2adding λufor some λ∈N.In case sbelongs to the half-space {(x, y)∈ R2 +|g(x, y)≥b}+e u,the element s−e ubelongs to S. Let Gbe the finite set given by S∩(R2\(({(x, y)∈R2|g(x, y)≥b}+e u)∪ {(x, y)∈R2|y > u2})). This set is equal to S∩ConvexHull({O, u,u+w+e u, w +e u}) and S\ G is equal to {h+λ1u+λ2e u|h∈ G and λ1, λ2∈N}.Then, Sis finitely generated by the elements belonging to G.Analogously, the case g1≤0 and g2>0 can be solved considering w= (0,b g2),and e u= (0,eu2)∈Sthe minimal generator of the affine semigroup S∩OY closets to the origin. From now on, we denote by wthe element {x∈R2 +|g(x) = b} ∩ (OX ∪OY ) when g1g2≤0,by Gthe set S∩ConvexHull({O, u,u+w+e u, w +e u}),and by e uthe vector (eu1,0) or (0,eu2) as in above Proposition. In Algorithm 1 we formulate a faster algorithm to compute the minimal generating set of a proportionally modular semigroup in N2.In this algorithm, Algorithm 1 Computation of the minimal generating set of a proportionally modular affine semigroup S. Input: The proportionally modular Diophantine inequality f(x) mod b≤ g(x) = g1x+g2y. Output: The minimal generating set of S. 1: if g1, g2<0then return {(0,0)}. 2: if g1, g2>0then compute the finite set N2\S. The minimal generating set Hof Scan be obtained from N2\Susing [6, Corollary 9]. 3: return H. 4: if g1g2≤0then 5: Compute the vector udefined in Definition 4. 6: if g1≥0then e S:= {(x, 0) |f(x, 0) mod b≤g(x, 0)}. 7: if g1<0then e S:= {(0, y)|f(0, y) mod b≤g(0, y)}. 8: Compute the minimum minimal generator e uof the subsemigroup e S. 9: w:= {x∈R2 +|g(x) = b} ∩ (OX ∪OY ). 10: G:= S∩ConvexHull({O, u,u+w+e u, w +e u}). 11: Obtain Ha minimal system of generators from G. 12: return H. for the case g1, g2>0 there exists an alternative way to compute the step 2. Let w1and w2be the intersections of {x∈Q2|g(x) = b}with OX and OY respectively, and let e u1and e u2be the minimum minimal generators of the semigroups S∩OX and S∩OY respectively (note e u1and e u2are in the minimal generating set of S). Consider Jthe set ConvexHull({O, w1+e u1, w2+e u2}). It is straightforward to prove that N2\ J ⊂ Sand every x∈N2\ J satisfies that x−e u1and/or x−e u2are/is in S. Thus, the elements belonging to N2\ J can be obtained from elements in J ∩ Sand then a system of generators of Sis included in J ∩ S. So, an alternative way to do the step 2 is to compute 8 w1, w2,e u1,e u2,consider the set J ∩ Sand take Hthe minimal generating set of Sfrom J ∩ S. Example 7.Let f(x, y)=3x−2y, g(x, y) = x−3y,b= 11 and Sthe proportionally modular affine semigroup defined by the modular inequality f(x, y) mod b≤g(x, y).In order to obtain a generating set of S, we follow the steps of Algorithm 1. First, we compute the minimal non null vector u∈N2solv- ing the system of modular equations {f(x, y) mod b≤g(x, y), g(x, y)=0}. In this case we have 7ymod 11 = 0.So, u= (33,11).For computing e u it is needed to solve the modular equation f(x, 0) mod b≤g(x, 0) ≡3x mod 11 ≤x. The proportionally numerical semigroup obtained is the generated by {4,5,11},and therefore e u= (4,0).The point w={(x, y)∈ R2|g(x, y) = 11} ∩ OX is equal to w= (11,0).Another set we need is G=S∩ConvexHull({(0,0),(33,11),(48,11),(17,0)}).The last step is performed taking the minimal elements of G. The software [8] allows us to compute the minimal generating set of Sjust as follows: In[1]:= ProporcionallyModularAffineSemigroupN2[3, -2, 11, 1, -3] Out[1]= {{4., 0.}, {5., 0.}, {5., 1.}, {8., 1.}, {9., 2.}, {11., 0.}, {13., 3.}, {14., 4.}, {18., 5.}, {19., 6.}, {23., 7.}, {28., 9.}, {33., 11.}} To conclude this section we make a geometric approach to the computation of the Frobenius vectors of a proportionally modular affine semigroup of N2.By using this approximation, we present an algorithm to determine the minimal Frobenius vectors in these semigroups. Definition 8. We say that an affine semigroup Thas a Frobenius vector if there exists an element q /∈Tbelonging to the group G(T)(the subgroup of Np generated by T) such that (q+Tint(L(T)))∩G(T)⊂S\{0}.A Frobenius vector is called minimal Frobenius vector if it is minimal with respect to the product ordering on Np. Proposition 9. Let S⊂N2be a nontrivial proportionally modular semigroup. Then the following hold: •If g1g2≤0,the unique minimal Frobenius vector of Sis the minimal integer element of ConvexHull({O, u, w, w+u})\Sclosest to the line {x∈ R2|g(x) = b}. •If g1g2>0,the (minimal) Frobenius vectors are in the finite set (ConvexHull({O, w1, w2})∩N2)\S. Proof. We consider two cases: g1g2>0,and g1g2≤0. Assume that g1g2>0,and let w1and w2be the unique two elements of {x∈R2|g(x) = b}∩(OX ∪OY ).In this case, note that L(S) is equal to Q2 +and (L(S)∩N2)\Sis the nonempty finite set ∆ = (N2∩ConvexHull({0, w1, w2}))\S. Any maximal element ωin ∆ satisfies that (ω+Tint(L(S)))∩G(S)⊂S. So, these maximal elements are Frobenius vectors. Besides, for any non maximal element ω1belonging to ∆,there exists ω∈∆ maximal such that ω∈ω1+ L(S) but it is possible that there is not a maximal element belonging to ω1+Tint(L(S)).In 9