Beruflich Dokumente
Kultur Dokumente
Lecture 2
Truth Tables
Propositional Logic
Truth Tables Part 1 - Truth Functions for Logical Operators
Negation ‘~’ p ~p
“opposite truth T F
values” F T
Propositional Logic
Truth Tables Part 1 - Truth Functions for Logical Operators
Conjunction ‘ ⋅ ’ p q p ⋅q
Propositional Logic
Truth Tables Part 1 - Truth Functions for Logical Operators
Conjunction ‘ ⋅ ’ p q p ⋅q
number of lines
equals 2 to the ?
power of the number
of propositions
L=2n 2 =
2 4
Propositional Logic
Truth Tables Part 1 - Truth Functions for Logical Operators
Conjunction ‘ ⋅ ’ p q p ⋅q
T T T
T F F
“both are true”
F T F
F F F
Propositional Logic
Truth Tables Part 1 - Truth Functions for Logical Operators
Disjunction ‘ ∨ ’ p q p ∨q
T T T
T F T
“at least one is true”
F T T
F F F
Propositional Logic
Truth Tables Part 1 - Truth Functions for Logical Operators
“If you get an A on the final exam, then you will pass Logic.”
(Getting an A on the final is sufficient to pass Logic.)
“I got an A on the final! Why did you fail me?”
“If you get an A on the final exam, then you will pass Logic.”
T F
Propositional Logic
Truth Tables Part 2 - Truth Tables for Compound Propositions
(A ⋅ D) ∨ F
(T ⋅ F) ∨ F
F ∨ F
F
Propositional Logic
Truth Tables Part 2 - Truth Tables for Compound Propositions
(A ⋅ D) ∨ F
T F F FF
Propositional Logic
Truth Tables Part 3 - Truth Tables for Compound Propositions
Method 2 - if you do not know the actual truth value of the
components, solve for all possible worlds
A D F (A ⋅ D) ∨ F
line 1 T T T T T
line 2 T T F T T
line 3 T F T F T
line 4 T F F F F L=23
line 5 F T T F T
line 6 F T F F F
line 7 F F T F T
line 8 F F F F F
Propositional Logic
Logical Status of Propositions
p p ∨ ~p
“every case is true” T T T FT
F F T TF
Propositional Logic
Logical Status of Propositions
p p ⋅~p
“every case is false” T T F FT
F F F TF
Propositional Logic
Logical Status of Propositions
p q p ⋅q
“variable truth-value” T T T
T F F
F T F
F F F
Propositional Logic
Logical Relationships Between Propositions
p q (p ⊃ q) ≠ (p ⋅ ~ q)
T T T T T T F FT
T F T F F T TTF
F T F T T F F FT
F F F T F F FTF
Propositional Logic
Logical Relationships Between Propositions
p q (p ∨ q) ≈ (p · q)
T T T T T T T T
T F T T F T F F
F T F T T F F T
F F F F F F F F
Propositional Logic
Logical Relationships Between Propositions
p q (p ≡ q) ≈ (p · ~ q)
T T T T T T F F T
T F T F F T T T F
F T F F T F F F T
F F F T F F F T F
Propositional Logic
Logical Relationships Between Propositions
If minors who commit murder are equally responsible for their crimes
as adults, then they should receive the death penalty. If they should
receive the death penalty, then we should feel sorry for them. So, if
minors who commit murder are equally responsible, then we should feel
sorry for them.
M D W M ⊃ D / D ⊃ W // M ⊃ W
T T T T T T T T T T T T
T T F T T T T F F T F F
T F T T F F F T T T T T
T F F T F F F T F T F F
Valid F T T F T T T T T F T T
F T F F T T T F F F T F
(hypothetical
syllogism) F F T F T F F T T F T T
F F F F T F F T F F T F