Tutorial 1
Tutorial 1
Constructing truth tables for each expression shows that they do not have the same truth values under all conditions. Specifically, when P is true, Q is false, and R is true, the first expression is true while the second is false, proving non-equivalence.
The converse of the statement is 'If a person's age is at least 18, then that person has a driving license.' The inverse is 'If a person does not have a driving license, then that person's age is less than 18.' The contrapositive is 'If a person's age is less than 18, then that person does not have a driving license.'
Let P represent 'I go to class every day' and Q represent 'I do all of the homework exercises'. The statement can be translated to '¬(PassClass) → (P ∧ Q)' using propositional logic.
A truth table shows that for certain truth assignments of P, Q, R, and S, specifically when P is true, Q and R are false, and S is true, the first expression is false but the second is true, demonstrating non-equivalence.
(P ∧ Q) → R requires that R is true when both P and Q are true, whereas (P → R) ∧ (Q → R) allows for R to be false if one of P or Q is false. This difference in conditions for truth value accounts for their non-equivalence, as shown through truth tables.
The negation of the statement 'Some pilots are pirates' would be 'No pilots are pirates' or 'All pilots are not pirates.' This negation expresses that the possibility of any pilot being a pirate is eliminated.
The expression ¬P → (Q → R) can be rewritten as ¬P ∨ (¬Q ∨ R), which simplifies to (P ∨ Q) → R. Both expressions evaluate to true for the same truth assignments, establishing their logical equivalence.
Constructing a truth table reveals that for every possible combination of truth values for P, Q, and R, the statement (P ∨ Q) ∧ (¬P ∨ R) inevitably leads to (Q ∨ R) being true, confirming that it is a tautology.
To demonstrate that [(P ∨ Q) ∧¬P] → Q is a tautology, construct a truth table. The expression [(P ∨ Q) ∧¬P] can only be true if Q is true (since P is false and at least one of P or Q must be true). Therefore, the implication is always true, making it a tautology.
Using the definition of exclusive OR (⊕), P ⊕ Q is true if and only if P and Q have opposite truth values. Therefore, ¬(P ⊕ Q) is true when P and Q have the same truth values, which is the same definition as the biconditional P ↔ Q. Hence, ¬(P ⊕ Q) and P ↔ Q are logically equivalent.