Truth tables and logical equivalence
5 min read
Short answer
A truth table lists the value of a statement for every assignment of truth values. Two statements are logically equivalent when their tables match. Key facts: and De Morgan's laws , .
Building a table
With variables there are rows. List all combinations, compute sub-expressions column by column, and compare the final columns of the two statements.
Why implication is odd
"If it rains, the ground is wet" is only broken by rain with a dry ground. If it does not rain, the promise is not violated, so the implication counts as true.
Worked example
Show with a truth table that is equivalent to .
Rows : : , . : and . : and . : and . The columns agree: .
Try it yourself
Write the negation of " and is even" using De Morgan's law.
Show the answer
, so the negation is " or is odd".
Keep going with practice
Vidi's probability lessons use the same AND, OR and NOT rules for events.