



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




p๏T ๏ p; p๏F ๏ p Identity Laws p๏T ๏ T; p๏F ๏ F Domination Laws p๏p ๏ p; p๏p ๏ p Idempotent Laws ๏(๏p) ๏ p Double Negation Law p๏q ๏ q๏p; p๏q ๏ q๏p Commutative Laws (p๏q)๏r๏p๏(q๏r) Associative Laws (p๏q)๏r๏p๏(q๏r) p๏(q๏r) ๏ (p๏q)๏(p๏r) Distribution Laws p๏(q๏r) ๏ (p๏q)๏(p๏r) ๏(p๏q)๏(๏p ๏ ๏q) De Morganโs Laws ๏(p๏q)๏(๏p ๏ ๏q) p ๏ ๏p ๏ T Or Tautology p ๏ ๏p ๏ F And Contradiction (p๏ฎq) ๏ (๏p ๏ q) Implication Equivalence
1. Prove that ๏3 is irrational. (20 points) Proof (by contradiction): Assume that ๏3 is rational, i.e. that ๏3 = a/b for a,b๏N and b๏น0. Since any fraction can be reduced until there are no common factors in the numerator and denominator, we can further assume that a and b have no common factors. Then 3 = a^2 /b^2 which means that 3b^2 = a^2. So a^2 is divisible by 3 (by the definition of divisibility). By the Lemma below, since a^2 is divisible by 3, a is also divisible by 3. Thus a = 3k and 3b^2 = 9k^2. Thus b^2 = 3k^2 and b^2 is divisible by 3. But by the Lemma this means b is also divisible by 3. This means both a and b have a common factor (3), which is a contradiction of our original assumption. Therefore ๏3 is irrational. Lemma: When m is a positive integer, then if m^2 is divisible by 3, then m is divisible by 3. Proof: Use an indirect proof. If m is not divisible by 3, then m^2 is not divisible by 3. There are two cases to consider: m = 3k+1 and m = 3k+2 where k๏N. Case 1 If m = 3k+1 then m^2 = (3k+1)(3k+1) = 9k^2 + 6k + 1 = 3(3k^2 + 2k) + 1 which is not divisible by 3. Case 2 If m = 3k + 2 then m^2 = (3k+2)(3k+2) = 9k^2 + 12k + 4 = 3(3k^2 + 4k + 1) + 1 which is not divisible by 3.
3. Prove that if n is a positive integer, then n is odd if 5n+6 is odd. (20 points) Proof: From the contraposition, this is equivalent to n is even ๏ฎ 5n+6 is even. Assume that n is even. Then n = 2k where k๏Z. Then 5n+6 = 5(2k) + 6 = 2(5k+3). Since (5k+3) must be an integer, then 5n+6 is even. Therefore the original proposition is true.
4. Find the Disjunctive Normal Form of (r ๏ q) ๏ฎ (p ๏ q) (20 points) p q r p ๏ q (r ๏ q) (r ๏ q)๏ฎ (p ๏ q) T T T T T T T T F T T T T F T T T T T F F T F T F T T T T T F T F T T T F F T F T F F F F F F T (p๏q๏r) ๏ (p๏q๏๏r) ๏ (p๏๏q๏r) ๏ (p๏๏q๏๏r) ๏ (๏p๏q๏r) ๏ (๏p๏q๏๏r) ๏ (๏p๏๏q๏๏r)
6. Using the logical equivalencies listed on the front page of the quiz prove that ((p๏q)๏๏p)๏ฎq is a tautology. (20 points) ((p๏q)๏๏p)๏ฎq ๏ ๏((p๏q)๏๏p) ๏ q Implication ๏ (๏(p๏q) ๏ ๏๏p) ๏ q DeMorgan ๏ (๏(p๏q) ๏ p) ๏ q Double Neg. ๏ ๏(p๏q) ๏ (p๏q) Assoc. ๏ (p๏q) ๏ ๏(p๏q) Comm. ๏ T Domination