Discrete Math
Discrete Math
Discrete Math
Discrete Math
Q1. Let A: “xy = 0”, B: “x = 0”, and C: “y = 0”. Then, the original statement can be written as
A ⇒ (B & C). This statement is false, since xy = 0 is true even if only x or y equals 0.
Q2. a) In the truth table below, the columns for (p ∧ ¬r) → ¬q and p → (q → r) are
p q r ¬r p∧ ¬q (p ∧ ¬r) → q → r p → (q → r)
¬r ¬q
F F F T F T T T T
F F T F F T T T T
F T F T F F T F T
F T T F F F T T T
T F F T T T T T T
T F T F F T T T T
T T F T T F F F F
T T T F F F T T T
Q3. a) Direct proof. If x is odd and y is even, then x = 2m + 1 and y = 2n for some integers m
b) Disproof by example. Let x = –2 and y = –1. Then x < y, but x2 = 4 > 1 = y2. So, the
c) Proof by contrapositive. Suppose n is even, then 3n is also even and 3n + 11 is odd. Since
the statement “If n is even then 3n + 11 is odd” is true, then its contrapositive “If 3n + 11 is
Q4.
(∀p t(p)) ∨ (∀p c(p)). Either all propositions are tautologies or all propositions are
contradictions.
Q5. (p ∧ q) → p, p ∧ (p → r) → r.
If n > 1, then n2 > 1. Suppose that n2 > 1. Then n > 1. Converse. False.
If n > 2, then n2 > 4. Suppose that n2 ≤ 4. Then n ≤ 2. Contrapositive. True.