LOGIC QUESTIONS WITH SOLUTIONS

Logic Questions with Solutions

LOGIC QUESTIONS WITH SOLUTIONS

1. (a)(i) Define tautology and contradiction

Tautology: A compound statement that is always true, regardless of the truth values of the individual statements.

Contradiction: A compound statement that is always false, regardless of the truth values of the individual statements.

Example:
p ∨ ¬p is a tautology (Law of Excluded Middle)
p ∧ ¬p is a contradiction (Law of Contradiction)

(ii) Show that (p ∧ q) ∧ (¬p ∨ q) is a fallacy using truth table

p q ¬p p ∧ q ¬p ∨ q (p ∧ q) ∧ (¬p ∨ q)
TTFTTT
TFFFFF
FTTFTF
FFTFTF

The statement is only true in one case out of four (when both p and q are true), therefore it is not a tautology and constitutes a fallacy.

2. (b) Argument Validity Test

"On my daughter's birthday, I bring her flowers. Either it is my daughter's birthday or I work late. I did not bring her flowers. Therefore I worked late."

(i) Translate to symbolic form

Let:
B = "It is my daughter's birthday"
F = "I bring her flowers"
W = "I work late"

Premises:
1. B → F
2. B ∨ W
3. ¬F

Conclusion: W

(ii) Test validity using truth table

BFWB→FB∨W¬FValid?
TTTTTF-
TTFTTF-
TFTFTT✗ (Premise 1 false)
TFFFTT✗ (Premise 1 false)
FTTTTF-
FTFTFF✗ (Premise 2 false)
FFTTTT✓ (All premises true, conclusion true)
FFFTFT✗ (Premise 2 false)

The only case where all premises are true is when B is false, F is false, and W is true. In this case, the conclusion W is true, so the argument is valid.

3. (a)(ii) Verify that (p ∧ q) → (p ∨ q) is a tautology
pqp ∧ qp ∨ q(p ∧ q) → (p ∨ q)
TTTTT
TFFTT
FTFTT
FFFFT

The implication is true in all possible cases, therefore it is a tautology.

4. (b) Simplify using laws of algebra of propositions

(i) (P ∨ q) ∧ [¬q ∨ ¬r) ∧ (P ∨ r)]

Solution:

Let's simplify step by step:

1. Apply Distributive Law: (A ∧ B) ∨ (A ∧ C) = A ∧ (B ∨ C)

2. The expression is already in a distributed form. We can analyze cases:

- If P is true, the whole expression simplifies to ¬q ∨ ¬r
- If q is true, the ¬q term becomes false
- If r is true, the ¬r term becomes false

Final simplified form: P ∧ (¬q ∨ ¬r)

(ii) (P ∨ q) ∧ ¬(¬P ∧ q)

Simplify using De Morgan's laws:

¬(¬P ∧ q) = P ∨ ¬q (De Morgan's)

Now we have: (P ∨ q) ∧ (P ∨ ¬q)

Apply Distributive Law: P ∨ (q ∧ ¬q) = P ∨ F = P

5. (c) Converse, Contrapositive and Inverse

Original statement: "If Juma is a poet, then he is poor"

Let:
P = "Juma is a poet"
Q = "Juma is poor"

Original: P → Q

Converse: Q → P ("If Juma is poor, then he is a poet")

Contrapositive: ¬Q → ¬P ("If Juma is not poor, then he is not a poet")

Inverse: ¬P → ¬Q ("If Juma is not a poet, then he is not poor")

Note: The contrapositive is logically equivalent to the original statement.

Key Logic Concepts Covered:

  • Tautologies and contradictions
  • Truth table analysis
  • Argument validity testing
  • Propositional simplification using laws of logic
  • Converse, contrapositive and inverse statements

No comments

Post a Comment

© all rights reserved
made with by templateszoo