Difference between revisions of "Logical Equivalence"
| (2 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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P} 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:
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Q} | Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P \iff Q} | |
|---|---|---|
| True | True | True |
| True | False | False |
| False | True | False |
| False | False | True |
The logical symbol for implication is "Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \iff} ", so you can write Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P \iff Q} for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P} iff Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Q} .
The statement
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P} iff Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Q}
states that the implication
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P} implies Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Q}
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