Equivalence Relation: A relation which is reflexive, symmetric and transitive.
It turns out that every equivalence relation on a set A determines a partitions of A, whose elements are the equivalence classes for the equivalence relation. Let us define them precisely.
Partition on A: A subset of power set of A, , is called a partition on A if it has following three properties.
- = A
- is pairwise disjoint, that means . Simply speaking, every two different elements of are disjoint
-
Equivalence Classes: Suppose R is an equivalence relation on A, and . Then the equivalence class of x with respect to R is the set
= { | yRx }
If R is clear from the context, then we just write . The set of all equivalence classes of elements of A is called A modulo R, and is denoted by A/R.
A/R = {[} = {}
There are some interesting theorems proved. I'll note them down here for the reference purposes.
Theorem: Suppose R is an equivalence relation on A, then A/R is a partition of A
it can be proved using following lemmas.
lemma1: For every ,
lemma2: For every and , iff [y] = [x]. That is, all the equivalence classes are disjoint
Theorem: Suppose A is a set and is a partition of A. Then there is an equivalence relation R on A s.t. A/R =
and it happens to be R =
=================================================================================
Ex-1: {{1}, {2}, {3}}
{{1,2}, {3}}
{{1}, {2,3}}
{{1,3}, 2}
{{1,2,3}}
Ex-2: {(1,1),(2,2),(3,3)}
{(1,1),(2,2),(3,3),(1,2),(2,1)}
{(1,1),(2,2),(3,3),(2,3),(3,2)}
{(1,1),(2,2),(3,3),(1,3),(3,1)}
{(1,1),(2,2),(3,3),(1,2),(2,3),(1,3),(2,1),(3,2),(3,1)}
Ex-3:
(a) Yes, it is equivalence relation. The equivalence classes are sets of all the words that start with a, sets of all the words that start with b,...
(b) It is not an equivalence relation as its not transitive. For example and but
(c) Yes, it is equivalence relation. words of same length would fall into same equivalence class.
Ex-4:
(a) Its not equivalence relation as its not symmetric. For example but
(b) Yes, its an equivalence relation. Equivalence classes would be, set of all the real numbers such that their difference is any rational number.
(c) Yes, its an equivalence relation. Let us see example of an equivalence class..
[1] = {..., , , , , 1, 10, 100, 1000, 10000, ...}
In general for any real number x, the equivalence class would look like
[x] = {..., , , , , x, x*10, x*100, x*1000, x*10000, ...}
Ex-5: P = set of all people
B = { | p and q have same birthday }
= { | p has birthday on day d}
by definition of equivalence classes
P/B = {}
Now would be a equivalence class if there exists a person p s.t. [p] = i.e. there is atleast one person who was born on day d. So, if we make the assumption that for all the days there is atleast one person who was born on that day then P/B = {}.
Ex-6: Clearly the relation is reflexive as one triangle is similar to itself. Its symmetric because if a triangle x is similar to y, then y is similar to x also. Its also transitive because if x and y are similar triangles, y and z are similar triangles then clearly x and z are also similar triangles. Thus similarity relation is equivalence relation on set of triangles.
Ex-7: Proof for R is symmetric:
Let x,y be arbitrary elements of A s.t. . Then we can choose a s.t. , that is and . Thus , and so . Since x,y are arbitrary so R is symmetric
Proof for R is transitive:
Let x,y,z be arbitrary element of A s.t. and . Then we can choose s.t. and s.t. . Thus and , and . Since is a partition, so pairwise disjoint. Since and , so . Thus , hence and hence . Since x,y,z are arbitrary so R is transitive
Ex-8: () Suppose A/R = A/S. Let (x,y) be an arbitrary ordered pair in R. Then and . Since A/R = A/S, so and . Thus . Since (x,y) is arbitrary so
() Using a similar argument as above, we can prove that
Thus R = S
Ex-9: () Let (x,y) be an arbitrary element of S. Then we can choose an s.t. . Since = A/R, so X is an equivalence class of R on A. Thus X = = , hence .
() Let (x,y) be an arbitrary element of R. Then we can choose an s.t. and . Since = A/R and , so . Thus . Since (x,y) is arbitrary so
Thus S = R
Ex-10:
(a) Proof for is reflexive:
Let x be an arbitrary real number. since (x - x = 0*m), so . Since x is arbitrary, so is reflexive.
Proof for is symmetric:
Let x and y be arbitrary real numbers s.t. . Then we can choose a s.t. (x - y = km). Then (y - x = -km). Since , so . Since x,y are arbitrary so is symmetric
(b) For :
Let us see an example.. [1] = {....-7,-5,-3,-1,1,3,5,7,.....} = { | |n|%2 = 1}
Now you can see that has two equivalence classes which are
{ | |n|%2 = 1}, basically all odd integers
{ | |n|%2 = 0}, all even integers
For :
It has 3 equivalence classes
{ | n % 3 = 0 }, all integers divisible by 3
{ | |n| % 3 = 1 }
{ | |n| % 3 = 2 }
Its easy to see that will have m equivalence classes
Ex-11: Since n is integer, so either its even or its odd. Let us consider both the cases
Case#1: n is even
Then, we can choose a s.t. n = 2k. Then = = . Then is divisible by 4. So (mod 4)
Case#2: n is odd
Then, we can choose a s.t. n = (2k + 1). then = = . Then = , which is clearly divisible by 4. So (mod 4)
Thus if n is an integer then either (mod 4) or (mod 4)
Ex-12: Suppose (mod m) and (mod m). clearly we can choose some s.t.
a - c = km ...(i) and
b - d = lm ...(ii)
adding eq (i) and (ii) we get
a + b - c - d = (k+l)m
=> (a+b) - (c+d) = (k+l)m
Since , so clearly (mod m)
From eq (i), a = km + c ...(iii)
From eq (ii),b = lm + d ...(iv)
On multiplying eq (iii) and (iv) we get
ab = (km + c)(lm + d)
=> ab = kl + clm + cd + kdm
=> ab - cd = (klm + kd + cl)m
Since (klm + kd + cl) is integer, so (mod m)
Ex-13:
(a) Let x be an arbitrary element of B. clearly . Since , so hence . So . Thus . Since x is arbitrary so S is reflexive on B.
Let x,y be arbitrary elements of B s.t. . Then . Since R is equivalence relation, hence symmetric and so . Also . Thus . So . Since x,y are arbitrary so S is symmetric.
Let x,y,z be arbitrary elements of B s.t. and . So and , hence . Also . Thus . So . Since x,y,z are arbitrary so S is transitive.
Thus S is equivalence relation on B.
(b) Let x be an arbitrary element of B. Let y be arbitrary element of . Then
iff
iff
iff
iff
Since y is arbitrary, so =
Ex-14:
(a) Let X be an arbitrary set from . = = . Since , so . Since X is arbitrary, so R is reflexive on
Let (X,Y) be an arbitrary ordered pair in s.t. . Then , then , then , then . Thus . Since (X,Y) is arbitrary so R is symmetric.
Let (X,Y) and (Y,Z) be two arbitrary ordered pairs in s.t. and . Then and . Then
...(i) and
...(ii)
We will prove that . Let x be an arbitrary element of . Then either or . Let us consider both the cases
Case#1:
Then and . Now either or , so either or . It follows from eq(i) and eq(ii) that .
case#2:
By a similar argument as above, .
Since x is arbitrary, so
Since X,Y,Z are arbitrary so R is transitive on
Since R is reflexive, symmetric and transitive so R is equivalence relation on
(b) We will prove it by contradiction. Suppose X be arbitrary element of . Assume Y,Z be two different arbitrary elements of . s.t. and .
Since , so .
Since , so . Since R is equivalence relation and hence symmetric, so . Since and and R is transitive, so .
Then,
Since Y and Z are different, so has to be non-empty. Then we can choose some . Since , so . Since , so either or . Let us consider both the cases
Case#1:
Then and . Now since , so . And that is a contradiction, hence this case is not possible.
Case#2:
Then and . Now since , so . And that is a contradiction. hence this case is not possible.
Since none of the cases are possible, so such x can not exist and hence . Then .
Since X is arbitrary so, for every there is exactly one such that
Ex-15: First, we will prove that = .
() Let x be an arbitrary element of . Then we can choose some s.t. . Now either or . Let us choose both the cases.
Case#1:
Then , then . Thus
Case#2:
Then , then . Thus
Since and x is arbitrary, so
() Let x be an arbitrary element of . Let us consider both the cases
Case#1:
Then . Then we can choose s.t. . Since , so . Thus
Case#2:
Then . Then we can choose s.t. . Since , so . Thus
Since and x is arbitrary, so
Thus, =
Second, we will prove that is pairwise disjoint
Let X,Y be two arbitrary elements of s.t. . Let us consider following exhaustive set of cases
Case#1: and
Since F is a partition, so
Case#2: and
Since G is a partition, so
Case#3: and
Then and , so and . Since A and B are disjoint, so
Case#3: and
Then and , so and . Since A and B are disjoint, so
Thus X and Y are disjoint. Since X and Y are arbitrary, so is pairwise disjoint
Third, we will prove that every element in is non-empty.
Let X be an arbitrary element of . Then either or . Since F and G both are partitions so in any of the two cases . Since X is arbitrary so every element in is non-empty
Hence, is a partition of
Ex-16:
(a) First, we prove that is reflexive on
Let x be an arbitrary element of . Then either or . Then either or . Then . Since x is arbitrary, so is reflexive on
Second, we prove that is symmetric on
Let (x,y) be an arbitrary ordered pair in . Then either or . Then either or . Then . Since (x,y) is arbitrary so is symmetric on
Third, we prove that is transitive on
Let (x,y) and (y,z) be arbitrary elements of . Then, following cases are possible.
Case#1: and
Then
Case#2: and
Then
Case#3: and
Then and , and . Since A and B are disjoint, y can't be element of both and hence this case is not possible
Case#4: and
Then and , and . Since A and B are disjoint, y can't be element of both and hence this case is not possible
Thus either or . Thus . Since (x,y) and (y,z) are arbitrary so is transitive
Hence is an equivalence relation on
(b) First, we prove that for all , = .
Suppose x is arbitrary element of A.
() Let y be an arbitrary element of . Then . Then either or . Since , so . Thus . Hence . Since y is arbitrary so
() Let y be an arbitrary element of . Then , then . So . Since y is arbitrary, so
Hence = .
By using a similar argument, we can prove that for all , =
(c) () Let X be an arbitrary element of . Then we can choose some s.t. X = . Then using the result of part(b), either and or and . Then either or . Thus . Since X is arbitrary, so
() Let X be an arbitrary element of . Then either or . Then either we can choose some s.t. or we can choose some s.t. . Using results of part(b), It follows from both the cases that whether or . Thus . Since X is arbitrary, so
Thus, =
Ex-17: First, we prove that = A.
() Let x be an arbitrary element of . Then we can choose some s.t. . Since , then we can choose some and s.t. Z = . Then and . Then and . Since = = A, so . Since x is arbitrary, so
() Let x be an arbitrary element of A. Since A = = , so and . Then we can choose some and s.t. and . Then . Let Z = , so . Then . Since x is arbitrary so .
Thus = A
Ex-18: Basically for every element X in and for every element Y in , create . Ignore and rest are all elements of .
So potentially, = {, , , , {0}, {0} }
= {, , , , {0}, }
remove all empty sets, we get
= {, , , , {0}}
Ex-19:
(a) First, we prove the T is reflexive.
Let x be an arbitrary element of A. Then and . Then . Then . Since x is arbitrary, so T is reflexive on A.
Second, we prove that T is symmetric.
Let (x,y) be an arbitrary element of T. Then and . Since R,S are symmetric so and . Then . Thus . Since (x,y) is arbitrary so T is symmetric on A
Third, we prove that T is transitive.
Let (x,y) and (y,z) be two arbitrary elements of T. Then and , and . Since R,S are transitive so and . Then . Thus . Since (x,y) and (y,z) are arbitrary so T is transitive on A.
Hence T is an equivalence relation on A.
(b) Let x be an arbitrary element of A. Let y be an arbitrary element of .
so iff
iff
iff
iff
iff
Since y is arbitrary, so =
(c) Let X be an arbitrary element of .
Then iff
iff (using part(b) result)
iff
Since X is arbitrary so (A/T) = (A/R).(A/S)
Ex-20: First, we prove that =
() Let p be an arbitrary element of . Then we can choose some s.t. . Since , so we can choose some and s.t. Z = . Thus . Since , so and hence . By a similar argument . Thus . Since p was arbitrary, so
() Let (x,y) be an arbitrary element of . Then, and . Then and . Then we can choose some s.t. and we can choose some s.t. . Thus . So . Since (x,y) is arbitrary so
Thus =
Second, we prove that pairwise disjoint.
Suppose Z and W be two arbitrary elements of s.t. . Then we can choose some , , , s.t. and . Since , so either or . Let us consider both the cases
Case#1:
Since is a partition, so . Then it follows that
Case#2:
Since is a partition, so . Then it follows that
Thus Z and W are disjoint. Since Z and W are arbitrary, so is pairwise disjoint
Third, we prove that every element of is non-empty
Let Z be an arbitrary element of . Then we can choose some and s.t. . Since and are partitions, so and . Thus . So . Since Z is arbitrary, so every element of is non-empty
Hence is a partition of
Ex-21: =
So = {}
Let us describe them in terms of xy-plane(in turn in terms of 4 quadrants of the plane).
is 3rd(bottom left) quadrant
is 2nd(top left) quadrant
is negative X-axis
is 4th(bottom right) quadrant
is 1st(top right) quadrant
is positive X-axis
is negative Y-axis
is positive Y-axis
{(0,0)} is origin
Ex-22:
(a) First, we prove that T is reflexive on A x B.
Let (x,y) be an arbitrary element of (A x B). Then and . Then . Since (x,y) is arbitrary so T is reflexive.
Second, we prove that T is symmetric on A x B.
Let ((x,y),(u,v)) be an arbitrary element of T. Then and . Then and . Thus . Since ((x,y),(u,v)) is arbitrary so T is symmetric.
Third, we prove that T is transitive on A x B.
Let ((x,y),(u,v)) and ((u,v),(l,m)) be arbitrary elements of T. Then and , and . Then and . Then . Thus T is transitive.
Hence, T is equivalence relation on A x B.
(b) Suppose and . Let (x,y) be an arbitrary element of A x B. Then
iff
iff
iff
iff
Since (x,y) is arbitrary, so =
(c) RHS
= (A/R) (B/S)
= {} , now using result of part(b)
= (}
= (A x B)/T
= LHS
Ex-23:
(a) Suppose R is compatible with S. Let T be a relation on A/S, defined as follow
T = {}
Let x,y be two arbitrary elements of A. Then
iff
iff
iff
iff (since R is compatible with S)
So T satisfies the given property and hence such a relation exists.
(b) Suppose x,y,a,b are arbitrary elements on S s.t. (xSa) and (ySb). Let (xRy). Then . Since (xSa), so . Since (ySb), so . Thus . Then (aRb). So, If (xRy) then (aRb). Using a similar argument we can prove that If (aRb) then (xRy). Hence (xRy) iff (aRb). Thus R is compatible with S.
Ex-24:
(a) First, we prove that S is reflexive on A.
Let x be an arbitrary element of A. Since R is reflexive, so . And also . Thus . So . Since x is arbitrary, so S is reflexive.
Second, we prove that S is symmetric on A.
Let (x,y) be arbitrary element of S. Then and . Then and . Then . Thus . Since (x,y) is arbitrary so S is symmetric.
Third, we prove that S is transitive on A.
Let (x,y) and (y,z) be arbitrary elements of S. Then and , and . Since and and R is transitive, so . Since and , so and . Since R is transitive, so and hence . So . Thus . So S is transitive.
Hence S is equivalence relation on A.
(b) we can use the result from Ex23(a), the statement in question can be proved by just proving that R is compatible with S.
Let x,y,a,b be arbitrary elements of A s.t. (xSa) and (ySb). Let (xRy). Since (xSa), so and hence (aRx). Since (aRx) and (xRy) and R is transitive, so (aRy). Since (ySb), so (yRb). Since (aRy) and (yRb) and R is transitive, so (aRb). So, If (xRy) then (aRb). Using a similar argument we can prove that If (aRb) then (xRy). Thus R is compatible with S.
(c) First, we prove that T is reflexive on (A/S).
Let x be an arbitrary element of A. Since R is reflexive, so (xRx). Then . Since x is arbitrary, so T is reflexive on (A/S).
Second, we prove that T is anti-symmetric on (A/S).
Let x, y be arbitrary elements of A s.t. and . Then (xRy) and (yRx). Then (xRy) and (). Then (xSy). Then, . Thus, T is anti-symmetric on (A/S).
Third, we prove that T is transitive on (A/S).
Let x,y,z be arbitrary elements of A s.t. and . Then (xRy) and (yRz). Since R is transitive, so (xRz). Then . Thus T is transitive on (A/S).
Hence, T is partial order on (A/S).
Ex-25:
(a) First, we prove that R is reflexive on A.
Let X be an arbitrary element of A. Its clear that . Thus R is reflexive.
Second, we prove that R is transitive on A.
Let (X,Y) and (Y,Z) be arbitrary elements of R. Then Y has atleast as many elements as X and Z has atleast as many elements as Y, so Z has atleast as many elements as X. Then . Thus R is transitive.
Hence R is preorder on A.
(b) S = = { A x A | X and Y has same number of elements}
Since A = and I has 100 elements, so no element in A contains more than 100 elements.
A/S = {,
{elements of A containing 1 element},
{elements of A containing 2 elements},
...,
...,
{elements of A containing 100 elements}}
Clearly, A/S contain 101 elements.
And, if (X R Y) then . Then
T = { | Y has atleast as many elements as X}
Ex-26:
(a) First, we prove that R is reflexive on .
Let be an arbitrary partition on A. It follows from the definition of "refine" that refines itself. Then . Since is arbitrary, so R is reflexive.
Second, we prove that R is anti-symmetric on .
Let and be arbitrary partitions on A s.t. and . So refines and refines . Its not possible unless . Thus . So, R is anti-symmetric.
Third, we prove that R is transitive on .
Let , and be arbitrary partitions on A s.t. and . Let X be arbitrary element of , Y be arbitrary element of and Z be arbitrary element of . Then and . Then . Since X and Z are arbitrary, so refines . Hence . Thus R is transitive.
Hence, R is partial order on .
(b) () Suppose . Let be an arbitrary element of , that is A/S. Let a be an arbitrary element of . Then . Since , so . Thus . So . Since , so . Since is arbitrary, so refines .
() Suppose (A/S) refines (A/T). Let (x,y) be an arbitrary element of S. clearly, . Since and (A/S) refines (A/T), so we can choose some s.t. . So and hence . Since , so . Since T is equivalence relation, so its symmetric and transitive, thus it follows from and that . Since (x,y) is arbitrary so
Thus iff (A/S) refines (A/T)
(c) First, we prove that is a lower bound of {}.
So we need to prove that and . Let Z be an arbitrary element of , then by its definition we can choose some and s.t. . Then and . That means refines and both. Thus and . Hence is a lower bound of set {}
Second, we prove that is largest of all the lower bounds of {}.
Let be an arbitrary lower bound of {}. Let Z be an arbitrary element of . It follows that we can choose some and s.t. and . Then . Since , so refines . Then . Since is arbitrary so is largest of all lower bounds of {}.
Hence is greatest lower bound of {}.
Subscribe to:
Post Comments (Atom)
at ex-13) you have "Let x,y be arbitrary elements of B s.t. (x,y)∈S. Then (x,y)∈R. Since R is equivalence relation, hence symmetric and so (y,x)∈R. Also (y,x)∈BxB. Thus (y,x)∈R∩BxB. So (y,x)∈S. Since x,y are arbitrary so S is symmetric." how did you obtain (y,x)∈BxB
ReplyDelete