Prove that a relation is an equivalence relation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 25K views
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[tex]\in[/tex]S[tex]\rightarrow[/tex] (x,x) [tex]\in[/tex]R
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 [tex]\leftrightarrow[/tex] y~x

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

[tex]x \sim y[/tex]

so that

[tex] 7 \mid x - y [/tex]

To show that

[tex]y \sim x[/tex]

you need to show that

[tex] 7 \mid y - x[/tex]

How can you do that?


For the transitive part, begin by assuming

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

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

[tex] x \sim z[/tex]
 
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[tex]\in[/tex]S[tex]\rightarrow[/tex] (x,x) [tex]\in[/tex]R
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 [tex]\leftrightarrow[/tex] 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[tex]\leftrightarrow[/tex]y~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[tex]\in Z[/tex]|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!