0 - Magma, Semigroups, Monoids, Groups




magma

A set S with a map S×SS is called a magma. The map is called a binary operator (or just operator), and for (x,y)S×S, we write (x,y) as xy , and often shorten it to just xy. Note that xy is called the product of x and y.

A binary operator of a magma is associative if x(yz)=(xy)z. In this case we can use induction to show that the product of n elements can simply be written x1x2,xn , and any parenthesizing of this product is equivalent.

A binary operator of a magma is commutative if xy=yx. It is customary to use additive notation in such cases, that is we often denote (x,y) as x+y, when is commutative.

identity element

let S be a magma. an element eS is called the identity element (or just identity) if for every sS, se=es=s. Note that the identity of a magma is unique. Otherwise, suppose e is also an identity of S, then ee=e=e.

Semigroup

A semigroup S is a magma whose operator is associative.

Monoid

A monoid S is a semigroup with a (unqiue) identity.

Group

A monoid G where each element gG has an inverse g1G such that gg1=g1g=e is a group. A group is abelian if it's operator is commutative.


The inverse of an element in a group is unique

Let G be a group, then for each gG, there is a unique g1G such that gg1=g1g=e.

\begin{proof}
Suppose both g1,g1 are inverses of an arbitrary element gG. Then, e=gg1 multiplying g1 on boh sides, we get g1e=(g1g)g1. Therefore, g1=g1.

\end{proof}


The unique property of the identity of a group

let G be a group, then the identity eG is the only element in G such that e2=e

\begin{proof}
Suppose for some gG, we have that gg=g. Then, multiplying by g1 on both sides, we have g=e.

\end{proof}


A one way condition to guarantee abelian groups

let G be a group, such that for each gG, g2=e, then G is abelian.

\begin{proof}
let x,y be arbitrary elements in G. Then, xyG.
Hence there is a unique (xy)1G, such that (xy)(xy)1=e. Using the algebraic properties of groups, it is not hard to see that (xy)1=y1x1. However, its given to us that (xy)(xy)=e. which means that (xy)=(xy)1 (they are "both" the unique inverse elements of xy). Equivalently, xy=y1x1. Again, in G, xx=e=yy. Hence, x=x1 and y=y1. Therefore, xy=yx, hence G is abelian.

To show that this condition is only one way, consider the group of integers with addition as the operator, Z,+. This group is abelian, however, it is not true that x+x=0 for each xZ.

\end{proof}


A semigroup with left identity and left inverses is a group

let G be a semigroup, such that there exists eG such that eg=g for all gG, and for each gG, there exists g1G such that g1g=e. Then G is a group.

\begin{proof}
we play some algebraic tricks here:
Let gG, then eg=g. Consider the equation ge=ege. Notice that g1g=e=g11g1 (every element has a left inverse). Now, ge=(g11g1) (g) (g1g). Hence, upon simplifying, we have ge=g. Hence e is also a right identity, therefore, e is the identity.
Similarly, gg1=egg1. Hence, gg1=(g11g1)gg1. Upon simplifying, we have gg1=e. Therefore g1 is also the right inverse and hence the inverse of g.

\end{proof}


A semigroup with right identity and right inverses is a group

Proof Outline

Give a proof, symmetrical to the proof of [[#^e5f52d]]


A finite semigroup with two sided cancellation law is a group

Let G be a finite semigroup, |G|=n , such that ab=ac implies b=c and ba=ca implies b=c. Then G is a group.

\begin{proof} for an arbitrary element gG, consider the map GfgG, given by fg(x)=gx for all xG. This map is injective, as gx1=gx2 implies x1=x2. Hence, each xG goes to a unique gxG. therefore, the image of G under fg has exactly n elements, Hence fg(G)=G, therefore, the map is bijective. hence, there exists a unqiue eG such that fg(e)=g that is ge=g. Now consider an arbitrary element hG. notice that gh=(ge)h. Hence h=eh. therefore e is the left identity. moreover, hg=h(eg) (e is the left identity) Hence, h=he therefore, e is also the right identity. Now, for an arbitrary element g the map fg as described above is bijective, so there is a unique g1 such that fg(g1)=e. Equivalently every element g has a unique right inverse g1 such that gg1=e. We finish the proof by applying [[#^c54aa6]].

\end{proof}


Product of groups:
The direct product of groups

Let G1,G2,Gn be a collection of groups. Then, the set i=1nGi with the product of two tuples g=(g1,g2,gn) and h=(h1,h2,hn), where gi,hiGi. Is given by gh=(g1h1,g2h2,gnhn) is called the direct product of a collection of groups.

The direct product of a collection of groups, is a group

\begin{proof} (outline)

Associativity of the product defined above, follows directly from the associativity of the products of each group Gi. The tuple of identity elements from each group e=(e1,e2,en) acts as the identity element, and for the arbitrary element g=(g1,g2,gn), the inverse element is given by g1=(g11,g21,gn1).
\end{proof}