01-Introduction-Chapter01-Propositional Logic (EX)
01-Introduction-Chapter01-Propositional Logic (EX)
MATHEMATICS
AND
ITS
APPLICATIONS
Book: Discrete Mathematics and Its
Applications
Author: Kenneth H. Rosen
Sixth Edition
McGraw-Hill International Edition
Chapter 1
The Foundations:
Logic and Proofs
Logical Operators (connective)
Negation p (NOT)
n
A truth table will need 2 rows if there are n variables.
1 1.1
2 1.1
1.1 Propositional
Logic
3. Construct a truth table for each of these compound
propositions.
a) p ∨ ¬p
b) (p ∨ q) → (p ∧ q)
c) (q → ¬p) ↔ (p ↔ q)
d) (p ⊕ q) → (p ∧ q)
4 1.1
5 1.1
21 2 rows
2
2 4 rows
23 8 rows
n
A truth table will need 2 rows if there are n variables.
11 1.1
12 1.1
1.1 Propositional Logic
13. Evaluate each of these expressions.
a) 1 1000 ∧ (0 1011 ∨ 1 1011)
b) (0 1111 ∧ 1 0101) ∨ 0 1000
c) (0 1010 ⊕ 1 1011) ⊕ 0 1000
d) (1 1011 ∨ 0 1010) ∧ (1 0001 ∨ 1 1011)
14 1.1
15 1.1
Tautology is a proposition that is always true.
Contradiction is a proposition that is always false.
p q when p ↔ q is tautology.
Equivalence Name
¬(p^q) ≡ ¬p v ¬q ¬(pvq) ≡ ¬p^¬q De Morgan Laws
16 1.2
17 1.2
18. Show that p → q and ¬q → ¬p are logically equivalent.
19 1.2
20 1.2
Quantifier
Predicate Proposition
- Universal quantification: "all of," "for each," "given any," "for arbitrary,“
- Existential quantification: "there exists”, "for some," "for at least one," or "there is."
21 1.3
22 1.3
23 1.3
24 1.3
25 1.3
1.5.2 - Rules Inferences
Rule Name Rule Name
p Modus ponen p Addition
p →q pvq
q
¬q Modus tollen p^q Simplication
p→q p
¬p
p →q Hypothetical p Conjunction
q →r syllogism q
p →r p^q