Sp19 HW1
Sp19 HW1
Write the following compound propositions using p, q, and r and logical connectives (including nega-
tions).
(a) You get an A in this class, but you do not do every exercise in the book.
(b) You get an A on the final, you do every exercise in the book, and you get an A in this class.
(c) To get an A in this class, it is necessary for you to get an A on the final.
(d) You get an A on the final, but you don’t do every exercise in the book; nevertheless, you get an
A in this class.
(e) Getting an A on the final and doing every exercise in the book is sufficient for getting an A in
this class.
(f) You will get an A in this class if and only if you either do every exercise in this book or you get
an A on the final.
2. (10 points) Write each of these statements in the form “if p, then q” in English. Hint: Refer to the list
of common ways to express conditional statements provided in this section.
(a) I will remember to send you the address only if you send me an email.
(b) To be considered a Pennsylvanian, it is sufficient that you were born in Pennsylvania.
(c) If you keep your textbook, it will be a useful reference in your future courses.
(d) The Flyers will win the Stanley Cup if their goalie plays well.
(e) That you get the job implies that you had the best credentials.
(f) The beach erodes whenever there is a storm.
(g) It is necessary to have a valid password to log on to the server.
(h) You will reach the summit unless you begin your climb too late.
1
3. (10 points) Construct a truth table for each of these compound propositions.
(a) p → ¬p (d) (p ∧ q) → (p ∨ q)
(b) p ↔ ¬p (e) (q → ¬p) ↔ (p ↔ q)
(c) p ⊕ (p ∨ q) (f) (p ↔ q) ⊕ (p ↔ ¬q)
9. (10 points) Let N (x) be the statement “x has visited North Dakota,” where the domain consists of the
students in your school. Express each of these quantifications in English.
10. (10 points) Suppose the domain of the propositional function P (x) consists of the integers −2, −1, 0, 1, 2.
Write out each of these propositions using disjunctions, conjunctions, and negations.
11. (10 points) Translate in two ways each of these statements into logical expressions using predicates,
quantifiers, and logical connectives. First, let the domain consists of the students in your class and
second, let it consist of all people.
(a) Everyone in your class has a cellular phone.
(b) Somebody in your class has seen a foreign movie.
(c) There is a person in your class who cannot swim.
(d) All students in your class can solve quadratic equations.
(e) Some student in your class does not want to be rich.