What is an example of a groupoid which is not a semigroup?











up vote
3
down vote

favorite












I know that groupoid refers to an algebraic structure with a binary operation. The only necessary condition is closure.



However, I couldn't find any easy-to-understand example of a groupoid which is not a semigroup. I did come across some examples of (certain type of) matrices but then matrix multiplication is always associative (thus making it a semi-group).



So, could someone please provide me an example of a groupoid which isn't a semigroup?










share|cite|improve this question




















  • 2




    You should be careful with the word "groupoid". In the 60s some people used this word to refer to "sets with a binary operation" (possibly non-associative), but these are now called magmas. Groupoids, on the other hand, are sets (or classes) with a partially defined binary operation satisfying group-like properties.
    – Luiz Cordeiro
    May 19 at 17:50










  • @LuizCordeiro Thanks. I didn't know that. However, I guess in the context of this question: "Give an example of a groupoid which is not a semigroup." I think they mean "magma" by "groupoid"?
    – user563280
    May 19 at 17:57










  • Yes, since you're looking for an example of a non-associative binary operation, you're looking for a magma which isn't a semigroup.
    – Luiz Cordeiro
    May 19 at 18:01















up vote
3
down vote

favorite












I know that groupoid refers to an algebraic structure with a binary operation. The only necessary condition is closure.



However, I couldn't find any easy-to-understand example of a groupoid which is not a semigroup. I did come across some examples of (certain type of) matrices but then matrix multiplication is always associative (thus making it a semi-group).



So, could someone please provide me an example of a groupoid which isn't a semigroup?










share|cite|improve this question




















  • 2




    You should be careful with the word "groupoid". In the 60s some people used this word to refer to "sets with a binary operation" (possibly non-associative), but these are now called magmas. Groupoids, on the other hand, are sets (or classes) with a partially defined binary operation satisfying group-like properties.
    – Luiz Cordeiro
    May 19 at 17:50










  • @LuizCordeiro Thanks. I didn't know that. However, I guess in the context of this question: "Give an example of a groupoid which is not a semigroup." I think they mean "magma" by "groupoid"?
    – user563280
    May 19 at 17:57










  • Yes, since you're looking for an example of a non-associative binary operation, you're looking for a magma which isn't a semigroup.
    – Luiz Cordeiro
    May 19 at 18:01













up vote
3
down vote

favorite









up vote
3
down vote

favorite











I know that groupoid refers to an algebraic structure with a binary operation. The only necessary condition is closure.



However, I couldn't find any easy-to-understand example of a groupoid which is not a semigroup. I did come across some examples of (certain type of) matrices but then matrix multiplication is always associative (thus making it a semi-group).



So, could someone please provide me an example of a groupoid which isn't a semigroup?










share|cite|improve this question















I know that groupoid refers to an algebraic structure with a binary operation. The only necessary condition is closure.



However, I couldn't find any easy-to-understand example of a groupoid which is not a semigroup. I did come across some examples of (certain type of) matrices but then matrix multiplication is always associative (thus making it a semi-group).



So, could someone please provide me an example of a groupoid which isn't a semigroup?







abstract-algebra semigroups magma






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 21 at 14:37









Arnaud D.

15.6k52343




15.6k52343










asked May 19 at 17:42







user563280















  • 2




    You should be careful with the word "groupoid". In the 60s some people used this word to refer to "sets with a binary operation" (possibly non-associative), but these are now called magmas. Groupoids, on the other hand, are sets (or classes) with a partially defined binary operation satisfying group-like properties.
    – Luiz Cordeiro
    May 19 at 17:50










  • @LuizCordeiro Thanks. I didn't know that. However, I guess in the context of this question: "Give an example of a groupoid which is not a semigroup." I think they mean "magma" by "groupoid"?
    – user563280
    May 19 at 17:57










  • Yes, since you're looking for an example of a non-associative binary operation, you're looking for a magma which isn't a semigroup.
    – Luiz Cordeiro
    May 19 at 18:01














  • 2




    You should be careful with the word "groupoid". In the 60s some people used this word to refer to "sets with a binary operation" (possibly non-associative), but these are now called magmas. Groupoids, on the other hand, are sets (or classes) with a partially defined binary operation satisfying group-like properties.
    – Luiz Cordeiro
    May 19 at 17:50










  • @LuizCordeiro Thanks. I didn't know that. However, I guess in the context of this question: "Give an example of a groupoid which is not a semigroup." I think they mean "magma" by "groupoid"?
    – user563280
    May 19 at 17:57










  • Yes, since you're looking for an example of a non-associative binary operation, you're looking for a magma which isn't a semigroup.
    – Luiz Cordeiro
    May 19 at 18:01








2




2




You should be careful with the word "groupoid". In the 60s some people used this word to refer to "sets with a binary operation" (possibly non-associative), but these are now called magmas. Groupoids, on the other hand, are sets (or classes) with a partially defined binary operation satisfying group-like properties.
– Luiz Cordeiro
May 19 at 17:50




You should be careful with the word "groupoid". In the 60s some people used this word to refer to "sets with a binary operation" (possibly non-associative), but these are now called magmas. Groupoids, on the other hand, are sets (or classes) with a partially defined binary operation satisfying group-like properties.
– Luiz Cordeiro
May 19 at 17:50












@LuizCordeiro Thanks. I didn't know that. However, I guess in the context of this question: "Give an example of a groupoid which is not a semigroup." I think they mean "magma" by "groupoid"?
– user563280
May 19 at 17:57




@LuizCordeiro Thanks. I didn't know that. However, I guess in the context of this question: "Give an example of a groupoid which is not a semigroup." I think they mean "magma" by "groupoid"?
– user563280
May 19 at 17:57












Yes, since you're looking for an example of a non-associative binary operation, you're looking for a magma which isn't a semigroup.
– Luiz Cordeiro
May 19 at 18:01




Yes, since you're looking for an example of a non-associative binary operation, you're looking for a magma which isn't a semigroup.
– Luiz Cordeiro
May 19 at 18:01










5 Answers
5






active

oldest

votes

















up vote
5
down vote













These are called magmas, not groupoids.



The ``midpoint'' operation $sast t=frac{s+t}{2}$ on $mathbb{R}$ makes it a magma which is not a semigroup.






share|cite|improve this answer





















  • s*t = s-t => Is also a groupoid but not a semi-group. I learned that these are being called magmas now. Thanks!
    – router
    yesterday




















up vote
2
down vote













Here's three different examples.




  1. Take an abelian group $(A,+)$ and define a new binary operation $circ$ on $A$ by $xcirc y=x+(-y)$. This is an example of a quasigroup.


  2. Take a group $(G,cdot)$ and define a new binary operation $triangleleft$ on $G$ by $xtriangleleft y=xcdot y cdot x^{-1}$. This is an example of a quandle.


  3. Take a digraph $(V,A)$ with the property that for any two distinct vertices $v,win V$, exactly one of the arcs $vw$ or $wv$ is in $A$. Define a commutative binary operation $cdot$ on $V$ by $vcdot v=v$ and $vcdot w=w$ if and only if $vwin A$. This is an example of a tournament.



A quasigroup is associative if and only if it is a group, a quandle is associative if and only if it is trivial, and a tournament is associative if and only if it is a commutative idempotent semigroup (aka a semilattice).






share|cite|improve this answer




























    up vote
    0
    down vote













    Let $a,b,c$ be distinct members of a three element set and $ab=c=cc $, $bc=a=aa$ and define $ac, bb $ however you like (but in ${a,b,c}$.) You have a nonassociative binary operation.






    share|cite|improve this answer




























      up vote
      0
      down vote













      Let ${a,b}$ be a set with two distinct elements.



      Define a partial multiplication by $atimes a=a$ and $btimes b=b$ and nothing more (so $atimes b$ and $btimes a$ are not defined).



      Then ${a,b}$ equipped with this multiplication is a groupoid, but not a semigroup.



      I suspect you use another definition of groupoid. If it is what I would call a magma then see the other answers.






      share|cite|improve this answer




























        up vote
        0
        down vote













        First, the term 'groupoid' recently rather means primarily a category with invertible arrows, and the term 'magma' is arising for an algebraic structure with a binary operation.



        For a familiar example, consider $Bbb Z$ (or almost any Abelian group) with the subtraction.



        Or, define $a*b:=a+b+1$ (or whatever..)



        Other examples arise e.g. from finite quasigroups whose multiplication table is a latin square: having each element once in every row and in every column.






        share|cite|improve this answer





















          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "69"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2787720%2fwhat-is-an-example-of-a-groupoid-which-is-not-a-semigroup%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown
























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          5
          down vote













          These are called magmas, not groupoids.



          The ``midpoint'' operation $sast t=frac{s+t}{2}$ on $mathbb{R}$ makes it a magma which is not a semigroup.






          share|cite|improve this answer





















          • s*t = s-t => Is also a groupoid but not a semi-group. I learned that these are being called magmas now. Thanks!
            – router
            yesterday

















          up vote
          5
          down vote













          These are called magmas, not groupoids.



          The ``midpoint'' operation $sast t=frac{s+t}{2}$ on $mathbb{R}$ makes it a magma which is not a semigroup.






          share|cite|improve this answer





















          • s*t = s-t => Is also a groupoid but not a semi-group. I learned that these are being called magmas now. Thanks!
            – router
            yesterday















          up vote
          5
          down vote










          up vote
          5
          down vote









          These are called magmas, not groupoids.



          The ``midpoint'' operation $sast t=frac{s+t}{2}$ on $mathbb{R}$ makes it a magma which is not a semigroup.






          share|cite|improve this answer












          These are called magmas, not groupoids.



          The ``midpoint'' operation $sast t=frac{s+t}{2}$ on $mathbb{R}$ makes it a magma which is not a semigroup.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered May 19 at 17:55









          Luiz Cordeiro

          12.5k1143




          12.5k1143












          • s*t = s-t => Is also a groupoid but not a semi-group. I learned that these are being called magmas now. Thanks!
            – router
            yesterday




















          • s*t = s-t => Is also a groupoid but not a semi-group. I learned that these are being called magmas now. Thanks!
            – router
            yesterday


















          s*t = s-t => Is also a groupoid but not a semi-group. I learned that these are being called magmas now. Thanks!
          – router
          yesterday






          s*t = s-t => Is also a groupoid but not a semi-group. I learned that these are being called magmas now. Thanks!
          – router
          yesterday












          up vote
          2
          down vote













          Here's three different examples.




          1. Take an abelian group $(A,+)$ and define a new binary operation $circ$ on $A$ by $xcirc y=x+(-y)$. This is an example of a quasigroup.


          2. Take a group $(G,cdot)$ and define a new binary operation $triangleleft$ on $G$ by $xtriangleleft y=xcdot y cdot x^{-1}$. This is an example of a quandle.


          3. Take a digraph $(V,A)$ with the property that for any two distinct vertices $v,win V$, exactly one of the arcs $vw$ or $wv$ is in $A$. Define a commutative binary operation $cdot$ on $V$ by $vcdot v=v$ and $vcdot w=w$ if and only if $vwin A$. This is an example of a tournament.



          A quasigroup is associative if and only if it is a group, a quandle is associative if and only if it is trivial, and a tournament is associative if and only if it is a commutative idempotent semigroup (aka a semilattice).






          share|cite|improve this answer

























            up vote
            2
            down vote













            Here's three different examples.




            1. Take an abelian group $(A,+)$ and define a new binary operation $circ$ on $A$ by $xcirc y=x+(-y)$. This is an example of a quasigroup.


            2. Take a group $(G,cdot)$ and define a new binary operation $triangleleft$ on $G$ by $xtriangleleft y=xcdot y cdot x^{-1}$. This is an example of a quandle.


            3. Take a digraph $(V,A)$ with the property that for any two distinct vertices $v,win V$, exactly one of the arcs $vw$ or $wv$ is in $A$. Define a commutative binary operation $cdot$ on $V$ by $vcdot v=v$ and $vcdot w=w$ if and only if $vwin A$. This is an example of a tournament.



            A quasigroup is associative if and only if it is a group, a quandle is associative if and only if it is trivial, and a tournament is associative if and only if it is a commutative idempotent semigroup (aka a semilattice).






            share|cite|improve this answer























              up vote
              2
              down vote










              up vote
              2
              down vote









              Here's three different examples.




              1. Take an abelian group $(A,+)$ and define a new binary operation $circ$ on $A$ by $xcirc y=x+(-y)$. This is an example of a quasigroup.


              2. Take a group $(G,cdot)$ and define a new binary operation $triangleleft$ on $G$ by $xtriangleleft y=xcdot y cdot x^{-1}$. This is an example of a quandle.


              3. Take a digraph $(V,A)$ with the property that for any two distinct vertices $v,win V$, exactly one of the arcs $vw$ or $wv$ is in $A$. Define a commutative binary operation $cdot$ on $V$ by $vcdot v=v$ and $vcdot w=w$ if and only if $vwin A$. This is an example of a tournament.



              A quasigroup is associative if and only if it is a group, a quandle is associative if and only if it is trivial, and a tournament is associative if and only if it is a commutative idempotent semigroup (aka a semilattice).






              share|cite|improve this answer












              Here's three different examples.




              1. Take an abelian group $(A,+)$ and define a new binary operation $circ$ on $A$ by $xcirc y=x+(-y)$. This is an example of a quasigroup.


              2. Take a group $(G,cdot)$ and define a new binary operation $triangleleft$ on $G$ by $xtriangleleft y=xcdot y cdot x^{-1}$. This is an example of a quandle.


              3. Take a digraph $(V,A)$ with the property that for any two distinct vertices $v,win V$, exactly one of the arcs $vw$ or $wv$ is in $A$. Define a commutative binary operation $cdot$ on $V$ by $vcdot v=v$ and $vcdot w=w$ if and only if $vwin A$. This is an example of a tournament.



              A quasigroup is associative if and only if it is a group, a quandle is associative if and only if it is trivial, and a tournament is associative if and only if it is a commutative idempotent semigroup (aka a semilattice).







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered May 20 at 1:32









              Eran

              1,178818




              1,178818






















                  up vote
                  0
                  down vote













                  Let $a,b,c$ be distinct members of a three element set and $ab=c=cc $, $bc=a=aa$ and define $ac, bb $ however you like (but in ${a,b,c}$.) You have a nonassociative binary operation.






                  share|cite|improve this answer

























                    up vote
                    0
                    down vote













                    Let $a,b,c$ be distinct members of a three element set and $ab=c=cc $, $bc=a=aa$ and define $ac, bb $ however you like (but in ${a,b,c}$.) You have a nonassociative binary operation.






                    share|cite|improve this answer























                      up vote
                      0
                      down vote










                      up vote
                      0
                      down vote









                      Let $a,b,c$ be distinct members of a three element set and $ab=c=cc $, $bc=a=aa$ and define $ac, bb $ however you like (but in ${a,b,c}$.) You have a nonassociative binary operation.






                      share|cite|improve this answer












                      Let $a,b,c$ be distinct members of a three element set and $ab=c=cc $, $bc=a=aa$ and define $ac, bb $ however you like (but in ${a,b,c}$.) You have a nonassociative binary operation.







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered May 19 at 17:54









                      rschwieb

                      104k1299241




                      104k1299241






















                          up vote
                          0
                          down vote













                          Let ${a,b}$ be a set with two distinct elements.



                          Define a partial multiplication by $atimes a=a$ and $btimes b=b$ and nothing more (so $atimes b$ and $btimes a$ are not defined).



                          Then ${a,b}$ equipped with this multiplication is a groupoid, but not a semigroup.



                          I suspect you use another definition of groupoid. If it is what I would call a magma then see the other answers.






                          share|cite|improve this answer

























                            up vote
                            0
                            down vote













                            Let ${a,b}$ be a set with two distinct elements.



                            Define a partial multiplication by $atimes a=a$ and $btimes b=b$ and nothing more (so $atimes b$ and $btimes a$ are not defined).



                            Then ${a,b}$ equipped with this multiplication is a groupoid, but not a semigroup.



                            I suspect you use another definition of groupoid. If it is what I would call a magma then see the other answers.






                            share|cite|improve this answer























                              up vote
                              0
                              down vote










                              up vote
                              0
                              down vote









                              Let ${a,b}$ be a set with two distinct elements.



                              Define a partial multiplication by $atimes a=a$ and $btimes b=b$ and nothing more (so $atimes b$ and $btimes a$ are not defined).



                              Then ${a,b}$ equipped with this multiplication is a groupoid, but not a semigroup.



                              I suspect you use another definition of groupoid. If it is what I would call a magma then see the other answers.






                              share|cite|improve this answer












                              Let ${a,b}$ be a set with two distinct elements.



                              Define a partial multiplication by $atimes a=a$ and $btimes b=b$ and nothing more (so $atimes b$ and $btimes a$ are not defined).



                              Then ${a,b}$ equipped with this multiplication is a groupoid, but not a semigroup.



                              I suspect you use another definition of groupoid. If it is what I would call a magma then see the other answers.







                              share|cite|improve this answer












                              share|cite|improve this answer



                              share|cite|improve this answer










                              answered May 19 at 17:56









                              Vera

                              2,467617




                              2,467617






















                                  up vote
                                  0
                                  down vote













                                  First, the term 'groupoid' recently rather means primarily a category with invertible arrows, and the term 'magma' is arising for an algebraic structure with a binary operation.



                                  For a familiar example, consider $Bbb Z$ (or almost any Abelian group) with the subtraction.



                                  Or, define $a*b:=a+b+1$ (or whatever..)



                                  Other examples arise e.g. from finite quasigroups whose multiplication table is a latin square: having each element once in every row and in every column.






                                  share|cite|improve this answer

























                                    up vote
                                    0
                                    down vote













                                    First, the term 'groupoid' recently rather means primarily a category with invertible arrows, and the term 'magma' is arising for an algebraic structure with a binary operation.



                                    For a familiar example, consider $Bbb Z$ (or almost any Abelian group) with the subtraction.



                                    Or, define $a*b:=a+b+1$ (or whatever..)



                                    Other examples arise e.g. from finite quasigroups whose multiplication table is a latin square: having each element once in every row and in every column.






                                    share|cite|improve this answer























                                      up vote
                                      0
                                      down vote










                                      up vote
                                      0
                                      down vote









                                      First, the term 'groupoid' recently rather means primarily a category with invertible arrows, and the term 'magma' is arising for an algebraic structure with a binary operation.



                                      For a familiar example, consider $Bbb Z$ (or almost any Abelian group) with the subtraction.



                                      Or, define $a*b:=a+b+1$ (or whatever..)



                                      Other examples arise e.g. from finite quasigroups whose multiplication table is a latin square: having each element once in every row and in every column.






                                      share|cite|improve this answer












                                      First, the term 'groupoid' recently rather means primarily a category with invertible arrows, and the term 'magma' is arising for an algebraic structure with a binary operation.



                                      For a familiar example, consider $Bbb Z$ (or almost any Abelian group) with the subtraction.



                                      Or, define $a*b:=a+b+1$ (or whatever..)



                                      Other examples arise e.g. from finite quasigroups whose multiplication table is a latin square: having each element once in every row and in every column.







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered May 19 at 17:58









                                      Berci

                                      59.4k23672




                                      59.4k23672






























                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Mathematics Stack Exchange!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          Use MathJax to format equations. MathJax reference.


                                          To learn more, see our tips on writing great answers.





                                          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                          Please pay close attention to the following guidance:


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2787720%2fwhat-is-an-example-of-a-groupoid-which-is-not-a-semigroup%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          Plaza Victoria

                                          Brian Clough

                                          Cáceres