Tutorial 2 - Solutions PDF
Tutorial 2 - Solutions PDF
4. see Figure 2
5. see Figure 3
6. a) i) reflexive; not symmetric; not antisymmetric; transitive
ii) reflexive; not symmetric; antisymmetric; transitive
iii) not reflexive; not symmetric; not antisymmetric; not transitive
iv) not reflexive; symmetric; antisymmetric; transitive
v) reflexive; symmetric; not antisymmetric; transitive
vi) reflexive; not symmetric; antisymmetric; transitive
vii) not reflexive; not symmetric; not antisymmetric; not transitive
b) Graphs ii and vi are partial orders relations. Graph v is of an equivalence relation.
1
COMP107 Tutorial Two Solutions 2021
A r A s A
1 1 1
3 3 3
5 5 5
Composition (rs)
A s A r A
1 1 1
3 3 3
5 5 5
Composition (sr)
2
COMP107 Tutorial Two Solutions 2021
5 2 4
00 01 10 11
0 1
1 3 5
2 4 6