# Math: Explain IFF?

**URL:** https://boards.straightdope.com/t/math-explain-iff/445702
**Category:** Factual Questions
**Created:** [April 17, 2008, 7:25am UTC](https://boards.straightdope.com/t/math-explain-iff/445702 "2008-04-17T07:25:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://boards.straightdope.com/u/Jinx)
#### Post date: [April 17, 2008, 7:25am UTC](https://boards.straightdope.com/t/math-explain-iff/445702/1 "2008-04-17T07:25:58Z")

</div>

IFF? If and only if. Like, “if” wasn’t good enough? WTF? :mad: It’s a Geometry thing; yes, I won’t understand! Understand I won’t. Not understand iff not I. Yeah…

---

<div class="post-metadata">

### Author: ![Manduck](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/manduck/32/256_2.png) [@Manduck](https://boards.straightdope.com/u/Manduck)
#### Post date: [April 17, 2008, 7:34am UTC](https://boards.straightdope.com/t/math-explain-iff/445702/2 "2008-04-17T07:34:26Z")

</div>

Example:

_I will go to the beach tomorrow if it’s sunny._

That leaves the possibility that I might go to the beach anyway, even if it’s cloudy.

_I will go to the beach tomorrow only if it’s sunny._

Leaves open the possibility that I might stay home, even if it’s sunny.

_I will go the the beach tomorrow if, and only if, it’s sunny_

Means that I will go to the beach if it’s sunny, and I will NOT go to the beach if it’s NOT sunny.

“A iff B” is a shorter way of saying “A if B and NOT A if NOT B”.

---

<div class="post-metadata">

### Author: ![pulykamell](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/pulykamell/32/3166_2.png) [@pulykamell](https://boards.straightdope.com/u/pulykamell)
#### Post date: [April 17, 2008, 7:48am UTC](https://boards.straightdope.com/t/math-explain-iff/445702/3 "2008-04-17T07:48:05Z")

</div>

IFF is what’s known as a biconditional. In other words, if P then Q, if Q then P. If not P then not Q, if not Q then not P.

---

<div class="post-metadata">

### Author: ![The\_Them](https://avatars.discourse-cdn.com/v4/letter/t/898d66/32.png) [@The\_Them](https://boards.straightdope.com/u/The_Them)
#### Post date: [April 17, 2008, 10:53am UTC](https://boards.straightdope.com/t/math-explain-iff/445702/4 "2008-04-17T10:53:57Z")

</div>

You didn’t say what math symbology you’re using. In my world:  
P⇔Q  
is an abbreviation for  
[(P⇒Q)∧(Q⇒P)]

This is great! I get to brag! 😉

---

<div class="post-metadata">

### Author: ![MissMossie](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@MissMossie](https://boards.straightdope.com/u/MissMossie)
#### Post date: [April 17, 2008, 12:10pm UTC](https://boards.straightdope.com/t/math-explain-iff/445702/5 "2008-04-17T12:10:08Z")

</div>

Also, it’s not just a geometry thing. I’ve used it in every math (or logic) class that required proof writing.

---

<div class="post-metadata">

### Author: ![Jurph](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@Jurph](https://boards.straightdope.com/u/Jurph)
#### Post date: [April 17, 2008, 1:05pm UTC](https://boards.straightdope.com/t/math-explain-iff/445702/6 "2008-04-17T13:05:14Z")

</div>

It’s also used in engineering requirements documents (typically in state diagrams) when specifying that one function will occur if-and-only-if some other function occurs.

---

<div class="post-metadata">

### Author: ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)
#### Post date: [April 17, 2008, 4:24pm UTC](https://boards.straightdope.com/t/math-explain-iff/445702/7 "2008-04-17T16:24:59Z")

</div>

There a big difference between “if” and “if and only if” (often abbreviated “iff”) (a difference which beginning math/logic students sometimes fail to appreciate, to their peril).

Compare: “You’ll die if you drink the cyanide.”  
vs.  
“You’ll die if and only if you drink the cyanide.”  
With the second sentence, you have a reasonable shot at immortality.

P iff Q (also written with an arrow pointing both ways between the P and the Q) means that P and Q always go together: you can’t have one without the other.

if P, then Q (also written with a one-way arrow from P to Q, and which could also be worded as “Q if P,” or as “Q is true whenever P is true” or as “P implies Q”) means you’ll never see P without Q, but it doesn’t rule out the possibility that you’ll encounter Q without P.

One more more mathematical example:

A whole number is divisible by 2 if it ends in 0.  
A whole number is divisible by 10 if and only if it ends in 0.

---

<div class="post-metadata">

### Author: ![Frylock](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@Frylock](https://boards.straightdope.com/u/Frylock)
#### Post date: [April 17, 2008, 4:31pm UTC](https://boards.straightdope.com/t/math-explain-iff/445702/8 "2008-04-17T16:31:24Z")

</div>

[QUOTE=Jinx]  
IFF? If and only if. Like, “if” wasn’t good enough? WTF? :mad: It’s a Geometry thing; yes, I won’t understand! Understand I won’t. Not understand iff not I. Yeah…  
[/QUOTE]

A iff B

means the same thing as

If A then B, and if B then A.

Tell me if that does not help.

-FrL-
