[Math] Symbol for “if and only if”: $\implies$ or $\iff$

elementary-set-theorylogicnotation

I was wondering about the iff sign in maths.
I've never learned about it in school & see it a lot online. Usually the sign looks like this: $\implies$, but in math.stackexchange I always see this: $\iff$.

Does that sign means iff?

Am I using iff right here:

$$8x + 2x – 44 = 220 + 4 – x \implies 11x = 268 \implies x = 24.36$$

Best Answer

The expression $A \implies B$ means "if $A$ is true, then $B$ must be true". You can make a truth table: the truth or falsity of the statement $A\implies B$ is determined like this

$$\begin{array}{c|c|c|} & B\text{ is true}& B\text{ is false}\\\hline A\text{ is true} & \text{true} & \text{false}\\\hline A\text{ is false} & \text{true} & \text{true}\\\hline \end{array}$$

Similarly, $A\impliedby B$ means "if $B$ is true, then $A$ must be true". The truth table for $\impliedby$ is $$\begin{array}{c|c|c|} & B\text{ is true}& B\text{ is false}\\\hline A\text{ is true} & \text{true} & \text{true}\\\hline A\text{ is false} & \text{false} & \text{true}\\\hline \end{array}$$

The expression $A\iff B$ then means "both $A\implies B$ and $B\implies A$". For $\iff$, we get $$\begin{array}{c|c|c|} & B\text{ is true}& B\text{ is false}\\\hline A\text{ is true} & \text{true} & \text{false}\\\hline A\text{ is false} & \text{false} & \text{true}\\\hline \end{array}$$

Examples: for a real number $r$,

  • $r>0\implies r^2>0$ (but $r>0\,\,\,\,\not\!\!\!\!\impliedby r^2>0$, because $(-1)^2>0$ even though $-1\not> 0$)

  • $r=1\iff r+1=2$


The Wikipedia page on logical connectives should be helpful.