Iff (If and Only If) — Definition, Formula & Examples
"Iff" is shorthand for "if and only if," meaning two statements are either both true or both false. When you write "P iff Q," you're saying P and Q always have the same truth value.
The biconditional is the logical connective that is true exactly when and have the same truth value. It is logically equivalent to the conjunction of two conditionals: .
Key Formula
Where:
- = A proposition (statement that is true or false)
- = A second proposition
- = The biconditional connective, read "if and only if"
How It Works
To prove a statement of the form "P if and only if Q," you must prove two directions. First, assume P is true and show Q follows (the "if P then Q" direction). Second, assume Q is true and show P follows (the "if Q then P" direction). If either direction fails, the biconditional is false. In proofs, you'll often see the two directions labeled and .
Example
Problem: Prove: An integer n is even if and only if n² is even.
Direction 1 (⇒): Assume n is even. Then n = 2k for some integer k, so n² = 4k² = 2(2k²), which is even.
Direction 2 (⇐): Prove the contrapositive: if n is odd, then n² is odd. Let n = 2k + 1, so n² = 4k² + 4k + 1 = 2(2k² + 2k) + 1, which is odd. Since the contrapositive holds, the original direction holds.
Answer: Both directions are proven, so the biconditional is established: n is even iff n² is even.
Why It Matters
Biconditional statements appear throughout geometry (e.g., definitions are always "iff" statements) and algebra proofs. Understanding iff is essential for courses like discrete mathematics, where you routinely prove equivalences between conditions.
Common Mistakes
Mistake: Proving only one direction and claiming the biconditional is proved.
Correction: "P if and only if Q" requires two separate arguments: P ⇒ Q and Q ⇒ P. Showing just one direction proves only a conditional, not a biconditional.
