Knaph

Every Way It Could Be8 of 242 min read

Two Sentences, One Meaning

Ann says "The tea is not both hot and sweet." Ben says "The tea is not hot, or it is not sweet." Do they say the same thing? A truth table can tell us.

Same column, same meaning

Key: P = The tea is hot. Q = The tea is sweet. Ann's claim is ¬(P ∧ Q). Ben's is ¬P ∨ ¬Q.

Two panels with an equals sign between them. The left one says the tea is not both hot and sweet, with the letters not of P and Q. The right one says the tea is not hot or not sweet, with not P or not Q.

Checking by table

Two claims are equivalent when their columns match in every row.

PQ¬(P ∧ Q)¬P ∨ ¬Q
TTFF
TFTT
FTTT
FFTT

The last two columns match in all four rows. Ann and Ben say the same thing.

In Level 2 we found two laws in words. They are named after Augustus De Morgan, a British logician of the 1800s. The other one is ¬(P ∨ Q) = ¬P ∧ ¬Q. Check it: ¬(P ∨ Q) is F, F, F, T. ¬P ∧ ¬Q is F, F, F, T.

Two four-column truth tables. In each, the last two columns are the same in every row, F, T, T, T on the left and F, F, F, T on the right, under a label that says same in every row.

One different row is enough

Is ¬(P ∧ Q) equivalent to ¬P ∧ ¬Q? Look at the columns.

PQ¬(P ∧ Q)¬P ∧ ¬Q
TTFF
TFTF
FTTF
FFTT

They differ in rows 2 and 3. One differing row would be enough to say: not the same.

A truth table with the columns not-P-and-Q and not-P-and-not-Q. The second and third rows are circled in amber because the two last columns differ there.

Careful

Matching in most rows is not enough. Equivalent means every row matches, so check all of them.

Try it at home

  1. Say "not both" about two things at home, such as "It is not both cold and wet."
  2. Say it again in the other way: "It is not cold, or it is not wet."
  3. Check each of the four ways the day could be. Do the two sentences agree in all of them?

Words to know

  • equivalent - two claims whose columns match in every row; they say the same thing
  • De Morgan's laws - ¬(P ∧ Q) = ¬P ∨ ¬Q and ¬(P ∨ Q) = ¬P ∧ ¬Q

Big idea

Two claims are equivalent when their columns match in every row. One row that differs is enough to show they are not.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.