Discrete Mathematics - Relation Exercises
Discrete Mathematics - Relation Exercises
Algebra
3. Is
x
f (x) =
x+1
invertible?
f (x) = ax, x ∈ R
(x, y) ∈ Rm ⇔ m|(x − y)
9. Let
R = {(A, B) : A, B ∈ Mn×n and there exists an invertible matrix P such that A = P.B.P −1 }.
11. Given A the set of all webpages. Let R = {(a, b) ∈ A×A : there is at least 1 common link on we
Investigate following properties of R
(a) reflexive
(b) symmetric
(c) transitive
(d) antisymmetric
(e) equivalent
(f) partial order
R = {(B, C) ∈ 2A × 2A : B ⊆ C}.
S = {(a, b), (b, b), (b, c), (c, a), (c, b), (c, c)}.
14. Given matrix representations of relations
1 1 1 0
1 1 1 1 1 1 0
MR1 = 0 1 1, MR2 = 1
.
1 1 0
1 1 1
0 0 0 1
15. Let R be the relation on the set of all cities in the world such that
(a, b) in R if there is a direct non-stop airline flight from a to b. When
is (a, b) in
(a) R2
(b) R3
(c) R−1
17. Let R be the relation {(a, b) : a divides b} on the set of integers. What
is the symmetric closure of R?
18. Let R be the relation on the set of all students containing the ordered
pair (a, b) if a and b are in at least one common class and a 6= b. When
(a, b) in
(a) R2
(b) R3
(c) R∗
20. Given the relation R = {(1, 2), (2, 1), (2, 3), (3, 4), (4, 1)} on {1, 2, 3, 4}.
Find
21. Given the relation R = {(1, 2), (1, 4), (3, 3), (4, 1)} on {1, 2, 3, 4}. Find
22. We say that two matrices A and B of size n × n are similar if there is
an invertible matrix P such that A = P −1 .B.P . Show that the similar
relation, which is defined by pairs (A, B) such that A is similar to B,
is an equivalence relation.
23. Given the relation R on the set of all bit strings such that (s, t) ∈ R if
and only if s and t contain the same number of 1s.
24. Let R be the relation on the set ordered pairs of positive integers such
that ((a, b), (c, d)) ∈ R if and only if ad = bc. Show that R is an
equivalence relation.
(a) A = {2, 4, 5, 10, 12, 20, 25} with the divisibility relation.
(b) B = 2{a,b,c} with the containment relation.
(c) C = {0, 01, 11, 001, 010, 011, 0001, 0101} with the lexicographic
ordering relation.