Lecture from: 04.11.2024 | Video: Videos ETHZ
Algebraic Structures and Operations
A generic algebraic structure is represented as , where is a set and is a binary operation defined on the elements of . A binary operation takes two elements from the set and maps them to another element within the same set. A familiar example is , representing the integers under addition.
Abstract algebra deals with these generic structures and operations, allowing us to derive general properties that apply to various specific sets and operations. To work with these abstract structures, we define axioms, which are properties that the operations must satisfy.
Basic Structures and Properties
Example Structure and Commutativity
Let’s consider an example structure with the set and a binary operation defined by the following operation table:
Observing the table, we can identify some properties:
-
Commutativity: The table is symmetric across the main diagonal. This means the operation is commutative, i.e., for all . For example, .
-
Neutral Element: The element acts as a neutral element (also known as an identity element). It satisfies both left and right neutrality:
- Left Neutral: for all .
- Right Neutral: for all .
Structures with Multiple Operations
Algebraic structures can have more than one operation and can include specific elements with unique roles, like neutral elements. For instance, represents the integers with addition (), unary negation (), and the neutral element for addition.
Associativity
A crucial property for binary operations is associativity. An operation is associative if for all . Let’s examine if our example operation is associative:
In this case, , whereas . Therefore, the operation in our example is not associative.
Associativity is important for several reasons, including computational efficiency. For example, in the Diffie-Hellman key exchange discussed previously, associativity allows for efficient exponentiation using techniques like square-and-multiply.
Ensuring Unique Solutions through Latin Squares
Modifying the operation table can influence the properties of the algebraic structure. Changing the entry for from to results in a table where each row and each column contains each element of exactly once (a Latin square):
This modification has implications for solving equations within the structure. Having unique elements in each row and column ensures that equations of the form and will always have a unique solution for within the set , as shown below:
A Second Example
Let’s analyze a different algebraic structure with the set and a binary operation . The operation is defined by the following table:
This operation table exhibits several properties:
- Associativity: While visually verifying associativity from the table can be tedious, this specific operation is associative. A rigorous proof would require checking all possible combinations of and for . We’ll soon see a more efficient way to understand this associativity.
- Commutativity: The symmetry of the table indicates that the operation is commutative.
- Neutral Element: The element serves as the neutral element, as for all .
- Self-Inverse Elements: Every element is its own inverse, meaning for all .
(Note from future: This is , see[[#example-the-direct-product-group—mathbbz_2-times-mathbbz_2|Example The Direct Product Group ]])
Interpreting Operations
We can gain deeper insight into these algebraic structures by interpreting their operations in different contexts.
Interpreting the First Example (Addition Modulo 3 and Rotations)
The first example with and the operation table shown can be interpreted as addition modulo 3:
Here, corresponds to , to , and to . The operation becomes (addition modulo 3). For example:
- corresponds to
- corresponds to
Alternatively, it can represent rotations by multiples of 120 degrees, with , , and .
Interpreting the Second Example (Bitwise XOR)
For the second table with , considering addition modulo 4 doesn’t work. This is because each element is its own inverse (), whereas in addition modulo 4, , and is not the neutral element.
Instead, this table represents the bitwise XOR (exclusive OR) operation on two-bit strings:
Here, corresponds to 00
, to 01
, to 10
, and to 11
. The operation is the bitwise XOR. For example:
- corresponds to
01
XOR10
=11
- corresponds to
10
XOR10
=00
This interpretation explains both the commutativity and associativity of the operation, as bitwise XOR has these properties. Additionally, it clarifies why each element is its own inverse under XOR.
Uniqueness of the Neutral Element
Within an algebraic structure , if a left neutral element () and a right neutral element () exist, they must be identical. This holds even without assuming associativity or commutativity of the operation .
Proof:
- Since is a right neutral element, .
- Since is a left neutral element, .
Therefore, , demonstrating that the neutral element, if it exists, is unique.
Monoids
A monoid is an algebraic structure consisting of a set , a binary operation , and a neutral element , satisfying the following properties:
- Associativity: For all , .
- Neutral Element: There exists an element such that for all , .
We denote a monoid as .
Example: Monoid of Bitstrings
Consider the set of all finite bitstrings, denoted by , along with the concatenation operation , and the empty bitstring . This forms a monoid:
- Associativity: Concatenation is associative. For example, is the same as .
- Neutral Element: The empty bitstring acts as the neutral element for concatenation. For any bitstring , .
Inverses in Algebraic Structures
Similar to neutral elements, we have the concept of inverse elements. For a given element in a set with a binary operation , we define left and right inverses as follows:
- Left Inverse: An element is a left inverse of if , where is the neutral element.
- Right Inverse: An element is a right inverse of if .
Uniqueness of Inverse
If an element has both a left inverse () and a right inverse (), and the operation is associative, then and must be the same.
Proof:
- (Neutral element property)
- (Substituting with , since is the right inverse of )
- (Associativity of the operation )
- (Substituting with , since is the left inverse of )
- (Neutral element property)
This proves that if both a left and right inverse exist for an element in an associative structure, they are identical.
Groups
A group is an algebraic structure consisting of a set , a binary operation , an inverse operation denoted by (or sometimes by ^), and a neutral element , satisfying the following properties:
- Associativity: For all , .
- Neutral Element: There exists an element such that for all , .
- Inverse Element: For every element , there exists an element such that .
It’s important to note that every element in a group must have an inverse. This distinguishes groups from structures like the integers under multiplication, where not every element (e.g., 2) has a multiplicative inverse within the integers.
Example: Rational Numbers
Consider the set of rational numbers excluding zero, denoted as . This set, along with the multiplication operation () and the multiplicative inverse operation (), forms a group with the neutral element 1.
We can represent this group as . Let’s verify the group properties:
- Associativity: Multiplication of rational numbers is associative. For any , we have .
- Neutral Element: The number 1 serves as the neutral element for multiplication, as for all .
- Inverse Element: Every non-zero rational number has a multiplicative inverse within . If , where and are integers and , then . And we have . Therefore, is a valid example of a group.
Example: Integers under Addition
The integers under addition form a group, represented as . Here, is the addition operation, is the additive inverse (negation) operation, and is the neutral element.
Example: Integers Modulo m
The set of integers modulo , denoted as , forms a group under addition modulo . This group is represented as . Where denotes addition modulo , and denotes the additive inverse modulo .
However, under multiplication modulo does not always form a group. This is because not every element in has a multiplicative inverse. For example, in , the element 2 does not have a multiplicative inverse.
The Multiplicative Group of Integers Modulo m
While under multiplication is not always a group, we can construct a group by considering only the elements that have multiplicative inverses. These are the elements that are coprime to . This set is denoted as , where:
The structure forms a group called the multiplicative group of integers modulo m. Here, is multiplication modulo , and is the multiplicative inverse modulo .
For example, , and , since 7 is prime. In , and are their own inverses. In , and are inverses of each other, and and are inverses of each other.
By restricting the set to elements coprime to , we ensure the existence of multiplicative inverses for all elements in the set, fulfilling the requirements for a group.
Example: Integers Modulo a Prime p
For to form a group under multiplication modulo , must be a prime number. When is a prime number, , every non-zero element in has a multiplicative inverse. This group is denoted as , where is multiplication modulo and represents the multiplicative inverse modulo .
The requirement for to be prime is crucial for the existence of multiplicative inverses for all non-zero elements, satisfying the group axioms.
Group Axioms: Defining Properties
Group axioms define the essential properties of a group, an algebraic structure denoted as . These axioms can be expressed using both typical algebraic notation and predicate logic (quantified form):
1. Associativity
- Typical notation: for all .
- Predicate logic:
Associativity ensures that the order of operations does not affect the result when combining multiple elements.
2. Identity Element (Neutral Element)
- Typical notation: There exists such that for all .
- Predicate logic:
The identity element leaves any element unchanged when combined with it under the operation .
3. Inverse Element
- Typical notation: For every , there exists such that .
- Predicate logic:
Every element in a group has an inverse, which, when combined with the original element using the operation , yields the identity element.
Note on Redundancy
In mathematics, it’s generally desirable for axiom sets to be minimal, meaning no axiom can be derived from the others. While the standard group axioms are commonly presented with some redundancy, it’s possible to simplify them.
One simplification involves the identity axiom (G2). Instead of requiring both and , we can postulate only (call this G2’). The equation is then implied by the other axioms. Similarly, the inverse axiom (G3) can be simplified by requiring only (call this G3’). The equation can then be derived.
While the typical presentation of the identity axiom includes both and , only one of these is strictly necessary. The other can be derived using the other axioms, specifically the existence of inverse elements and associativity. Thus stating both and within the group axioms is redundant, though often included for clarity.
Here’s the proof demonstrating that given G1 (associativity), G2’ (), and G3’ ():
- (G2’)
- (G3’, where is the inverse of )
- (G1)
- (G1)
- (G3’)
- (G1)
- (G2’)
- (G3’, i.e., the definition of right inverse of )
Therefore, even with the simplified axioms G2’ and G3’, we can derive the full properties of the identity element and inverse elements, demonstrating that the standard presentation contains redundancy.
Abelian Groups
A group (or monoid) is called commutative or abelian if for all . Abelian groups are named after the Norwegian mathematician Niels Henrik Abel.
Basic Group Properties
The following lemma summarizes some fundamental properties of groups. For a group , the following properties hold for all :
(i) Inverse of the Inverse:
Proof: By definition, . Multiplying both sides on the left by yields:
(Associativity)
(ii) Inverse of a Product:
Proof: By definition, . We want to show that . Let’s multiply by :
(Associativity)
Since multiplied by gives the identity element, must be the inverse of .
(iii) Left Cancellation Law:
Proof: Multiply both sides of the equation on the left by :
(Associativity)
(iv) Right Cancellation Law:
Proof: Multiply both sides of the equation on the right by :
(Associativity)
(v) Unique Solutions to Equations
Proof: The equation has the unique solution .
Multiplying both sides of on the left by gives which simplifies to .
Similarly, the equation has the unique solution . Multiplying both sides of on the right by gives which simplifies to .
Example: invertible matrices.
The set of invertible matrices over the real numbers, together with matrix multiplication, forms a group. This group is known as the general linear group, denoted by GL(, ). The identity matrix serves as the neutral element.
Let’s verify the group properties:
- Set: The set consists of all invertible matrices with real number entries.
- Operation: The operation is standard matrix multiplication.
- Associativity: Matrix multiplication is associative: for all .
- Neutral Element: The identity matrix is the neutral element, as for any .
- Inverse Element: By definition, every matrix in GL(, ) is invertible. This means for every , there exists a matrix such that .
Therefore, GL(, ) satisfies all the group axioms.
Non-Commutativity:
It’s important to note that GL(, ) is not commutative (abelian) for . In other words, matrix multiplication is not commutative in general. There exist matrices and such that . This can be easily demonstrated with a counterexample for matrices.
Exploring the Landscape of Groups
Having established the definition of a group, we now turn our attention to exploring the variety of possible group structures. We’ll start by examining groups with a small number of elements and gradually consider larger groups.
Example: The Group of Integers Modulo 2 under Addition ()
The set under addition modulo 2 (, often represented simply as ) forms a group. This group can also be interpreted as the bitwise XOR operation.
- or equivalently
Let’s verify the group axioms:
- Set:
- Operation: Addition modulo 2, defined as:
- Associativity: Addition modulo 2 is associative.
- Neutral Element: is the neutral element.
- Inverse Element: Each element is its own inverse:
Example: The Group of Integers Modulo 3 under Addition ()
The set under addition modulo 3 () forms a group: (our first example).
Here’s the operation table for :
0 | 1 | 2 | |
---|---|---|---|
0 | 0 | 1 | 2 |
1 | 1 | 2 | 0 |
2 | 2 | 0 | 1 |
Let’s verify the group axioms:
- Set:
- Operation: Addition modulo 3, as defined in the table above.
- Associativity: Addition modulo 3 is associative.
- Neutral Element: is the neutral element.
- Inverse Element:
- The inverse of is .
- The inverse of is .
- The inverse of is .
Example: The Direct Product Group
The direct product of two groups, and , denoted as , is a new group formed by taking the Cartesian product of the sets of and , and defining the operation component-wise.
Consider the direct product . This group is not the same as .
Example: The Symmetric Group
The symmetric group provides a concrete illustration of permutations and their group structure. represents the set of all bijections (one-to-one and onto mappings) from a set of three elements to itself. Let’s visualize this using three points labeled 1, 2, and 3 representing arrows.
consists of all possible ways to rearrange (or map) these three points. Since each point can be mapped to any of the three positions, and once a point is placed, the remaining points have fewer options, we have possible rearrangements. These rearrangements are the bijections we’re interested in.
We can describe these bijections through different operations:
- Rotations: Rotating the points clockwise. For example, a 120-degree rotation maps 1 to 2, 2 to 3, and 3 to 1. A 240-degree rotation is also a distinct bijection.
- Switches (Transpositions): Swapping two points while leaving the third fixed. Swapping 1 and 2 maps 1 to 2, 2 to 1, and 3 to 3. Similarly, swapping 1 and 3, or 2 and 3, are other bijections.
contains the following six elements (bijections/permutations):
- Identity: The mapping where each element maps to itself (no change).
- Two Rotations: 120° and 240° clockwise rotations.
- Three Switches (Transpositions): Swapping 1 and 2, swapping 1 and 3, and swapping 2 and 3.
Each of these operations represents a different way to bijectively map the set of three points to itself. The composition of any two of these bijections results in another bijection within , demonstrating the closure property of the group. This visualization helps to understand how permutations act on elements and how their composition forms the group .
Example: The Dihedral Group (Symmetries of a Square)
The dihedral group represents the symmetries of a square. These symmetries are transformations that map the square back onto itself. provides another concrete example of a non-abelian group.
The symmetries of the square are:
-
Rotations:
- : Rotation by 0° (identity)
- : Rotation by 90° clockwise
- : Rotation by 180° clockwise
- : Rotation by 270° clockwise
-
Reflections:
- : Reflection across the vertical axis (through the midpoints of sides 1-4 and 2-3)
- : Reflection across the horizontal axis (through the midpoints of sides 1-2 and 3-4)
- : Reflection across the main diagonal (1-3)
- : Reflection across the other diagonal (2-4)
has 8 elements: . The group operation is the composition of symmetries. For example, means first reflect across the vertical axis, then rotate 90° clockwise.
is not commutative. For example, . This can be visualized by performing the operations in different orders and observing the final positions of the labeled vertices.
Order of an Element in a Group
The order of an element in a group is the smallest positive integer such that , where denotes the operation applied to , times (e.g., ). If no such exists, the element is said to have infinite order.
In other words, the order of an element is the number of times you need to apply the group operation to the element itself to get back to the identity element.
Examples:
- In the additive group of integers modulo 3 (), the order of the element 1 is 3, because (and 3 is the smallest positive integer with this property).
- In the group of rotations of a square, a 90-degree rotation has order 4, since four 90-degree rotations bring the square back to its original position (equivalent to the identity operation).
- In the group of integers under addition (), no element other than 0 has finite order. For any non-zero integer , (n times) will never equal 0.
Continue here: 15 Groups, Homomorphism, Isomorphism, Preservation of Identity and Inverses