Propositions and Connectives
Turn English sentences into propositional logic using not, and, or, if-then and if-and-only-if, and avoid the classic translation traps.
Welcome back!
Step 1 of 12Learn
A language with five words
In 1847 the English mathematician George Boole had a radical idea: reasoning could be done with algebra. A century later his idea ran every computer on Earth. The system that grew from it, propositional logic, has a tiny vocabulary, and you can learn all of it in one lesson.
The building blocks are propositions: statements that are true or false. We abbreviate simple ones with capital letters. Let R mean "it is raining" and W mean "the ground is wet."
Then five connectives build compound statements:
| Symbol | Name | English | Example |
|---|---|---|---|
| ¬ | negation | not | ¬R: it is not raining |
| ∧ | conjunction | and | R ∧ W: it's raining and the ground is wet |
| ∨ | disjunction | or | R ∨ W: it's raining or the ground is wet |
| → | conditional | if…then | R → W: if it's raining, the ground is wet |
| ↔ | biconditional | if and only if | R ↔ W: it's raining if and only if the ground is wet |
That's the whole language. Every compound statement, however long, is built from letters and these five symbols, with parentheses to group them. The payoff is precision: English is full of ambiguity, and symbols force you to decide what a sentence really claims.
Step 2 of 12Flashcards
The five connectives
Tap a card to flip it.
Step 3 of 12Learn
Not, and, or
Negation flips a truth value. If R is true, ¬R is false, and vice versa. Watch for hidden negations: "It's false that…", "It isn't the case that…", and prefixes like "un-" can all signal ¬, though "unhappy" is not always the same as "not happy."
Conjunction is true only when both parts are true. English has many words for ∧: and, but, although, however, yet, while, moreover. "She's brilliant but disorganized" is, logically, B ∧ D. "But" adds a contrast in tone, not a different truth condition.
Disjunction in logic is inclusive: P ∨ Q is true when at least one part is true, including when both are. "You can take calculus or statistics" is usually inclusive; nobody forbids taking both. When English means "one or the other but not both," as in "soup or salad comes with your meal," that's exclusive or, and you write it as (P ∨ Q) ∧ ¬(P ∧ Q).
Parentheses matter. ¬(P ∧ Q) says "not both," while ¬P ∧ Q says "not P, but Q." Compare "It's not true that I ate the cake and the pie" with "I didn't eat the cake, but I ate the pie." Different claims, different symbols. A common convention: ¬ applies only to the smallest thing right after it, so ¬P ∧ Q means (¬P) ∧ Q.
Step 4 of 12Practice · Match the pairs
Let H = "Hana studies" and P = "Hana passes." Match each sentence with its symbolization.
Tap an answer, then tap the place where it belongs (or drag it there).
- Hana studies but doesn't pass.
- Hana doesn't both study and pass.
- Hana neither studies nor passes.
- Hana studies or passes (or both).
- If Hana studies, she passes.
Step 5 of 12Learn
If, only if, unless
The conditional P → Q is where translation gets tricky, because English expresses it in many orders. P is the antecedent (the condition) and Q the consequent (what follows).
- "If P, then Q" → P → Q
- "Q if P" → P → Q (the "if" part is always the antecedent)
- "P only if Q" → P → Q
- "Q provided that P" → P → Q
"Only if" is the big one. "You can vote only if you're registered" means: if you vote, then you're registered (V → R). It does not mean registering guarantees voting. "Only if" introduces a necessary condition, and the necessary condition goes on the right of the arrow.
"Unless" is translated as "or": "The picnic is on unless it rains" is O ∨ R. You can also write it ¬R → O ("if it doesn't rain, the picnic is on"); the two are equivalent. A quick memory aid: replace "unless" with "if not."
The biconditional P ↔ Q means P → Q and Q → P together: each is necessary and sufficient for the other. "You win if and only if you score the most points." In everyday speech people often say "if" when they mean "if and only if" ("I'll go if you go"), so context matters. In logic and on standardized tests, read "if" strictly as one direction only.
Step 6 of 12Note
Step 7 of 12Practice · Diagram
Voting "only if" registered
V → R says every voter is inside the registered circle. Tap a region.
Which region does "only if" say must be empty?
Tap the shape that answers the question, then press Check.
- Voters
- Registered
- Voters only
A voter who is not registered would break V → R, so this region must be empty.
- Empty: ruled out
- Registered + Voters (overlap)
Every voter lands here.
- Registered voters
- Registered only
Allowed: registering is necessary, not sufficient.
- Registered, did not vote
Step 8 of 12Practice · Choose one
Let G = "you graduate" and C = "you complete the capstone." Which symbolization fits "You graduate only if you complete the capstone"?
Step 9 of 12Practice · Sort into groups
Does the condition in bold sit on the left (antecedent) or the right (consequent) of the arrow?
Tap an item, then tap its group (or drag it there).
Step 10 of 12Tap to reveal
Translating a long sentence, step by step
1. Find the simple statements
"If the server is down and the backup fails, we lose data unless someone restores it manually." Simple statements: S (server is down), B (backup fails), L (we lose data), M (someone restores it manually).
2. Find the main connective
The overall shape is "If [S and B], then [L unless M]". The main connective is the conditional, because everything else sits inside its two parts.
3. Translate each part
The antecedent is S ∧ B. The consequent "L unless M" becomes L ∨ M.
4. Assemble with parentheses
(S ∧ B) → (L ∨ M). Without parentheses, S ∧ B → L ∨ M would be ambiguous. Always group the parts of the main connective.
Step 11 of 12Practice · Fill in the blanks
Fill in the blanks
Translate "The picnic happens unless it rains" using P = the picnic happens and R = it rains: P R. Equivalently, if it does rain, the picnic happens.
Step 12 of 12Practice · True or false
In logic, "P or Q" is false when both P and Q are true.
Lesson complete!