This section introduces another notation for Relation. It is motivated by the fact that in mathematics we often express a relationsip between two objects x and y by putting some symbol between them, e.g. x < y, x = y etc.
Imitating these notations, if R is a relation from A to B, and , mathematicians sometimes write xRy to mean
Another way to think about relations is to draw pictures of them with two ovals representing A and B with dots in them for each element, and for each pair draw an arrow from dot representing x to dot representing y.
If R is a relation from A to A, then it is sometimes also called a relation on A(or a binary relation on A). For example identity relation(=) is a binary relation. Binary relations can be represented with directed graphs.
Suppose R is a (binary)relation on A then
- R is reflexive on A if
- R is symmetric if
- R is transitive if
Moreover, what follows is that
- R is reflexive iff , where is the identity relation on A
- R is symmetric iff = R
- R is transitive iff
========================================================================================
Ex-4
(a) {(a,c), (b,d), (c,c), (d,a), (d,b)}
reflexive: no
symmetric: no
transitive: no
(b) {(a,b), (a,d), (b,a), (b,d)}
reflexive: no
symmetric: no
transitive: yes
(c) {(a,a), (b,b), (b,d), (c,c), (d,d), (d,b)}
reflexive: yes
symmetric: yes
transitive: yes
(d) {(a,b), (a,c), (a,d), (b,d), (c,d)}
reflexive: no
symmetric: no
transitive: yes
Ex-5: {(a,y), (a,z), (b,x), (c,y), (c,z)}
Ex-6: = {}
Since |a + b| < |a| + |b|
so |(x-y) + (y-z)| < |x-y| + |y-z| < r + s
=> |x - z| < r + s
Hence, = {}
Ex-7: () Suppose R is reflexive. Let x be an arbitrary element of A s.t. . It follows from our assumption that . Since x is arbitrary, so
() Suppose . Let x be an arbitrary element of A, then . It follows from our assumption that . Since x is arbitrary, so R is reflexive.
Ex-8: () Suppose R is transitive. Let x, z be arbitrary elements of A s.t. . Then, there exists a s.t. and . It follows from our assumption that . Since x and z are arbitrary, so
() Suppose . Let x,y,z be arbitrary elements of A s.t. and . Then . It follows from our assumption that . Since x,z are arbitrary, so R is transitive
Ex-9:
(a) Let x be arbitrary elements of A and z be an arbitrary element of B s.t.
So, iff
Since iff x = y
So, iff
Since x,z are arbitrary, so
(b) Let x be an arbitrary elements of A and z be an arbitrary element of B s.t.
So iff
Since iff y = z
So, iff
Since x,z are arbitrary, so
Ex-10:
Let x be an arbitrary element of A s.t. . Then , so . Then there exists a s.t. . Then . So . Since x is arbitrary, so
Let x be an arbitrary element of A s.t. . Then , so . Then there exists a s.t. . Then . So . Since x is arbitrary, so
Ex-11: Suppose R is reflexive. Let x,z be elements of A s.t. . It follows from our assumption that and . Since and , so . Since x,z are arbitrary, so
Ex-12:
(a) Suppose R is reflexive. Let x be an arbitrary element of A. It follows from our assumption that . Then also. Since x is arbitrary, so If R is reflexive then is also reflexive
(b) Suppose R is symmetric. Let x,y be arbitrary elements of A s.t. . It follows from our assumption that also. Then and as well. Since x, y are arbitrary, so If R is symmetric then so is
(c) Suppose R is transitive. Let x,y,z be arbitrary elements of A s.t. and . It follows from our assumption that also. Since , so . Since , so . And since , so . Since x,y,z are arbitrary, so If R is transitive then so is
Ex-13:
(a) Its true. Suppose R1 and R2 are reflexive. Let x be an arbitrary element of A. It follows from our assumption that . Then also. Since x is arbitrary, so If R1 and R2 are reflexive then is reflexive too.
(b) Its true. Suppose R1 and R2 are symmetric. Let x,y be arbitrary elements of A s.t. . Then or . Let us consider both the cases
Case#1:
Since R1 is symmetric, so . Then
Case#2:
Since R2 is symmetric, so . Then
Therefore . Since x, y are arbitrary, so If R1 and R2 are symmetric then so is
(c) Its false. Here is the counterexample.
A =
R1 = {(0,1), (1,2), (0,2)} //Its transitive
R2 = {(2,3), (3,4), (2,4)} //Its transitive
= {(0,1), (1,2), (0,2), (2,3), (3,4), (2,4)}
Its not transitive as and but
Ex-14:
(a) Its true. Suppose R1 and R2 are reflexive. Let x be an arbitrary element of A. It follows from our assumption that and . So . Since x is arbitrary, so If R1 and R2 are reflexive then so is
(b) Its true. Suppose R1 and R2 are symmetric. Let x,y be arbitrary elements of A s.t. . Then and . Then and . So . Since x,y are arbitrary so If R1 and R2 are symmetric then so is
(c) Its true. Suppose R1 and R2 are transitive. Let x,y,z be arbitrary elements of A s.t. and . So and , thus . Also and , thus . Therefore . Since x,y,z are arbitrary so If R1 and R2 are transitive then so is
Ex-15:
(a) Its false. Here is the counterexample.
A = {0,1}
R1 = {(0,0), (1,1), (0,1)}
R2 = {(0,0), (1,1)}
= {(0,1)}
clearly, its not reflexive
(b) Its true. Suppose R1 and R2 are symmetric. Let x,y be arbitrary elements of A s.t. . Then and . Since , it follows from our assumption that . Since , it follows from our assumption that . So . Since x,y are arbitrary, so if R1 and R2 are symmetric then so is
(c) Its false, here is the counterexample
R1 = {(0,1), (1,2), (0,2)}
R2 = {(0,2)}
= {(0,1), (1,2)}
clearly its not transitive
Ex-16: Suppose R and S are reflexive relations on A. Let x be an arbitrary element of A. It follows from our assumption that and . Thus . Since x is arbitrary, so If R and S are reflexive then so is
Ex-17: Suppose R and S are symmetric relations on A.
() Suppose is symmetric.
Let x,z be arbitrary elements of A s.t. . Since is symmetric, so . Then there exists a s.t. and . Since R is symmetric, so . Also since S is symmetric, so . Since and , so . Since x,z are arbitrary, so
Again let x,z be arbitrary elements of A s.t. . Then there exists a s.t. and . Since R is symmetric, so . Since S is symmetric, so . Since and , so . Since is symmetric, so . Since x,z are arbitrary, so .
Hence If is symmetric then =
() Suppose = . Let x,z be arbitrary elements of A s.t. . It follows from our assumption that . Then there exists a s.t. and . Since R is symmetric, so . Since S is symmetric, so . Thus . Since x and z are arbitrary, so If = then is symmetric
Ex-18: Suppose R and S are transitive relations on A, . Let x,y,z be arbitrary elements of A s.t. and .
Since , so there exists a s.t.
...(i) and
...(ii)
Also since , so there exists a s.t.
...(iii) and
...(iv)
From (ii) and (iii)
Since , so . Then there exists a s.t.
...(v) and
...(vi)
Since R is transitive, so from (iv) and (vi), ...(vii)
Since S is transitive, so from (v) and (i), ... (viii)
From (vii) and (viii) .
Since x and z are arbitrary, so If R, S are transitive and then is transitive.
Ex-19:
(a) If and then by definition there exist , s.t. xRy1 and there exist and s.t. y2Rz, where y1 and y2 may or may not be equal. given proof assumes them to be equal which is not right and that is the flaw in the proof
(b) Given theorem is incorrect, here is the counterexample.
A = {0,1,2,3}
R = {(0,1),(2,3)}
= {{0}, {1,2}, {3}, ...}
({0},{1,2}) because
({1,2),{3}) because
but ({0},{3}) because
Ex-20: Suppose R is transitive. Let X,Y,Z be arbitrary elements of B s.t. and . Let x be an arbitrary element of X, z be an arbitrary element of Z and we can chose a (we can chose because B contains non-empty subsets of A only, so Y should have atleast one element). Then and . Since R is transitive, so . Thus . Since X,Y,Z are arbitrary so we can conclude that If R is transitive then S is also transitive
Ex-21:
(a) Its true. Suppose R is reflexive. Let X be an arbitrary element of . Let x be an arbitrary element of X. Since , so , then It follows from our assumption that . So, for every x in X, we have same x in X s.t. . So . Since X is arbitrary, so If R is reflexive then S is also reflexive.
(b) Its false, here is the counterexample.
A = {0,1,2}
R = {(0,1), (1,0)}
= {{0}, {1}, {1,2}, ...}
X = {0}
Y = {1,2}
({0},{1,2}) because
({1,2},{0}) because
(c) Its true. Suppose R is transitive. Let X,Y,Z be arbitrary elements of s.t. and . Let x be arbitrary element of X, then we can chose a s.t. . Since , so we can chose a s.t. . Since and , it follows from our assumption that . Since x is arbitrary, so . Since X,Z are arbitrary so If R is transitive then S is also transitive
Ex-22: The proof and theorem, both are incorrect. The flaw is in finding a s.t. because its possible that there is no such y. Here is one example.
A = {1,2,3}
R = {(1,2), (2,1), (1,1), (2,2)}
Notice that although R is symmetric as well as transitive but its not reflexive because it doesn't have (3,3)
Ex-23: Analysis:
given:
goal: R is transitive If x,y,z are arbitrary elements of A s.t. and then
Assume the hypotheses
given: ; x,y and z are arbitrary elements of A s.t. and
goal: For every , if then
Let X be arbitrary subset of , Assume the hypotheses
given: ; x,y and z are arbitrary elements of A s.t. and ; ;
goal:
Formal Proof:
Let x,y,z be arbitrary elements of A s.t. and . Let X be an arbitrary subset of . Suppose . Now let us consider following exhaustive set of cases.
Case#1:
Since and and and , so also. Since , it follows that also
Case#2:
Consider Y = (X {x})\{y}. Since (Y {y} = X {x}), so (Y {y}) . Hence (Y {z}) .
So ((X {x})\{y} {z}) \in F
Then, (X\{y} {x}\{y} {z}
then, (X\{y} {x} {z}\{y}
then, ((X {z})\{y} {x})
then, ((X {z})\{y} {y})
then (X {z}
Thus (X {z} (x,z) \in R
Subscribe to:
Post Comments (Atom)
This comment has been removed by the author.
ReplyDeleteI'm struggling a bit in Ex. 13 (a). I started out with finding a counterexample:
DeleteA = {1,2,3,4,5}
R1= {(1,1); (2,2); (1,2)}
R2= {(3,3); (4,5); (4,4); (5,5)}
Thus,
R1∩R2=∅
But, is the ∅ itself reflexive?
Thanks for your help!
no problem jose. it is not a counter example, in your given case = {(1,1); (2,2); (1,2); (3,3); (4,5); (4,4); (5,5) } is clearly reflexive. but your example is not correct, given R1(and similarly R2) is not reflexive because but becoz for R1 to be reflexive *for each* element x in A, (x,x) must be in R1.
DeleteThe answer to exercise 6 is incorrect. It only establishes that Dr∘Ds is a subset of Dr+s, not that Dr∘Ds = Dr+s (the other direction needs to be proven as well). Moreover, the right inequality is |x+y| ≤ |x| + |y| and not |x+y| < |x| + |y|.
ReplyDeleteI couldn't solve this exercise. Can anyone give a complete solution?
DeleteThis comment has been removed by the author.
DeleteI don't think the other direction can be proven. As I understand it, the theorem to prove is Ds ∘ Dr ⊆ Dr+s. The proof would be:
DeleteSuppose (x, z) ∈ Ds ∘ Dr. Then there is a y ∈ R such that (x, y) ∈ Dr and (y, z) ∈ Ds. Thus |x - y| < r and |y - z| < s. Adding these two inequations, we get |x - y| + |y - z| < r + s. Since by triangle inequality, |x - y| + |y - z| ≥ |(x - y) + (y - z)| = |x - z|, it follows that |x - z| < r + s. Therefore, by definition of D, (x, z) ∈ Dr+s.
I believe your counterexample in 15c is incorrect, because it seems your choice of R2 is not transitive.
ReplyDeleteHonestly, some of these proofs need to be reworked as much as they need to on inchmeal. Very hard time following the logic and its not using the notation or intuitions drawn from the book.There seems to still be incorrect solutions to both here and inchmeal on the same exact questions more or less. I don't like how solutions 13-15 are put together. I also think 17 is not consistent.
ReplyDeleteSeems like users already provided their comments. I don't think the author of each of these blogs care about the accuracy of these solutions anymore