π¬ What Is a Conditional Statement?
A conditional statement (also called an if-then statement) links two statements together with a cause-and-effect relationship.
Form: If p, then q β written as p β q
- p is called the hypothesis (the condition / the "if" part)
- q is called the conclusion (the result / the "then" part)
Examples
If it rains, then the ground gets wet.
p = "It rains" | q = "The ground gets wet"
If a number is divisible by 4, then it is even.
Always true β this is a mathematical conditional.
If you study hard, then you will pass the test.
π When Is p β q True?
This is the trickiest truth table in basic logic. The conditional is false only when the hypothesis is true but the conclusion is false. In all other cases, it is true.
| p (Ifβ¦) | q (β¦then) | p β q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
π‘ Why is F β T true?
Think of a promise: "If you clean your room, I'll give you ice cream." If you never clean your room, the promise was never broken β regardless of whether you got ice cream or not. A false hypothesis makes the whole conditional vacuously true.
Applying the Truth Table
"If a shape is a square, then it has four sides." β T β T = TRUE β
"If you are in Tokyo, then you are in France." β T β F = FALSE β
"If 2 + 2 = 5, then the moon is made of cheese." β F β F = TRUE β (vacuously)
π The Four Related Conditionals
From any conditional p β q, we can form three related statements by swapping or negating:
Original (Conditional): p β q
"If it is a dog, then it is a mammal."
Converse: q β p (swap p and q)
"If it is a mammal, then it is a dog." β FALSE (cats are mammals too!)
The converse is not necessarily equivalent to the original.
Inverse: Β¬p β Β¬q (negate both)
"If it is not a dog, then it is not a mammal." β FALSE
The inverse is not necessarily equivalent to the original either.
Contrapositive: Β¬q β Β¬p (swap AND negate)
"If it is not a mammal, then it is not a dog." β TRUE
The contrapositive is always logically equivalent to the original. If the original is true, the contrapositive is true β and vice versa.
Key Equivalent Pairs:
- Original p β q β‘ Contrapositive Β¬q β Β¬p (always equivalent)
- Converse q β p β‘ Inverse Β¬p β Β¬q (these two are equivalent to each other, but not to the original)
βοΈ Biconditional: If and Only If p β q
A biconditional says both directions are true at the same time β "p if and only if q" means p β q AND q β p.
It is true when both statements have the same truth value.
| p | q | p β q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | T |
Example
"A shape is a square if and only if it has four equal sides and four right angles."
If it's a square β it has those properties. If it has those properties β it's a square. Both directions hold.
βοΈ Practice β Click to Reveal Answers
1. Identify the hypothesis and conclusion: "If it is snowing, then school is cancelled."
Hypothesis (p): "It is snowing."
Conclusion (q): "School is cancelled."
2. Write the contrapositive of: "If a polygon is a triangle, then it has exactly 3 sides."
Contrapositive: "If a polygon does not have exactly 3 sides, then it is not a triangle."
This is TRUE and logically equivalent to the original.
3. p β q where p = TRUE and q = FALSE. What is the truth value?
FALSE. A conditional is only false when the hypothesis is true and the conclusion is false.
4. Are the converse and the inverse logically equivalent to each other?
Yes! The converse (q β p) and the inverse (Β¬p β Β¬q) always have the same truth value β they are logically equivalent to each other, though not to the original conditional.
5. "A number is even if and only if it is divisible by 2." Is this a true biconditional?
Yes! Both directions hold:
β’ If a number is even β it is divisible by 2. β
β’ If a number is divisible by 2 β it is even. β
So p β q is TRUE.
π― Key Takeaways
- A conditional p β q is false only when p is true and q is false.
- Hypothesis = the "if" part; Conclusion = the "then" part.
- Contrapositive (Β¬q β Β¬p) is always equivalent to the original.
- Converse (q β p) and Inverse (Β¬p β Β¬q) are equivalent to each other but not to the original.
- A biconditional (p β q) is true when both statements share the same truth value.