Mathematics · Ch 12 — Discrete Mathematics
Compound Statements, Logical Connectives, and Truth Tables
Compound Statements, Logical Connectives, and Truth Tables
Simple vs compound statements. A simple (atomic) statement cannot be broken into smaller statements. A compound (molecular) statement is built from two or more simple statements. Example: "1 is not a prime number and Ooty is in Kerala" is compound, built from : "1 is not a prime number" and : "Ooty is in Kerala." Any simple statement, taking only the values or , can be treated like a variable -- a statement (propositional) variable, usually named
Definition 12.9 (Logical Connectives). Words such as "and", "or", "if-then", "if and only if" and "not" that join simple statements into compound ones are logical connectives. The three basic ones are negation (not), conjunction (and) and disjunction (or).
Definition 12.10. An expression built from one or more statements joined by connectives is a statement formula.
Definition 12.11 (Truth Table). A table showing, for every combination of truth values of the component simple statements, the resulting truth value of the compound statement is a truth table.
Definition 12.12 -- the three basic connectives:
- Negation, ("not "): truth value opposite to -- is when is , and when is .
- Conjunction, (" and ", read " hat "): exactly when both and are ; otherwise.
- Disjunction, (" or ", read " cup "): exactly when both and are ; otherwise (the inclusive or). Truth tables for the three:
| T | F |
| F | T |
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
| T | T | T |
| T | F | T |
| F | T | T |
| F | F | F |
Example 12.12 (worked pattern). With : "It is cold" and : "It is raining": = "It is not cold"; = "It is cold and raining"; = "It is cold or raining"; = "It is raining or it is not cold."
Row count. A formula in alone has rows; a formula in two variables like or has rows. In general, a formula with distinct variables has rows -- e.g. variables give rows, variables give rows.
Conditional statement.
Definition 12.13. The conditional statement "if , then ", written , calls the hypothesis (antecedent) and the conclusion (consequent). is only when is and is ; otherwise it is .
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
Example 12.14 (worked pattern). For : "If today is Monday, then " -- here ("") is , so is regardless of what day it actually is; is judged purely by the truth values of , never by whether they are related in meaning.
Three statements derived from : the converse , the inverse , and the contrapositive .
Example 12.15 (worked pattern). For : "The number of primes is infinite" and : "Ooty is in Kerala": conditional = "If the number of primes is infinite then Ooty is in Kerala"; converse = "If Ooty is in Kerala then the number of primes is infinite"; inverse = "If the number of primes is not infinite then Ooty is not in Kerala"; contrapositive = "If Ooty is not in Kerala then the number of primes is not infinite."
Biconditional statement.
Definition 12.14. The biconditional " if and only if ", written , is whenever and share the same truth value, and otherwise. …