Symbolic LogicSymbols and Translation

Translating Conditionals

"If p, q", "q if p", "p only if q", "q provided that p", "p is sufficient for q" and "q is necessary for p" are all p → q; "p unless q" is ¬q → p, or p ∨ q.

Not started Jump to practice

Conditionals are the trickiest part of translation, because English has many ways to say "if … then" and some of them put the parts in reverse order. You met the basic idea in Hypothetical Propositions; here we make it exact. Throughout, $p$ stands for one simple statement and $q$ for another.

All of these have $p$ as the antecedent.
EnglishSymbols
if $p$, then $q$; $q$ if $p$; $q$ provided that $p$; whenever $p$, $q$$p \to q$
$p$ only if $q$$p \to q$
$p$ is sufficient for $q$$p \to q$
$q$ is necessary for $p$; $p$ requires $q$$p \to q$
$p$ unless $q$$\neg q \to p$, which is equivalent to $p \lor q$

Key idea

"If" introduces the antecedent; "only if" introduces the consequent. A sufficient condition is the antecedent; a necessary condition is the consequent. "$p$ unless $q$" means "if not $q$, then $p$".

Why it works

Think about what each sentence rules out. "You may vote only if you are registered" rules out one situation: voting while not registered. $p \to q$, with $p$: you vote and $q$: you are registered, is false in exactly that situation, $p$ true and $q$ false. The sentence does not promise that registering lets you vote, so it is not $q \to p$. The same test explains "necessary": being registered is necessary for voting because every voter is registered.
$p$: you study; $q$: you pass. Sort each sentence by its translation.

Worked examples

Worked example: Only if

Let $p$: you get into the show; $q$: you have a ticket. Translate "You get into the show only if you have a ticket."
  1. "Only if" introduces the consequent: having a ticket.
  2. So the antecedent is getting in.

Answer: $p \to q$

Worked example: Necessary

Translate "Having a ticket is necessary for getting into the show."
  1. A necessary condition is the consequent.
  2. Getting in needs a ticket: if you get in, you have one.

Answer: $p \to q$ (the same claim as the last example)

Worked example: Unless

Let $r$: the game goes ahead; $s$: it rains. Translate "The game goes ahead unless it rains."
  1. "$X$ unless $Y$" means "if not $Y$, then $X$".
  2. If it does not rain, the game goes ahead.

Answer: $\neg s \to r$, equivalent to $r \lor s$

Why does "unless" act like "or"? "The game goes ahead unless it rains" is broken only when it does not rain and the game still does not go ahead. $r \lor s$ is false in exactly that case too. So you may translate "unless" as $\lor$; both forms are correct.

Common mistake

Reversing "only if". "You pass only if you study" is pass → study, not study → pass. Reversing it is the same slip as affirming the consequent. A check: does the sentence promise that studying is enough? No, so study → pass is not what it says.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 3 XP.

Loading practice…

Builds on

Leads to

Sources and further reading

  • Patrick J. Hurley and Lori Watson, A Concise Introduction to Logic, 13th ed., section 6.1, on "only if", "unless", necessary and sufficient conditions
  • Irving M. Copi, Carl Cohen and Victor Rodych, Introduction to Logic, 15th ed., chapter on symbolic logic, conditional statements
@teddyrookbook GitHub