Exploring Abstract Algebra with Mathematica
Al Hibbard and Ken Levasseur
© Copyright 1998 Springer-Verlag New York, Inc.
8.0 Note regarding Exploring Abstract Algebra with Mathematica
This lab is intended to supplement an abstract algebra course. It is part of a series of labs and packages under the name Exploring Abstract Algebra with Mathematica, a joint project by Al Hibbard (Central College) and Ken Levasseur (UMass-Lowell). This is also the title of a book published by TELOS/Springer Verlag that contains this lab. This book includes labs for group theory, labs for ring theory, and a user’s guide with printed and electronic documentation.
For more information on the Exploring Abstract Algebra with Mathematica project, go to our web site at http://www.central.edu/eaam.html. This site is also mirrored at http://www.uml.edu/Dept/Math/eaam/eaam.html. There you will find the latest versions of the packages in AbstractAlgebra, the latest palettes available to supplement AbstractAlgebra, and other related resources.
You may also contact either of the authors:
Al Hibbard
Central College
Pella, IA 50219
hibbarda@central.edu
Ken Levasseur
UMass Lowell
Lowell, MA 01854
Kenneth_Levasseur@uml.edu
Last revision: April 25, 1998
© Copyright 1998 Springer-Verlag New York, Inc.
To complete this lab, you should be familiar enough with the basic properties of groups to be able to compare the various pairs of groups that you will be asked to examine. No previous labs are necessary.
This lab explores the notion of isomorphisms. First we define an isomorphism and then we see how one can be constructed. Next we explore when two groups are isomorphic.
Before beginning, we read in the necessary code for this lab.
Let’s consider two groups,
and
.
An important question in abstract algebra (and in mathematics in general) is “When are two objects the ‘same’ by some appropriate measurement?” In this case, are groups
and
the same? Clearly they have different elements and different operations, so they are not identical. They do, however, both have four elements and in this way they are the same. Therefore, we can construct a one-to-one, onto function (bijection) from
to
. In fact, there are 24 different ways of setting up such functions.
Q1. Explain how one comes up with 24 different bijections from
to
. How many functions (bijections or not) are there from
to
?
Answer:
If we consider only the number of elements (four in each, in our case), we ignore a large portion of the richness of groups and we ignore the operation altogether. Since each group has a special element, the identity, it may be reasonable to want to match these up.
Thus, if we want to define a function f:
→
that somehow illustrates “sameness,” we might want to define f(1)=0.
Q2. With this assumption, how many different bijections are there from
to
?
Answer:
We need three more matches to make a bijection. Consider the element 3 in
. To what should it be mapped? Is there any special property related to 3 that should also exist with the element in
to which it will be mapped? What about the order of 3?
It would seem reasonable to want to map 3 to an element in
of the same order. What are the orders of the elements in
?
If the output is not clear, ask about the function:
So we see that the two elements 1 and 3 in
both have order 4. (Of course, you may have already known this; we are illustrating a general process we might take.) Suppose we map 3 in
to 1 in
.
Q3. With this assumption, now how many different bijections are there from
to
?
Answer:
Since we are mapping 3 to 1, it might be reasonable to map the inverse of 3 in
to the inverse of 1 in
. (Again, you should already know the results of the following; we are illustrating a general procedure.)
So we map 7 in
to 3 in
.
Since |g|=
|, we know that the orders in this assignment match. The two remaining elements are put together by default.
Do the orders match in this case?
Indeed. If all we care about is whether orders match up, we are done and we might call these two groups the same. There might be other issues to consider, however. In
, when we multiply 7 by 9 we get 3.
Let’s review our definition of f:
We see that 7 is mapped to 3 and 9 is mapped to 2. What happens if we add 3 (the image of 7) and 2 (the image of 9) in
? Surely we get 1.
More important, observe that 1=3+2=f(7)+f(9) but also 1=f(3)=f(7*9). In other words,
f(7*9)=f(7)+f(9).
Note that on the left-hand side, the operation inside the parentheses is taking place inside
(the domain of f), while the operation on the right-hand side is taking place inside
. In this case, we say f is “operation preserving” for the elements 7 and 9. What about other pairs? We can make a table and check all possibilities:
Or if you want to see more details:
This shows that the function f is operation preserving for all the elements in
. This is when algebraists are satisfied with calling two groups
and
the same: there exists a bijection f:
→
that is operation-preserving in the sense that
f(x*y)=f(x)*f(y)
for all elements x and y in
(with the understanding that on the left-hand side the operation taking place between x and y is the operation in
and the operation taking place on the right-hand side between f(x) and f(y) is taking place in
). In such a case, the two groups are said to be isomorphic and the defining function f is said to be an isomorphism.
Q4. Change
to
and determine whether
and
are isomorphic. If so, provide the isomorphism; if not, indicate why not. (Clear[f] before beginning.)
Answer:
In previous labs, we have used a structure called a Groupoid when we worked with groups. Now we use a structure called a Morphoid to work with morphisms, including homomorphisms and isomorphisms. Recall from the previous section that an isomorphism f between two groups is a bijective (one-to-one and onto) mapping such that f(x*y)=f(x)*f(y) for all elements x and y in the domain. If we relax the condition that f is bijective and require only the “operation-preserving” part, we have a homomorphism. A Morphoid is a structure that has the potential of being a homomorphism (and therefore potentially also an isomorphism).
Recall that our function f was defined as follows.
We can use FormMorphoid to create a Morphoid based on f.
Alternatively we can set up a list of rules that are equivalent to f.
The FormMorphoid function can also handle a list of rules to create a Morphoid.
The two Morphoids func1 and func1alt appear to be different, but they are really the same. Morphoids can be defined either by a list of rules or a function. If the underlying correspondences between the elements of the Groupoids are the same, the Morphoids are considered to be equal.
We already know that func1 is an isomorphism. Let’s set this knowledge aside for the moment (for the sake of learning how to use some of the available tools in situations where we don’t know if we have an isomorphism). What we want to know is whether, for any given pair of elements in
, the operations are preserved?
First we will take a specific pair, 9 and 3.
In this case, we see that f(9*3) does equal f(9)+f(3), since 9*3 is 7 in
and the image of 7 is 3, which happens to be the sum of 2 (the image of 9) and 1 (the image of 3). Note that the operation in
is multiplication (hence, *), whereas it is addition in
(and so + is used).
Let’s pick two random elements and check out whether the operations of
and
are preserved under the Morphoid func1 (based on f).
Q5. Evaluate the two lines of code again several times. Do you find any case where the operations were not preserved? Why or why not?
Answer:
Note that PreservesQ is used when one wishes to explore whether a function is operation preserving for a particular pair of elements. More generally, we are interested in doing this for all possible pairs. The function MorphismQ does this for us. Here we use it in the Visual mode; pairs that are preserved are colored at their point of intersection in the table.
We can also check to see if func1 is an isomorphism as well as a homomorphism.
In case one begins to think that having a homomorphism happens naturally, let’s take a look at an example where not all the elements preserve the operation. We define a Morphoid func2 that has
as its domain and
for its codomain, and the rule to get from the domain to the codomain is to take an element from
, add 1, and then reduce this result mod 5.
Now let’s check out which elements preserve the operations.
We see that some do and some do not. In particular, since the entry at the intersection of the row headed by 1 and the column headed by 2 is not colored, func2 is not operation-preserving for the pair (1,2). Let’s look at this in detail.
Q6. Explain in your own words how and why this failed. Why were the operations not preserved?
Answer:
As you work with homomorphisms in greater detail, you will learn about the kernel and the image of a homomorphism. For the two Morphoids created here, we illustrate how to obtain the kernel and image.
The operations of these Groupoids are as follows.
Q7. Which of the four (the two kernels and the two images) are groups? Justify your answer.
Answer:
Often, by looking at appropriate data, one can almost literally “see” an isomorphism at hand. Here we look at some examples.
Consider the example with which we first started.
Let’s look at the Cayley tables of these two groups.
We have shown that these two groups were isomorphic. Shouldn’t their Cayley tables be identical? Think about why they are not. Perhaps if we ordered the elements in the second table in the order corresponding to the first (via our isomorphism), we might obtain different results.
This looks better. Now the isomorphism is clear.
We now consider
and another group of order four.
Are these two isomorphic?
Certainly the two tables do not look alike, but we know that this does not necessarily mean that the two groups are not isomorphic. Below we rearrange the elements of
.
Q8. Try other arrangements for the elements in
until you show that the two groups are isomorphic or conclude that they are not isomorphic. If they are isomorphic, describe how the isomorphism map works; if they are not isomorphic, explain why not.
Answer:
We now consider the group
and its Cayley table.
We have seen several other groups of order four. Find one that is isomorphic to
. Define it and then show the Cayley tables side by side.
If the elements in
are not arranged to properly reflect the isomorphism, do so below.
Q9. What is the other group to which
is isomorphic and what are the details of the isomorphism? (Specify which elements are mapped to which.)
Answer:
Following are several groups of order six.
Are any of these isomorphic to one another? Here are some tools you may wish to use.
Q10. If groups
and
are isomorphic, we denote this by
=
. For every pair (
,
) of groups in {
,
,
,
,
,
}, determine whether
=
. Note: There are “six-choose-two”—(
)— such pairs to consider.
6
2
Answer:
Q11. You probably found that
was isomorphic to at least one of the other groups. Below, we use the variable otherGroup to denote the group you had in mind; change
to the group you have in mind and evaluate the following cell. You now see the list of elements in your chosen group. Between the {} on the right-hand side of orderedElementsOfOtherGroup, place the elements of your chosen group matched up according to the elements of
. After double-checking your ordering, evaluate the cell and the cell that defines the rules for this isomorphism, as well as the Morphoid f itself. Now use the tools illustrated earlier and verify that f is indeed an isomorphism (assuming that you correctly found an isomorphic group).
Answer:
Q12. Consider the set H={1,Rot,
}, which is a subgroup of
. What is the image of H under f? (You may wish to use the following line.) Is this also a subgroup of the image of
?
Answer:
8.6 Mathematica commands used in this lab
If you wish to learn more about how to use the Mathematica commands or functions used in this lab, type ? followed by the command. Following are some functions used in this lab that may be useful for later work.
?GroupIdentity
?OrderOfElement
?OrderOfAllElements
?GroupInverse
?Operation
?Elements
?FormMorphoid
?EqualMorphoidQ
?PreservesQ
?RandomElements
?MorphismQ
?IsomorphismQ
?Kernel
?Image
?CayleyTable
?TheSet
?Symmetric
?DirectSum
?AbelianQ
?CyclicQ
?GroupCenter
?CommutatorSubgroup
| Created by Mathematica (June 14, 2006) |