Difference between revisions of "Logical Equivalence"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
Line 1: Line 1:
In mathematics, two statements are logically equivalent if they produce the same truth value in every case. For example, <math> P \and Q </math> and <math> Q \and P </math> are logically equivalent, as are <math> P \or Q </math> and <math> Q \or P </math>, and <math> P \iff Q </math> and <math> Q \iff P </math>. "x is greater than 7" and "x is not less than or equal to 7" are logically equivalent because they are both true or both false simultaneously for every real number x. A conditional (<math> P \implies Q </math>) and its contrapositive (<math> \neg Q \implies \neg P </math>) are always logically equivalent. For example, "if x is even, then x is divisible by 2" is logically equivalent to its contrapositive, "if x is not divisible by 2, then x is not even".
+
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==

Revision as of 14:43, 14 October 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