Converse, Contrapositive, Inverse, Negation & Derived Connectives
Learn converse, inverse, contrapositive, negation of compound statements, and derived connectives like NAND, NOR, and XOR
Gulshan Kumar
· 15 min read
Conditional statements are an important part of propositional logic. From a conditional statement, we can construct several related statements such as its converse, inverse, and contrapositive.
We will also study how compound propositions are negated and introduce three useful derived logical connectives: NAND, NOR, and XOR.
1. Converse, Contrapositive and Inverse
Consider the conditional proposition
which is read as:
If , then .
From this conditional proposition, three related propositions can be formed.
Converse
The converse of
is obtained by interchanging and :
Therefore,
Contrapositive
The contrapositive is obtained by interchanging and and negating both:
Therefore,
Inverse
The inverse is obtained by negating both and without changing their order:
Therefore,
2. Truth Table for Conditional and Its Related Statements
The relationship among the conditional, converse, inverse, and contrapositive can be seen clearly using a truth table.
| Conditional | Converse | Inverse | Contrapositive | ||
|---|---|---|---|---|---|
| T | T | T | T | T | T |
| T | F | F | T | T | F |
| F | T | T | F | F | T |
| F | F | T | T | T | T |
Two important relationships follow immediately from the table:
Thus, a conditional proposition is logically equivalent to its contrapositive.
Similarly,
Thus, the converse and inverse are also logically equivalent to each other.
However, in general,
and
So a conditional statement is generally not equivalent to its converse or inverse.
3. Example of Converse, Contrapositive and Inverse
Consider:
- : It rains.
- : The crops will grow.
The original conditional proposition is
If it rains, then the crops will grow.
Converse
If the crops grow, then it has rained.
Contrapositive
If the crops do not grow, then it has not rained.
Inverse
If it does not rain, then the crops will not grow.
The original conditional and its contrapositive always have the same truth value, whereas its converse and inverse need not have the same truth value as the original conditional.
4. Logical Equivalence of a Conditional and Its Contrapositive
We want to show that
Consider the truth table:
| T | T | F | F | T | T |
| T | F | F | T | F | F |
| F | T | T | F | T | T |
| F | F | T | T | T | T |
The last two columns are identical for every possible combination of truth values.
Hence,
Therefore, the contrapositive and the original conditional proposition are logically equivalent.
Negation of Compound Statements
Negation reverses the truth value of a proposition. When a proposition contains logical connectives such as AND, OR, implication, or biconditional, its negation must be formed according to the corresponding logical laws.
5. Negation of a Conjunction
A conjunction has the form
Its negation is
In words:
The negation of “ and ” is “not or not .”
This is one of De Morgan's Laws.
Truth Table
| T | T | T | F | F | F | F |
| T | F | F | T | F | T | T |
| F | T | F | T | T | F | T |
| F | F | F | T | T | T | T |
Since the columns for and are identical,
Example 1
Consider:
Paris is in France and London is in England.
Let
- : Paris is in France.
- : London is in England.
The statement is
Its negation is
Therefore:
Paris is not in France or London is not in England.
Example 2
Consider:
Its negation is
6. Negation of a Disjunction
A disjunction has the form
Its negation is
In words:
The negation of “ or ” is “not and not .”
This is the second De Morgan's Law.
Truth Table
| T | T | F | F | F | T | F |
| T | F | F | T | F | T | F |
| F | T | T | F | F | T | F |
| F | F | T | T | T | F | T |
The columns for and are identical.
Hence,
Example 1
Consider:
Ram is in Class XI or Arun is in Class XII.
Let
- : Ram is in Class XI.
- : Arun is in Class XII.
The statement is
Its negation is
Therefore:
Ram is not in Class XI and Arun is not in Class XII.
Example 2
Consider:
9 is greater than 4 or 6 is less than 8.
Its negation is:
9 is not greater than 4 and 6 is not less than 8.
Equivalently,
7. Negation of a Negation
Negating a proposition twice gives the original proposition.
This is known as the Double Negation Law.
Example
Let
: Roses are red.
Then
: Roses are not red.
Negating it again gives
: It is not the case that roses are not red.
which is equivalent to
Roses are red.
Therefore,
8. Negation of a Conditional
Consider the conditional proposition
Its negation is
This result has an intuitive meaning. A statement of the form
If , then
is false only when actually occurs but does not.
Therefore, its negation is
occurs and does not occur.
Truth Table
| T | T | T | F | F | F |
| T | F | F | T | T | T |
| F | T | T | F | F | F |
| F | F | T | F | T | F |
The last two relevant columns are identical. Hence,
Example 1
Consider:
If it is raining, then the game is cancelled.
Let
- : It is raining.
- : The game is cancelled.
The statement is
Its negation is
Therefore:
It is raining and the game is not cancelled.
Example 2
Consider:
If he studies, he will pass the examination.
Let
- : He studies.
- : He will pass the examination.
The negation is
Therefore:
He studies and he will not pass the examination.
9. Negation of a Biconditional
A biconditional has the form
and is true when and have the same truth value.
Therefore, its negation must be true when and have different truth values.
The negation can be expressed as
or equivalently,
Thus,
Truth Table
| T | T | T | F | F | F | F | F |
| T | F | F | T | F | T | T | T |
| F | T | F | T | T | T | F | T |
| F | F | T | F | T | F | T | F |
The corresponding columns are identical, establishing the equivalence.
The same negation can also be written as
This form makes the meaning particularly clear: the negation is true when exactly one of and is true.
Example 1
Consider:
He swims if and only if the water is warm.
Let
- : He swims.
- : The water is warm.
The statement is
Its negation can be represented as
giving:
He swims if and only if the water is not warm.
Equivalently, using
we may write:
He does not swim if and only if the water is warm.
Example 2
Let
- : This computer program is correct.
- : It produces the correct answer for all possible sets of input data.
The original statement is
This computer program is correct if and only if it produces the correct answer for all possible sets of input data.
Symbolically,
Its negation may be expressed as
or
Thus, equivalent ways of expressing the negation are:
This computer program is correct if and only if it does not produce the correct answer for all possible sets of input data.
or
This computer program is not correct if and only if it produces the correct answer for all possible sets of input data.
Derived Connectives
Some logical operations can be constructed from the basic logical connectives. Three important derived connectives are NAND, NOR, and XOR.
10. NAND
NAND means NOT AND, or the negation of conjunction.
For propositions and ,
The NAND operation is false only when both and are true. In every other case, it is true.
Truth Table
| T | T | F |
| T | F | T |
| F | T | T |
| F | F | T |
Therefore,
11. NOR
NOR means NOT OR, or the negation of disjunction.
For propositions and ,
NOR is true only when both and are false.
Truth Table
| T | T | F |
| T | F | F |
| F | T | F |
| F | F | T |
Using only NOR, other logical operations can also be represented.
Negation using NOR
because
Conjunction using NOR
Since
and
we get
Disjunction using NOR
Here,
Applying NOR to this result with itself negates it again:
12. XOR — Exclusive OR
The exclusive OR, abbreviated as XOR, of two propositions and is denoted by
It is true when exactly one of and is true and false when both have the same truth value.
Truth Table
| T | T | F |
| T | F | T |
| F | T | T |
| F | F | F |
Thus, XOR differs from ordinary OR because ordinary OR is true when both propositions are true, whereas XOR is not.
13. Properties of XOR
Commutative Property
The order of the propositions does not affect the result:
Associative Property
For three propositions,
Therefore, XOR operations can be regrouped without changing the result.
Distributive Property with Conjunction
Conjunction distributes over XOR:
Summary
Starting with a conditional proposition , we can construct its converse, inverse, and contrapositive:
| Form | Expression |
|---|---|
| Conditional | |
| Converse | |
| Inverse | |
| Contrapositive |
The most important equivalence is
For negation of compound propositions:
| Proposition | Equivalent Negation |
|---|---|
Finally, the derived connectives are:
| Connective | Symbol | Meaning |
|---|---|---|
| NAND | ||
| NOR | ||
| XOR | True when exactly one of is true |
These relationships provide the foundation for manipulating logical expressions and understanding more advanced concepts in propositional logic.
What did you think?
Follow the idea
Continue the conversation
Share a question, an insight, or a different perspective.
Discussion loads when you reach this section.