General Notes:
Assume the following meanings of symbols unless otherwise specified:
is an integer (or natural number).
is a set, a (algebraic) structure.
When discussing group/ring theory:
is a group, a ring, a subgroup (of ), a normal subgroup (of ), an ideal (of ).
is the identity element.
ok but these are actually important to understand so the rest of the course doesn’t feel like magic. to do that, first read the notes on Algebraic Structures
i gave up on effort in this section so theres more iffy and more prose and less vroomular.
Throughout the section, the two ring operations are referred to as addition (abelian) and multiplication (monoidal).
Juxtaposition denotes the group operation or multiplication in rings.
Power Notation:
For a group with , operation , and identity :
,
(the inverse) for , and
.Observe this is literally how it usually works for “multiplication”, except we don’t care what actually does.
A subset of a group that is a group itself (under the same operations).
A subgroup can partition the group (see cosets below).
A set for a with group operation , notated or .
For non-Abelian Groups, that’s specifically a left coset, since is on the LHS of the . I.e., a right coset would be .
The "(left) cosets of " is the set of all (left) cosets: . Same for the right cosets.
Coset in CS-terms: mapping the group operation over a subgroup with a constant.
Alternatively, a coset is an equivalence class (see below).
The sets of left and right cosets are either disjoint or identical.
Observe that all cosets are of the same size, equal to that of the subgroup. As such, a group always divides into a whole number of cosets.
Intuitively, for additive and well-ordered groups (e.g., ), cosets are left or right “shifts” of a subgroup when the group elements are laid out evenly spaced as line.
for of , there are two more ( itself is a coset) unique cosets:
, and
.
Note that here , and since is commutative, .
Cosets also exist for Rings, formed from Ideals (!not subrings!) (see below).
The number of left cosets of a subgroup of , denoted or .
Observe that (if is normal and forms quotient group ).
the usual definition is “subgroup that is invariant under conjugation” where conjugation is some forward-backward application of the group operation that is definitely not category theory all over again…
but ugh, a better, equivalent def:
A subgroup whose left and right cosets are the identical; or
A congruence class of the identity element (for some congruence relation).
obviously observable from the first definition, all subgroups of abelian groups are normal
A normal subgroup of is notated
A group over cosets (of a normal subgroup).
Normal subgroups are the only subgroups whose cosets form a quotient group.
As such, quotient groups are notated as .
How does the group operation work when the elements are (co)sets, you ask?
For cosets and , (and commutativity carries over from on ).
A symmetric group (over a set ) is a group of all bijections under (function composition).
(I.e., for finite set ,) A group over the permutations (of ).
denotes the symmetric group for .
Each is unique (in that the actual contents of is irrelevant) because the permutations themselves only depend on the cardinality, .
(i do not smell category theory here)
What a Subgroup is to a Group.
A subset of a ring that is a ring itself.
What a Normal Subgroup is to a Group (at least in the mechanism of forming Quotient Rings).
(although it is not a subring, but)
An additive subgroup that is also closed under multiplication with the entire ring.
In non-commutative rings, an ideal is left-, right-, or both (two-sided-) depending on which handedness of multiplication is closed.
I.e., a Left Ideal of obeys . A right ideal would have instead of .
is quotient ring, similar to for groups.
(of a finite structure,) The number of elements its the carrier set, written .
(of an element of a group,) The least (positive) such that .
A substructure (subgroup, ideal) that is constructed from one (or more) element via repeated application of the structure’s operation(s).
Commonly notated for a substructure generated from one element , called a generator,
or for a subset , called a generating subset.
For a with group operation and :
(See beginning of section for power notation.)
A cyclic subgroup is a subgroup generatable from a single element.
A cyclic group is a group generatable from a single element.
I.e, is a cyclic subgroup for .
Observe that cyclic (sub)groups of finite order are, well, “cyclic” – repeated applications of the group operation to any element will eventually return to itself.
Similarly, finite cyclic (sub)groups are naturally isomorphic to , or modular addition.
However, cyclic (sub)groups of infinite order (e.g., ) are, obviously, not “cyclic”. Thus, they are often less confusingly called monogenous groups.
is a monogenous group because it can be generated from , using repeated addition (and inversion to obtain ): . 's only other generator is .
How ideals are generated: (similar to cosets for the 1-element case, otherwise a set of “linear combinations”)
;
, etc.
The two-element case links to Bézout’s Identity under a PID.
An ideal generatable from a single element.
Principal Ideals also have left-/right- ness in non-commutative rings just like Ideals.
E.g., a left principal ideal, generated by an , is .
A Commutative Ring where .
Alternatively, , for an unique .
0 is a zero divisor; the above formulas describe the absence of any non-0 zero divisors.
An Integral Domain where all Ideals are principal.
Here, all generated ideals can be generated from a single element (a “GCD”).
Aka. Principal Ring.
.
I.e., divides .
It follows that (for any ).
And so, divides .
A permutation of an is a bijective function .
The identity (i.e., “do-nothing”) permutation can be notated .
The inverse of a is notated where
.
The set of all permutation
where .
Note that, like function composition, sequential permutations are not generally commutative.
A permutation that permutes (a subset of) elements cyclically (while leaving all else fixed).
Length is the number of (distinct) elements in a cycle.
Two cycles are disjoint if they do not permute any common elements.
Disjoint cycles are commutative.
Any permutation can be decomposed into a set of disjoint cycles, the orbits of its cyclic group .
The length of a cycle; or, for any permutation in general,
the least (positive) such that .
Observe that the composition of disjoint cycles with lengths has order
A 2-cycle (of a permutation), i.e., “swapping” between two elements.
Any permutation can also be decomposed into a composition of transpositions.
A 1-cycle.
An element is fixed if it is a fixed-point.
A matrix-ish form, where elements map from the first row to the second.
E.g., for a that transposes 1, 2 and cycles 3, 4, 5:
Two-line but the first line is implicit (omitted) and assumed to be in sorted ascending order.
This of course is only possible if an implicit “natural order” for exists.
E.g., the example above would be , or even as (with commas between numbers if ambiguous).
To avoid ambiguity with Cycle notation, the parentheses are often omitted here.
Alternative representation as a composition of (usually disjoint) cycles.
One cycle is written as a listing of an orbit between parenthesis.
E.g., for .
I.e., for a cycle , . (And the last element wraps to the front.)
Composition of multiple cycles usually just uses juxtaposition.
1-cycles are usually omitted when unambiguous.
E.g., for example from two-line notation with two cycles and , together is written .
Some (subjective) conventions of (most commonly) disjoint cycle notation.
Usual notations are a combination of writing cycles with the largest/smallest element first, ordering cycles by length, and explicitly writing 1-cycles.
The (parity of the) number of transpositions when a permutation is expressed as a composition thereof.
While translations of a permutation into transpositions are generally not unique, all translations for a given permutation have the same parity.
An alternative metric is inversions / disorders – ordered pairs where .
# transpositions ≤ # inversions, but their parity is always the same.
As a shortcut, a -cycle decomposes into transpositions.
Another metric for parity; for even parity; for odd, commonly denoted as the function .
Obviously,
;
.
A permutation of can be converted to a set of disjoint cycles by tracing out the orbitals of all elements of .
I.e.,
An -cycle can be converted to a composition of transpositions by decomposing into adjacent transpositions:
, or, equivalently,
.
Conversion | Method |
---|---|
One-line ⟶ Cycles | trace orbits |
Cycles ⟶ One-line | apply to |
Cycle ⟶ Transpositions | decompose adjacents |
Transpositions ⟶ Cycles | ⟶ one-line ⟶ cycles |
One-line ⟶ Transpositions | ⟶ cycles ⟶ transpositions |
Transpositions ⟶ One-line | apply to |
An -ary relation determines whether some “relationship” holds for any -tuple of inputs.
Relations are equivalent to predicates, and boolean functions, and a lot of other things.
While relations are more intuitively understood as predicates, their definition is set-theoretic:
An -ary relation (over domain sets ) is the set of all so-related -tuples:
E.g., a binary homogeneous relation over is
As per the set-theoretic definition, we naturally have
for satisfying .
Specialized, shorter notation include:
A more concrete illustration for a binary operator and a congruence relation :
.
This is important for the properties of congruence classes (see below).
Note that “equality”, or the usual meaning of the symbol , is a specific (the most common) example of a equivalence relation.
Similarly, “equality mod m”, the usual meaning of under modular integer arithmetic, is an example of a congruence relation.
A coset, or
An exhaustive subset of mutually-equivalent elements.
A “representative” member is usually chosen for an equivalence class.
The equivalence class of a representative (under a ) is notated or , and
The set of all equivalence classes of (under ) is called the quotient set, notated . Note that this is a specific partition of .
Observe that when the forms a group, this is another way to define quotient groups (see above).
Even the notation is analogous (the “denominator” can be either a subgroup or an equivalence relation).
Everything is the same as equivalence classes, except the set is associated with operations that make it a structure.
Residue Class is a synonym when discussing modular arithmetic.
The partition of a structure by a congruence relation has similar “quotient” names, specific to the exact type of structure: e.g., quotient ring and quotient group.
Congruence classes are exactly cosets, and , the congruence class of a group’s identity element, is a subgroup.
The congruence/residue class of an under modulo is notated or , and
where .
Modular arithmetic from an abstract-algebraic view.
NOW you should see that all modular arithmetic are just quotient rings (of )!
For a quotient ring , where is the ideal generated from , is precisely the modulo of the equivalent modular arithmetic.
The quotient rings of also satisfy the inverse axiom for multiplication for free, so modular arithmetic are Fields and can do division.
First, note that is obviously a ring under the usual addition and multiplication.
Now trust me bro everything else are just quotient rings.
denotes the principal ideal (of the -ring) generated from . I.e., .
As such, is a quotient ring, namely, residue classes under modulo .
Observe that of in a -ring is more concretely – all multiples of , or the residue class .
Then, the cosets of are obviously (), (), etc.
OBVIOUSLY, this is just , or the set of residue classes modulo .
is therefore modular arithmetic modulo .
To explicitly notate addition and multiplication as their modular variants, use and .
denotes the additive group of integers modulo .
Unlike below, we get this group “for free” because is a ring, so its additive substructure is naturally an additive group.
denotes the multiplicative group of integers modulo .
However, it is not (always) under modular multiplication, as a ring’s multiplicative substructure is only a monoid.
To make “” a group under multiplication, we just have to make sure all elements have inverses. (the other axioms are satisfied as it is a monoid, coming from a ring)
Turns out1, only elements coprime with have inverses.
(Note that is not coprime with anything, and obviously doesn’t have an inverse.)
So,
and
The group is Abelian because i said so.
is cyclic iff is , , , , or ( is a prime).
In this case, a generator element is also called a primitive root modulo .
is isomorphic to when is prime, obviously.
inshallah you see now that is a field (under and ) when is prime.
,
the count of whole numbers less than and coprime with .
Alternatively,
for , its prime factorization.
Still,
for primes .
See also, Carmichael function.
Iterative algorithm to compute
If the modulo multiplication group is cyclic, then obviously our life would be much easier (as we can directly decompose powers).
:
Useful for .
Alternatively, eg., when ,
the power can be safely decomposed (to use exponentiation by squaring or other factoring methods).
:
ur cooked bro
for and ,
idk
help, i can’t deal with actual numbers.
the reasoning is actually the same as that of 0: zero-divisors do not have inverses, and for an element , unless , there exists a such that , making a zero divisor!
↩︎Now, in division rings, itself is special-cased as the one unique zero-divisor allowed… but groups do not have this allowance so we can’t even have 0 itself in multiplicative groups.