Professional Documents
Culture Documents
G H Patel College of Engineering & Technology, V V Nagar A.Y.2020-21: EVEN SEMESTER 3140708: Discrete Mathematics Assignment 3: Relations
G H Patel College of Engineering & Technology, V V Nagar A.Y.2020-21: EVEN SEMESTER 3140708: Discrete Mathematics Assignment 3: Relations
4. Determine whether the relation on the set of all Web pages is reflexive, irreflexive,
symmetric, antisymmetric, asymmetric, transitive, where ( ) if and only if
( a ) everyone who has visited Web page has also visited Web page
( b ) there are no common links found on both Web page and Web page
( c ) there is at least one common link on Web page and Web page
( d ) there is a Web page that includes links to both Web page and Web page
5. Determine whether the relation on the set of all real numbers is reflexive, irreflexive,
symmetric, antisymmetric, asymmetric, transitive, where ( ) if and only if
( ) ( )
( ) ( )
( ) ( ) ( )
( ) is a multiple of ( )
Use in the respective cell of the following table if the property holds for that relation.
Reflexive Irreflexive Symmetric Antisymmetric Asymmetric Transitive
( )
( )
( )
( )
( )
( )
( )
( )
12. Let be the relation on the set of people consisting of pairs ( ) where is a parent of
Let be the relation on the set of people consisting of pairs ( ) where and are
siblings. What are and
15. Let and be the “congruent modulo ” and “congruent modulo ” relations,
respectively, on the set of all integers. That is, *( ) ( )+ and
*( ) ( )+ Find
( ) ( ) ( ) ( ) ( )
16. Suppose that and are reflexive relations on a set Prove or disprove each of these
statements.
(a) is reflexive. (b) is reflexive. (c) is reflexive.
(d) is irreflexive. (e) is irreflexive.
17. Let be a relation. Let be any positive integer. Prove the following statements:
( a ) is symmetric if and only if
( b ) is antisymmetric if and only if
( c ) is reflexive if and only if ̅ is irreflexive.
( d ) If is reflexive and transitive, then
( e ) If is reflexive (symmetric), then is reflexive (symmetric)
18. Suppose that the relation is irreflexive. Is necessarily irreflexive? Justify.
( ) [ ] ( ) [ ] ( ) [ ]
[ ] [ ]
22. Let be a relation on a set with elements. If there are nonzero entries in how
many nonzero entries are there in ( ) ( ) ̅
23. How many nonzero entries does the matrix representing the relation on the set
* + have if is
( ) *( ) + ( ) *( ) +
( ) *( ) + ( ) *( ) +
( ) *( ) + ( ) *( ) +
24. How can the directed graph of a relation on a finite set be used to determine whether a
relation is ( a ) asymmetric? ( b ) irreflexive?
25. Which of these relations on * + are equivalence relations? Determine the properties
of an equivalence relation that the others lack.
( ) *( ) ( ) ( ) ( ) ( ) ( ) ( )+
( ) *( ) ( ) ( ) ( ) ( ) ( )+
26. Which of these relations on the set of all functions from to are equivalence relations?
Determine the properties of an equivalence relation that the others lack.
( ) *( ) ( ) ( )+
( ) *( ) ( ) ( ) ( ) ( )+
( ) *( ) ( ) ( ) ( ) ( )+
( ) *( ) ( ) ( ) +
( ) *( ) ( ) ( ) +
27. Show that the relation on the set of all differentiable functions from to consisting of
all pairs ( ) such that ( ) ( ) for all real numbers is an equivalence relation.
Which functions are in the same equivalence class as the function ( )
28. Suppose that is a nonempty set, and is a function that has as its domain. Let be the
relation on consisting of all ordered pairs ( ) such that ( ) ( ) Show that is
an equivalence relation on What are the equivalence classes of
29. Suppose that is a nonempty set and is an equivalence relation on Show that there is
a function with as its domain such that ( ) if and only if ( ) ( )
30. Show that the relation consisting of all pairs ( ) such that and are bit strings of
length three or more that agree except perhaps in their first three bits is an equivalence
relation on the set of all bit strings of length three or more.
31. Let be the relation consisting of all pairs ( ) such that and are strings of uppercase
and lowercase English letters with the property that for every positive integer the th
characters in and are the same letter, either uppercase or lowercase. Show that is an
equivalence relation.
32. Let be the relation on the set of ordered pairs of positive integers such that
(( ) ( )) if and only if Show that is an equivalence relation. What is
the equivalence class of ( ) in this relation?
34. Let be the relation on the set of real numbers such that if and are real numbers
that differ by less than that is Show that is not an equivalence relation.
35. Show that the relation on the set of all bit strings such that if and only if and
contain the same number of is an equivalence relation. What is the equivalence class of
the bit string for this relation?
36. Which of these collections of subsets are partitions on the set of bit strings of length
( a ) the set of bit strings that begin with the set of bit strings that begin with and the
set of bit strings that begin with
( b ) the set of bit strings that contain the string the set of bit strings that contain the
string the set of bit strings that contain the string and the set of bit strings that
contain the string
( c ) the set of bit strings that end with the set of bit strings that end with the set of
bit strings that end with and the set of bit strings that end with
( d ) the set of bit strings that have ones, where is a nonnegative integer; the set of bit
strings that have ones, where is a nonnegative integer; the set of bit strings
that have ones, where is a nonnegative integer.
37. Which of these collections of subsets are partitions of the set of integers?
( a ) the set of even integers and the set of odd integers
( b ) the set of positive integers and the set of negative integers
( c ) the set of integers divisible by the set of integers leaving a remainder of when
divided by and the set of integers leaving a remainder of when divided by
( d ) the set of integers less than the set of integers with absolute value not
exceeding and the set of integers greater than
40. List the ordered pairs in the equivalence relations produced by these partitions of
* +
( ) * +* +* + ( ) * +* +* +
( ) * +* + ( ) * +* +* +* +* +* +
41. Find the smallest equivalence relation on the set * + containing the relation
*( )( )( )+
42. Suppose that and are equivalence relations on the set Determine whether each of
these combinations of and must be an equivalence relation.
( ) ( ) ( )
43. Determine the number of different equivalence relations on a set with three elements by
listing them.
44. Do we necessarily get an equivalence relation when we form the transitive closure of the
symmetric closure of the reflexive closure of a relation?
45. Do we necessarily get an equivalence relation when we form the symmetric closure of the
reflexive closure of the transitive closure of a relation?
46. Let be the relation *( ) + on the set of integers. Find the reflexive closure of
47. Find the smallest relation containing the relation *( ) + on the set of positive
integers that is both reflexive and symmetric.
48. Suppose that the relation on the finite set is represented by the matrix Show that
the matrix that represents the reflexive closure of is and the matrix that
represents the symmetric closure of is
54. There are two algorithms to find the transitive closure of a relation. One algorithm finds
the zero-one matrix of the transitive closure by using the expression
, - , - , -