Mathematics and Statistics · Ch 1 — Mathematical Logic
Statements and Logical Connectives
Statements and Logical Connectives
Ordinary language is full of sentences whose truth cannot be settled — commands, questions, opinions and exclamations. Mathematical logic strips language down to just the sentences that can be judged true or false, and studies how such sentences combine. This is the foundation of every rigorous argument in mathematics, and — as the last section of this chapter shows — it also models the electrical switching circuits that run every calculator and computer.
Statement. A statement (or proposition) is a declarative sentence that is either true or false, but not both at the same time. Whether it is true or false is called its truth value, written (true) or (false). For example, "" is a true statement, and " is an even number" is a false statement — both are statements because each has a definite truth value.
Sentences that are not statements include:
- Questions — "What is the time?" (cannot be true or false).
- Commands / requests — "Please close the door."
- Exclamations — "What a beautiful day!"
- Open sentences — "" is not a statement on its own, because its truth depends on the value of ; it becomes a statement only once is fixed.
- Opinions / paradoxes — "This sentence is false" is not a statement, since assuming it true forces it false and vice versa.
Simple statements are denoted by small letters For instance we may write "Mumbai is in Maharashtra" and note that its truth value is .
Logical connectives. New statements are built from given ones using words called logical connectives. There are five, each with its own symbol.
| Connective | Word | Symbol | Name of compound statement |
|---|---|---|---|
| Negation | not | negation of : | |
| Conjunction | and | ||
| Disjunction | or | ||
| Conditional | if ... then | ||
| Biconditional | if and only if |
A statement built using one or more connectives is a compound statement; a statement with no connective is a simple (or primitive) statement.
- Negation reverses the truth value: if is true, is false, and vice versa. If " is prime", then " is not prime".
- Conjunction (" and ") is true only when both parts are true.
- Disjunction (" or ") is true when at least one part is true. In logic "or" is always the inclusive or — it also allows both to be true.
- Conditional ("if then ") — here is the antecedent (hypothesis) and the consequent (conclusion).
- Biconditional (" if and only if ") asserts that and have the same truth value.
To write an ordinary compound sentence in symbols, first label each simple statement, then replace the connecting words by their symbols. For example, with "It is raining" and "The road is wet", the sentence "If it is raining then the road is wet" becomes .
A declarative sentence that is either true or false but not both. Its being true or false is its truth value, written T or F. Questions, commands, exclamations and open sentences are not statements.
A word (not, and, or, if...then, if and only if) used to combine or modify statements, with symbols ~ (negation), and-wedge, or-vee, arrow (conditional) and double-arrow (biconditional).
A statement formed from one or more simple statements joined by logical connectives; a statement with no connective is a simple or primitive statement.