- Published on
Euler's Theroem
- Authors
- Name
- Muhammad Hasan
- @muhammadhasan01
This is a continuation of the previous blog about Euler's Totient Function, let's discuss the Euler's Theorem, yet again, it's definition and proof.
Definition
Let and be a positive integers such that they are relatively prime, i.e. , then:
Where is Euler's Totient Function.
Proof
There are famously two known proofs here, a direct argument involving multiplying all the elements together, and the other uses a group theory, we'll only discuss the first proof here.
First of all, we will use the notation , which is the set in the definition of , consisting positive integers which are relatively prime to , formally:
So .
Consider the elements of .
Claim: for , multiplication by makes it into a permutation of this set, that is the set equals to .
The claim is true, because the multiplication by is a function from the finite set to itself has an inverse, which is the multiplication by .
For instance, let then we will have:
Multiplication by where turns it into which is permutes the element of the set. Also, multiplication by is the inverse of this permutation.
Now, given the claim, consider the product of all the elements in .
On one hand it is , and on the other hand, it is , both products are congruent modulo .
So we will have:
where cancellation of the is allowed because they all have multiplication inverse modulo .