If and only if
The English used in this article or section may not be easy for everybody to understand. (September 2020)
In logic and mathematics, if and only if (sometimes abbreviated as iff) is a logical operator denoting a logical biconditional (often symbolized by  or). It is often used to conjoin two statements which are logically equivalent.
In general, given two statement A and B, the statement "A if and only if B" is true precisely when both A and B are true or both A and B are false. In which case, A can be thought of as the logical substitute of B (and vice versa).
- "Madison will eat the fruit if and only if it is an apple" is equivalent to saying that "Madison will eat the fruit if the fruit is an apple, and will eat no other fruit".
This makes it clear that Madison will eat all and only those fruits that are apples. She will not leave any apple uneaten, and she will not eat any other type of fruit. That a given fruit is an apple is both a necessary and a sufficient condition for Madison to eat the fruit.
Note that the truth table shown is also equivalent to the XNOR gate.
Related pages[change | change source]
References[change | change source]
- "Comprehensive List of Logic Symbols". Math Vault. 2020-04-06. Retrieved 2020-09-04.
- "The Definitive Glossary of Higher Mathematical Jargon: If and Only If". Math Vault. 2019-08-01. Retrieved 2020-08-22.
- Weisstein, Eric W. "Equivalent". mathworld.wolfram.com. Retrieved 2020-09-04.
- Peil, Timothy. "Conditionals and Biconditionals". web.mnstate.edu. Archived from the original on 2020-10-24. Retrieved 2020-09-04.
- ""If and Only If"". www.math.hawaii.edu. Retrieved 2020-08-22.
- Weisstein, Eric W. "Iff". mathworld.wolfram.com. Retrieved 2020-08-22.