Inference: Modus Ponens and Modus Tollens
Learn about inference, correct argument types, and deductive reasoning.
We'll cover the following
Inference
Let’s call a proposition with known truth value to be a fact. Establishing the truth value of some proposition from the given facts is called inference.
Examples
Let’s look at some examples to improve our understanding of inference.
Let’s assume the following facts:
- : Birds are of different colors.
- : A pigeon is a bird.
- : Pigeons are white or gray.
- : Siam is a pigeon.
From the facts stated above, we can infer the following conclusions:
-
: Siam is a bird.
-
: Siam is white or gray.
As and , both are facts, hence is true. Siam is a pigeon, and a pigeon is a bird; therefore, we can conclude that Siam is a bird.
Similarly, from and , we can infer . Siam is a pigeon, and pigeons are white or gray; therefore, Siam is white or gray.
Here,
The conclusions and are inferred from . We can call the set of hypotheses. Further, note that;
, and .
Let’s look at another example:
Let’s assume the following facts:
- : Ruby and Julia are going together.
- : Ruby is going to campus.
From the facts stated above, we can infer the following conclusion:
- : Julia is going to campus.
As and are valid, should also be valid. Ruby and Julia are going together, and Ruby is going to campus. It means Julia is also going with Ruby to the campus.
Here,
The conclusion is inferred from . Further, .
Inferences can be valid or invalid. Let’s look at an example of invalid inference.
Consider the following facts:
- : All healthy lions have four legs.
- : A healthy cow has four legs.
From the facts stated above, we can wrongly infer the following conclusion:
- : A healthy cow is a lion.
Given that and are valid, is also valid? From , we can not infer that anything with four legs is a lion. Hence, we can not conclude from the given facts.
Only those inferences are valid in logic that are based on some established rules. We call templates of such established rules in logic as rules of inference. These rules of inference are building blocks for making sound arguments in mathematics.
Next, let’s look at the rules of inference and how each one is logically valid.
Modus ponens
Let’s assume that for arbitrary propositions, and , we know that is true. Further, we know that is true. Then, we can conclude that is true.
To understand it further, look at the following truth table:
Row Number | |||
---|---|---|---|
1 | T | T | T |
2 | T | F | F |
3 | F | T | T |
4 | F | F | T |
Given that is not false means we are not talking about row number two of the truth table. Further, when we assume that is not false, this means we are not talking about row numbers three and four. The only possibility left is row number one, where is true.
Therefore, whenever we have the facts,
is true, and is true, we can conclude that, is true.
This inference rule is called modus ponens, which is Latin for “method for affirming.” We also refer to it as the rule of detachment or the law of detachment.
Another way to look at the validity of modus ponens is by noticing that the following compound proposition is a tautology.
The above conditional proposition is true, and its hypothesis is true. Hence, its conclusion has to be true.
We can verify this by the following truth table:
T | T | T | T | T |
T | F | F | F | T |
F | T | T | F | T |
F | F | T | F | T |
Examples
Let’s look at a few examples to understand modus ponens further:
Take the following propositions:
- : It is raining.
- : The ground is wet.
- : If it is raining, then the ground is wet.
Let’s assume that the following two propositions are true.
- : It is raining.
- : If it is raining, then the ground is wet.
Then, by modus ponens, we can conclude that the following proposition is true.
- : The ground is wet.
For our next example, we take the following propositions.
Consider:
- : Alina is eating chocolate.
- : Alina feels joyful.
Assume that the following two propositions are facts.
- : If Alina eats chocolate, then she feels joyful.
- : Alina is eating chocolate.
Then, by using modus ponens, we can conclude the following fact:
- : Alina is feeling joyful.
It is important to note that we can not conclude that is true if we know that and are true.
Modus tollens
Let’s assume that for arbitrary propositions, and , it is given that is true. Further, we know that is true. Then, we can conclude that is true.
To understand it further, look at the following truth table.
Row Number | |||||
---|---|---|---|---|---|
1 | T | T | F | F | T |
2 | T | F | F | T | F |
3 | F | T | T | F | T |
4 | F | F | T | T | T |
Given that is not false means we are not talking about row number two of the truth table. Further, assuming true means we are talking about row number four. In row number four, is also true.
Therefore, whenever we have the facts;
is true, and is true, we can conclude that, is also true.
This inference rule is called modus tollens, Latin for “method for denying.” Another way to look at the validity of modus tollens is by noticing that the following compound proposition is a tautology.
The above conditional proposition is true, and its hypothesis is true. Therefore, its conclusion has to be true.
We can verify this by the following truth table:
T | T | F | F | T | F | T |
T | F | F | T | F | F | T |
F | T | T | F | T | F | T |
F | F | T | T | T | T | T |
Examples
Let’s look at a few examples to understand modus tollens further.
Consider the following propositions:
- : Nemo is a pet fish.
- : Nemo lives in a fishbowl.
Let’s assume that the following two propositions are true:
- : If Nemo is a pet fish, then she lives in a fishbowl.
- : Nemo does not live in a fishbowl.
From these two facts, we can conclude by applying modus tollens.
- : Nemo is not a pet fish.
If Nemo is a pet fish, then she lives in a fishbowl, and she does not live in a fishbowl, it means Nemo is not a pet fish.
Let’s look at another example:
Take the following propositions:
- : It is winter.
- : Alex is wearing a jacket.
Consider the following statements as facts.
-
: If it is winter, then Alex will wear a jacket.
-
: Alex is not wearing a jacket.
By using modus tollens, we conclude the following fact.
- : It is not winter.
We must be cautious that we can not conclude from the facts , and .
Quiz
Test your understanding of modus ponens and modus tollens.
Consider the following propositions:<br> : It is sunny. <br> : Hazel is wearing sunglasses.<br> : If it is sunny, Hazel will wear sunglasses.
Assume that, and are true.
According to modus ponens, which proposition is true?
It is not sunny.
It is not sunny, and Hazel is wearing sunglasses.
Hazel is wearing sunglasses.
It is sunny, and Hazel is not wearing sunglasses.