Mathematical_unit_1
Mathematical_unit_1
(a) p → (q ∧ r)
(b) (p ∨ q) → ¬r
Solutions
(a) p → (q ∧ r)
p q r q∧r p → (q ∧ r)
T T T T T
T T F F F
T F T F F
T F F F F
F T T T T
F T F F T
F F T F T
F F F F T
(b) (p ∨ q) → ¬r
p q r p∨q ¬r (p ∨ q) → ¬r
T T T T F F
T T F T T T
T F T T F F
T F F T T T
F T T T F F
F T F T T T
F F T F F T
F F F F T T
1
Exercise 2: Logical Equivalence
Show that the following are logically equivalent:
(a) p → q ≡ ¬p ∨ q
(b) ¬(p → q) ≡ p ∧ ¬q
Solutions
(a) Construct truth table for both sides:
p q p→q ¬p ¬p ∨ q
T T T F T
T F F F F
F T T T T
F F T T T
Since the columns for p → q and ¬p ∨ q match, they are logically equivalent.
(b) Show that ¬(p → q) ≡ p ∧ ¬q
From earlier:
p → q ≡ ¬p ∨ q ⇒ ¬(p → q) ≡ ¬(¬p ∨ q)
Apply De Morgan’s Law:
¬(¬p ∨ q) ≡ ¬(¬p) ∧ ¬q ≡ p ∧ ¬q
Hence proved.
2
Exercise 3: Predicates and Quantifiers
Let P (x) : x2 > 4. Determine the truth value of:
(a) ∀x ∈ R, P (x)
(b) ∃x ∈ R, P (x)
Solutions
(a) ∀x ∈ R, P (x): False
Counterexample: Let x = 0. Then x2 = 0 < 4, so P (0) is false.
(b) ∃x ∈ R, P (x): True
Example: Let x = 3. Then x2 = 9 > 4, so P (3) is true.
3
Exercise 4: Validity of Arguments
Determine whether each argument is valid or invalid.
Solutions
(1) This is an example of **Modus Ponens**:
R → W, R ⊢ W
S → P, ¬S ⊬ ¬P
Invalid argument — just because someone didn’t study doesn’t mean they necessarily failed.