Prove that ## aa_{1}, aa_{2}, ...., aa_{n} ## is also a complete set?

  • Thread starter Thread starter Math100
  • Start date Start date
  • Tags Tags
    Complete Set
Click For Summary

Homework Help Overview

The discussion revolves around proving that if \( a_1, a_2, \ldots, a_n \) is a complete set of residues modulo \( n \) and \( \gcd(a, n) = 1 \), then \( aa_1, aa_2, \ldots, aa_n \) is also a complete set of residues modulo \( n \). The participants explore the implications of this statement and the underlying mathematical principles, including Euclid's lemma and properties of congruences.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Some participants discuss the use of Euclid's lemma and whether it applies under the assumption that \( n \) is prime. Others suggest that it may refer to a generalization applicable to any integer. There are attempts to clarify the proof structure and the implications of the pigeonhole principle regarding the distinctness of the residues. Questions arise about the conditions under which certain properties hold, particularly concerning the gcd and the existence of multiplicative inverses.

Discussion Status

The discussion is active, with participants exploring various interpretations and implications of the problem. Some have provided insights into the mathematical background, while others are questioning assumptions and seeking clarifications. There is no explicit consensus yet, but productive lines of inquiry are being pursued.

Contextual Notes

Participants are considering the implications of the gcd condition and the nature of integers \( n \) that allow for all \( a \not\equiv 0 \pmod{n} \) to have multiplicative inverses. There is an ongoing examination of the relationship between the properties of residues and the structure of the ring \( \mathbb{Z}_n \).

Math100
Messages
823
Reaction score
234
Homework Statement
If ## a_{1}, a_{2}, ..., a_{n} ## is a complete set of residues modulo ## n ## and ## gcd(a, n)=1 ##, prove that ## aa_{1}, aa_{2}, ..., aa_{n} ## is also a complete set of residues modulo ## n ##.
[Hint: It suffices to show that the numbers in question are incongruent modulo ## n ##.]
Relevant Equations
None.
Proof:

Suppose for the sake of contradiction that ## aa_{i}\equiv aa_{j}\pmod {n} ## for some ## i,j\in\mathbb{Z} ## such that ## 1\leq i<j\leq n ##.
Then ## aa_{i}\equiv aa_{j}\pmod {n}\implies n\mid (aa_{i}-aa_{j})\implies n\mid [a(a_{i}-a_{j})] ##.
Note that ## n\mid b ## if ## n\mid (ab) ## and ## gcd(n, a)=1 ## by Euclid's lemma.
Since ## gcd(a, n)=1 ##, it follows that ## n\mid (a_{i}-a_{j})\implies a_{i}\equiv a_{j}\pmod {n} ##.
This is a contradiction because ## a_{i}\not\equiv a_{j}\pmod {n} ##, given that ## a_{1}, a_{2}, ..., a_{n} ## is a complete set of residues modulo ## n ## and ## gcd(a, n)=1 ##.
Therefore, if ## a_{1}, a_{2}, ..., a_{n} ## is a complete set of residues modulo ## n ## and ## gcd(a, n)=1 ##, then ## aa_{1}, aa_{2}, ..., aa_{n} ## is also a complete set of residues modulo ## n ##.
 
  • Like
Likes   Reactions: Delta2
Physics news on Phys.org
Math100 said:
Homework Statement:: If ## a_{1}, a_{2}, ..., a_{n} ## is a complete set of residues modulo ## n ## and ## gcd(a, n)=1 ##, prove that ## aa_{1}, aa_{2}, ..., aa_{n} ## is also a complete set of residues modulo ## n ##.
[Hint: It suffices to show that the numbers in question are incongruent modulo ## n ##.]
Relevant Equations:: None.

Proof:

Suppose for the sake of contradiction that ## aa_{i}\equiv aa_{j}\pmod {n} ## for some ## i,j\in\mathbb{Z} ## such that ## 1\leq i<j\leq n ##.
Then ## aa_{i}\equiv aa_{j}\pmod {n}\implies n\mid (aa_{i}-aa_{j})\implies n\mid [a(a_{i}-a_{j})] ##.
Note that ## n\mid b ## if ## n\mid (ab) ## and ## gcd(n, a)=1 ## by Euclid's lemma.
Since ## gcd(a, n)=1 ##, it follows that ## n\mid (a_{i}-a_{j})\implies a_{i}\equiv a_{j}\pmod {n} ##.
This is a contradiction because ## a_{i}\not\equiv a_{j}\pmod {n} ##, given that ## a_{1}, a_{2}, ..., a_{n} ## is a complete set of residues modulo ## n ## and ## gcd(a, n)=1 ##.
Therefore, if ## a_{1}, a_{2}, ..., a_{n} ## is a complete set of residues modulo ## n ## and ## gcd(a, n)=1 ##, then ## aa_{1}, aa_{2}, ..., aa_{n} ## is also a complete set of residues modulo ## n ##.
This is correct. Since all ##aa_i## are pairwise distinct, there have to be ##n## many of them (by the pigeonhole principle).

The mathematical background is the following:
The set of remainders modulo ##n## form a ring structure, i.e. you can add and multiply them, and the distributive law holds: ##a_i\cdot (a_j+a_k) \equiv a_i\cdot a_j +a_i \cdot a_k##. The ring is written ##\mathbb{Z}_n.## While addition forms a group, i.e. we have an additive inverse: ##a_i - a_i \equiv a_i + (-a_i) \equiv a_i +(n-a_i)\equiv 0,## multiplication has no inverse, e.g. ##3\cdot 4 \equiv 0 \pmod {6}## and there is no solution to ##x\cdot 4 \equiv 1 \pmod 6.##

However, if ##\operatorname{gcd}(a,n)=d## then we have an equation ##d= \alpha \cdot a +\nu \cdot n## by Bézout's identity. In case ##d=1## as here in the exercise, we get ##1\equiv \alpha \cdot a +\nu \cdot n \equiv \alpha \cdot a \pmod n## and so ##a^{-1}:\equiv \alpha \pmod n.## This means ##\alpha ## is the multiplicative inverse to ##a## modulo ##n.## The multiplicative inverse elements all together, i.e. all elements ##a## to which ##\alpha \cdot a \equiv 1\pmod n## has a solution ##\alpha ,## form a group structure. It is called the group of unities in our ring ##\mathbb{Z}_n.##

Additional exercises:

a.) We have seen that all ##a## with ##\operatorname{gcd}(a,n)=1## are unities in ##\mathbb{Z}_n##. Does the opposite direction also hold? Are all unities ##a## coprime to ##n##?

b) Which kind of integers ##n## have the property, that all ##a\not\equiv 0\pmod n## have multiplicative inverses?
 
  • Informative
  • Like
Likes   Reactions: Math100 and Delta2
fresh_42 said:
This is correct. Since all ##aa_i## are pairwise distinct, there have to be ##n## many of them (by the pigeonhole principle).

The mathematical background is the following:
The set of remainders modulo ##n## form a ring structure, i.e. you can add and multiply them, and the distributive law holds: ##a_i\cdot (a_j+a_k) \equiv a_i\cdot a_j +a_i \cdot a_k##. The ring is written ##\mathbb{Z}_n.## While addition forms a group, i.e. we have an additive inverse: ##a_i - a_i \equiv a_i + (-a_i) \equiv a_i +(n-a_i)\equiv 0,## multiplication has no inverse, e.g. ##3\cdot 4 \equiv 0 \pmod {6}## and there is no solution to ##x\cdot 4 \equiv 1 \pmod 6.##

However, if ##\operatorname{gcd}(a,n)=d## then we have an equation ##d= \alpha \cdot a +\nu \cdot n## by Bézout's identity. In case ##d=1## as here in the exercise, we get ##1\equiv \alpha \cdot a +\nu \cdot n \equiv \alpha \cdot a \pmod n## and so ##a^{-1}:\equiv \alpha \pmod n.## This means ##\alpha ## is the multiplicative inverse to ##a## modulo ##n.## The multiplicative inverse elements all together, i.e. all elements ##a## to which ##\alpha \cdot a \equiv 1\pmod n## has a solution ##\alpha ,## form a group structure. It is called the group of unities in our ring ##\mathbb{Z}_n.##

Additional exercises:

a.) We have seen that all ##a## with ##\operatorname{gcd}(a,n)=1## are unities in ##\mathbb{Z}_n##. Does the opposite direction also hold? Are all unities ##a## coprime to ##n##?

b) Which kind of integers ##n## have the property, that all ##a\not\equiv 0\pmod n## have multiplicative inverses?
The opposite direction will also hold. And all unities ## a ## are coprime to ## n ##.
 
Math100 said:
The opposite direction will also hold. And all unities ## a ## are coprime to ## n ##.
a) We have
$$
\operatorname{gcd}(a,n)=1 \stackrel{Bézout}{\Longrightarrow } 1=\alpha \cdot a + \nu \cdot n \Longrightarrow 1\equiv \alpha \cdot a \pmod n \Longrightarrow a^{-1}\equiv\alpha\pmod n
$$

How do we see that ##\alpha \cdot a \equiv 1 \pmod n \stackrel{?}{\Longrightarrow } \operatorname{gcd}(a,n)=1##?

b) If for all ##a\not\equiv 0\pmod n## exists an ##\alpha ## such that ##\alpha \cdot a\equiv 1 \mod n## is true, what can we say about ##n##?
 
  • Like
Likes   Reactions: Delta2
a) ## \alpha\cdot a\equiv 1\pmod {n}\not\!\!\!\implies gcd(a, n)=1 ##
b) What kind of integers does ## n ## belong to?
 
Math100 said:
a) ## \alpha\cdot a\equiv 1\pmod {n}\not\!\!\!\implies gcd(a, n)=1 ##
b) What kind of integers does ## n ## belong to?
Not sure but I think a) holds. Do you have a counterexample?
b) n is the kind of integer that we quite often deal with in number theory. To make it more clear to you, if for all ##a##, ##a=1,2,...,n-1## it holds that ##gcd (a,n)=1## then ##n## must be ...
 
For general n ( meaning not necessarily prime), you can't say that $$ n|a(a_n-a_j)$$ implies$$ n|a $$or$$ n|(a_n -a_j) $$. But by assumption,$$ gcd(a,n)=1$$. So it must be that $$n|(a_n-a_j)$$. But the latter can only happen if $$a_n ==a_j mod n$$, which is not possible(why?)
 
Math100 said:
a) ## \alpha\cdot a\equiv 1\pmod {n}\not\!\!\!\implies gcd(a, n)=1 ##
Turn ## \alpha\cdot a\equiv 1\pmod {n}## into an equation, assume ##\operatorname{gcd}(a,n)=d##, and turn it into equations, too.
Math100 said:
b) What kind of integers does ## n ## belong to?
All ##a\not\equiv 0\pmod n## are ##a\in \{1,2,\ldots,n-1\}##. We assume that every one of them has a solution to ##x\cdot a\equiv =1\pmod n.## If this is the case, and say ##d\,|\,n## and ##d\,|\,a## what can we say about ##d##? And if all ##a\in \{1,2,\ldots,n-1\}## are coprime to ##n##, and say ##e\,|\,n##, what do we know about ##e##?
 
  • Love
Likes   Reactions: Delta2
  • #10
Delta2 said:
Not sure but I think a) holds. Do you have a counterexample?
b) n is the kind of integer that we quite often deal with in number theory. To make it more clear to you, if for all ##a##, ##a=1,2,...,n-1## it holds that ##gcd (a,n)=1## then ##n## must be ...
I thought I had a counterexample but I don't think so. Now I think that ## \alpha\cdot a\equiv 1\pmod {n}\implies gcd(a, n)=1 ##, because ## a ## and ## n ## are pairs of two consecutive numbers, meaning they are coprime numbers. As for part b), if for all ## a ##, ## a=1, 2, ..., n-1 ##, it holds that ## gcd(a, n)=1 ##, then ## n ## must be prime.
 
  • Like
Likes   Reactions: Delta2
  • #11
Math100 said:
I thought I had a counterexample but I don't think so. Now I think that ## \alpha\cdot a\equiv 1\pmod {n}\implies gcd(a, n)=1 ##, because ## a ## and ## n ## are pairs of two consecutive numbers, meaning they are coprime numbers. As for part b), if for all ## a ##, ## a=1, 2, ..., n-1 ##, it holds that ## gcd(a, n)=1 ##, then ## n ## must be prime.
The second part is correct. But ##a## and ##n## are not a pair of consecutive numbers.

If ##\alpha\cdot a\equiv 1\pmod {n}## then ##\alpha \cdot a -1 = n\cdot k## for some integer ##k##. This means ##1=\alpha \cdot a - n\cdot k.## Now imagine a number ##d## that divides ##a## and divides ##n##.
 
  • #12
fresh_42 said:
The second part is correct. But ##a## and ##n## are not a pair of consecutive numbers.

If ##\alpha\cdot a\equiv 1\pmod {n}## then ##\alpha \cdot a -1 = n\cdot k## for some integer ##k##. This means ##1=\alpha \cdot a - n\cdot k.## Now imagine a number ##d## that divides ##a## and divides ##n##.
Suppose ## \alpha\cdot a\equiv 1\pmod {n} ##.
Then ## \alpha\cdot a-1=n\cdot k ## for some ## k\in\mathbb{Z} ##.
This means ## 1=\alpha\cdot a-n\cdot k ##.
Note that ## gcd(a, n)=1\implies\alpha\cdot a+n\cdot k=1 ##.
Thus ## \alpha\cdot a\equiv 1\pmod {n}\nRightarrow gcd(a, n)=1 ##.
Therefore, the opposite direction does not hold.
 
  • #13
Math100 said:
Suppose ## \alpha\cdot a\equiv 1\pmod {n} ##.
Then ## \alpha\cdot a-1=n\cdot k ## for some ## k\in\mathbb{Z} ##.
This means ## 1=\alpha\cdot a-n\cdot k ##.
If ##\operatorname{gcd}(a,n)=d ## then ##d\,|\,a## and ##d\,|\,n##. Thus ##d\,|\,(\alpha a-nk)=1## so ##d=\pm 1.## With the convention that ##\operatorname{gdc}(\ldots)>0## we get ##d=1.##

Hence ##\alpha\cdot a\equiv 1\pmod {n}\Longrightarrow \operatorname{gcd}(a,n)=1.##

The other direction was in post #3, so
$$
\exists \alpha \, : \,\alpha\cdot a\equiv 1\pmod {n}\Leftrightarrow \operatorname{gcd}(a,n)=1
$$

Math100 said:
Note that ## gcd(a, n)=1\implies\alpha\cdot a+n\cdot k=1 ##.
Thus ## \alpha\cdot a\equiv 1\pmod {n}\nRightarrow gcd(a, n)=1 ##.
Therefore, the opposite direction does not hold.
 
  • Like
Likes   Reactions: Math100
  • #14
fresh_42 said:
If ##\operatorname{gcd}(a,n)=d ## then ##d\,|\,a## and ##d\,|\,n##. Thus ##d\,|\,(\alpha a-nk)=1## so ##d=\pm 1.## With the convention that ##\operatorname{gdc}(\ldots)>0## we get ##d=1.##

Hence ##\alpha\cdot a\equiv 1\pmod {n}\Longrightarrow \operatorname{gcd}(a,n)=1.##

The other direction was in post #3, so
$$
\exists \alpha \, : \,\alpha\cdot a\equiv 1\pmod {n}\Leftrightarrow \operatorname{gcd}(a,n)=1
$$
I didn't know that ## d=\pm 1 ##.
 
  • #15
Math100 said:
I didn't know that ## d=\pm 1 ##.
These are the only divisors of ##1.## And since ##d\,|\,a## and ##d\,|\,n## it automatically divides ##\alpha a-nk## which equals ##1##.
 
  • Like
Likes   Reactions: Math100

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
6
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K