Every Non-zero Element in Z_n Has Multiplicative Inverse If and Only If N Is a Prime Number Skip to main content
  • Gradient of Straight Line
    Any line in the xy-plane can…
  • Definition of Infimum (Greatest Lower Bound)
    Let A be a subset of the set…

Divisibility Calculator

Enter two numbers to check if the first number is divisible by the second number: Check

Every Non-zero Element in Z_n Has Multiplicative Inverse If and Only If N Is a Prime Number

 


Let n be a natural number greater than 1. Suppose (Zn,+,) be a ring of integers mod n. Then, every element aZn has multiplicative inverse if and only if n is a prime number. In other words,  (Zn,+,) is a field if and only if n is a prime number.


Proof:


If n is a composite number, we can write n=ab with a,b are natural numbers less than n. Clearly, a,b are not multiple of n. Therefore, the ring (Zn,+,) has zero divisors a¯,b¯Zn such that a¯b¯=n¯=0¯ and a¯0¯b¯. Since zero divisors don't have multiplicative inverse (why?), then we can conclude a¯,b¯ also have no multiplicative inverse. Hence, if n is a composite number then there exist some element of  Zn that has no multiplicative inverse.


Now, if n is a prime number, take any nonzero element a¯Zn. Since a¯ is nonzero, a is not a multiple of n. Therefore, the greatest common divisor of a and n is gcd(a,n)=1. By Bézout's identity, there exists x,yZ such that ax+ny=1. Taking mod n of both sides, we obtain ax1. Thus, there exists x¯Zn such that a¯x¯=1¯. In other words, a¯ has multiplicative inverse in Zn. Since a¯ is arbitrary, then this is also true for any element of  Zn if n is a prime number.

Comments

Popular posts from this blog

Random Imgur Image Generator

 Generate random image from Imgur. Warning! NSFW images may appear. This generator may do not work well in mobile or some browsers.