Assignment 5
Assignment 5
Assignment 5
You need only to give your answers to those questions indicated with *. Other
problems are optional and will not be marked. However, we do expect you to
eventually finish all problems.
Relations
1. In each of the following cases, a relation R on a set A is given. Determine whether the
relation is reflexive, symmetric or transitive. For those that are equivalence relations, write
down all the distinct equivalence classes:
*2. Let S be a nonempty set and P(S) the power set of S. For any A, B 2 P(S), define the
following relation on P(S):
ARB if A [ B = S.
1
*4. Let R be a relation defined on a set A. Prove that R is symmetric if and only if R = R .
(Remark: R 1 is the inverse relation of R defined in Definition 4.7)
1
*5. For any sets A, B and C, let R1 be a relation from A to B and R2 be a relation from B
to C. Define the composition of R1 and R2 to be the relation from A to C given by
(a) Let A = {1, 2, 3, 4}, B = {5, 6, 7} and C = {8, 9, 10}. Consider the relations
R1 = {(1, 5), (1, 7), (2, 6), (2, 7), (3, 5), (4, 5), (4, 6), (4, 7)} from A to B
and
R2 = {(5, 10), (6, 8), (6, 9), (6, 10), (7, 9), (7, 10)} from B to C.
(b) Prove that for any sets A, B, C, D and for any relations R1 from A to B, R2 from
B to C and R3 from C to D, we have
R3 (R2 R1 ) = (R3 R2 ) R1 .
(a, b) R (c, d) if a + d = b + c.
7. Let S be the set of all straight lines in the Cartesian plane R2 . Two lines `1 and `2 are
said to be parallel if they coincide or they have no point in common. Define a relation R
on S in the following way: `1 R `2 if `1 and `2 are parallel.
2
9. Let R be the relation on R2 defined by (x, y)R(a, b) if x2 + y 2 = a2 + b2 .
*11. Let R be the equivalence relation defined on Z by xRy if x2 ⌘ y 2 (mod 5). Give a partition
on Z with respect to R.
(Hint: You may use the following results: For any x 2 Z,
3
(a) Prove that R is an equivalence relation on R2 .
(b) Sketch the equivalence classes [(0, 0)] and [(1, 3)].
*15. Prove or disprove: Let R be an equivalence relation defined on a set A. For any x, y 2 A,
either [x] \ [y] = ; or [x] = [y].
*16. Let A be a nonempty set and let P be a partition of A. Define a relation R (corresponding
to P ) on A by
xRy if there exists S 2 P such that x, y 2 S. (⇤)
(a) Let A = {1, 2, 3}. Write down ALL possible partitions of A. For each of the partition
P , use (⇤) to write down the relation R (as a subset of A ⇥ A) corresponding to P .
(b) Observe that all the relations in (a) are equivalence relations. Prove that this is true
in general, that is, prove that if A is a nonempty set, and P is a partition of A, then
the relation R corresponding to P defined in (⇤) must be an equivalence relation.
Extra Problems – (for those students who are studying/have studied linear algebra)
17. Let A, B be two n ⇥ n matrices. We say that A is similar to B if there exists a nonsingular
n ⇥ n matrix S such that A = S 1 BS.
18. Let V be a vector space over R and H ✓ V be a vector subspace of V . Define a relation
R on V by
uRv if there exists h 2 H such that v = u + h.