Equivalence Classes Homework: (a) & (b)

AI Thread Summary
The discussion revolves around understanding equivalence classes defined by the relation D on pairs of integers, where (a,b)D(c,d) if a is congruent to c modulo 2 and b is congruent to d modulo 3. Participants clarify that in modulo 2, integers are categorized as odd or even, while in modulo 3, they fall into three categories based on their remainders. For part (a), the equivalence class of (5,3) includes pairs like (5,3), (7,6), (9,9), and (11,12), as they share the same congruences. The total number of equivalence classes is determined to be six, corresponding to the combinations of the two modulo conditions. The discussion emphasizes the importance of understanding modular arithmetic for solving the homework problems effectively.
PolyFX
Messages
30
Reaction score
0

Homework Statement


<br /> \forall (a,b), (c,d) \in (Z^2), (a,b)D(c,d) \leftrightarrow a\equiv c\mod\2\and\b\equiv d mod 3 <br />

*edit* Sorry the b = d mod 3 is all part of the same line.

(a) List four elements of the equivalence class [{5,3}]

(b) How many equivalence classes of D are there in total? List a representative element of each of them.

Homework Equations


The Attempt at a Solution



(5,3)D(c,d)

a = c mod 2 can also be written as 2 = a-c
b = d mod 3 can also be written as 3 = b-d

Would I need to somehow use the above two lines in this problem?

I'm very lost on this one and have no clue where to start.
 
Physics news on Phys.org
I took the liberty of cleaning up your LaTeX formatting to make everything visible.
PolyFX said:

Homework Statement


<br /> \forall (a,b), (c,d) \in (Z^2), (a,b) D (c,d) \leftrightarrow a \equiv c~mod~2~and~b~\equiv~ d~mod~3 <br />

*edit* Sorry the b = d mod 3 is all part of the same line.

(a) List four elements of the equivalence class [{5,3}]

(b) How many equivalence classes of D are there in total? List a representative element of each of them.


Homework Equations





The Attempt at a Solution



(5,3)D(c,d)

a = c mod 2 can also be written as 2 = a-c
b = d mod 3 can also be written as 3 = b-d

Would I need to somehow use the above two lines in this problem?

I'm very lost on this one and have no clue where to start.

In mod 2 arithmetic, every integer is congruent to either 0 or 1. In mod 3 arithmetic, every integer is congruent to 0, 1, or 2. For a pair of numbers, this represents 6 possibilities.
 
Hi mark thank you for your reply,


So "a mod b" is always going to produce an integer "b - 1"?

So for part a here is what I have so far;

a == c mod 2
=> a mod 2 = c mod 2

we let a = 5

so 5 mod 2 = c mod 2

Is this correct so far?


-Thank you in advance.
 
PolyFX said:
Hi mark thank you for your reply,


So "a mod b" is always going to produce an integer "b - 1"?
I don't know what you mean by "b - 1". a mod b will be one of b integer values: 0, 1, 2, 3, ..., b - 1. a mod b is the remainder after a is divided by b.
PolyFX said:
So for part a here is what I have so far;

a == c mod 2
=> a mod 2 = c mod 2

we let a = 5

so 5 mod 2 = c mod 2

Is this correct so far?
Yes, but you're not really getting all that far. 5 mod 2 = 1, 7 mod 2 = 1, 6 mod 2 = 0. In mod 2 arithmetic, every integer is put into one of two buckets: all the odd integers go in one bucket, and all the even integers go in the other bucket.

In mod 3 arithmetic, all integers go into one of three buckets. 3, 6, 9, ... go into one bucket. 4, 7, 10, ... go into another bucket, and 5, 8, 11, ... go into the third bucket. Each number in the first group here is congruent to 0 mod 3. Each number in the second group is congruent to 1 mod 3, and each number in the third group is congruent to 2 mod 3.
PolyFX said:
-Thank you in advance.
 
Oh I see now.

so

5 mod 2 = 1
c mod 2 = 1

therefore c can be 5, 7, 9, 11, etc. since 7/2 has a remainder of 1 and 9/2 has a remainder of one.


Similarly,

3 mod 3 = 0 so;
d mod 3 = 0

therefore d can be 3, 6, 9, 12 etc.

So would 4 ordered pairs be;

(5,3), (7,6), (9,9), (11,12)?



-Thanks again.
 
Yes, those ordered pairs would be in the same equivalence class as (5, 3), as would (1, 0).

To clarify a couple of things you wrote, if c mod 2 = 1, then c could be any odd integer, including the negative ones. All of them could be represented as {..., -3, -1, 1, 3, 5, ...}

If d mod 3 = 0, then d is any integer that is evenly divisibly by 3. All of them would be {..., -6, -3, 0, 3, 6, 9, 12, ...}
 
Back
Top