# Solutions to Tutorial Exercises 7

```Solutions to Tutorial Exercises: Week 6
Logik f&uuml;r Linguisten: Universit&auml;t Leipzig, Nov. 27 - Dec. 4, 2014
Sandhya Sundaresan
1. A = {red, blue, green, yellow}. R1 , R2 , R3 , and R4 are relations defined on A.
• R1 = {&lt;red, red&gt;, &lt;red, blue&gt;, &lt;green, green&gt;, &lt;yellow, green&gt;, &lt;red, green&gt;, &lt;blue,
blue&gt;, &lt;blue, green&gt;, &lt;yellow, yellow&gt;}.
• R2 = {&lt;red, blue&gt;, &lt;blue, yellow&gt;, &lt;red, yellow&gt;, &lt;green, green&gt;, &lt;blue, red&gt;}
• R3 = {&lt;red, yellow&gt;, &lt;green, blue&gt;, &lt;blue, red&gt;, &lt;green, red&gt;, &lt;green, yellow&gt;,
&lt;yellow, blue&gt;}
• R4 = {&lt;red, red&gt;, &lt;green, green&gt;, &lt;blue, blue&gt;, &lt;yellow, yellow&gt;}
• R5 = {&lt;yellow, yellow&gt;, &lt;blue, green&gt;, &lt;yellow, red&gt;, &lt;blue, yellow&gt;, &lt;blue, red&gt;,
&lt;red, red&gt;, &lt;green, red&gt;, &lt;green, green&gt;, &lt;green, yellow&gt;, &lt;blue, blue&gt;}
i. Represent the relations above in terms of diagrams (with arrows, as shown in class).
Answer: Students should do these as shown in class, with arrows going from the first
element of every ordered pair in the relation to the second.
ii. Describe the properties of the relations, their inverses, and complements above with respect
to: reflexivity, symmetry, transitivity, and connectedness.
Answer: The relations R1 – R5 , their inverses and their complements, have the following
properties:
• R1 and its inverse R1 &acute;1 are both: transitive, reflexive, antisymmetric, and nonconnected. The complement R1 ’ is: irreflexive, non-symmetric, non-transitive, and
connected.
• R2 and R2 &acute;1 are both: non-reflexive, non-symmetric, transitive, and non-connected.
R2 ’ is: non-reflexive, non-symmetric, non-transitive, and non-connected.
• R3 and R3 &acute;1 are both: irreflexive, asymmetric, non-transitive, and connected. R3 ’
is: reflexive, antisymmetric, non-transitive, and connected.
• R4 and R4 &acute;1 are both: reflexive, antisymmetric, transitive, and non-connected
(note that R4 = R4 &acute;1 . R4 ’ is: irreflexive, symmetric, non-transitive, and connected.
• R5 and R5 &acute;1 are both: reflexive, antisymmetric, transitive, and connected. R5 ’ is:
irreflexive, asymmetric, transitive, and connected.
iii. Which of the relations R1 – R5 represents an order? And are these orders weak or strong?
Explain.
Answer: R1 , R4 , and R5 all represent orders. They are all weak orders. This is because
they are all reflexive, transitive, and antisymmetric, which is the definition of a weak
order.
iv. For each of the weak orders in R1 – R5 above, give the corresponding strong order. For
each of the strong orders above, give the corresponding weak order.
Answer: The following strong orders may be derived from the weak ones:
• The strong order corresponding to R1 is: {&lt;red, blue&gt;, &lt;yellow, green&gt;, &lt;red,
green&gt;, &lt;blue, green&gt;}. Note that it is: irreflexive, asymmetric, and transitive,
just as desired.
1
Sandhya Sundaresan
Lecture 6
• The strong order corresponding to R4 (let’s call this strong order S4 ) is the H.
It makes sense to think of H as a strong order for the following reasons: it is
irreflexive because, of course, it is not the case that every element in the set A of
which S4 is a relation is represented in S4 in the form &lt;x, x&gt;; in fact, none of the
elements in A are represented in this manner in S4 . S4 is transitive: transitivity
requires that if there is an ordered pair &lt;x, y&gt; and another ordered pair &lt;y, z&gt;
in S4 , then there should also be an ordered pair &lt;x, z&gt; in S4 . But S4 doesn’t have
any two ordered pairs &lt;x, y&gt; and &lt;y, z&gt; (since it has no members at all!), so
the condition is trivially satisfied. Similarly, S4 is also asymmetric: asymmetry
requires that there can be no ordered pairs &lt;x, y&gt; and &lt;y, x&gt; in S4 and indeed
this is satisfied, since S4 has no ordered pairs at all. (In fact, by similar reasoning,
the empty set is also symmetric!).
• The strong order corresponding to R5 is: {&lt;blue, green&gt;, &lt;yellow, red&gt;, &lt;blue,
yellow&gt;, &lt;blue, red&gt;, &lt;green, red&gt;, &lt;green, yellow&gt;}. Note that it is: irreflexive,
asymmetric, and transitive, just as desired.
v. Which of the orders above represents a total/linear order? Explain.
Answer: Of the weak orders in R1 , R4 and R5 , only R5 is connected. Thus, only R5
represents a total/linear order.
vi. What are the least, greatest, maximal, and minimal elements of the orders above? Explain.
R1 : The elements red and yellow are both minimal; green is maximal and greatest in R1 .
There is no least element.
R4 : The elements red, green, blue, yellow are both maximal and minimal in R4 . There is
no least and greatest element.
R5 : red is both maximal and greatest. blue is both minimal and least.
vii. Which elements in the orders immediately precede other ones?
Answer: red immediately precedes blue which immediately precedes green, and yellow
immediately precedes green in R1 . In R4 , no elements immediately precede each other
(since the definition of immediate precedence is defined over distinct elements x and
y). In R5 : yellow immediately precedes red, and green immediately precedes yellow,
and blue immediately precedes green.
2. R is a set of ordered pairs ă a, b ą defined on the set of human beings such that the shoe-size
of the right foot of a is less than the shoe-size of the right foot of b (assuming the Continental
European system of shoe-sizes: same scale for men, women, and children). Now say which of
• Weak order:
Answer: In order to be a weak order, the relation has to be: reflexive, transitive, and
antisymmetric. We can immediately see that the relation above is not a weak order
because it is irreflexive: a human being x can never have a smaller right shoe size
than themselves.
• Strong order
Answer: In order to be a strong order, the relation has to be: irreflexive, transitive, and
asymmetric. This is satisfied: the relation is irreflexive (as explained above); it is also
transitive: if x has a smaller shoe-size than y in the right foot, and y has a smaller
shoe-size than z in the right foot, then x necessarily has a smaller shoe-size than z in
2
Logik f&uuml;r Linguisten
Nov. 27 - Dec. 4, 2014
the right foot. Finally, the relation is also asymmetric: we will never find a pair &lt;x,
y&gt; in the relation above for which there is an inverse pair &lt;y, x&gt;.
• An order having a maximal, minimal, greater or least element
Answer: Yes, R does have a maximal element or elements: this will denote the human
being or human beings who have a larger shoe size than anyone else. Similarly R also
has a minimal element/elements: this will denote the human being or human beings
who have a smaller shoe-size than anyone else. However, R need not have a greatest
or least element: after all, it need not be the case that there is a unique individual in
the world who has a smaller shoe size than everyone else; similarly, it also need not
be the case that there is a unique individual in the world who has a larger shoe-size
than anyone else.
• A total/linear order: No, R is not a total/linear order. After all, two distinct human
beings who have the same shoe size will not be a part of the relation above. Thus, R is
not a connected relation.
• Defined on a well-ordered set: Since R is not a total order, it is also not defined on a
well-ordered set (which requires that the order be total).
• A dense order: No, R is not a dense order. Shoe-sizes are discrete: thus there will be no
distinct shoe-size between two consecutive shoe-sizes.
3
```