Tutorial #3 Sample Solutions
Tutorial #3 Sample Solutions
Tutorial #3 Sample Solutions
1. For each equivalence below, either provide a derivation from one side of the equivalence to the other (justify
each step of your derivation with a brief explanation — for example, by naming one of the equivalences (see
over for a list), or show that the equivalence does not hold (warning: you cannot use a derivation to show
non-equivalence — instead, think carefully about what an equivalence means, and how you can disprove it).
(a) (P ⇒ R) ∧ (Q ⇒ R) ⇐⇒ (P ∨ Q) ⇒ R
Sample Solution:
(b) P ⇒ (Q ⇒ R) ⇐⇒ (P ⇒ Q) ⇒ R
Sample Solution:
The equivalence does not always hold:
Let P = False, Q = True, R = False.
Then [P ⇒ (Q ⇒ R)] = [False ⇒ (True ⇒ False)] = [False ⇒ False] = True and
[(P ⇒ Q) ⇒ R] = [(False ⇒ True) ⇒ False] = [True ⇒ False] = False.
(c) P ⇒ (Q ⇒ R) ⇐⇒ (P ⇒ Q) ⇒ (P ⇒ R)
Sample Solution:
2. An “interpretation” for a logical statement consists of a domain D (any non-empty set of elements) and a
meaning for each predicate symbol. For example, D = {1, 2} and P (x): “x > 0” is an interpretation for the
statement ∀x ∈ D, P (x) (in this case, one that happens to make the statement True). For each statement
below, provide one interpretation under which the statement is true and another interpretation under which
the statement is false — if either case is not possible, explain why clearly and concisely.
(a) ∀x ∈ D, ∀y ∈ D, P (x, y)
Sample Solution: Let D = {1, 2} and P (x, y): “x < y.” Then, ∀x ∈ D, ∀y ∈ D, P (x, y) is
False because P (2, 1) is False.
Let D = {1} and P (x, y): “x = y.” Then ∀x ∈ D, ∀y ∈ D, P (x, y) is True because P (1, 1) is
True.
(b) (P ∧ Q) ⇒ (P ∨ Q)
Sample Solution: Let P = False and Q = True. Then
It is impossible to make the statement False because this would require P ∧ Q to be True
(meaning both P and Q are True) while at the same time P ∨ Q is False (meaning both P and
Q are False).
(c) (∀x ∈ D, ∃y ∈ D, P (x, y)) ⇒ (∃y ∈ D, ∀x ∈ D, P (x, y))
Sample Solution: Let D = {1, 2} and P (x, y): “x is an integer multiple of y.” Then,
∀x ∈ D, ∃y ∈ D, P (x, y) is True because P (1, 1) and P (2, 2) are both True (i.e., we can always
pick y = x for every x). Moreover, ∃y ∈ D, ∀x ∈ D, P (x, y) is True because P (1, 1) and P (2, 1)
are both True (i.e., y = 1 works for every x). Hence, the entire statement is True.
Let D = {1, 2} and P (x, y): “x 6= y.” Then, ∀x ∈ D, ∃y ∈ D, P (x, y) is True because
P (1, 2) and P (2, 1) are both True (i.e., we can always pick y to be different from x). However,
∃y ∈ D, ∀x ∈ D, P (x, y) is False because there is no value of y ∈ D that is different from every
other element of D. Hence, the entire statement is False.