Sheet#4
Sheet#4
Sheet#4
Solved Problems
Fig. 4-9
4.4. Show that the propositions ¬(p ∧ q) and ¬p ∨ ¬q are logically equivalent.
Construct the truth tables for ¬(p ∧ q) and ¬p ∨ ¬q as in Fig. 4-10. Since the truth tables are the same (both
propositions are false in the first case and true in the other three cases), the propositions ¬(p ∧ q) and ¬p ∨ ¬q are
logically equivalent and we can write
¬(p ∧ q) ≡ ¬p ∨ ¬q.
Fig. 4-10
CHAP. 4] LOGIC AND PROPOSITIONAL CALCULUS 83
4.5. Use the laws in Table 4-1 to show that ¬(p ∧ q) ∨ (¬p ∧ q) ≡ ¬p.
Statement Reason
(1) ¬(p ∨ q) ∨ (¬p ∧ q) ≡ (¬p ∧ ¬q) ∨ (¬p ∧ q) DeMorgan’s law
(2) ≡ ¬p ∧ (¬q ∨ q) Distributive law
(3) ≡ ¬p ∧ T Complement law
(4) ≡ ¬p Identity law
CONDITIONAL STATEMENTS
4.6. Rewrite the following statements without using the conditional:
Fig. 4-11
(b) The statement is equivalent to: “If Marc passes the test, then he studied.” Thus its contrapositive is:
If Marc does not study, then he will not pass the test.
(b) Note that ¬(p ↔ q) ≡ p ↔ ¬q ≡ ¬p ↔ q ; hence the negation of the statement is either of the following:
(c) Note that ¬(p → ¬q) ≡ p ∧ ¬¬q ≡ p ∧ q. Hence the negation of the statement is:
ARGUMENTS
4.10. Show that the following argument is a fallacy: p → q, ¬ p $ ¬q.
Construct the truth table for [(p → q)∧¬p] → ¬q as in Fig. 4-12. Since the proposition [(p → q)∧¬p] → ¬q
is not a tautology, the argument is a fallacy. Equivalently, the argument is a fallacy since in the third line of the truth
table p → q and ¬p are true but ¬q is false.
Fig. 4-12
Fig. 4-13
Fig. 4-14
CHAP. 4] LOGIC AND PROPOSITIONAL CALCULUS 85
7 is a prime number.
First translate the argument into symbolic form. Let p be “7 is less than 4” and q be “7 is a prime number.” Then
the argument is of the form
p → ¬q, ¬q $ q
Now, we construct a truth table as shown in Fig. 4-14(b). The above argument is shown to be a fallacy since, in the
fourth line of the truth table, the premises p → ¬q and ¬p are true, but the conclusion q is false.
Remark: The fact that the conclusion of the argument happens to be a true statement is irrelevant to the fact that the
argument presented is a fallacy.
If two sides of a triangle are equal, then the opposite angles are equal.
Two sides of a triangle are not equal.
First translate the argument into the symbolic form p → q, ¬p $ ¬q, where p is “Two sides of a triangle are
equal” and q is “The opposite angles are equal.” By Problem 4.10, this argument is a fallacy.
Remark: Although the conclusion does follow from the second premise and axioms of Euclidean geometry, the above
argument does not constitute such a proof since the argument is a fallacy.
4.16. Determine the truth value of each of the following statements where U = {1, 2, 3} is the universal set:
(a) ∃x∀y, x 2 < y + 1; (b) ∀x∃y, x 2 + y 2 < 12; (c) ∀x∀y, x 2 + y 2 < 12.
(a) True. For if x = 1, then 1, 2, and 3 are all solutions to 1 < y + 1.
(b) True. For each x0 , let y = 1; then x02 + 1 < 12 is a true statement.
(c) False. For if x0 = 2 and y0 = 3, then x02 + y02 < 12 is not a true statement.
(a) ∃x ∀y, p(x, y); (b) ∃x ∀y, p(x, y); (c) ∃y ∃x ∀z, p(x, y, z).
4.18. Let p(x) denote the sentence “x + 2 > 5.” State whether or not p(x) is a propositional function on each
of the following sets: (a) N, the set of positive integers; (b) M = {−1, −2, −3, . . .};
(c) C, the set of complex numbers.
(a) Yes.
(b) Although p(x) is false for every element in M, p(x) is still a propositional function on M.
(c) No. Note that 2i + 2 > 5 does not have any meaning. In other words, inequalities are not defined for complex
numbers.
4.19. Negate each of the following statements: (a) All students live in the dormitories. (b) All mathematics
majors are males. (c) Some students are 25 years old or older.
Use Theorem 4.4 to negate the quantifiers.
(a) At least one student does not live in the dormitories. (Some students do not live in the dormitories.)
(b) At least one mathematics major is female. (Some mathematics majors are female.)
(c) None of the students is 25 years old or older. (All the students are under 25.)
Supplementary Problems
4.21. Find the truth tables for. (a) p ∨ ¬q; (b) ¬p ∧ ¬q.
4.22. Verify that the proposition (p ∧ q) ∧ ¬(p ∨ q) is a contradiction.
ARGUMENTS
4.23. Test the validity of each argument:
(a) If it rains, Erik will be sick. (b) If it rains, Erik will be sick.
It did not rain. Erik was not sick.
QUANTIFIERS
4.25. Let A = {1, 2, . . . , 9, 10}. Consider each of the following sentences. If it is a statement, then determine its truth value.
If it is a propositional function, determine its truth set.
(a) (∀x ∈ A)(∃y ∈ A)(x + y < 14) (c) (∀x ∈ A)(∀y ∈ A)(x + y < 14)
(b) (∀y ∈ A)(x + y < 14) (d) (∃y ∈ A)(x + y < 14)