a * a * b * a * b = a * (a * b) * a * b = a * (b * a) * a * b = (a * b) * a * a * b = b * a * a * a * b.
Suppose M is such a monoid. For all x,y in M we have
Hence
In particular, M is commutative.
We define multiplication on
S
{e} as follows:
For all x, y in S we define x * y to be the product of x and y as in S. Furthermore, as e should be the identity, we define x * e = e * x = x. Finally e * e is defined to be e.
To check associativity, distinguish various cases. For instance, if a, b, c are all in S, then (a * b) * c = a * (b * c), since associativity already holds in S. If a = e and b, c are in S, then we get (e * b) * c = b * c and e * (b * c) = b * c by the definition of multiplication with e. Remaining cases are verified in a similar way.
If S contains already a unit element e', then this
element will not be a unit anymore in (S
{e},*,e).
Indeed e' * e = e and not e'.
The monoid (Z/2Z, ·, 1) is the extension of the semigroup (0+2Z, ·).
Let M = (m(i,j)) be an n × n multiplication table for a binary operation on n elements. Spot i,j contains the product of the i-th and j-th element (in that order).
Let assoc = comm = TRUE.
do for i from 1 to n
do for j from 1 to n
if m(i,j) <> m(j,i)
then comm
= FALSE endif
do for k from 1 to n
if m(m(i,j),k)
<>
m(i,m(j,k))
then assoc = FALSE endif
enddo
enddo
enddo
Let (Mi, *i,ei) be a monoid (i = 1,2). Now consider the direct product M1 × M2. To prove that M1 × M2 is a monoid, we have to check that the multiplication * is associative and that (e1, e2) is an identity element.
Associativity:
Identity:
and
Let M = (Z/6Z,+) and consider the submonoids M1 = {0, 3} and M2 = {0, 2, 4}. The union of these submonoids is not a monoid since
is not contained in the union.
Since both S1 and S2
are closed under multiplication
so is their product. If (a1,a2),
(b1,b2)
S1 × S2,
then a1 *1 b1
S1 and
a2 *2 b2
S2, so that
S1 × S2.
Similarly, since S1 contains the unit element of M1 and S2 contains the unit element of M2, the product S1 × S2 contains the unit element of M1 × M2.
Any integral linear combination of the ai/bi is an integral multiple of 1/(b1 ··· bn). Hence it can never be equal to 1/p.
It follows that Q cannot be finitely generated.
Suppose f and g are elements of F. The map f *g: x -> f(x) * g(x) is also a map from X to M. So, F is closed under multiplication.
For all f, g, h in F and all x in X we have
and hence the operation is associative.
Let 1 be the constant map 1(x) = e. For all f in F and all x in X we have
and so 1 * f = f = f * 1.
Thus we have shown that this is indeed a monoid structure.
First note that c2
c (otherwise you easily derive that c2 =
c6). Since c2
e, we also find
c
e.
e.
Then c3
c,
since otherwise we square and find c6 = c2,
contradicting the assumption. If c3 = c2,
we find
again a contradiction. So c, c2, c3 are all distinct. In case c3 = c4, we find the monoid C3,1.
e.
In case c3
c4 and c4 = c5,
we find C4,1 (the case C1,3
is excluded, since it would lead to
c4
c8). In case c3
c4 and c4
c5, but c3 = c5,
we find C3,2 (again, the case C1,4
cannot occur, because it
would lead to c2 = c6).
Rewrite the indices using
cj = ck+((j - k) mod
n), i.e., if j
k + n and j - k = a mod n (with
0
< n), then
replace j by k + a. Here, the idea is that
upon writing j as k + (j - k) we replace the
term in brackets by a, since a and j - k differ by a multiple of n.
f(e) = e' since f is a morphism so e' is in f(M). Furthermore, for x and y in M we have
This implies that f(M) is closed under multiplication and hence is a submonoid.
Assume that x and y are in the kernel of f. Then
This implies that x *y is also is the kernel. Since f(e) = e', the identity e is also in the kernel. Thus, we conclude that the kernel is a submonoid of M.
If M = {1,a,b} is not cyclic then we have the following possibilities:
Let m + nZ have inverse element t + nZ. Then
and hence there is an s such that
The existence of such a relation implies that gcd(m,n) = 1.
Conversely, if gcd(m,n) = 1, then there exist integers s and t such that
and t is an inverse of m mod n.
An element (a, b) of the product monoid is invertible if and only if there is an element (x, y) with
Such an element (x, y) exists if and only if x is an inverse of a in M1 and y is an inverse of b in M2.
If k > 0 then the only invertible element in Ck,n is the identity element. If k = 0 then C0,n is isomorphic to (Z/lZ,+). So all elements are invertible.
Consider the group Z/2Z×Z/2Z×Z/2Z. Its order is 8 but it contains no element of order 4. In S4, a group of order 24, there is no element of order 12. Just look at the cycle decomposition of an arbitrary element to check this.
Let x be an element occurring in a column more than once. So, there exist distinct g and g' and an element h in G such that x = gh = g'h.
Multiplying on the right by the inverse of h we see g = g', a contradiction.
The proof that x appears only once in each row is similar.
Since AT is the inverse of A for every A in On(R), we find that On(R) is a subset of GLn(R). The identity matrix is clearly an element of On(R). Furthermore, On(R) is closed under multiplication since for all A and B in On(R)
If A is in On(R), then A-1
On(R). To see this,
we observe that A-1 = AT and that
This shows that inverses of elements in On(R) are also in On(R).
Hence On(R) is a subgroup of GLn(R).
The left cosets of S3 in S4 are:
Let x = (1,2)(3,4,5). Then x2 = (3,5,4), x3 = (1,2), x4 = (3,4,5), x5 = (1,2)(3,5,4), x6 = e.
Let c = c1c2 ··· cm where the ci are disjoint cylces of length li. Hence, if cd = c1dc2d ··· cmd = e, then li divides d. SO, if d is the order of c, then d is a common multiple of the cycle structure of a disjoint cycle decomposition of c.
On the other hand, if for any common multiple k of the cycle structure we have ck = c1kc2k ··· cmk = e. Hence, the order d of c equals the lowest common multiple of the cycle structure.
Consider the cyclic subgroup of G generated by g. Let r be the order of this subgroup. By Lagrange's Theorem we know that r divides m. If r < m, then there is a prime divisor p of m such that r divides m/p. But that implies that g(m/p) is a power of gr = e, which contradicts the hypothesis. Hence r = m and G is cyclic.
The map f : Z/6Z -> Z/2Z × Z/3Z defined by f(a) = (a, a) is a morphism. Moreover, one easily checks that it is surjective and injective. Hence, it is an isomorphism. The groups Z/6Z and Z/2Z × Z/3Z are commutative, the group S3 not. So Z/6Z and Z/2Z × Z/3Z are not isomorphic to the group S3.
f(0) = g0 = e and f(a + b) = g(a + b) = ga * gb = f(a) * f(b) and hence f is a morphism.
If G has order n, then gn = e. Hence f(a + tn) = g(a + nt) = ga. Hence the map f: Z/nZ -> G defined by f(a + nZ) = ga is well defined. Moreover, by the same reasoning as above, this map is a morphism. It is easily seen to be surjective and, since Z/nZ and G have the same order, it is even an isomorphism.
For all x, y and z in R we have y * x = y + x - yx = x + y - xy = x * y. Furthermore (x * y) * z = (x + y - xy) * z = x + y - xy + z - (x + y - xy)z = x + y + z - xy - xz - yz - xyz and x * (y) * z) = x + (y + z - yz) - x(y + z - yz) = x + y + z - xy - xz - yz - xyz. So * is also associative.
The element e = 0 is the unit element for this multiplication.
3 · (3,4) - 4 · (2,3) = (1,0) and 3 · (2,3) - 2 · (3,4) = (0,1) can be obtained from (2,3) and (3,4). Then every element can be obtained from (2,3) and (3,4).
Notice that 20 = 1, 21 = 2, 22 = 4, 23 = 8, 24 = 16, 25 = 32.
The multiplication monoid Z/8Z contains the following submonoids: {0,1,2,3,4,6}, {0,1,3,5,7}, {0,1,2,4,5,6} and {0,1,2,4,6,7}. Any pair of elements is in one of these submonoids. Hence Z/8Z cannot be generated by 2 elements. The submonoid generated by 2, 3 and 5 contains 0 = 23, 1 (as unit), 2, 3, 4 = 22, 5, 6 = 2·3 and 7= 3·5, i.e., this submonoid is the whole monoid.
The operation *' is associative since
(M,*',e) has identity e (this is trivial).
If the order of g is 6 the image is {e, g2, g4}, a subgroup of G isomorphic to Z/3Z.
If the order of g is 7 then the image is <g>, which is isomorphic to Z/7Z.
For m = 2 to p - 1 compute the powers of m mod p. If the powers mk are not equal to 1 mod p for all k less than p - 1, then m is a generator. If there is a k smaller than p - 1 with mk = 1 mod p, then increase m.
Can you think of (easy) ways to improve this? Can you bring the divisors of p - 1 into play more prominently?