| CMSC 250 | Exam #1 ANSWERS | Monday, Oct. 4, 2004 |
| Statement 1 | Statement 2 | ||||||||
| A | B | Z |
|
|
|
|
|||
| 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
| 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 |
| 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
| 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 |
| 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 |
| 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 |
(NO) These statements are logically equivalent.
Explain why you selected this answer for the logically equivalent question - indicate how specific rows/columns indicated this answer to you.
ANSWER: The 3rd line in the column marked as Statement 1 is different from the 3rd line of the column marked as Statement 2. Every line of the column marked as Statement 1 must be the same as the corresponding line of the column marked as Statement 2 for the two statements to be logically equivalent.
|
| P1 |
|
| P2 |
|
| P3 |
|
| Therefore
|
| line | Statement | Reason | Line #s |
| 1 |
|
P2 | |
| 2 |
|
P3 | |
| 3 | Conj Simp | 2 | |
| 4 |
|
Disj Add | 3 |
| 5 |
|
DeMorgan's | 4 |
| 6 |
|
MT | 5,1 |
| 7 |
|
DeMorgan's | 6 |
| 8 | Conj Simp | 7 | |
| 9 | Conj Simp | 2 | |
| 10 |
|
Conj Add | 8,9 |
| 11 | P1,10 | ||
| 12 |
|
Disj Add | 11 |
| 13 |
|
Def of Impl and DN | 12 |
| 14 |
|
13 |
OR
| line | Statement | Reason | Line #s |
| 1 |
|
Assume | |
| 2 |
|
neg of quantifiers1 | |
| 3 |
|
P2 | |
| 4 |
|
2 | |
| 5 |
|
Def of Impl | 4 |
| 6 | Conj Simp | 5 | |
| 7 |
|
6,P1 | |
| 8 |
|
DM and DN | 7 |
| 9 |
|
P3 | |
| 10 | Conj Simp | 9 | |
| 11 | Disj Syll and DN | 8,10 | |
| 12 |
|
Disj Add | 11 |
| 13 |
|
MP | 12,3 |
| 14 | Conj Simp | 13 | |
| 15 | Conj Simp | 9 | |
| 16 |
|
Conj Add | 14,15 |
| 17 |
|
CCW with Contra and DN | 1-16 |
OR
| line | Statement | Reason | Line #s |
| 1 |
|
P2 | |
| 2 |
|
P3 | |
| 3 | Assume | ||
| 4 |
|
P1 | |
| 5 |
|
DM and DN | 4 |
| 6 | Conj Simp | 2 | |
| 7 | Disj Syll and DN | 5,6 | |
| 8 |
|
Disj Add | 7 |
| 9 |
|
MP | 8,1 |
| 10 | Conj Simp | 9 | |
| 11 |
|
CCW w/out Contr | 3-10 |
| 12 |
|
11 |
| There is a building that is taller than every other building. |
| Domain: B = {all buildings} |
| Predicate: T(x,y) = ``x is taller than y'' |
|
|
| Every dog and every cat is owned by some person who is nice. |
| Domain: A = {all animals}, P= {all people} |
| Predicates: D(x) = ``x is a dog'', C(x) = ``x is a cat'', |
| O(x,y) = ``x is owned by person y'', N(x) = ``x is nice'' |
|
|
| No child obeys his parents all of the time. |
| Domain: A = {all people}, T= {all times} |
| Predicates: C(x) = ``x is a child'', O(x,t) = ``x is obeying his parents at time t'' |
|
|
| may think first:
|
| There is no largest nor smallest integer. |
| Domain: Z = {all integers} |
| Predicate: L(x,y) = ``integer x is larger than integer y'' |
|
|
| OR |
|
|
| P1 |
|
| P2 |
|
| P3 | |
| Therefore
|
| line | Statement | Reason | Line #s |
| 1 | Assume | ||
| 2 | DN and Disj Syll | 1,P3 | |
| 3 | Assume | ||
| 4 | MT | P2,3 | |
| 5 | def of impl | 4 | |
| 6 | conj simp | 5 | |
| 7 | conj add | 1,6 | |
| 8 | MP | P1,7 | |
| 9 | Conj Simp | 5 | |
| 10 | Conj Add | 8,9 | |
| 11 | CCW with contra. | 3-10 | |
| 12 | Conj Add | 2,11 | |
| 13 |
|
CCW without contra. | 1-12 |
OR
| line | Statement | Reason | Line #s |
| 1 |
|
Def of Impl | P1 |
| 2 |
|
DM | 1 |
| 3 |
|
Comm and Assoc | 2 |
| 4 |
|
Def of Impl | 3 |
| 5 |
|
Comm | 4 |
| 6 |
|
Def of Impl | 5 |
| 7 |
|
Hypo Syll | 6,P2 |
| 8 | Def of Impl | 7 | |
| 9 |
|
Conj Add | 8,P3 |
| 10 |
|
Distrib | 9 |
| 11 |
|
Def of Impl | 10 |
OR
| line | Statement | Reason | Line #s |
| 1 | Assume | ||
| 2 | DN and DS | 1,P3 | |
| 3 |
|
Def of Impl | P1 |
| 4 |
|
DM | 3 |
| 5 |
|
Comm and Assoc | 4 |
| 6 |
|
Def of Impl | 5 |
| 7 |
|
Def of Impl | 6 |
| 8 |
|
Hypo Syll | 7,P2 |
| 9 | MP | 1,8 | |
| 10 | Conj Add | 2,9 | |
| 11 |
|
CCW w/out Contra | 1-10 |
| No people like dirty water. |
| No things that swim like dirty water. |
| ----- |
| therefore: No people are things that swim. |
Circle One: Valid (Invalid) |
![]() |
| NOTE: P = People, S = Things that Swim, LDW = Things that Like Dirty Water |
| All even integers have another integer that divides them. |
| All perfect squares have another integer that divides them. |
| ----- |
| therefore: Some perfect squares are even integers. |
Circle One: Valid (Invalid) |
![]() |
| Note: E = Even, PS = Perfect Squares, HI = Have another Integer that divides them |
| Given any statement variables |
||
| the following logical equivalences hold: | ||
| 1. Commutative laws: |
|
|
| 2. Associative laws: |
|
|
| 3. Distributive laws: |
|
|
| 4. Identity laws: |
|
|
| 5. Negation laws: |
|
|
| 6. Double Negative law: |
|
|
| 7. Idempotent laws: |
|
|
| 8. DeMorgan's laws: |
|
|
| 9. Universal bounds laws: |
|
|
| 10. Absorption laws: |
|
|
| 11. Negations of t and c: |
|
|
| Modus Ponens | Modus Tollens | Disjunctive | |||
|
|
|
Syllogism | |||
| Therefore |
Therefore |
||||
| Therefore |
Therefore |
||||
| Conjunctive | Hypothetical |
|
|||
| Addition | Syllogism |
|
|||
| Therefore |
Therefore
|
||||
| Disjunctive | Dilemma: | ||||
| Addition | Therefore |
Therefore |
Poof by |
|
|
| Division |
|
||||
| into Cases | Therefore |
||||
| Conjunctive | Rule of |
|
|||
| Simplification | Therefore |
Therefore |
Contradiction | Therefore |
|
| Closing C.W. | Closing C.W. | ||||
| without | with |
|
|||
| contradiction | Therefore
|
contradiction | Therefore |
||
| Definition |
|
||
| of Implication |
|
|
|
| Definition of |
|
|
|
| Biconditional |
|
|
|
| Negation of |
|
|
|
| Quantifiers |
|
|
|
| Universal |
|
||
| Modus Ponens | |||
| Universal |
|
||
| Modus Tollens | |||
| Universal Instantiation |
|
||
| Existential Generalization |
|
||
| Universal Generalization** |
|
||
| Existential Instantiation ** |
|
** NOTE: Remember the special circumstances required for the rules marked by the stars.
| Given any sets |
|
| 1. Inclusion for Intersection: |
|
|
|
|
| 2. Inclusion for Union: |
|
|
|
|
| 3. Transitive Property of Subsets: |
|
| Given any sets |
|
| 1. Commutative laws: |
|
|
|
|
| 2. Associative laws: |
|
|
|
|
| 3. Distributive laws: |
|
|
|
|
| 4. Intersection with U (Identity): | |
| 5. Double Complement law: | |
| 6. Idempotent laws: | |
| 7. De Morgan's laws: |
|
|
|
|
| 8. Union with U (Universals Bounds): | |
| 9. Absorption laws: |
|
|
|
|
| 10. Alternative Representation for Set Diff: |
|
| Given any sets |
|
| 1.
|
Intersection with Subset |
| 2.
|
Union with Subset |
| Given any sets |
|
| 1. Union with |
|
| 2. Intersection and Union with Complement |
|
| 3. Intersection with |
|
| 4. Complement of Union and |
|
|
|
|
| 5. Every set is subset of Universal |
|
| 6. Empty set is subset of every set |
|
| 7. Definition of Empty Set |
|
| Theorem 4.1.1 |
|
| Theorem 4.1.1 |
|
| Theorem 4.1.1 |
|
| Theorem 4.2.2 |
|
| Theorem 4.2.3 |
|