<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">APM</journal-id><journal-title-group><journal-title>Advances in Pure Mathematics</journal-title></journal-title-group><issn pub-type="epub">2160-0368</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/apm.2023.136021</article-id><article-id pub-id-type="publisher-id">APM-125768</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  On a Class of Semigroup Graphs
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Li</surname><given-names>Chen</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Tongsuo</surname><given-names>Wu</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>School of Mathematics and Statistics, Yancheng Teachers University, Yancheng, China</addr-line></aff><aff id="aff2"><addr-line>Department of Mathematics, Shanghai Jiaotong University, Shanghai, China</addr-line></aff><pub-date pub-type="epub"><day>25</day><month>06</month><year>2023</year></pub-date><volume>13</volume><issue>06</issue><fpage>303</fpage><lpage>315</lpage><history><date date-type="received"><day>1,</day>	<month>February</month>	<year>2023</year></date><date date-type="rev-recd"><day>22,</day>	<month>June</month>	<year>2023</year>	</date><date date-type="accepted"><day>25,</day>	<month>June</month>	<year>2023</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Let 
  <em>G</em> = Γ(<em>S</em>) be a semigroup graph, 
  <em>i.e.</em>, a zero-divisor graph of a semigroup S with zero element 0. For any adjacent vertices 
  <em>x, y</em> in 
  <em>G</em>, denote 
  <em>C</em>(<em>x</em>,<em>y</em>) = {<em>z</em>∈<em>V(G)</em> | <em>N</em> (<em>z</em>) = {<em>x</em>,<em>y</em>}}. Assume that in 
  <em>G</em> there exist two adjacent vertices 
  <em>x, y</em>, a vertex 
  <em>s</em>∈<em>C</em>(<em>x</em>,<em>y</em>) and a vertex 
  <em>z</em> such that 
  <em>d</em> (<em>s</em>,<em>z</em>) = 3. This paper studies algebraic properties of 
  <em>S</em> with such graphs 
  <em>G</em> = Γ(
  <em>S</em>), giving some sub-semigroups and ideals of 
  <em>S</em>. It constructs some classes of such semigroup graphs and classifies all semigroup graphs with the property in two cases.
 
</p></abstract><kwd-group><kwd>Zero-Divisor Semigroup</kwd><kwd> Sub-Semigroup</kwd><kwd> Zero-Divisor Graph</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Throughout, G is a simple and connected graph. For a vertex x of G, the neighborhood of x is denoted as N ( x ) , which is the set of all vertices adjacent to x. Denote also N ( x ) &#175; = N ( x ) ∪ { x } . The cardinality of N ( x ) is denoted by deg(x). The vertex x is called an end vertex if d e g ( x ) = 1 , and an isolated vertex if d e g ( x ) = 0 ( [<xref ref-type="bibr" rid="scirp.125768-ref1">1</xref>] ). Throughout, S is a commutative semigroup with 0. Recall that for a commutative semigroup (or a commutative ring) S with 0, the zero-divisor graph Γ ( S ) is an undirected graph whose vertices are the zero-divisors of S \ { 0 } , and with two vertices a , b adjacent in case a b = 0 ( [<xref ref-type="bibr" rid="scirp.125768-ref2">2</xref>] - [<xref ref-type="bibr" rid="scirp.125768-ref6">6</xref>] ). If G ≅ Γ ( S ) for some semigroup S with zero element 0, then G is called a semigroup graph.</p><p>Some fundamental properties and possible algebraic structures of S and graphic structures of Γ ( S ) were established in [<xref ref-type="bibr" rid="scirp.125768-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.125768-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.125768-ref5">5</xref>] among others. For example, it was proved that Γ ( S ) is always connected, and the diameter of Γ ( S ) is less than or equal to 3. If Γ ( S ) contains a cycle, then its core, i.e., the union of the cycles in Γ ( S ) , is a union of squares and triangles, and any vertex not in the core is an end vertex which is connected to the core by a single edge. In [<xref ref-type="bibr" rid="scirp.125768-ref7">7</xref>] - [<xref ref-type="bibr" rid="scirp.125768-ref11">11</xref>] , the authors continued the study on the sub-semigroup structure and ideal structure of semigroups. Therefore, studying the interplay between the algebraric structures of S and the graph theoretic structures of G = Γ ( S ) is still a fun problem.</p><p>For any adjacent vertices a , b in V ( G ) , denote C ( a , b ) = { x ∈ V ( G ) | N ( x ) = { a , b } } and let T a denote the set of all end vertices adjacent to a. In [<xref ref-type="bibr" rid="scirp.125768-ref12">12</xref>] , we discuss the properties of Γ ( S ) satisfies condition ( K p ), here we assume p = 3 and consider the following Δ assumed on G = Γ ( S )</p><p>(Δ) There exist in G two adjacent vertices a , b , a vertex s ∈ C ( a , b ) and a vertex z such that d ( s , z ) = 3 .</p><p>In this paper, we study algebraic properties of semigroup S and the graphic structures of Γ ( S ) such that the condition (Δ) holds for Γ ( S ) . (We can further assume that triangles and rectangles coexist in the core K [ Γ ( S ) ] .) In particular, it is proved that S \ [ C ( a , b ) ∪ T a ∪ T b ] is an ideal of S. Under some additional conditions, it is proved that S \ C ( a , b ) may be an ideal or a sub-semigroup of S (Theorem 2.4). We also use Theorem 2.4 to construct some classes of semigroup graphs which satisfies the condition (Δ), and give a complete classification of such semigroup graphs in two cases.</p><p>We record a known result on finite semigroups to end this part (see e.g., [ [<xref ref-type="bibr" rid="scirp.125768-ref13">13</xref>] , Corollary 5.9 on page 25]). We also include a proof for the completeness.</p><p>Lemma 1.1. Any finite nonempty semigroup S contains an idempotent element.</p><p>Proof. Take any element x from S and consider the sequence x , x 2 , x 3 , ⋯ . Since S is a finite set, there exist m &lt; n such that x m = x n . Let r = n − m , and take k such that k r ≥ m . Then</p><p>x k r = x m ⋅ x k r − m = ( x r ⋅ x m ) x k r − m = x r ⋅ x k r = x r ( x r x k r ) = ⋯ = ( x k r ) 2 .</p><p>□</p></sec><sec id="s2"><title>2. Properties of S</title><p>Note that, for any x ∈ S , A n n ( x ) = { y | x y = 0 , y ∈ S } , thus for any vertex x ∈ Γ ( S ) , N ( x ) ⊆ A n n ( x ) , and A n n ( x ) ⊆ N ( x ) &#175; ∪ { 0 } ,we have the following lemma.</p><p>Lemma 2.1. Let S be a commutative semigroup with 0, Γ ( S ) its zero-divisor graph. For any vertex x ∈ Γ ( S ) , if there exists a vertex y ∈ Γ ( S ) such that d ( x , y ) = 3 , then x 2 ≠ 0 in S.</p><p>Proof. As d ( x , y ) = 3 , there exist vertices a , z ∈ Γ ( S ) such that x − a − z − y , x z ≠ 0 and a y ≠ 0 . If x 2 = 0 , then x 2 z = 0 and thus x z ∈ A n n ( x ) . Clearly x z ∈ A n n ( y ) . Then x z ∈ A n n ( x ) ∩ A n n ( y ) = { 0 } , a contradiction. □</p><p>Part (1) of the following result is contained in [ [<xref ref-type="bibr" rid="scirp.125768-ref7">7</xref>] , Proposition 2.8]. Part (2) is contained in lemma 1.1 from [<xref ref-type="bibr" rid="scirp.125768-ref8">8</xref>] . And we prove it in a different way.</p><p>Proposition 2.2. Let G = Γ ( S ) be a zero-divisor graph of a semigroup S. For a vertex b ∈ V ( G ) , let T b = { x ∈ V ( G ) | x b = 0, x ≠ b , d e g ( x ) = 1 } .</p><p>1) If b 2 ≠ 0 , then T b ∪ { 0 } is a sub-semigroup of S.</p><p>2) If b is not an end vertex and T b ≠ ∅ , then { 0, b } is an ideal of S.</p><p>Proof. (1) We only need consider as T b ≠ ∅ . If G contains no cycle, then G is either a two-star graph or a star graph by [ [<xref ref-type="bibr" rid="scirp.125768-ref8">8</xref>] , Theorem 1.3]. If G is a star graph, then T b = S \ { b ,0 } . For all x , y ∈ T b , we must have x y ≠ b , since otherwise 0 = x y b = b 2 ≠ 0 , a contradiction. This shows that T b ∪ { 0 } is a sub-semigroup of S when G is a star graph. If G is a two-star graph or a graph with cycles, then B ≠ ∅ where B = { x ∈ V ( G ) | d e g ( x ) ≥ 2, x b = 0 } . For all x ∈ T b , we have</p><p>x 2 ∈ A n n ( b ) = { 0 } ∪ T b ∪ B</p><p>If x 2 ∈ B , denote x 2 = v . Then there exists z ∈ S \ { b } such that z v = 0 . Since x 2 z = v z = 0 , we have x z ∈ A n n ( x ) = { 0, x , b } . Clearly, x z ≠ 0 . If x z = x , then v = x 2 = x 2 z = v z = 0 , a contradiction. If x z = b , then 0 = x z b = b 2 ≠ 0 , another contradiction. So we must have x 2 ∈ T b ∪ { 0 } . If | T b | ≥ 2 , then exists a vertex y ∈ T b such that x ≠ y . If x y ∈ B , denote x y = v . Then there exists z ∈ S \ { b } such that z v = 0 . As x y z = 0 , we have x z ∈ A n n ( y ) = { 0, y , b } and y z ∈ A n n ( x ) = { 0 , x , b } , and thus x z = y and y z = x . Then x 2 = x y z = v z = 0 . On the other hand, x y = x 2 z = 0 , a contradiction. So x y ∈ T b ∪ { 0 } , and hence T b ∪ { 0 } ≤ S .</p><p>(2) Since T b ≠ ∅ , there exists x ∈ T b such that b y ∈ A n n ( x ) = { 0 , b , x } for all y ∈ S . By assumption, b is not an end vertex and thus there exists z ∈ S \ { x } such that b z = 0 . Then b y ≠ x since otherwise, b y = x and it implies 0 = b z y = z x ≠ 0 , a contradiction. This completes the proof. □</p><p>Remark 2.3. In Proposition 2.2(1), the conclusion can not hold if b 2 = 0 .</p><p>For a vertex v of a graph G, if v is not an end vertex and there is no end vertex adjacent to v, then v is said to be an internal vertex. We now prove the main result of this section.</p><p>Theorem 2.4. Let G = Γ ( S ) be a semigroup graph satisfying condition (Δ). Then { 0, a , b } is an ideal of S, and S \ [ C ( a , b ) ∪ T a ∪ T b ] is an ideal of S. Furthermore,</p><p>1) If both a and b are internal vertices, then S \ C ( a , b ) is an ideal of S.</p><p>2) If a is an internal vertex, while b is not an internal vertex and b 2 ≠ 0 , then S \ C ( a , b ) is a sub-semigroup of S.</p><p>Proof. Fix some s ∈ C ( a , b ) and let B = { x | x ∈ S , x ∉ C ( a , b ) , d ( s , x ) = 2 } , L = { y | y ∈ S , d ( s , y ) = 3 } . By assumption L ≠ ∅ , C ( a , b ) ≠ ∅ , and T a ∪ T b ⊂ B . Notice that there is no end vertex in B \ ( T a ∪ T b ) . By [ [<xref ref-type="bibr" rid="scirp.125768-ref3">3</xref>] , Theorem 2.3] or by [ [<xref ref-type="bibr" rid="scirp.125768-ref5">5</xref>] , Theorem 1(2)], S = { 0, a , b } ∪ C ( a , b ) ∪ B ∪ L and it is a disjoint union of four nonempty subsets. By Lemma 2.1. we have c 2 ≠ 0 , ∀ c ∈ C ( a , b ) , and hence A n n ( c ) = { 0, a , b } . Clearly, a 2 ∈ A n n ( c ) , b 2 ∈ { 0, a , b } and</p><p>{ 0, a , b } ( B ∪ L ) ⊆ A n n ( c ) = { 0, a , b } .</p><p>This shows that { 0, a , b } is an ideal of S.</p><p>For any y in L, there exists a vertex x ∈ B such that x y = 0 . Then y S ⊆ A n n ( x ) while C ( a , b ) ∩ A n n ( x ) = ∅ . Hence L S ∩ C ( a , b ) = ∅ . Furthermore, for any s ∈ S , y s ∈ { 0, a , b } ∪ L ∪ B . If y s ∈ { 0, a , b } ∪ B , then it is clear that y s ∉ T a ∪ T b whether s y = x or not. Thus L S ∩ ( T a ∪ T b ) = ∅ , and hence</p><p>( C ( a , b ) ∪ T a ∪ T b ) ∩ L S = ∅ .</p><p>For any vertex x 1 in B \ ( T a ∪ T b ) , x 1 ∉ C ( a , b ) and it has degree greater than one. Hence for any x 1 ∈ B \ ( T a ∪ T b ) and any x 2 ∈ S , there exists a vertex u ∈ B ∪ L such that x 1 u = 0 . Then x 1 x 2 ∈ A n n ( u ) and it implies x 1 x 2 ∉ C ( a , b ) . Thus [ ( B \ ( T a ∪ T b ) ) S ] ∩ C ( a , b ) = ∅ . Finally, by [ [<xref ref-type="bibr" rid="scirp.125768-ref5">5</xref>] , Theorem 4], the core of G together with 0 forms an ideal of S. Thus these arguments show that S \ [ C ( a , b ) ∪ T a ∪ T b ] is an ideal of S.</p><p>1) If both a and b are internal vertices, then S \ C ( a , b ) = S \ [ C ( a , b ) ∪ T a ∪ T b ] . In this case, S \ C ( a , b ) is clearly an ideal of S.</p><p>2) Now assume that b is not an internal vertex, and b 2 ≠ 0 . Again let T b be the set of end vertices adjacent to b. By the above discussion, we already have ( [ { 0, a , b } ∪ L ∪ ( B \ T b ) ] S ) ∩ C ( a , b ) = ∅ . Since b 2 ≠ 0 , we have T b 2 ≤ T b ∪ { 0 } by Theorem 2.2(1). These facts show that S \ C ( a , b ) is a sub-semigroup of S, and it completes the proof. □</p><p>Remarks 2.5. In Theorem 2.4, if there is no z ∈ V ( G ) such that d ( s , z ) = 3 , then the theorem may not hold. An example is contained in Example 3.1.</p></sec><sec id="s3"><title>3. Some Examples and Complete Classifications of the Graphs in Two Cases</title><p>In this section, we use Theorem 2.4 to study the correspondence of zero-divisor semigroups and several classes of graphs satisfying the four necessary conditions of [ [<xref ref-type="bibr" rid="scirp.125768-ref5">5</xref>] , Theorem 1] as well as the general assumption of Theorem 2.4.</p><p>Example 3.1. Consider the graph G in <xref ref-type="fig" rid="fig1">Figure 1</xref>, where both U and V consist of end vertices. We claim that each graph in <xref ref-type="fig" rid="fig1">Figure 1</xref> is a semigroup graph.</p><p>In fact, first notice that d ( y i , V ) = 3 , C ( a , b ) = { y 1 , ⋯ , y m } , and C ( a , d ) = { x 1 , ⋯ , x n } . By Theorem 2.4, if G has a corresponding semigroup S = V ( G ) ∪ { 0 } , then the subset S \ ( { y 1 , ⋯ , y m } ∪ U ) must be an ideal of S. If further a 2 ≠ 0 , then S \ { y 1 , ⋯ , y m } is a sub-semigroup of S. Also by [ [<xref ref-type="bibr" rid="scirp.125768-ref7">7</xref>] , Theorem 2.1], S \ ( { y 1 , ⋯ , y m } ∪ U ∪ V ) is a sub-semigroup of S \ ( { y 1 , ⋯ , y m } ∪ U ) , and thus a sub-semigroup of S.</p><p>For m = 2 , n = 2 , U = { u } and V = { v , v &#175; } , it is not very hard to construct a semigroup T such that Γ ( T ) = G − { y 1 , y 2 } following the way mentioned above.</p><p>Then after a rather complicated calculation, we succeed in adding two vertices y 1 , y 2 to this table such that Γ ( S ) = G . The multiplication on S is listed in <xref ref-type="table" rid="table1">Table 1</xref> and the detailed verification for the associativity is omitted here:</p><p>Notice that S \ { x 1 , x 2 } is not a sub-semigroup of S since u v = x 1 . Notice also that S \ ( U ∪ { x 1 , x 2 , ⋯ , x n } ) is a sub-semigroup of S.</p><p>We remark that the construction in <xref ref-type="table" rid="table1">Table 1</xref> can be routinely extended for all n ≥ 1 , m ≥ 1 , | U | ≥ 0 and | V | ≥ 0 , where each of m , n , | U | , | V | could be a finite or an infinite cardinal number. In other words, each graph in <xref ref-type="fig" rid="fig1">Figure 1</xref> has a corresponding semigroup for any finite or infinite n ≥ 1 , m ≥ 1 , | U | ≥ 0 and | V | ≥ 0 .</p><p>Remark 3.2. Consider the graph G in <xref ref-type="fig" rid="fig1">Figure 1</xref> and assume that n ≥ 1 , m ≥ 1 , | U | ≥ 0 , | V | ≥ 1 .</p><p>1) If we add an end vertex w which is adjacent to b, then the resulting graph G &#175; has no corresponding zero-divisor semigroup, even if U = ∅ .</p><p>2) If we add a vertex w such that N ( w ) = { b , d } , then the resulting graph H has no corresponding zero-divisor semigroup, even if U = ∅ .</p><p>Proof. (1) Assume v ∈ V . We only need consider the case when U = ∅ . Suppose that G &#175; is the zero-divisor graph of a semigroup S with V [ Γ ( S ) ] = V ( G &#175; ) . By Proposition 2.2(2), we have b x 1 = b v = b and d y 1 = d w = d . Clearly, a w , a v ∈ A n n ( x 1 ) ∩ A n n ( y 1 ) = { a ,0 } , and thus a w = a and a v = a . As a w v = a v = a , we have w v ∈ [ A n n ( b ) ∩ A n n ( d ) ] \ A n n ( a ) . That means w v = a and a 2 ≠ 0 . We have y 1 w v = y 1 a = 0 and x 1 w v = x 1 a = 0 . Thus y 1 w = x 1 w = d and y 1 v = x 1 v = b by Lemma 2.1. Consider x 1 y 1 v . We have b = x 1 b = x 1 ( y 1 v ) = y 1 ( x 1 v ) = y 1 b = 0 , a contradiction. The contradiction shows that G &#175; has no corresponding semigroup.</p><p>(2) Assume v ∈ V . We only need consider the case U = ∅ . Suppose that H is the zero-divisor graph of a semigroup S. We have b S ⊆ A n n ( y ) ∩ A n n ( w ) ⊆ { 0, b } . Clearly,</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> The associative multiplication table of S in Example 3.1</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >&#183;</th><th align="center" valign="middle" >a</th><th align="center" valign="middle" >d</th><th align="center" valign="middle" >b</th><th align="center" valign="middle" >x<sub>1</sub></th><th align="center" valign="middle" >x<sub>2</sub></th><th align="center" valign="middle" >y<sub>1</sub></th><th align="center" valign="middle" >y<sub>2</sub></th><th align="center" valign="middle" >u</th><th align="center" valign="middle" >v</th><th align="center" valign="middle" >v &#175;</th></tr></thead><tr><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td></tr><tr><td align="center" valign="middle" >d</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td></tr><tr><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td></tr><tr><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >x<sub>2</sub></td></tr><tr><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td></tr><tr><td align="center" valign="middle" >y<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >y<sub>2</sub></td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td></tr><tr><td align="center" valign="middle" >u</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >y<sub>2</sub></td><td align="center" valign="middle" >u</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td></tr><tr><td align="center" valign="middle" >v</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >v</td><td align="center" valign="middle" >v</td></tr><tr><td align="center" valign="middle" >v &#175;</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >v</td><td align="center" valign="middle" >v</td></tr></tbody></table></table-wrap><p>w v ∈ [ A n n ( d ) ∩ A n n ( b ) ] \ A n n ( a ) ⊆ { a , w } since w v a = w a = a . If w v = a , then we have w v x 1 = a x 1 = 0 and w v y 1 = a y 1 = 0 , which means w x 1 , w y 1 ∈ A n n ( v ) ⊆ { 0, v , d } . As w x 1 , w y 1 ∈ A n n ( a ) \ { 0 } , we have w x 1 = w y 1 = d . Then 0 = d x 1 = w y 1 x 1 = y 1 d = d , a contradiction. Now assume w v = w and consider w x 1 . w x 1 ∈ A n n ( a ) ∩ A n n ( d ) ∩ A n n ( b ) ⊆ { 0, a , b , d } . We claim w x 1 ≠ d since otherwise, d = w x 1 = w v ⋅ x 1 = w x 1 ⋅ v = d v = 0 , a contradiction. In a similar way we prove w y 1 ∈ { a , b } . Moreover, w y 1 ⋅ x 1 = y 1 ⋅ w x 1 = 0 whether w x 1 = a or w x 1 = b . Thus w y 1 = a . As x 1 2 w = y 1 2 w = x 1 y 1 w = 0 , we have x 1 y 1 , x 1 2 , y 1 2 ∈ A n n ( a ) ∩ A n n ( w ) ⊆ { b , d ,0 } , but x 1 y 1 ≠ 0 . Now consider x 1 y 1 . We conclude x 1 y 1 = d since otherwise, x 1 y 1 = b and it implies b = b x 1 = x 1 y 1 x 1 = x 1 2 y 1 ≠ b , a contradiction. Finally, x 1 y 1 = d implies d = d y 1 = y 1 x 1 y 1 = x 1 y 1 2 ∈ { 0 , b } , a contradiction. This completes the proof.</p><p>□</p><p>Now come back to the structure of semigroup graphs G satisfying the main assumption in Theorem 2.4. We use notations used in its proof. The vertex set of the graph was decomposed into four mutually disjoint nonempty parts, i.e., V ( G ) = { a , b } ∪ C ( a , b ) ∪ B ∪ L , where after taking a c in C ( a , b )</p><p>B = { v ∈ V ( G ) | v ∉ C ( a , b ) , d ( c , v ) = 2 } , L = { v ∈ V ( G ) | d ( c , v ) = 3 } .</p><p>(For example, for the graph G in <xref ref-type="fig" rid="fig1">Figure 1</xref>, C ( a , b ) = { y j } , B = U ∪ { d } ∪ { x i } , L = V . In particular, L consists of end vertices.) By [ [<xref ref-type="bibr" rid="scirp.125768-ref5">5</xref>] , Theorem 1(4)], for each pair x , y of nonadjacent vertices of G, there is a vertex z with N ( x ) ∪ N ( y ) ⊆ N ( z ) &#175; . Then we have the following observations:</p><p>(1) No two vertices in L are adjacent in G. Thus a vertex of L is either an end vertex or is adjacent to at least two vertices in B. In particular, the subgraph induced on L is a completely discrete graph.</p><p>(2) A vertex in B is adjacent to either a or b. If a vertex k in B is adjacent to a vertex l in L, then k is adjacent to both a and b. Thus B consists of four parts: end vertices in T<sub>a</sub> that are adjacent to a, end vertices in T<sub>b</sub> that are adjacent to b, vertices in B<sub>2</sub> that are adjacent to both a and b, and vertices in B<sub>1</sub> that are adjacent to one of a , b and at the same time adjacent to another vertex in B. By Example 3.1, the structure of the induced subgraph on B 1 ∪ B 2 seems to be complicated. In the following, we will give a complete classification of the semigroup graphs G with | B 1 ∪ B 2 | ≤ 2 .</p><p>First, consider the case | B 1 ∪ B 2 | = 1 .</p><p>Theorem 3.3. Let G be a graph satisfying condition (Δ). Assume further that | B \ ( T a ∪ T b ) | = 1 . Then G is a semigroup graph if and only if the following conditions hold:</p><p>1) 1 ≤ | C ( a , b ) | ≤ ∞ , 1 ≤ | W | ≤ ∞ and W consists of end vertices, where W = { s ∈ V ( G ) | d ( c 1 , s ) = 3 } .</p><p>2) either T a = ∅ or T b = ∅ . (see <xref ref-type="fig" rid="fig2">Figure 2</xref> with V = ∅ .)</p><p>Proof. As | B \ ( T a ∪ T b ) | = 1 , B \ ( T a ∪ T b ) = B 2 . By the previous observations, we need only prove the following two facts.</p><p>1) If | T a | ≥ 0 and T b = ∅ , then G is a subgraph of <xref ref-type="fig" rid="fig1">Figure 1</xref> with C ( a , d ) = ∅ . (see also <xref ref-type="fig" rid="fig2">Figure 2</xref> with V = ∅ .) We claim that G is a semigroup graph. In fact, if U = ∅ , delete the three rows and the three columns involving x 1 , x 2 and u in <xref ref-type="table" rid="table1">Table 1</xref> to obtain an associative multiplication on S 1 = S \ ( U ∪ { x 1 , x 2 , ⋯ , x n } ) . Clearly, Γ ( S 1 ) = G for | C ( a , b ) | = 2 = | V | , | C ( a , d ) | = 0 = | U | in <xref ref-type="fig" rid="fig1">Figure 1</xref>. Also, the table can be extended for any finite or infinite | C ( a , b ) | ≥ 1 and | V | ≥ 0 while | U | = 0 . If | U | &gt; 0 , then we work out a corresponding associative multiplication table listed in <xref ref-type="table" rid="table2">Table 2</xref>, for C ( a , b ) = { y 1 , y 2 } , U = { u 1 , u 2 } , W = { v 1 , v 2 } in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>Clearly, the table can be extended for all finite or infinite | C ( a , b ) | ≥ 1 , | U | ≥ 1 and | V | ≥ 1 . This completes the proof. □</p><p>(2) If both | T a | &gt; 0 and | T b | &gt; 0 , then we conclude that G is not a semigroup graph.</p><p>In fact, in this case, G is a graph in <xref ref-type="fig" rid="fig2">Figure 2</xref>, where | W | ≥ 1 , | U | ≥ 1 , | V | ≥ 1 . Assume u ∈ U , v ∈ V , w ∈ W and c ∈ C ( a , b ) . We now proceed to prove that such a graph does not have a corresponding semigroup.</p><p>Suppose that G is the zero-divisor graph of a semigroup S with V [ Γ ( S ) ] = V ( G ) . By Proposition 2.2(2), we have d u = d v = d c 1 = d . Then u c 1 d = u d = d , which implies u c 1 ∈ [ A n n ( a ) ∩ A n n ( b ) ] \ A n n ( d ) ⊆ { c i , d } .</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> The associative multiplication table of S for |U| &gt; 0</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >&#183;</th><th align="center" valign="middle" >a</th><th align="center" valign="middle" >b</th><th align="center" valign="middle" >d</th><th align="center" valign="middle" >y<sub>1</sub></th><th align="center" valign="middle" >y<sub>2</sub></th><th align="center" valign="middle" >u<sub>1</sub></th><th align="center" valign="middle" >u<sub>2</sub></th><th align="center" valign="middle" >v<sub>1</sub></th><th align="center" valign="middle" >v<sub>2</sub></th></tr></thead><tr><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td></tr><tr><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td></tr><tr><td align="center" valign="middle" >d</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td></tr><tr><td align="center" valign="middle" >y<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td></tr><tr><td align="center" valign="middle" >u<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td></tr><tr><td align="center" valign="middle" >u<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >d</td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td></tr><tr><td align="center" valign="middle" >v<sub>1</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >v<sub>1</sub></td><td align="center" valign="middle" >v<sub>1</sub></td></tr><tr><td align="center" valign="middle" >v<sub>2</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >v<sub>1</sub></td><td align="center" valign="middle" >v<sub>1</sub></td></tr></tbody></table></table-wrap><p>Assume u c 1 = d . Then u c 1 w = d w = 0 , and thus c 1 w = a by Lemma 2.1. As c 1 w v = a v = a , we have w v ∈ [ A n n ( d ) ∩ A n n ( b ) ] \ A n n ( c 1 ) ⊆ { d } , thus w v = d . Then a = w v c 1 = d c 1 = d , a contradiction.</p><p>So u c 1 = c i , and therefore w u c 1 = w c i ≠ 0 . We have</p><p>w u ∈ [ A n n ( a ) ∩ A n n ( d ) ] \ A n n ( c 1 ) ⊆ { d } ,</p><p>and thus w u = d . Then b = b w = b u w = b d = 0 , a contradiction. This completes the proof. □</p><p>A natural question arising from Example 3.1 is if L only consists of end vertices. The following example shows this is not the case.</p><p>Example 3.4. Consider the graph G in <xref ref-type="fig" rid="fig3">Figure 3</xref>, where C ( a , b ) = { c 1 , c 2 , ⋯ , c m } , L = { y 1 , y 2 , ⋯ , y n } , B = { x 1 , x 2 } ∪ V ( m ≥ 1 , n ≥ 1 , | V | ≥ 0 ) and V consists of end vertices adjacent to b. Notice that each of m , n and | V | could be finite or infinite. We conclude that each graph in <xref ref-type="fig" rid="fig3">Figure 3</xref> has a corresponding zero-divisor semigroup.</p><p>Proof. We need only work out a corresponding associative multiplication table for | V | = m = n = 2 . We use Theorem 2.4 and list the associative multiplication in <xref ref-type="table" rid="table3">Table 3</xref>. Clearly, the table can be extended for all finite or infinite m , n ≥ 1 , and | V | ≥ 0 .</p><p>This completes the proof.</p><p>□</p><p>We have three remarks to Example 3.4.</p><p>(1) Let n ≥ 1, m ≥ 1 . If we add to G in <xref ref-type="fig" rid="fig3">Figure 3</xref> an end vertex u such that a u = 0 , then the resulting graph G &#175; has no corresponding zero-divisor semigroup.</p><p>Proof. (1) Suppose to the contrary that G &#175; is the zero-divisor graph of a semigroup P with V [ Γ ( P ) ] = V ( G &#175; ) . By Proposition 2.2(2), we have a 2 ∈ { 0, a } and b 2 ∈ { 0, b } . First, we have v 1 y 1 ∈ A n n ( b ) ∩ A n n ( x 1 ) ∩ A n n ( x 2 ) = { a , b ,0 } and similarly, u y 1 , c 1 y 1 ∈ { a , b } . Then v 1 y 1 = a and a 2 = a since</p><p>a v 1 y 1 = a y 1 = a . On the other hand, a u y 1 = 0 and it implies u y 1 = b . Similarly,</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> The associative multiplication table of S in Example 3.4</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >&#183;</th><th align="center" valign="middle" >a</th><th align="center" valign="middle" >b</th><th align="center" valign="middle" >c<sub>1</sub></th><th align="center" valign="middle" >c<sub>2</sub></th><th align="center" valign="middle" >v<sub>1</sub></th><th align="center" valign="middle" >v<sub>2</sub></th><th align="center" valign="middle" >x<sub>1</sub></th><th align="center" valign="middle" >x<sub>2</sub></th><th align="center" valign="middle" >y<sub>1</sub></th><th align="center" valign="middle" >y<sub>2</sub></th></tr></thead><tr><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td></tr><tr><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td></tr><tr><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td></tr><tr><td align="center" valign="middle" >c<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td></tr><tr><td align="center" valign="middle" >v<sub>1</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >v<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td></tr><tr><td align="center" valign="middle" >v<sub>2</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >v<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td></tr><tr><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >y<sub>1</sub></td></tr><tr><td align="center" valign="middle" >y<sub>2</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >y<sub>1</sub></td></tr></tbody></table></table-wrap><p>we have c 1 y 1 = b . Consider c 1 u y 1 . We have b = u b = u ( c 1 y 1 ) = c 1 ( u y 1 ) = c 1 b = 0 , a contradiction. This completes the proof. □</p><p>(2) Let n ≥ 1, m ≥ 1 . If we add to G in <xref ref-type="fig" rid="fig3">Figure 3</xref> an end vertex y such that y x 1 = 0 , then the resulting graph G &#175; has no corresponding zero-divisor semigroup, whether or not T b = ∅ .</p><p>Proof. (2) Assume { y 1 , y } ⊆ L , where y is an end vertex adjacent to x 1 . Suppose to the contrary that G &#175; is the zero-divisor graph of a semigroup P with V [ Γ ( P ) ] = V ( G &#175; ) . First, x 2 y ∈ A n n ( a ) ∩ A n n ( x 1 ) ∩ A n n ( y 1 ) = { x 1 , 0 } . Thus x 2 y = x 1 , and hence x 1 2 = 0 . By Proposition 2.2(2), we have c 1 x 1 = x 1 and therefore, c 1 2 x 1 = x 1 . Thus c 1 2 ∈ { c i , x 2 | i } . We have c 1 2 y 1 = 0 since c 1 y 1 ∈ A n n ( a ) ∩ A n n ( x 1 ) ∩ A n n ( x 2 ) = { a , b , 0 } . Since c 1 2 = x 2 , c 1 y ∈ { a , b , x 1 } and c 1 2 y = x 2 y = x 1 , it follows that c 1 y = x 1 . Finally, c 1 y y 1 = x 1 y 1 = 0 and by Lemma 2.1, we have c 1 y 1 = x 1 , contradicting c 1 y 1 ∈ { a , b } . This completes the proof.</p><p>□</p><p>(3) Let n ≥ 1, m ≥ 1 and assume V = ∅ in <xref ref-type="fig" rid="fig3">Figure 3</xref>. If further we add to G an edge connecting x 1 and x 2 , then the resulting graph G &#175; has no corresponding zero-divisor semigroup.</p><p>Proof. Suppose to the contrary that G &#175; is the zero-divisor graph of a semigroup P with V [ Γ ( P ) ] = V ( G &#175; ) . By Lemma 2.1, we have c 1 x 1 ∈ A n n ( y 1 ) = { x 1 , x 2 ,0 } and similarly, c 1 x 2 ∈ { x 1 , x 2 } . Then we have c 1 2 x 1 ≠ 0 and c 1 2 x 2 ≠ 0 , which means c 1 2 ∈ [ A n n ( a ) ∩ A n n ( b ) ] \ [ A n n ( x 1 ) ∪ A n n ( x 2 ) ] = { c i | i = 1 , 2 , ⋯ , m } since c 1 2 ≠ 0 by Lemma 2.1. Similarly, we have y 1 2 ∈ { y i | i = 1 , 2 , ⋯ , n } . Clearly, we have c 1 y 1 ∈ A n n ( a ) ∩ A n n ( x 1 ) ⊆ { a , b , x 1 , x 2 ,0 } . Then as c 1 2 y 1 = c i y 1 ≠ 0 for some i ∈ { 1,2, ⋯ , m } , we have c 1 y 1 ∈ { x 1 , x 2 } . Finally, 0 = ( c 1 y 1 ) y 1 = c 1 y 1 2 = c 1 y i ≠ 0 (for some i ∈ { 1,2, ⋯ , n } ), a contradiction. This completes the proof. □</p><p>Combining the above results, we now classify all semigroup graphs satisfying the main assumption of Theorem 2.4 with | B 1 ∪ B 2 | = 2 :</p><p>Theorem 3.5. Let G be a graph satisfying condition (Δ). Assume further | B \ ( T a ∪ T b ) | = 2 .</p><p>(1) If B 2 = B \ ( T a ∪ T b ) , then G is a semigroup graph if and only if G is a graph in <xref ref-type="fig" rid="fig3">Figure 3</xref>, where 1 ≤ m ≤ ∞ , 1 ≤ n ≤ ∞ and 0 ≤ | V | ≤ ∞ .</p><p>(2) If | B 2 | = 1 , then G is a semigroup graph if and only G is a graph in <xref ref-type="fig" rid="fig1">Figure 1</xref>, where n = 1 , 1 ≤ m ≤ ∞ 0 ≤ | V | ≤ ∞ , 0 ≤ | U | ≤ ∞ .</p><p>Proof. (1) By Example 3.4, each graph in <xref ref-type="fig" rid="fig3">Figure 3</xref> is a semigroup graph. Clearly, B 2 = B \ ( T a ∪ T b ) and it consists of two vertices. Conversely, the result follows from [ [<xref ref-type="bibr" rid="scirp.125768-ref7">7</xref>] , Theorem 2.1] and the three remarks after Example 3.4.</p><p>(2) If | B 2 | = 1 , then assume B \ ( T a ∪ T b ) = { x 1 , x 2 } , where a − x 2 − b . In this case, x 1 − x 2 in G. If x 1 − a in G, then there is no end vertex adjacent to x 1 . In this subcase, G is a semigroup graph if and only if T b = ∅ by Example 3.1 and Remark 3.2(1), the case of | C ( a , d ) | = 1 . The other subcase is x 1 − b in G, and it is the same with the above subcase. This completes the proof.</p><p>□</p><p>It is natural to ask the following question: Can one give a complete classification of semigroup graphs G = Γ ( S ) with | B 1 ∪ B 2 | = n for any n ≥ 3 ? At present, it seems to be a rather difficult question.</p><p>Add two end vertices to two vertices of the complete graph K<sub>n</sub> to obtain a new graph, and denote the new graph as K n + 2 . By [ [<xref ref-type="bibr" rid="scirp.125768-ref14">14</xref>] , Theorem 2.1], K n + 2 has a unique zero-divisor semigroup S such that Γ ( S ) ≅ K n + 2 for each n ≥ 4 . Having Theorem 2.4 in mind, it is natural to consider graphs obtained by adding some caps to K n + 2 .</p><p>Example 3.6. Consider the graph G in <xref ref-type="fig" rid="fig4">Figure 4</xref>. The subgraph G<sub>1</sub> induced on the vertex subset S * = { a , b , x 1 , x 2 , y 1 , y 2 } is the graph K 4 + 2 , i.e., K<sub>4</sub> together with two end vertices y 1 , y 2 . Then G<sub>1</sub> has a unique corresponding zero-divisor semigroup S = S * ∪ { 0 } by [ [<xref ref-type="bibr" rid="scirp.125768-ref15">15</xref>] , Theorem 2.1]. We can work out the corresponding associative multiplication table, and list it in <xref ref-type="table" rid="table4">Table 4</xref>.</p><p>(1) If we add to G<sub>1</sub> a vertex c such that N ( c ) = { a , b } , then the resulting graph H<sub>1</sub> has no corresponding zero-divisor semigroup.</p><p>(2) If we add to G<sub>1</sub> a vertex d such that N ( d ) = { a , x 1 } , then the resulting</p><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> The associative multiplication table of K<sub>4</sub> + 2</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >&#183;</th><th align="center" valign="middle" >a</th><th align="center" valign="middle" >b</th><th align="center" valign="middle" >x<sub>1</sub></th><th align="center" valign="middle" >x<sub>2</sub></th><th align="center" valign="middle" >y<sub>1</sub></th><th align="center" valign="middle" >y<sub>2</sub></th></tr></thead><tr><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td></tr><tr><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >x<sub>1</sub></td></tr><tr><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>1</sub></td></tr><tr><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >a</td></tr><tr><td align="center" valign="middle" >y<sub>2</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >y<sub>2</sub></td></tr></tbody></table></table-wrap><p>graph H<sub>2</sub> has no corresponding zero-divisor semigroup.</p><p>(3) If we add to G<sub>1</sub> vertices c i ( i ∈ I ) such that N ( c i ) = { x 1 , x 2 } , then the resulting graph H has corresponding zero-divisor semigroups, where I could be any finite or infinite index set.</p><p>In each of the above three cases, we say that a cap is added to the subgraph K 4 + 2 .</p><p>Proof. (1) Suppose that H<sub>1</sub> is the zero-divisor graph of a semigroup S<sub>1</sub> with V [ Γ ( S 1 ) ] = V ( H 1 ) . Then by Theorem 2.4, S is an ideal of S 1 = S ∪ { c } . Thus we only need check the associative multiplication of S<sub>1</sub> based on the table of S already given in <xref ref-type="table" rid="table4">Table 4</xref>. First, we have c x 2 = x 2 by Proposition 2.2(2). Consider y 1 b c . Clearly, 0 = 0 y 1 = ( c b ) y 1 = c ( b y 1 ) = c x 2 = x 2 , a contradiction. This completes the proof.</p><p>(2) Suppose that H<sub>2</sub> is the zero-divisor graph of a semigroup S 2 = S ∪ { d } with V [ Γ ( S 2 ) ] = V ( H 2 ) . If x 1 2 ≠ 0 , then by Theorem 2.4(2), S is a sub-semigroup of S<sub>2</sub>. Then Γ ( S ) = K 4 + 2 , and it implies x 1 2 = 0 by <xref ref-type="table" rid="table4">Table 4</xref>, a contradiction.</p><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> The associative multiplication table of K<sub>4</sub> + 2 with some caps on x<sub>1</sub>, x<sub>2</sub></title></caption><table><tbody><thead><tr><th align="center" valign="middle" >&#183;</th><th align="center" valign="middle" >a</th><th align="center" valign="middle" >b</th><th align="center" valign="middle" >x<sub>1</sub></th><th align="center" valign="middle" >x<sub>2</sub></th><th align="center" valign="middle" >y<sub>1</sub></th><th align="center" valign="middle" >y<sub>2</sub></th><th align="center" valign="middle" >c<sub>1</sub></th><th align="center" valign="middle" >c<sub>2</sub></th></tr></thead><tr><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >a</td></tr><tr><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >b</td></tr><tr><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >c<sub>1</sub></td></tr><tr><td align="center" valign="middle" >y<sub>2</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >y<sub>2</sub></td><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >c<sub>1</sub></td></tr><tr><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >c<sub>1</sub></td></tr><tr><td align="center" valign="middle" >c<sub>2</sub></td><td align="center" valign="middle" >a</td><td align="center" valign="middle" >b</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >c<sub>1</sub></td><td align="center" valign="middle" >c<sub>1</sub></td></tr></tbody></table></table-wrap><p>In the following we assume x 1 2 = 0 .</p><p>By Lemma 2.1, we have d 2 ≠ 0 , and thus a y 1 , a y 2 ∈ A n n ( d ) = { a , x 1 ,0 } . Clearly a y 1 ≠ 0 and we can have a y 2 = a . (Otherwise, a y 2 = x 1 and we have 0 = x 1 y 1 = a y 2 y 1 = ( a y 1 ) y 2 ≠ 0 , a contradiction.) Then a y 1 y 2 ≠ 0 , and thus y 1 y 2 ∈ [ A n n ( x 1 ) ∩ A n n ( x 2 ) ] \ A n n ( a ) . It means y 1 y 2 = a and a 2 ≠ 0 . Clearly b y 1 y 2 = 0 , and thus b y 1 = x 2 , b y 2 = x 1 by Lemma 2.1. Similarly, c y 1 y 2 = c a = 0 and thus c y 1 = x 2 , c y 2 = x 1 . Finally, consider b c y 1 . We have 0 = b x 2 = b ( c y 1 ) = c ( b y 1 ) = c x 2 = x 2 , a contradiction. This completes the proof.</p><p>(3) Suppose that H is the subgraph of G in <xref ref-type="fig" rid="fig4">Figure 4</xref> induced on the vertex set S * ∪ { c i | i ∈ I } . Assume that H is the zero-divisor graph of a semigroup P with V [ Γ ( P ) ] = V ( H ) . Clearly, it dose not satisfy the condition of Theorem 2.4. For | I | = 2 , we work out an associative multiplication table and list it in <xref ref-type="table" rid="table5">Table 5</xref>:</p><p>The table can be easily extended for any finite or infinite index set I. □</p><p>We remark that in Example 3.6, replace K<sub>4</sub> by K<sub>n</sub> for any n ≥ 5 , the results still hold. There exists no difficulty to generalize the proofs to the general cases. Thus we have proved the following general result.</p><p>Theorem 3.7. Assume n ≥ 4 and let G = K n + 2 be the complete graph K<sub>n</sub> together with two end vertices. Add some (finite or infinite) caps to the subgraph K<sub>n</sub> to obtain a new graph H such that G is a subgraph of H. Then H is a semigroup graph if and only if each of the gluing vertices is adjacent to an end vertex in G.</p></sec><sec id="s4"><title>Fund</title><p>This research is supported by the National Natural Science Foundation of China (Grant No.11201407, No.11271250.), Natural Science Foundation of Jiangsu Province (Grant No. BK2012245).</p></sec><sec id="s5"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s6"><title>Cite this paper</title><p>Chen, L. and Wu, T.S. (2023) On a Class of Semigroup Graphs. Advances in Pure Mathematics, 13, 303-315. https://doi.org/10.4236/apm.2023.136021</p></sec></body><back><ref-list><title>References</title><ref id="scirp.125768-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Buckley, F. and Lewinter, M. (2003) A Friendly Introduction to Graph Theory. Prentice-Hall, New York.</mixed-citation></ref><ref id="scirp.125768-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Beck, I. (1988) Coloring of Commutative Rings. Journal of Algebra, 116, 208-226. https://doi.org/10.1016/0021-8693(88)90202-5</mixed-citation></ref><ref id="scirp.125768-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Anderson, D.F. and Livingston, P.S. (1999) The Zero-Divisor Graph of a Commutative ring. Journal of Algebra, 217, 434-447. https://doi.org/10.1006/jabr.1998.7840</mixed-citation></ref><ref id="scirp.125768-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Anderson, D.F., Levy, R. and Shapiro, J. (2003) Zero-Divisor Graphs, von Neumann Regular Rings, and Boolean Algebras. Journal of Pure and Applied Algebra, 180, 221-241. https://doi.org/10.1016/S0022-4049(02)00250-5</mixed-citation></ref><ref id="scirp.125768-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">DeMeyer, F.R. and DeMeyer, L. (2005) Zero-Divisor Graphs of Semigroups. Journal of Algebra, 283, 190-198. https://doi.org/10.1016/j.jalgebra.2004.08.028</mixed-citation></ref><ref id="scirp.125768-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Chen, L. and Wu, T.S. (2010) Some Refinements of Star Graphs Whose Semigroup S Satisfies S3 = 0. Communications in Algebra, 38, 2499-2512. https://doi.org/10.1080/00927870903399885</mixed-citation></ref><ref id="scirp.125768-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Wu, T.S. and Lu, D.C. (2008) Sub-Semigroups Determined by the Zero-Divisor Graph. Discrete Mathematics, 308, 5122-5135. https://doi.org/10.1016/j.disc.2007.09.032</mixed-citation></ref><ref id="scirp.125768-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">DeMeyer, F.R., McKenzie, T. and Schneider, K. (2002) The Zero-Divisor Graph of a Commutative Semigroup. Semigroup Forum, 65, 206-214. https://doi.org/10.1007/s002330010128</mixed-citation></ref><ref id="scirp.125768-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Baziar, M., Momtahan, E. and Safaeeyan, S. (2014) Zero-Divisor Graph of Abelian Groups. Journal of Algebra and Its Applications, 13, Article ID: 1450007. https://doi.org/10.1142/S0219498814500078</mixed-citation></ref><ref id="scirp.125768-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Lu, D.C. and Wu, T.S. (2009) On Bipartite Zero-Divisor Graphs. Discrete Mathematics, 309, 755-762. https://doi.org/10.1016/j.disc.2008.01.044</mixed-citation></ref><ref id="scirp.125768-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Liu, Q. and Wu, T.S. (2011) Zero-Divisor Graphs Whose Cores Contain No Rectangles. Algebra Colloquium, 18, 675-684. https://doi.org/10.1142/S1005386711000526</mixed-citation></ref><ref id="scirp.125768-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Chen, L. and Wu, T.S. (2011) On Rings R Whose Graphs Γ(R) Satisfy Condition (Kp). Journal of Algebra and Its Applications, 10, 665-674. https://doi.org/10.1142/S0219498811004835</mixed-citation></ref><ref id="scirp.125768-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Grillet, P.A. (2001) Commutative Semigroups. Kluwer Academic Publishers, Dordrecht. https://doi.org/10.1007/978-1-4757-3389-1</mixed-citation></ref><ref id="scirp.125768-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Wu, T.S. and Chen, L. (2009) Simple Graphs and Commutative Zero-Divisor Semigroups. Algebra Colloquium, 16, 211-218. https://doi.org/10.1142/S1005386709000212</mixed-citation></ref><ref id="scirp.125768-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Wu, T.S. and Lu, D.C. (2006) Zero-Divisor Semigroups and Some Simple Graphs. Communications in Algebra, 34, 3043-3052. https://doi.org/10.1080/00927870600639948</mixed-citation></ref></ref-list></back></article>