
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

1) Prove or disprove: If a relation R, defined as a subset of A x A, is transitive, then RR is transitive as well. 2) Define sumdigits(a), where a is a positive integer, to be the sum of the digits in the decimal representation of the positive integer a. Using this definition of the function sumdigits, consider the following relation: {(a,b) | aZ+^ bZ+^ (ab sumdigits(a) sumdigits(b)} Determine if this relation is (i)reflexive, (ii)irreflexive, (iii)symmetric, (iv)antisymmetric, and (v)transitive? The rest of the questions will be based on the following definitions. (Note: Prove your answer to questions 3, 4, or 5 through a valid proof or a disproof using a counter-example.) Definition. Let R A A denote a binary relation. The following relations defined over A are called closures : (a) The reflexive closure of R is r ( R ) = R {( a , a ) | a A }. (b) The symmetric closure of R is s ( R ) = R R –1. (c) The transitive closure of R is t ( R ) = R R^2 R^3 ... , where R^2 = R R , R^3 = R^2 R , etc., where denotes relation composition. Thus, ( a , b ) t ( R ) ( a , b ) Rn , for some n 1 there exist a 1 , a 2 , …, an A , an = b , for some n 1, such that ( a , a 1 ), ( a 1 , a 2 ), …, ( an 1 , an ) R , i.e., there exists a direct path of n edges connecting a to b in the digraph for the relation R. It can easily be seen that the names of these closures are justified in that for any binary relation R , r ( R ) is reflexive, s ( R ) is symmetric, and t ( R ) is transitive. Also, we can define the composition of these closures, e.g., tr ( R ) = t ( r ( R )), rs ( R ) = r ( s ( R )), etc. 3) If relations R and S defined over the set A A are antisymmetric, is (R S) necessarily antisymmetric? 4) For a relation R defined over the set A A, is s(r(R) = r(s(R)) always true? 5) For a relation R defined over the set A A, is t(s(R)) necessarily reflexive?