Propositional Logic

20 min
0/4 practice checks

A proposition is a statement that is either true or false — never both. We combine propositions with connectives:

  • NOT ¬P\neg P flips the truth value.
  • AND PQP \wedge Q is true only when both are true.
  • OR PQP \vee Q is true when at least one is true.
  • IMPLIES PQP \rightarrow Q is false only when PP is true and QQ is false.

A truth table lists every combination of truth values. With nn propositions there are 2n2^n rows — two choices (true or false) for each.

The implication PQP\rightarrow Q trips people up. Read it as a promise: 'if PP, then QQ.' The promise is only broken when PP happens but QQ fails. If PP never happens, the promise was never tested, so it counts as true (vacuously).

If PP is true and QQ is false, what is PQP \wedge Q?

How many rows does the truth table of a compound proposition with 3 distinct variables have?

The implication PQP\rightarrow Q is false in exactly which case?

By De Morgan's laws, ¬(PQ)\neg(P \wedge Q) is equivalent to: