Implications and Tautologies
What You'll Learn
- 1Construct the truth table of a conditional and read off its single false row
- 2Form the converse, inverse and contrapositive and identify which pairs are equivalent
- 3Classify a compound statement as tautology, contradiction or contingency
- 4Use the contrapositive to turn a hard proof into an easy one
Nearly every theorem in mathematics is written as a conditional: if a hypothesis holds, then a conclusion follows. The sentence is easy to write and notoriously easy to misread, because the conditional is true far more often than intuition suggests â it fails in exactly one row of its truth table. This lesson builds that table, derives the four related forms of a conditional, and gives a mechanical procedure for deciding whether a compound statement is always true, always false, or neither.
The conditional and its single failing row
Let and be statements. The conditional , read if then , asserts only that being true never coexists with being false. Its truth table therefore has a single :
The two rows beginning with are the source of every misunderstanding. A conditional with a false hypothesis is called vacuously true: the statement "if the number is divisible by 4 then it is divisible by 2" says nothing about numbers that are not divisible by 4, so it cannot be falsified by them. Equivalence to the disjunction makes this explicit:
Reading the conditional as "either the hypothesis fails, or the conclusion holds" removes the temptation to demand that the hypothesis somehow causes the conclusion. Logical form tracks truth values only; causation is a separate, physical claim.
| Related form | Symbolic writing | Recipe | Equivalent to the original? |
|---|---|---|---|
| Original conditional | state the hypothesis and conclusion | yes, by definition | |
| Converse | swap hypothesis and conclusion | no, in general | |
| Inverse | negate both parts, keep order | no, in general | |
| Contrapositive | negate both and swap | yes, always |
The converse and the inverse are equivalent to each other, since the inverse is the contrapositive of the converse. Likewise the original and the contrapositive form one equivalent pair. Two conditionals that are converses of each other are called a conditional pair, and accepting one does not license accepting the other â that error, affirming the consequent, is the most frequently tested reasoning mistake in this chapter.
Tautology, contradiction and contingency
A compound statement built from and is a tautology when its final column is nowhere, a contradiction when that column is nowhere, and a contingency when both values occur.
Two complements follow immediately. The negation of a tautology is a contradiction and vice versa, and a statement is a tautology exactly when its negation simplifies to a contradiction. Because atomic statements generate rows, deciding the class of a statement always means completing every row â there is no shortcut based on how convincing the sentence sounds.
| Class | Final column | Example | Practical use |
|---|---|---|---|
| Tautology | all | justifies a rewriting step in a proof | |
| Contradiction | all | supports a proof by contradiction | |
| Contingency | mixed | is a genuine assertion needing hypotheses | |
| Valid argument | premise column implies conclusion always | the inference is sound regardless of content |
Deriving the useful equivalences
De Morgan's laws, and , are checked by noting that a disjunction fails only when both parts fail, so its negation must demand that both negations hold. Distributivity of over behaves like ordinary multiplication over addition. Substituting the conditional equivalence into De Morgan's law gives the negation of a conditional:
So the only way for a conditional to fail is exactly the row the truth table shows. These identities are licensed only because both sides have identical columns, and that is the definition of logical equivalence: agreement on all assignments.
Four worked problems
Two further worked problems
How CBSE frames reasoning questions
One mark items ask for the contrapositive of a quoted conditional, or which of four statements is a tautology. Three and four mark items present a compound formula and demand a complete truth table with an explicit verdict of tautology, contradiction or contingency, and marks are awarded row by row, so a table with one wrong row earns almost nothing. Frequently the formula nests, as in , and the reliable method is to evaluate inner columns first and never to guess. Another recurring item asks you to express a statement using the word unless, which translates into a disjunction. The characteristic errors are writing the converse where the contrapositive was asked for, dropping the vacuously true rows, and declaring a contingency a tautology because the statement "feels" necessary.
Computing truth tables in Python
Enumerating all assignments is exactly what a computer is for, and the script below prints the four forms of a conditional side by side.
from itertools import product
rows = list(product([True, False], repeat=2))
header = f"{'p':>6}{'q':>6}{'p->q':>8}{'q->p':>8}{'~p->~q':>9}{'~q->~p':>9}"
print(header)
def implies(a, b):
return (not a) or b
for p, q in rows:
print(f"{str(p):>6}{str(q):>6}"
f"{str(implies(p, q)):>8}{str(implies(q, p)):>8}"
f"{str(implies(not p, not q)):>9}{str(implies(not q, not p)):>9}")
The second script classifies arbitrary compound expressions as tautology, contradiction or contingency.
from itertools import product
def implies(a, b):
return (not a) or b
def classify(label, fn, atoms=("p", "q")):
values = []
for combo in product([True, False], repeat=len(atoms)):
env = dict(zip(atoms, combo))
values.append(fn(**env))
if all(values):
verdict = "tautology"
elif not any(values):
verdict = "contradiction"
else:
verdict = "contingency"
print(f"{label:<28} {values} -> {verdict}")
classify("p OR not p", lambda p, q: p or not p)
classify("p AND not p", lambda p, q: p and not p)
classify("(p->q) AND (q->p)", lambda p, q: implies(p, q) and implies(q, p))
classify("p -> (q -> p)", lambda p, q: implies(p, implies(q, p)))
classify("(p->q) OR (q->p)", lambda p, q: implies(p, q) or implies(q, p))
The output classifies the first as a tautology, the second as a contradiction, the biconditional as a contingency, and the nested conditional of Example 3 as a tautology, matching the hand work exactly.
Common Mistakes
Confusing the converse with the contrapositive
Fix: The converse only swaps hypothesis and conclusion, while the contrapositive both swaps and negates, and only the contrapositive is equivalent to the original.
Stopping the truth table at three rows
Fix: Two atomic statements generate four rows and three generate eight, so every assignment of truth values must appear before a verdict is given.
Treating a conditional as a causal claim
Fix: p implies q is defined by the single false row p true and q false, and the equivalent form not p or q shows it asserts nothing about causation.
Key Takeaways
- A conditional fails in exactly one row, the one where the hypothesis is true and the conclusion false, and is true otherwise
- Only the contrapositive is equivalent to the original conditional; the converse and the inverse form their own separate equivalent pair
- A statement is a tautology when every row of its final column reads true, and its negation is then automatically a contradiction
- p implies q is logically identical to not p or q, which is the identity that turns tautology checking into simple algebra