Difference between revisions of "Logical Implication"
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | ==Implication== | |
+ | Implication is perhaps the most important, but also the most confusing of the logical connectives. In fact it even has a paradox named after it. | ||
+ | |||
+ | The implication of two statements <math>P</math> and <math>Q</math> is the statement is that <math>Q</math> is True whenever <math>P</math> is True. Some ways to phrase this are | ||
+ | :<math>P</math> implies <math>Q</math>. | ||
+ | :If <math>P</math> then <math>Q</math>. | ||
+ | :<math>P</math> only if <math>Q</math>. | ||
+ | :<math>Q</math> if <math>P</math>. | ||
+ | :<math>Q</math> is a necessary condition for <math>P</math>. | ||
+ | :<math>P</math> is a sufficient condition for <math>Q</math>. | ||
+ | |||
+ | When we use the phrase "If ... then ..." in English it usually means there is some sort of causality going on. For example the statement | ||
+ | :If it rains the traffic will be terrible. | ||
+ | somehow contains the idea that the rain will cause the traffic to be terrible. But in terms of logic there doesn't have to be any such connection between the two statement. This is where the paradox, one of the 'paradoxes of material implication', comes in. Namely, if <math>P</math> is a false statement, then the implication <math>P</math> implies <math>Q</math> is true, even if there is no connection between <math>P</math> and <math>Q</math>. For example | ||
+ | :If 0=1 then the moon is made of cheese. | ||
+ | is logically true even though whether the moon is made of cheese has nothing to do with whether 0 is equal to 1. | ||
+ | |||
+ | This state of affairs may seem rather strange, which is why it's called a paradox. So perhaps it would help to ask when you can say that the statement <math>P</math> implies <math>Q</math> is False rather than when you can say it's True. Imagine your dentist says to you | ||
+ | :If you eat a lot of sugar then you'll get more cavities. | ||
+ | This is an implication between the two statements | ||
+ | :You eat a lot of sugar. | ||
+ | and | ||
+ | :You'll get more cavities. | ||
+ | Now suppose you want to prove your dentist wrong and say "Ha! You don't know what you're talking about. I shall seek dental care elsewhere." If you stay away from sugar and don't get cavities then your dentist will be right. If you stay away from sugar but get cavities anyway then your dentist can ask "Did you brush after eating?" and you'll say "No," and your dentist will say "There you go!" and will still be right. The only way you can prove your dentist wrong is to eat a lot of sugar but not get cavities. | ||
+ | |||
+ | This fact is actually useful in some situations and since it's logically valid there's nothing wrong with using it in a proof. | ||
+ | |||
+ | |||
+ | |||
+ | Examples: | ||
+ | {| class="wikitable" style="text-align: left" | ||
+ | !First statement | ||
+ | !Second statement | ||
+ | !Implication | ||
+ | |- | ||
+ | | The hall was long. | ||
+ | | The hall had many doors. | ||
+ | | If the hall was long then it had many doors. | ||
+ | |- | ||
+ | | Mike's dog has a wet nose. | ||
+ | | Mike's dog is healthy. | ||
+ | | If Mike's dog has a wet nose then he/she is healthy. | ||
+ | |- | ||
+ | | 4 is even. | ||
+ | | 6 is odd. | ||
+ | | If 4 is even then 6 is odd. | ||
+ | |- | ||
+ | | Triangle ABC is equilateral. | ||
+ | | Triangle ABC is isosceles. | ||
+ | | If Triangle ABC is equilateral then it is isosceles. | ||
+ | |} | ||
+ | |||
+ | As we've seen, the implication <math>P</math> implies <math>Q</math> is True when <math>P</math> is false. It's also True when <math>Q</math> is True and only false when <math>P</math> is True and <math>Q</math> is False. In tabular form: | ||
{| class="wikitable" style="margin:1em auto 1em auto; text-align:center;" | {| class="wikitable" style="margin:1em auto 1em auto; text-align:center;" | ||
Line 13: | Line 65: | ||
| F || F || T | | F || F || T | ||
|} | |} | ||
+ | |||
+ | The logical symbol for implication is "<math>\implies</math>", though "<math>\supset</math>" is sometimes seen instead. | ||
+ | so you can write <math>P \implies Q</math> for <math>P</math> implies <math>Q</math>. | ||
+ | |||
+ | Unlike <math>P</math> and <math>Q</math> and <math>P</math> or <math>Q</math>, the value of <math>P</math> implies <math>Q</math> may change if you switch <math>P</math> with <math>Q</math>. In other words | ||
+ | :<math>P</math> implies <math>Q</math> | ||
+ | is not always the same as | ||
+ | :<math>Q</math> implies <math>P</math>. | ||
+ | The two statements are related though and we call the statement | ||
+ | :<math>Q</math> implies <math>P</math> | ||
+ | the 'converse' of | ||
+ | :<math>P</math> implies <math>Q</math> | ||
+ | |||
+ | Implication plays an important role since most theorems take on the form of an implication. | ||
Note that while the inverse of <math> P \implies Q </math> (that is, <math> \neg P \implies \neg Q </math>) does not necessarily have the same truth value as <math> P \implies Q </math>, the contrapositive (<math> \neg Q \implies \neg P </math>) does. For example, <math> x > 10 \implies x > 0 </math> and its contrapositive, <math> x \leq 0 \implies x \leq 10 </math>, are logically equivalent, and always have the same truth value for any number <math> x </math>. | Note that while the inverse of <math> P \implies Q </math> (that is, <math> \neg P \implies \neg Q </math>) does not necessarily have the same truth value as <math> P \implies Q </math>, the contrapositive (<math> \neg Q \implies \neg P </math>) does. For example, <math> x > 10 \implies x > 0 </math> and its contrapositive, <math> x \leq 0 \implies x \leq 10 </math>, are logically equivalent, and always have the same truth value for any number <math> x </math>. | ||
Line 18: | Line 84: | ||
==Resources== | ==Resources== | ||
* [https://sites.millersville.edu/bikenaga/math-proof/truth-tables/truth-tables.html Truth Tables, Tautologies, and Logical Equivalences], Millersville University | * [https://sites.millersville.edu/bikenaga/math-proof/truth-tables/truth-tables.html Truth Tables, Tautologies, and Logical Equivalences], Millersville University | ||
+ | |||
+ | == Licensing == | ||
+ | Content obtained and/or adapted from: | ||
+ | * [https://en.wikibooks.org/wiki/Mathematical_Proof_and_the_Principles_of_Mathematics/Logic/Logical_connectives Logical Connectives, Wikibooks: Mathematical Proof and Principles of Mathematics] under a CC BY-SA license |
Latest revision as of 20:29, 14 November 2021
Implication
Implication is perhaps the most important, but also the most confusing of the logical connectives. In fact it even has a paradox named after it.
The implication of two statements and is the statement is that is True whenever is True. Some ways to phrase this are
- implies .
- If then .
- only if .
- if .
- is a necessary condition for .
- is a sufficient condition for .
When we use the phrase "If ... then ..." in English it usually means there is some sort of causality going on. For example the statement
- If it rains the traffic will be terrible.
somehow contains the idea that the rain will cause the traffic to be terrible. But in terms of logic there doesn't have to be any such connection between the two statement. This is where the paradox, one of the 'paradoxes of material implication', comes in. Namely, if is a false statement, then the implication implies is true, even if there is no connection between and . For example
- If 0=1 then the moon is made of cheese.
is logically true even though whether the moon is made of cheese has nothing to do with whether 0 is equal to 1.
This state of affairs may seem rather strange, which is why it's called a paradox. So perhaps it would help to ask when you can say that the statement implies is False rather than when you can say it's True. Imagine your dentist says to you
- If you eat a lot of sugar then you'll get more cavities.
This is an implication between the two statements
- You eat a lot of sugar.
and
- You'll get more cavities.
Now suppose you want to prove your dentist wrong and say "Ha! You don't know what you're talking about. I shall seek dental care elsewhere." If you stay away from sugar and don't get cavities then your dentist will be right. If you stay away from sugar but get cavities anyway then your dentist can ask "Did you brush after eating?" and you'll say "No," and your dentist will say "There you go!" and will still be right. The only way you can prove your dentist wrong is to eat a lot of sugar but not get cavities.
This fact is actually useful in some situations and since it's logically valid there's nothing wrong with using it in a proof.
Examples:
First statement | Second statement | Implication |
---|---|---|
The hall was long. | The hall had many doors. | If the hall was long then it had many doors. |
Mike's dog has a wet nose. | Mike's dog is healthy. | If Mike's dog has a wet nose then he/she is healthy. |
4 is even. | 6 is odd. | If 4 is even then 6 is odd. |
Triangle ABC is equilateral. | Triangle ABC is isosceles. | If Triangle ABC is equilateral then it is isosceles. |
As we've seen, the implication implies is True when is false. It's also True when is True and only false when is True and is False. In tabular form:
T | T | T |
T | F | F |
F | T | T |
F | F | T |
The logical symbol for implication is "", though "" is sometimes seen instead. so you can write for implies .
Unlike and and or , the value of implies may change if you switch with . In other words
- implies
is not always the same as
- implies .
The two statements are related though and we call the statement
- implies
the 'converse' of
- implies
Implication plays an important role since most theorems take on the form of an implication.
Note that while the inverse of (that is, ) does not necessarily have the same truth value as , the contrapositive () does. For example, and its contrapositive, , are logically equivalent, and always have the same truth value for any number .
Resources
- Truth Tables, Tautologies, and Logical Equivalences, Millersville University
Licensing
Content obtained and/or adapted from:
- Logical Connectives, Wikibooks: Mathematical Proof and Principles of Mathematics under a CC BY-SA license