D MP Homework 01
D MP Homework 01
Discrete Mathematics
TUT-01: Problem Set 01
Problem 1
Let p and q be the propositions “Swimming at the New Jersey shore is allowed ” and “Sharks
have been spotted near the shore” respectively. Express each of these compound propositions
as an English sentence.
a. ¬q
b. p ∧ q
c. ¬p ∨ q
d. p → ¬q
e. ¬q → p
f. ¬q → ¬p
g. p ↔ ¬q
h. ¬p ∧ (p ∨ ¬q)
Problem 2
In an island, there are two kinds of inhabitants: knights, who always tell the truth and
knaves, who always lie. You encounter two people, A and B. Determine, if possible, what
A and B are if they address you in the ways described. If you cannot determine what these
two people are, can you draw any conclusions?
Problem 3
Show that (p → r) ∧ (q → r) and (p ∨ q) → r are logically equivalent.
Problem 4
Show that (p → q) ∨ (p → r) and p → (q ∨ r) are logically equivalent.
Problem 5
Show that (p → r) ∨ (q → r) and (p ∧ q) → r are logically equivalent.
Problem 6
Let P (x) be the statement “x can speak Russian“ and let Q(x) be the statement “x knows
the computer language C++.” Express each of these sentences in terms of P (x), Q(x),
quantifiers, and logical connectives. The domain for quantifiers consists of all students at
your school.
a. There is a student at your school who can speak Russian and who knows C++.
b. There is a student at your school who can speak Russian but who does not know C++.
c. Every student at your school either can speak Russian or knows C++.
Problem 7
Translate these specifications into English where F (p) is “Printer p is out of service”, B(p)
is “Printer p is busy”, L(j) is “Printer job j is lost”, and Q(j) is “Printer job j is queued.”
b. ∀p B(p) → ∃j Q(j)
Problem 8
What are the truth values of these statements?
Problem 9
Let L(x, y) be the statement “x loves y”, where the domain for both x and y consists of all
people in the world. Use quantifiers to express each of these statements.
Problem 10
Determine the truth value of each of these statements if the domain for all variables consists
of all integers.
b. ∀n∃m (n < m2 )
c. ∀n∃m (n + m = 0)
d. ∃n∀m (nm = m)
e. ∃n∃m (n2 + m2 = 5)
f. ∃n∃m (n2 + m2 = 6)
g. ∃n∃m (n + m = 4 ∧ n − m = 1)
h. ∃n∃m (n + m = 4 ∧ n − m = 2)
i. ∀n∀m∃p (p = (m + n)/2).
Problem 11
Express each of these statements using quantifiers. Then form the negation of the statement
so that no negation is to the left of a quantifier. Next, express the negation in simple English.
(Do not simply use the phrase “It is not the case that.”)
1. Every student in this class has taken exactly two mathematics classes at this school.
4. Every movie actor has either been in a movie with Kevin Bacon or has been in a movie
with someone who has been in a movie with Kevin Bacon.
References
[1] K. H. Rosen, Discrete Mathematics and Its Applications, McGraw-Hill, 7th edition,
2011.
[2] S. S. Epp, Discrete Mathematics with Applications, Cengage-Learning, 4th edition, 2010.
[3] T. W. Judson and R. A. Beezer, Abstract Algebra: Theory and Applications, Free
Software Foundation, 2017, [Online; accessed 08-September-2017].