Difference between revisions of "Logical Equivalence"
Jump to navigation
Jump to search
(Created page with "In mathematics, two statements are logically equivalent if they produce the same truth value in every case. For example, "x is greater than 7" and "x is not less than or equal...") |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | The equivalence of two statements <math>P</math> and <math>Q</math> is the statement is that <math>P</math> and <math>Q</math> have the same truth value. Another way of say this is that <math>P</math> implies <math>Q</math> and <math>Q</math> implies <math>P</math>. | |
+ | |||
+ | Some ways to phrase this are | ||
+ | :<math>P</math> is equivalent to <math>Q</math>. | ||
+ | :<math>P</math> if and only if <math>Q</math>. | ||
+ | :<math>P</math> exactly when <math>Q</math>. | ||
+ | :<math>P</math> iff <math>Q</math>. (iff is an abbreviation for if and only if). | ||
+ | :<math>P</math> is a necessary and sufficient condition for <math>Q</math>. | ||
+ | |||
+ | Examples: | ||
+ | {| class="wikitable" style="text-align: left" | ||
+ | !First statement | ||
+ | !Second statement | ||
+ | !Equivalence | ||
+ | |- | ||
+ | | 4 is even. | ||
+ | | 6 is odd. | ||
+ | | 4 is even iff 6 is odd. | ||
+ | |- | ||
+ | | Triangle ABC is equilateral. | ||
+ | | Triangle ABC is equiangular. | ||
+ | | Triangle ABC is equilateral exactly when it is equiangular. | ||
+ | |} | ||
+ | |||
+ | The equivalence <math>P</math> iff <math>Q</math> is True when <math>P</math> and <math>Q</math> have the same truth values, and False when they have different truth values. In other words <math>P</math> iff <math>Q</math> is True when <math>P</math> and <math>Q</math> are both True or both False, and <math>P</math> iff <math>Q</math> is False is one of <math>P</math> and <math>Q</math> is True while the other is false. In tabular form: | ||
+ | {| class="wikitable" style="border=1 align=center" | ||
+ | !width=50|<math>P</math> | ||
+ | !width=50|<math>Q</math> | ||
+ | !width=100|<math>P \iff Q</math> | ||
+ | |---- align=center | ||
+ | |True | ||
+ | |True | ||
+ | |True | ||
+ | |---- align=center | ||
+ | |True | ||
+ | |False | ||
+ | |False | ||
+ | |---- align=center | ||
+ | |False | ||
+ | |True | ||
+ | |False | ||
+ | |---- align=center | ||
+ | |False | ||
+ | |False | ||
+ | |True | ||
+ | |} | ||
+ | |||
+ | The logical symbol for implication is "<math>\iff</math>", | ||
+ | so you can write <math>P \iff Q</math> for <math>P</math> iff <math>Q</math>. | ||
+ | |||
+ | The statement | ||
+ | :<math>P</math> iff <math>Q</math> | ||
+ | states that the implication | ||
+ | :<math>P</math> implies <math>Q</math> | ||
+ | and its converse are both true. | ||
==Resources== | ==Resources== | ||
Line 5: | Line 59: | ||
* [https://math.libretexts.org/Courses/Monroe_Community_College/MATH_220_Discrete_Math/2%3A_Logic/2.5%3A_Logical_Equivalences Logical Equivalences], Mathematics LibreTexts | * [https://math.libretexts.org/Courses/Monroe_Community_College/MATH_220_Discrete_Math/2%3A_Logic/2.5%3A_Logical_Equivalences Logical Equivalences], Mathematics LibreTexts | ||
* [https://www.usna.edu/Users/cs/roche/courses/f19sm242/get.php?f=slides2_1b.pdf Logical Equivalence and Truth Tables], United States Naval Academy College of Mathematics | * [https://www.usna.edu/Users/cs/roche/courses/f19sm242/get.php?f=slides2_1b.pdf Logical Equivalence and Truth Tables], United States Naval Academy College of Mathematics | ||
+ | |||
+ | == 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:32, 14 November 2021
The equivalence of two statements and is the statement is that and have the same truth value. Another way of say this is that implies and implies .
Some ways to phrase this are
- is equivalent to .
- if and only if .
- exactly when .
- iff . (iff is an abbreviation for if and only if).
- is a necessary and sufficient condition for .
Examples:
First statement | Second statement | Equivalence |
---|---|---|
4 is even. | 6 is odd. | 4 is even iff 6 is odd. |
Triangle ABC is equilateral. | Triangle ABC is equiangular. | Triangle ABC is equilateral exactly when it is equiangular. |
The equivalence iff is True when and have the same truth values, and False when they have different truth values. In other words iff is True when and are both True or both False, and iff is False is one of and is True while the other is false. In tabular form:
True | True | True |
True | False | False |
False | True | False |
False | False | True |
The logical symbol for implication is "", so you can write for iff .
The statement
- iff
states that the implication
- implies
and its converse are both true.
Resources
- Logical Equivalence, Wikipedia
- Logical Equivalences, Mathematics LibreTexts
- Logical Equivalence and Truth Tables, United States Naval Academy College of Mathematics
Licensing
Content obtained and/or adapted from:
- Logical Connectives, Wikibooks: Mathematical Proof and Principles of Mathematics under a CC BY-SA license