Professional Documents
Culture Documents
Principles of Logic Binary
Principles of Logic Binary
PROPOSITIONAL LOGIC
A proposition is a statement,
taken in its entirety, that is either
true or false. For example, a
proposition might be:
All elephants are green.
STATEMENT OR
PROPOSITION
Symbolic Type
Statements Connective
Form of Statement
p or q or p˅q disjunction
p q ~p ~q
1 1 0 0
1 0 0 1
0 1 1 0
0 0 1 1
p q p⋀q
1 1 1
1 0 0
0 1 0
0 0 0
p q p→ q
1 1 1
1 0 0
0 1 1
0 0 1
BICONDITIONAL
p q p 𝐪
1 1 1
1 0 0
0 1 0
0 0 1
• Summary of truth values of simple and compound statements using logical connectives
1 1 0 0 1 0 1 1
1 0 0 1 0 0 0 0
0 1 1 0 0 0 1 0
0 0 1 1 0 1 1 1
EXERCISE!
Let p: John is tall.
q: John plays basketball.
r: John is smart.
Translate each of the following into an English sentence.
1. ¬q
2. p˅q
3. r˄q
4. p →q
5. q p
TRUTH TABLES
a. [⁓ p → ( p ⋀ q)]
Since it involves 2 propositions, there are 4 combinations.
p q ⁓p p⋀q [⁓ p → ( p ⋀
q)]
1 1 0 1 1
1 0 0 0 1
0 1 1 0 0
0 0 1 0 0
CONSTRUCT A TRUTH TABLE
FOR
b. [(p q) ⋁ (p → r)] → ⁓ (q ⋀ r)
Since it involves 3 propositions, there are 8 combinations.
1 1 1 1 1 1 1 0 0
1 1 0 1 0 1 0 1 1
1 0 1 0 1 1 0 1 1
1 0 0 0 0 0 0 1 1
0 1 1 0 1 1 1 0 0
0 1 0 0 1 1 0 1 1
0 0 1 1 1 1 0 1 1
0 0 0 1 1 1 0 1 1
EXERCISE
P ~P 𝑷 ∨ ~𝑷
1 0 1
0 1 1
P ~P 𝑷 ∧ ~𝑷
1 0 F
0 1 F
P Q 𝑷∨𝑸
1 1 1
1 0 1
0 1 1
0 0 0
P Q 𝑷∨𝑸 Q∨𝑷
1 1 1 1
1 0 1 1
0 1 1 1
0 0 0 0
P Q R 𝑷 ∨ (𝑸 ∧ 𝑹) (𝑷 ∨ 𝑸) ∧ (𝑷 ∨ 𝑹)
1 1 1 1 1
1 1 0 1 1
1 0 1 1 1
1 0 0 1 1
0 1 1 1 1
0 1 0 0 0
0 0 1 0 0
0 0 0 0 0