Prove that a relation is an equivalence relation

AI Thread Summary
The discussion revolves around proving that the relation defined on integers by p~q if and only if 7|p-q is an equivalence relation. Participants confirm that the relation is reflexive since 7 divides the difference of any integer with itself. For symmetry, it is established that if 7 divides x-y, then it also divides y-x, confirming that x~y implies y~x. The transitive property is demonstrated by showing that if 7 divides both x-y and y-z, it follows that 7 divides x-z. The conversation also touches on the equivalence class, with a participant questioning the correct remainders when dividing by 7.
kenmcfa
Messages
3
Reaction score
0
Please be nice to me, I'm new here. Anyway, help to solve this maths problem would be much appreciated:

Homework Statement


Work out a detailed proof (below) that the relation on the integers defined by p~q if and only if 7|p-q is an equivalence relation:
a) the relation is reflexive
b) the relation is symmetric
c) the relation is transitive

Homework Equations


p~q if and only if 7|p-q

The Attempt at a Solution


a) (I'm pretty sure this is done right)
If relation is reflexive then:
x\inS\rightarrow (x,x) \inR
Therefore x~x
7|x-x since x-x=0 and 7|0
Therefore relation is reflexive.

That's the easy bit. Now:
b)If relation is symmetric then:
x~y \leftrightarrow y~x

And I don't know how to go on from there. Please help me!
 
Last edited:
Physics news on Phys.org
Suppose

x \sim y

so that

<br /> 7 \mid x - y <br />

To show that

y \sim x

you need to show that

<br /> 7 \mid y - x<br />

How can you do that?


For the transitive part, begin by assuming

<br /> \begin{align*}<br /> x \sim y &amp; \text{ so } 7 \mid x - y \\<br /> y \sim z &amp; \text{ so } 7 \mid y - z<br /> \end{align*}<br />

Write out what these two statements mean, and you should see why it follows that

<br /> x \sim z<br />
 
kenmcfa said:
Please be nice to me, I'm new here. Anyway, help to solve this maths problem would be much appreciated:

Homework Statement


Work out a detailed proof (below) that the relation on the integers defined by p~q if and only if 7|p-q is an equivalence relation:
a) the relation is reflexive
b) the relation is symmetric
c) the relation is transitive


Homework Equations


p~q if and only if 7|p-q


The Attempt at a Solution


a) (I'm pretty sure this is done right)
If relation is reflexive then:
x\inS\rightarrow (x,x) \inR
Therefore x~x
7|x-x since x-x=0 and 7|0
Therefore relation is symmetric.
You mean "reflexive".

'quote]That's the easy bit. Now:
b)If relation is symmetric then:
x~y \leftrightarrow y~x

And I don't know how to go on from there. Please help me![/QUOTE]
x~y means 7 divides x-y which means x-y= 7n for some integer n.

y~ x means 7 divides y- x which means y- x= 7m for some m. Knowing that x- y= 7n, y- x= 7 times what?

"Transitive": if x~y and y~z then x~z.

Okay, you know x~y so x- y= 7n for some integer n.
You know y~ z so y- z= 7m for some integer m.
Therefore x- z= 7*what?
(hint: what is (x- y)+ (y- z)?)
 
Ok, focusing on the symmetric bit for now (sorry about that major typo, HallsofIvy):

x-y=7n
y-x=-7n
m=-7n

I can see that this is leading to some sort of a proof, but I don't really know what to write. Is something like the following enough for proof?:
m and n have a common factor of 7, so x-y and y-x are always divisible by 7. Therefore x~y\leftrightarrowy~x.
 
I've proved the transitivity now, thanks for the help you two. Unfortunately,I've just realized that there's more:
Fill in the blanks:
"The equivalence class containing 5 is given by
[5] = {n\in Z|n has remainder _ when divided by _}"
Am I supposed to put in 0 and 7? If it is, that seems like a bit of a random question. If it isn't, then I have no idea what's going on!
 
Back
Top