UcenlyOpen in the app

Discrete Mathematics and Graphs · BE5B01DMG · Topic 1 of 12

Propositions and truth tables

Build compound statements one operation at a time and distinguish satisfiability from tautology.

Open the interactive lesson

Key ideas

Atomic statements

A proposition has one truth value, 0 or 1. With n variables, list all 2ⁿ assignments before evaluating a formula.

Implication

P implies Q fails only when P is true and Q is false. P is sufficient for Q; Q is necessary for P.

Intermediate columns

For (P⇒Q)∨(R∧P), calculate the implication and conjunction first. The formula is false only at (P,Q,R)=(1,0,0).

Classify the result

A tautology is true in every row; a contradiction in none; a satisfiable formula in at least one. A satisfiable formula need not be a tautology.

In one line: Evaluate inner operations first, then classify using every row.

Formulas

Practice with worked solutions

Question 1

Which assignment makes P⇒Q false?

  1. P=0,Q=0
  2. P=0,Q=1
  3. P=1,Q=0 (correct)
  4. P=1,Q=1
Worked solution
  1. P⇒Q≡¬P∨QP\Rightarrow Q\equiv\neg P\lor Q
  2. P=1, Q=0⇒¬P∨Q=0P=1,\ Q=0\Rightarrow\neg P\lor Q=0

Only a true premise with a false conclusion falsifies an implication.

Question 2

In how many of the 16 rows of its truth table is (P⇒Q)⇒(R∨S) false?

Worked solution

Answer: 3

  1. (P⇒Q)=1 for (P,Q)∈{00,01,11}(P\Rightarrow Q)=1\ \text{for}\ (P,Q)\in\{00,01,11\}
  2. R=S=0 ⇒ 3⋅1=3 false rowsR=S=0\ \Rightarrow\ 3\cdot1=3\ \text{false rows}

An implication is false only when its premise is true and its conclusion is false. So P⇒Q must be true (three of the four (P,Q) pairs: 00, 01, 11) and R=S=0, giving 3 rows.

More Discrete Mathematics and Graphs practice in Ucenly

Sources

Written by Ucenly. Based on the BE5B01DMG course materials: