0% found this document useful (0 votes)
115 views2 pages

Logics PDF

This document contains a quiz on propositional logic with 4 questions. [1] It asks students to identify true/false statements about logical operators and truth tables. [2] It has students use truth tables to show that three compound propositions are logically equivalent. [3] It asks students to use logical equivalences to show that two propositions are equivalent. [4] It asks students to write a compound proposition in disjunctive normal form given a truth table. The document also lists several rules of logical equivalences.

Uploaded by

Adriana Lima
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
115 views2 pages

Logics PDF

This document contains a quiz on propositional logic with 4 questions. [1] It asks students to identify true/false statements about logical operators and truth tables. [2] It has students use truth tables to show that three compound propositions are logically equivalent. [3] It asks students to use logical equivalences to show that two propositions are equivalent. [4] It asks students to write a compound proposition in disjunctive normal form given a truth table. The document also lists several rules of logical equivalences.

Uploaded by

Adriana Lima
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CSE 260- 002

QUIZ-2– Propositional equivalences- ANSWER


(30 points/20 minutes)
NAME:

1. (8 points) Answer the following true/false.

(a) p ∧ ¬p is a contradiction
true
(b) (p ∧ ¬q) → (p ∨ q) is a tautology
true
(c) ¬ and ∧ form a functionally complete collection of logical operators.
true
(d) There are only FOUR possible different truth tables for compound propositions
involving two propositions p and q.
false

2. (10 points) Use truth tables to verify that the following three compound propositions
are equivalent:
p → q, ¬p ∨ q, and ¬q → ¬p (contrapositive)

p q -p -q p->q -pVq -q->-p


T T F F T T T
T F F T F F F
F T T F T T T
F F T T T T T

p → q, ¬p ∨ q and ¬q → ¬p are equivalent because the last three columns are the
same.

3. (6 points) Show by using the rules of logical equivalences that p ∧ (p → q) and p ∧ q


are logically equivalent.
Laws are given on the other side
p ∧ (p → q)
⇔ p ∧ (¬p ∨ q) implication law
⇔ (p ∧ ¬p) ∨ (p ∧ q) distrbutive law (distribute ∧ over ∨).
⇔ (F ∨ (p ∧ q) negation laws
⇔ (p ∧ q) identity laws
4. (6 points) Give the compound proposition in disjunctive Normal Form for the following
truth table.

p q Result

T T T
T F T
F T F
F F T

Disjunctive Normal Form:


(p ∧ q) ∨ (p ∧ ¬q) ∨ (¬p ∧ ¬q)

—————————————

1. Identity Laws
p∧T ⇔p
p∨F ⇔p

2. Double negation law


¬(¬p) ⇔ p

3. Negation Laws
p ∨ ¬p ⇔ T
p ∧ ¬p ⇔ F

4. Distributive laws
p ∧ (q ∨ r) ⇔ (p ∧ q) ∨ (p ∧ r)
p ∨ (q ∧ r) ⇔ (p ∨ q) ∧ (p ∨ r)

5. Associative laws
(p ∨ q) ∨ r ⇔ p ∨ (q ∨ r)
(p ∧ q) ∧ r ⇔ p ∧ (q ∧ r)

6. De Morgan’s laws
¬(p ∧ q) ⇔ ¬p ∨ ¬q
¬(p ∨ q) ⇔ ¬p ∧ ¬q

7. Implication law
p → q ⇔ ¬p ∨ q

You might also like