Professional Documents
Culture Documents
Test 2 (6:00pm, 29th September, 2021) : MATHS135-21B Discrete Structures
Test 2 (6:00pm, 29th September, 2021) : MATHS135-21B Discrete Structures
1. For the following relations R1 and R2 , determine whether they are (i) reflexive; (ii)
symmetric; (iii) anti-symmetric and (iv) transitive. Explain your answer in each case.
[8 marks]
(a) X is the set of people in the world. For each a, b ∈ X, (a, b) ∈ R1 if and only if a
and b are sisters.
(b) For each a, b ∈ Z, (a, b) ∈ R2 if and only if ab ≥ 0.
R = {(a, b), (b, b), (b, c), (c, a), (c, d), (d, d)}.
TURN OVER
-2-
R = {(a, a), (a, c), (a, d), (c, a), (b, b), (c, d), (c, c), (d, a), (d, c), (d, d)}
defined on X.
(a) Assuming a < b < c < d, give the matrix MR corresponding to the relation R. [1
mark]
(b) Using the matrix MR , determine whether R is reflexive, symmetric and transitive.
[6 marks]
(c) Explain why R is an equivalence relation. [1 mark]
(d) What is [a]R . [1 mark]
(e) Give the partition of X into the equivalence classes determined by R. [2 marks]
4. On the set X = {r, s, t, u, v}, a partial order ≤ is defined so that the Hasse diagram is
as follows:
r u
s t
5. Show that for any integer n, the expression n(n − 2)(n + 2) is divisible by 3. [4 marks]
(a) Using your answer, find out the inverse of each element of Z5 (where this is
defined) [2 marks].
(b) Either solve 5x ≡ 3 (mod 5) or explain why there is no solution. [3 marks]
(c) Either solve 4x ≡ 2 (mod 10) or explain why there is no solution. [3 marks]
(d) Simplify 20212021 (mod 5). Show your working. [3 marks]
(e) Simplify 32018 (mod 5). Show your working. [3 marks]