LogicSheet03 Exercises
LogicSheet03 Exercises
Exercise Sheet 3
Relations & Functions
Exercise: 1 [4 points] For each of the relations below, please mark in the table which property/properties
each relation has.
(a) Let S1 = {1, 2, 3, 4, 5} and R1 = {⟨1, 2⟩, ⟨2, 5⟩, ⟨3, 5⟩, ⟨4, 5⟩} ⊆ S1 × S1
(b) Let S2 = {a, b, c, d} and R2 ⊆ S2 × S2 , where R2 is represented by the following diagram:
a b
c d
(c) Let R3 be a relation on the set of human beings, defined using natural language as:
‘x is at least as qualified as y’.
(d) Let R4 = {⟨x, y⟩ ∈ R × R sin(x) = cos(y)}
Exercise: 2 [4 points] Let X = {1, 2, 3, 4} and Y = {a, b, c, d}. Decide whether each of the following can
be classified as a relation and/or function or neither.
(a) Let R1 be a set of ⟨x, sin(x)⟩ for all x ∈ R
(a)
(b) Let R2 ⊆ X × Y, R2 = {⟨1, b⟩, ⟨2, c⟩, ⟨3, b⟩, ⟨2, a⟩}
(b)
1/3
Eberhard Karls Universität Tübingen | Seminar für Sprachwissenschaft (SfS)
Methods I: Logic, WS 2024/25 | Prof. Dr. Michael Franke
Tutors: Seoha Lee, Aida Rostami, Shanshan Xu, Erik Zeiner
(c) Let R3 ⊆ Y × X, R3 = {⟨a, 3⟩, ⟨b, 1⟩, ⟨d, 2⟩, ⟨c, 4⟩}
(c)
(d) Let R3 ⊆ Y ∖ {d} × Y, R3 = {⟨a, a⟩, ⟨b, b⟩, ⟨c, c⟩}
(d)
Decide whether the functions fullfill the criteria for being an injection, a surjection, a bijection;
fill-in the table accordingly.
Exercise: 3 [4 points] Consider the following relation and answer the questions.
R ⊆ {1, 2, 3} × {a, b, c, d, e, f }, R = {⟨1, a⟩, ⟨1, b⟩, ⟨2, b⟩, ⟨3, f ⟩, ⟨3, e⟩, ⟨3, a⟩, ⟨3, b⟩}
i.
ii. What is the range of the relation?
ii.
(b) What is the converse of the relation?
(a)
(b) If a relation R is anti-symmetric and a in relation with b,
then b cannot be in relation with a unless a = b.
(b)
(c) The empty relation on any set A is reflexive.
(c)
(d) The union of two functions is always a function.
(d)
2/3
Eberhard Karls Universität Tübingen | Seminar für Sprachwissenschaft (SfS)
Methods I: Logic, WS 2024/25 | Prof. Dr. Michael Franke
Tutors: Seoha Lee, Aida Rostami, Shanshan Xu, Erik Zeiner
3/3