A natural number is divisible by 5 if and only if the last digit of the natural number is 0 or 5.
The biconditional sentence above compactly states the following four conditional sentences:
- if a natural number is divisible by 5, then the last digit of the natural number is 0 or 5.
- if the last digit of a natural number is 0 or 5, then the natural number is divisible by 5.
- if a natural number is NOT divisible by 5, then the last digit of the natural number is NOT 0 or 5.
- if the last digit of a natural number is NOT 0 or 5, then the natural number is NOT divisible by 5.
If "P" represents one statement and "Q" represents another statement, then "If P then Q" is called a conditional sentence symbolized as "P → Q"
The following four conditional sentences can be considered:
The biconditional sentence P if and only if Q states that the conditional sentence, its converse, inverse and contrapositive are all true.
The biconditional sentence of this example can be broken up into the two parts below.
P: a natural number is divisible by 5
Q: the last digit of the natural number is 0 or 5
P if and only if Q [i.e. P ↔ Q] results in the following:
- (Conditional sentence: "If P then Q" [P → Q]) if a natural number is divisible by 5, then the last digit of the natural number is 0 or 5.
- (Converse: "If Q then P" [P ← Q]) if the last digit of a natural number is 0 or 5, then the natural number is divisible by 5.
- (Inverse: "If ~P then ~Q" [~P → ~Q]) if a natural number is NOT divisible by 5, then the last digit of the natural number is NOT 0 or 5.
- (Contrapositive: "If ~Q then ~P" [~P ← ~Q]) if the last digit of a natural number is NOT 0 or 5, then the natural number is NOT divisible by 5.