A statement is a declarative statement that is either true or false, never both. A statement can either be primitive or compound.
- Primitive statement - India is a nice place to live.
- Compound statement - India is a nice place to live and people in India are really friendly.
AND , OR , and NEGATION are called the primitive/basic logical operators. Their truth tables isn’t worth discussing.
Implication
The implication operator in any statement like means that if is true, then must be true. It doesn’t mean that and cause each other, it just means that being true cannot coexist with being false.
The truth table of the implication operator looks like -
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
The truth table can seem confusing as the implication is considered true even when is false. This is because it just means that being true cannot coexist with being false. When is false, the implication is vacuously (by default) considered true.
For any statement to be an implication, its truth table should be the same as an implication’s.
Double Implication
When for two statements and , and , we say that . As we are looking at a two-way implication here, the truth table of double implication will only be false when one statement is true and the other isn’t.
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Converse, Inverse, and Contrapositive
The implication at hand is -
- Converse of this implication will be .
- Inverse of this implication will be .
- Contrapositive of this implication will be .