Continuing Where We Left Off
On this page we will discuss some theorems and topics that are slightly more advanced and would likely scare π» anyone away.
Remember that equivalence
Example: Write all equivalence classes of the integers modulo
, which is the quotient set of the integers
Letβs write out the quotient set starting with
This is all possible equivalence classes, which gives us that our quotient set is
Definition: Given some value
, if we have that then we say that is a residue of . If then we say that is the least residue of .
So in our prior example when
Definition: The quotient set of all equivalence classes
is called a complete system of incongruent residues, and is notated as Often people will leave out the square brackets and only include the least residue, and in the notation often leave out the first writing
So from our previous example we would have that
This might seem like a pretty theoretical way of looking at things, but surprisingly modular arithmetic proofs can include the usage of sets of residue classes. Lets prove a small lemma that will provide us some help later.
Lemma: If
are two distinct residue classes , and , then
Before we prove this what is this saying. We are saying that if you have a number that is coprime to
Proof
LetSince
Q.E.D.
Corollary: If
and where may not necessarily be the least residue, then This means that the function with is bijective
This theorem is actually insanely easy to prove based on the previous lemma we have. However the hardest part is saying what this theorem is actually doing. Pretty much just take all the equivalence classes of the quotient set, and if you multiply by a number prime to
Prime Residues
Getting all the integers mod some number is cool, but sometimes its useful to work with a specific subset of those integers. There are often certain residues that have special properties that make them desireable to study in bulk. To avoid beating around the bush any longer, we will observe the idea of all residues that are relatively prime to
Also,
Now I will define the term that we are using here
Definition: The complete system of residues prime to
, is the set of all equivalence classes whoβs members are coprime to . In set notation
Similar to with the normal system of residues, we have the following theorem about multiplying another relatively prime item
Lemma: Let
be two different prime residue classes, and let . Then are also prime residue classes, and
This is actually the same exact theorem as before, with just a minor additional caveat that if you multiply
Proof
By the previous theorem we already know thatQ.E.D.
So if we were to multiply all the classes in
We can even get the same corollary
Corollary: If
and where may not necessarily be the least residue, then This means that the function with is bijective.
This is also very straightforward using the pigeonhole principle so I will leave it at that.
Practice Problems
Example: Write out
residues of , including the least residue
Example: Write out the residues prime to
Of course it canβt just be remainder that would be too easy obviously β©οΈ
Note that we are doing math on the representative for the sake of brevity, but this can be proven rigorously using mod math β©οΈ
Via a practice problem on the GCD Intro Page β©οΈ