Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Discrete Mathematics / Logic and proof

Propositional Logic

Statements, connectives and truth tables, and how to tell when two statements say the same thing.

3 min read · 2 sections · 2 checks

Contents 3 sections
  1. §1Connectives
  2. §2Saying the same thing
  3. ?Check yourself

By the end you can

  • Use ¬, ∧, ∨, → and ↔ correctly
  • Build truth tables and recognise tautologies
  • Apply De Morgan’s laws and the contrapositive

§1Connectives

A proposition is a statement that is either true or false. Connectives build larger statements from smaller ones, and a truth table lists the result for every combination of inputs.

ppqqp∧qp \wedge qp∨qp \vee qp→qp \to qp↔qp \leftrightarrow q
TTTTTT
TFFTFF
FTFTTF
FFFFTT
Preparing the instrument…
Fig. 1 Type any formula with p, q and r to generate its table and check whether it is a tautology.

§2Saying the same thing

Two formulas are logically equivalent, written ≡\equiv, when their truth tables match row for row.

¬(p∧q)≡¬p∨¬q¬(p∨q)≡¬p∧¬q\neg(p \wedge q) \equiv \neg p \vee \neg q \qquad \neg(p \vee q) \equiv \neg p \wedge \neg q

Check yourself

  1. Q1
    When is p→qp \to q false?
  2. Q2
    Which is equivalent to ¬(p∨q)\neg(p \vee q)?