reenmachine said:
So ~ is an undefined relation at this very moment in the sentence?
Yes.
reenmachine said:
What does "-" mean in the part I bolded (n-m)?
It's the usual subtraction operation on the set of integers.
reenmachine said:
By saying ##n\sim m \leftrightarrow n-m = \{x \in Z | 3x\}## , are we trying to create a ~ relation that would mean "equals" between n and m , which in that case would something 0=3?
We wouldn't use the word "equals", but we are trying to define an equivalence relation, and those have a lot in common with equality. Instead of equals, we could say something like "is equivalent to". In this case, there is however a better option, "is congruent modulo 3". So, the definition tells us that two integers are said to be congruent modulo 3 if and only if their difference is an integer multiple of 3.
Wikipedia uses the notation ##\equiv## instead of ##\sim## (on
this page), so maybe I should have used that.
reenmachine said:
So I need to show that m~n means m=n if and only if n-m is an integer multiple of 3?
No, that's the definition of m~n, and you don't need to prove a definition. What needs to be proved here is that ~ is symmetric (x~y if and only if y~x), reflexive (x~x) and transitive (if x~y and y~z, then x~z).
reenmachine said:
If ##[7] = \{m\in\mathbb Z:m\sim 7\}## , what is happening? What can ##m## be?
[7]={...,-2,1,4,7,10,13,...}.
reenmachine said:
I don't understand that each integer belongs to exactly one equivalence class.Is the number of equivalence class infinite like the integer? So 7 belongs to [7]? I'm a little bit lost.
There are only three equivalence classes, [0],[1],[2]. Yes, 7 belongs to [7], but [7]=[1].
It's a good exercise to prove the following theorem: Let X be an arbitrary set, and let ~ be an arbitrary equivalence relation on X. For each x in X, define [x] by ##[x]=\{y\in X:x\sim y\}##.
(a) For all ##x,y\in X##, either ##[x]\cap[y]=\varnothing## or ##[x]=[y]##.
(b) For all ##x\in X##, there's a ##y\in X## such that ##x\in[y]##.
Note that (a) ensures that each element of X belongs to at most one equivalence class, and that (b) ensures that each element of X belongs to at least one equivalence class. So together they imply that each element of X belongs to exactly one equivalence class.
reenmachine said:
So basically here we demonstrate that by adding a relation between two different classes , you actually get the sums of the number of these two classes
No, the relation partitions the set into equivalence classes. Then we focus on the set of equivalence classes ##\mathbb Z/\!\sim\,=\{[0],[1],[3]\}## instead. Since we just defined this set, there's no addition operation defined on it yet. So we define one like this: For all ##n,m\in\{0,1,2\}##, we define [n+m] by ##[n]+[m]=[n+m]##.
reenmachine said:
, so for exemple [2]+[3] = [2+3] = [5].So this is the equivalent class [5]? Where I'm lost is from there how do I ''transform'' him into 1?
[5]={...,2,5,8,...}=[2].
reenmachine said:
Following from my previous question , if ##n=2## and ##m=3## , then ##2+3 = ([2]+[3]) = [2+3] = [5] \cap S##.This is another key part where I'm confused , why is there an intersection between [5] and {0,1,2}?
We want the result to be a number in S. We have [5]={...,-1,2,5,8,...}. If we intersect this with S, we get...uhh...we get {2}, not 2 as I wanted. So my definition doesn't quite make sense. Let me try again:
We can define addition modulo 3 on the set S={0,1,2} by saying that n+m (where + denotes the operation we're trying to define) is the unique k in S such that [k]=[n+m] (where + denotes the usual addition operation on the integers).
So we don't need the addition operation that I defined on the set of equivalence classes. Not just to define "addition modulo 3" on the set {0,1,2} anyway. That's not surprising , since there are perfectly adequate ways to define that operation without mentioning equivalence classes at all.
However, there's an interesting observation to be made here. The addition operation we defined on the set {[0],[1],[2]} is such that e.g. [2]+[2]=[4]=[1]. So this set with its addition operation "behaves" exactly like {0,1,2} with its addition operation. It's like we're doing exactly the same thing when we're working with {[0],[1],[2]} and its addition operation, as when we're working with {0,1,2} and its addition operation. The notations are different, but everything else is the same.
We have found a "thing" that, except for notation, is "just like" some other thing. There are some fancy mathematical terms for this. You don't have to learn them now, but I guess it can't hurt if I mention them. The "things" we're working with here are called
groups, and the technical way to say that the first one is "just like" the other one is to say that these groups are
isomorphic.
reenmachine said:
Basically [4] = [1] , but when did we proved or suggested that?
It follows from the definitions of [n] and ~. [4] is the set of all integers that differ from 4 by an integer multiple of 3. [1] is the set of all integers that differ from 1 by an integer multiple of 3. It's pretty obvious that they are the same, and it's easy to prove it.
reenmachine said:
Yes , but if we use them as ##r(A) \cup s(B) \cup f(C)## , then it describes the set ##\{0,1,2\}## that transformed each elements of A into 0 , each elements of B into 1 and each elements of C into 2 no?
We have ##r(A)\cup s(B)\cup f(C)=\{0\}\cup\{1\}\cup\{2\}=\{0,1,2\}##, but I don't see the point of introducing these functions.