Introduction To Logic
Introduction To Logic
Truth Tables
1. ~p ˅ ~q
P Q ~P ~Q ~P ˅ ~Q
Variation of Conditional Statement
F F T T T
F T T F T
Implication
T F F T T
T T F F F - Let p: Today is Sunday and q: I will wash the car.
- Conditional: p → q:
2. p → (p ↔ ~q) - If today is Sunday, then I will wash the car.
P Q ~Q (P ↔ ~Q) P → (P ↔ ~Q)
- The converse of this implication is written q → p
F F T F T
- If I was the car, then today is Sunday.
F T F T T
T F T T T
- The inverse of this implication is written ~p → ~p
T T F F F
- If today is not Sunday, then I will not wash the car.
Compound Statement
- The contrapositive of this implication is written ~q
→ ~p
1. Tautology – if all outputs are true.
- If I do not wash the car, then today is not Sunday.
2. Contradiction – if all outputs are false.
3. Contingency – there must be a false and true
output.