UNIHIVE

Study Hub UNIPORT MTH 114

MTH 114 · Introduction to Sets, Logic and Algebra

Implication, equivalence and the algebra of statements

Converse, inverse and contrapositive, logical equivalence, De Morgan's laws for logic, and simplifying statements by substitution and replacement.

Our notes

2 min read

Related conditionals

For p → q ("if p then q"):

NameFormEquivalent to p → q?
Converseq → pNo
Inverse¬p → ¬qNo
Contrapositive¬q → ¬pYes

The converse and inverse are equivalent to each other.
Example. "If a number is divisible by 4, it is even." Converse: "If a number is even, it is divisible by 4": false (6). Contrapositive: "If a number is not even, it is not divisible by 4": true.

Logical equivalence

Two statements are logically equivalent (≡) if they have the same truth value in every row of the truth table.
Useful equivalences:

  • p → q ≡ ¬p ∨ q
  • ¬(p → q) ≡ p ∧ ¬q
  • p ↔ q ≡ (p → q) ∧ (q → p)
  • De Morgan: ¬(p ∧ q) ≡ ¬p ∨ ¬q; ¬(p ∨ q) ≡ ¬p ∧ ¬q
  • Distributive: p ∧ (q ∨ r) ≡ (p ∧ q) ∨ (p ∧ r)
  • Double negation: ¬¬p ≡ p

These mirror the set laws: ∧ behaves like ∩, ∨ like ∪, ¬ like complement.

Substitution and replacement

  • Substitution: in a tautology, replacing a simple statement everywhere by any statement keeps a tautology.
  • Replacement: replacing part of a statement by an equivalent part gives an equivalent statement.

Worked example. Simplify ¬(p → q) ∨ q.

  1. ¬(p → q) ≡ p ∧ ¬q, so the statement is (p ∧ ¬q) ∨ q.
  2. Distribute: (p ∨ q) ∧ (¬q ∨ q).
  3. ¬q ∨ q is a tautology T, and anything ∧ T is itself: p ∨ q.

Check with p = F, q = F: original ¬(T) ∨ F = F; p ∨ q = F. ✓ With p = T, q = F: original ¬(F) ∨ F = T; p ∨ q = T. ✓

Negating in words

"It is not true that I passed MTH and PHY" means "I failed MTH or I failed PHY" (De Morgan), not "I failed both".

Exams usually ask: write the converse, inverse and contrapositive of a sentence; prove an equivalence by truth table or by laws; negate a compound English sentence.

Common mistake: negating "if p then q" as "if p then not q". The negation is "p and not q".

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 114 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.