Mathematics · Ch 1 — Mathematical Logic
Logical connectives, simple and compound statements
Logical connectives, simple and compound statements
So far we have looked at single (simple) statements. In practice we very often build bigger statements out of smaller ones by joining them with connecting words like "and," "or," "if ... then," "if and only if," and "not." These joining words are called logical connectives.
Simple vs. compound statements. A statement that cannot be broken down any further into smaller statements is a simple statement. A statement built by joining two or more simple statements with a connective is a compound statement. For instance, "3 is a prime and 4 is an even number" is compound (it splices together "3 is a prime" and "4 is an even number" with and), whereas "3 and 5 are twin primes" is simple — even though it mentions two numbers, it expresses one indivisible fact about the pair, not a join of two separate statements.
We now go through each of the five connectives one at a time, and for each one independently work out its truth table from its meaning.
1. Conjunction (, read " and "). Joining and with "and" gives their conjunction. The combined statement is true precisely when both and are true on their own — if even one of them fails, the whole "and" statement fails.
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
2. Disjunction (, read " or "). Joining and with "or" gives their disjunction. This is true whenever at least one of is true, and it fails only in the single case where both are false.
| T | T | T |
| T | F | T |
| F | T | T |
| F | F | F |
3. Conditional / implication (, read "if then ," also written ). Here is called the hypothesis (or antecedent) and the conclusion (or consequence). The only situation where "if then " should be judged false is when actually holds but does not — a true cause failing to produce its promised effect. In every other combination the conditional is treated as true (including, perhaps surprisingly, when itself is false — a false hypothesis doesn't break the promise).
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
The same relationship can be phrased in several equivalent ways: " is sufficient for ," " is necessary for ," " implies ," " follows from ," or " only if ."
4. Biconditional / double implication (, read " if and only if ," also written ). This combines "" with its reverse, so it is true exactly when and agree — that is, when they carry the same truth value (both true or both false) — and false whenever they disagree.
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | T |
5. Negation (, read "not "). Unlike the other four, negation acts on a single statement: it simply flips the truth value of .
| T | F |
| F | T |
Applying negation twice returns the original statement: .
Worked Example 1 — writing compound statements symbolically. Express each sentence symbolically, without worrying about whether it is actually true.
- "2 is an even number and 25 is a perfect square." Let : 2 is an even number; : 25 is a perfect square. Since the two parts are joined by "and," the symbolic form is .
- "A school is open or there is a holiday." Let : the school is open; : there is a holiday. Joined by "or," the symbolic form is .
- "Delhi is in India but Dhaka is not in Sri Lanka." Here "but" functions the same way as "and." Let : Delhi is in India; : Dhaka is in Sri Lanka. Since the second part is negated ("is not in Sri Lanka"), the symbolic form is .
- " if and only if ." Let : ; : . The connective "if and only if" gives the symbolic form . Worked Example 2 — finding the truth value of a compound statement. For each sentence, assign and , find their individual truth values, then evaluate the connective.
(i) "3 is a prime number and 4 is a rational number." : 3 is prime — true. : 4 is rational — true. Symbolic form , so the truth value is .
(ii) "All flowers are red or all cows are black." : all flowers are red — false (plenty of flowers aren't red). : all cows are black — false (plenty of cows aren't black). Symbolic form , so the truth value is .
(iii) "If Mumbai is in Maharashtra then Delhi is the capital of India." : Mumbai is in Maharashtra — true. : Delhi is the capital of India — true. Symbolic form , so the truth value is .
(iv) "Milk is white if and only if the Sun rises in the West." : milk is white — true. : the Sun rises in the West — false (it rises in the East). Symbolic form , so the truth value is .
Worked Example 3 — evaluating statement patterns. Suppose are true and are false. Evaluate each pattern by substituting the given truth values and simplifying step by step. …
| p | q | p ∧ q |
|---|---|---|
| T | T | T |
| T | F | F |
| p | q | p ∨ q |
|---|---|---|
| T | T | T |
| T | F | T |
| p | q | p → q |
|---|---|---|
| T | T | T |
| T | F | F |
| p | q | p ↔ q |
|---|---|---|
| T | T | T |
| T | F | F |
| p | ~p |
|---|---|
| T | F |