Propositional
Logic Translation
Learn to convert English statements into precise logical formulas using connectives like \( \land \), \( \lor \), \( \neg \), \( \to \), and \( \leftrightarrow \).
What Is Propositional Logic?
Propositional logic is a branch of mathematics that studies how to combine simple declarative statements (called propositions) using logical connectives to form compound statements whose truth value can be determined precisely.
The Five Logical Connectives
Every compound proposition is built from simple propositions joined by one or more of these five connectives. Memorizing their symbols and English keywords is the foundation of translation.
| Connective | Symbol | English Keywords |
|---|---|---|
| Negation | \( \neg p \) | not, it is not the case that |
| Conjunction | \( p \land q \) | and, but, yet, also |
| Disjunction | \( p \lor q \) | or, either...or |
| Conditional | \( p \to q \) | if...then, implies, only if |
| Biconditional | \( p \leftrightarrow q \) | if and only if, iff, exactly when |
How Connectives Relate
Think of propositions as building blocks. Connectives combine them into larger structures. The diagram below shows how two atomic propositions can be joined by each connective.
Why Translation Matters
Natural language is ambiguous. Logical notation is precise. Translating lets us apply formal rules, build truth tables, and prove arguments valid: tasks that would be impossible with English alone.
The Conditional \( p \to q \)
The conditional is the most important and most confusing connective. It appears in many disguises. All of the following English phrases translate to \( p \to q \):
"If" vs "Only If"
The phrases "if" and "only if" point to different parts of a conditional. This is the single most common source of translation errors.
| English Phrase | "If" Form | "Only If" Form |
|---|---|---|
| Structure | If \( p \), then \( q \) | \( p \) only if \( q \) |
| Hypothesis | \( p \) | \( p \) |
| Conclusion | \( q \) | \( q \) |
| Translation | \( p \to q \) | \( p \to q \) |
| Key Insight | "If" introduces hypothesis | "Only if" introduces conclusion |
How to Translate Step by Step
Example 1: Simple Conjunction
Example 2: Conditional with Negation
Example 3: Nested Connectives
Translating Biconditionals
The biconditional \( p \leftrightarrow q \) means "\( p \) if and only if \( q \)". It is true when both sides have the same truth value.
The Tricky Word: "Unless"
The word "unless" causes confusion because it doesn't map directly to a single connective symbol. Here is the key rule:
Operator Precedence
Just like arithmetic has order of operations, propositional logic has precedence rules. When parentheses are absent, connectives bind in this order (highest to lowest):
Common Mistakes
Translation Cheat Sheet
| English Phrase | Symbol | Notes |
|---|---|---|
| not \( p \) | \( \neg p \) | Negate the proposition |
| \( p \) and \( q \) | \( p \land q \) | Also: but, yet, while |
| \( p \) or \( q \) | \( p \lor q \) | Inclusive or (default) |
| If \( p \), then \( q \) | \( p \to q \) | "If" marks hypothesis |
| \( p \) only if \( q \) | \( p \to q \) | "Only if" marks conclusion |
| \( p \) unless \( q \) | \( \neg q \to p \) | Equivalently: \( p \lor q \) |
| \( p \) iff \( q \) | \( p \leftrightarrow q \) | Both directions |
| \( p \) is sufficient for \( q \) | \( p \to q \) | Sufficient = hypothesis |
| \( p \) is necessary for \( q \) | \( q \to p \) | Necessary = conclusion |
Question 1 of 5
Let \( p \) = "It is cold" and \( q \) = "I wear a jacket." Translate: "If it is cold, then I wear a jacket."
Question 2 of 5
Let \( p \) = "You study" and \( q \) = "You pass the exam." Translate: "You pass the exam only if you study."
Question 3 of 5
Let \( p \) = "I go swimming" and \( q \) = "It rains." Translate: "I go swimming unless it rains."
Question 4 of 5
Let \( p \) = "The light is green" and \( q \) = "Cars move." Translate: "The light is green if and only if cars move."
Question 5 of 5
Let \( p \) = "The alarm sounds", \( q \) = "The door is open", \( r \) = "Security is called." Translate: "If the alarm sounds and the door is open, then security is called."