logic relation assement
logic relation assement
pq
p→ q
b)
p→r
r
pq → r
p q
c)
q→ p
r
5. Let E = 1, 2,3 and F = −2, −1, 0 , and define a relation T from E to F as follows.
1|Page
x− y
For all ( x, y ) E F , ( x, y ) T means that is an integer.
3
a) Write T as a set of ordered pairs.
b) Write the domain and range of T .
6. Determine whether the following relations are reflexive, symmetry and transitive. Give a
counter example in each case in which the relation does not satisfy one of the properties.
a) R1 = ( 0, 0 ) , ( 0,1) , ( 0,3) , (1,1) , (1, 0 ) , ( 2,3) , ( 3,3)
b) R2 = ( 0, 0 ) , ( 0,1) , (1,1) , (1, 2 ) , ( 2, 2 ) , ( 2,3) .
c) R3 = (1, 2 ) , ( 2,1) , (1,3) , ( 3,1) .
7. Determine whether the following relation is equivalence relation on set A.
A = 0,1, 2,3, 4
a)
R = ( 0, 0 ) , ( 0, 4 ) , (1,1) , (1,3) , ( 2, 2 ) , (3,1) , (3,3) , ( 4, 0 ) , ( 4, 4 )
A = a, b, c, d
b)
R = ( a, a ) , ( b, b ) , ( b, d ) , ( c, c ) , ( d , b ) , ( d , d )
2|Page