Relation: Suppose A and B are sets. Then a set is called a relation from A to B.
If x ranges over A and y ranges over B, then clearly the truth set of any statement P(x,y) will also be a relation from A to B. However, a thing to notice is that definition of relation does not require such an statement, any subset of (A X B) is a relation.
Let us see some more definitions, given that R is a relation from A to B and S is a relation from B to C.
Domain of R
Dom(R) = {}
Range of R
Ran(R) = {}
Inverse of R
= {}
Composition of Relation S and R
= {}
Note that, in general composition is not commutative i.e.
Some Properties:
= R
Dom() = Ran(R)
Ran() = Dom(R)
=
=
============================================================================================
Ex-1
(a) Domain is the set of all the persons who are parent of someone. Range is the set of all the persons.
(b) Domain is the set of all real numbers. Range is the set of all positive real numbers.
Ex-2
(a) Domain and Range both are set of all the people who have a brother.
(b) Domain is set of all the real numbers. Range is set of all the real numbers less than 1.
Ex-3
(a) = {}
= { | s and t share the same dorm room}
(b) = { | s is a student who shares the dorm room with another student who is enrolled in course c}
Ex-4
(a) = {(1,5), (1,6), (1,4), (2,4), (3,6)}
(b) = {(5,5), (5,6), (6,5), (6,6), (4,4)}
Ex-5
(a) = {(7,4), (8,4), (6,5)}
= {(1,4), (3,5), (3,4)}
(b) = {(7,1), (6,3), (7,3)}
= {(4,1), (5,3)}
Ex-6
(a) Clearly Dom(R) and Ran(), both are a subset of A. Let a be an arbitrary element of Dom(R).
iff
iff
iff
Since a is arbitrary so, Ran() = Dom(R)
(b) Dom(R) = Dom() = Ran()
(c) Suppose an arbitrary ordered pair . Then there exists s.t. and . Since , so there exists a s.t. and . Now that we have and , so . Also since , so .
(d) Clearly is a relationship from A to C, so is a relationship from C to A. Suppose an arbitrary ordered pair where and .
iff
iff
iff
iff
Since (c,a) is arbitrary, clearly =
Ex-7 I came up with F = , then looked the answer in the book which is , which makes more sense and two friends don't necessarily have to have a common enemy.
Ex-8
(a) Let a be an arbitrary element of Dom(). Then there exists a s.t. . Then there exists a s.t. and . Since , so . Since a is arbitrary, so Dom() Dom(R).
(b) Suppose . And is an arbitrary element of Dom(R). Then there exists a s.t. . So . It follows from our assumption that . Then there exists a s.t. . Since and , so . And hence . Since a is arbitrary, so . In part(a) of this exercise we also proved that . Thus If then
(c)
Theorem#1:
Proof: Let be an arbitrary element of . Then there exists s.t. . Then there exists s.t. and . So, . Since c is arbitrary so
Theorem#2: If then =
Proof: Let be an arbitrary element of Ran(S). Then there exists s.t. . So . It follows from our assumption that . Then there exists s.t. . Since and , so . So . Since c is arbitrary, so . In theorem#1 we proved the opposite, so we can conclude that If then =
Ex-9
(a) Its true, here is the proof. Let (a,b) be an arbitrary element of R. Then and . Then . Since a and b are arbitrary, so
(b) Its true, here is the proof. Suppose . Let (b,a) be an arbitrary element of . Then . It follows from our assumption that , so . Since (b,a) is arbitrary so, If then .
(c) Its true, here is the proof. Let (a,b) be an arbitrary element of
iff
iff
iff
iff
Since (a,b) is arbitrary, so =
Ex-10
() Suppose . Let arbitrary be an element of Ran(R). Then there exists s.t. . It follows from our assumption that either or for all , . clearly some has to be in Ran(S) as S is the relation from B to C, therefore . Since b is arbitrary, so If then Ran(R) and Dom(S) are disjoint.
() Suppose Ran(R) and Dom(S) are disjoint. We will prove by contradiction that . Assume , s.t. (a,c) be an arbitrary element of . Then there exists a s.t. and . Since , so . Since , so . So, b is both in Ran(R) and Dom(S) but this is contradictory to our first assumption that Ran(R) and Dom(S) are disjoint. So .
Ex-11
(a) Let , be s.t. . Then and . Since , so there exists a s.t. and . Since , so clearly . Now that and , so . Also since , therefore . Since (a,c) is arbitrary, so
(b) The proof seems to be correct.
(c) Proof given in part(b) of the exercise is correct.
Ex-12
(a) Its true, here is the proof. Suppose . Let , be s.t. . Then we can chose a s.t. and . It follows from our assumption that as well. Thus . Since a,c are arbitrary, so If then
(b) Its true, here is the proof. Let , be s.t. . Then we can chose a s.t. and and . Clearly, and . Thus . Since a,c are arbitrary, therefore
(c) Its false, here is the counter example.
R = {((2,3), (2,5)}
S = {(3,4)}
T = {(5,4)}
= {(2,4)}
= {(2,4)}
= {(2,4)}
=
=
(d) Its true, here is the proof. Let , be s.t. . Then we can chose a s.t. and . Since , so either or . Let us consider both the cases
Case#1:
Then . Thus
Case#2:
Then . Thus
Since a,c are arbitrary, therefore
Subscribe to:
Post Comments (Atom)
Ex-2
ReplyDelete(b) I found the following: Domain = (-oo, -1] U [1, +oo) and Range = (-1,1).
Ex-11
ReplyDelete(b) The proof is not correct.
(c) Counterexample:
S = {(3,2)}
T = {(1,2)}
R = {(1,3), (1,1)}
Then
(S\T)oR = {(1,2)}
(SoR)\(ToR) = ∅
What its wrong with it then?
DeleteThe problem is in the statement "since (a, b) ∈ R and (b, c) ∉ T, (a, c) ∉ T ∘ R". At that point in the proof b is a specific object, but to say that "(a, c) ∉ T ∘ R" means ¬∃b' ∈ B((a, b') ∈ R ∧ (b', c) ∈ T). Alternatively, ∀b'∈B((a, b') ∉ R ∨ (b', c) ∉ T). Since b was just a specific object, the latter assertion does not follow.
DeleteEx - 5 b) one more pair is (4,3)
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteAgree with Stavros Mekesis. The domain of 2-b is {x | x ≤ -1 ∨ x ≥ 1} and the range is {y | 0 < |y| < 1} = {y | -1 < y < 1}.
ReplyDeleteYou proof of 11.a is incorrect for the same reason that the proof in the book given in 11.b is incorrect. That is, the statement "Since (a,c)∉T∘R, so clearly (b,c)∉T" is wrong.
ReplyDeleteI think the proof of 11(a) is correct. The goal in this question requires you to show that . All you need to do is show some b exist s.t. and . 12(b) on the other hand requires showing . This requires showing .
DeleteEx-6d: there is a typo in the last iff (c,a)∈(S-1∘R-1), it should be: (c,a)∈(R-1∘S-1). Also in the last line.
ReplyDeleteCan't we also prove Ex-10 by contrapositive in both directions?
ReplyDeleteFor example 4, why is (2,5) not apart of a
ReplyDelete