KonkurStudy
همه کارت‌ها

Translating If, Only If, and Unless into Implications

"if" introduces the hypothesis, "only if" the necessary consequent, and "unless" means "if not" — three connectives, three fixed implication patterns that konkur loves to swap.

کارت مفهوم کنکور ارشد علوم کامپیوتر

اهمیت
۰/۵

Symbolizing English conditionals is a recurring konkur skill, and almost every trap comes from one phrase: only if. The reliable approach is to memorize which English connective marks the sufficient condition (the hypothesis, antecedent) and which marks the necessary condition (the consequent).

The three core patterns

Let pp and qq be the two simple statements.

English Reading Symbolic
"pp if qq" qq is sufficient for pp q→pq \to p
"pp only if qq" qq is necessary for pp p→qp \to q
"pp unless qq" holds unless qq rescues it ¬q→p\neg q \to p

Notice that if and only if point the arrow in opposite directions. "pp if qq" puts qq on the left; "pp only if qq" puts qq on the right. Combining both gives the biconditional: "pp if and only if qq" is p↔qp \leftrightarrow q.

Why "only if" is p→qp \to q

"AA only if BB" asserts that the only way AA can be true is for BB to be true — so BB is a necessary condition for AA. Necessary conditions always sit in the consequent: A→BA \to B. Equivalently, if BB fails then AA must fail, i.e. ¬B→¬A\neg B \to \neg A (the contrapositive), which is the same proposition.

Why "unless" is ¬q→p\neg q \to p

Read "unless" as "if not": "pp unless qq" == "pp if not qq" =¬q→p= \neg q \to p. By the contrapositive (or by ¬q→p≡q∨p\neg q \to p \equiv q \vee p) this also equals ¬p→q\neg p \to q — handy when the options are written the other way around.

How to apply (3 steps)

  1. Name the atoms and find the connective (if / only if / unless / if and only if).
  2. Place the arrow using the table. Compound parts like "solve all exercises and stay focused" become a single side, e.g. q∧rq \wedge r.
  3. Match against options up to equivalence. If the literal form is absent, convert via the contrapositive X→Y≡¬Y→¬XX \to Y \equiv \neg Y \to \neg X or the disjunction X→Y≡¬X∨YX \to Y \equiv \neg X \vee Y, then push negations inward with De Morgan: ¬(q∧r)≡¬q∨¬r\neg(q \wedge r) \equiv \neg q \vee \neg r.

Mini-example

Symbolize "You pass only if you study and sleep," with pp = pass, qq = study, rr = sleep.

  • "only if" ⇒\Rightarrow the part after it is necessary ⇒\Rightarrow consequent: p→(q∧r).p \to (q \wedge r).
  • If no option shows this directly, take the contrapositive: ¬(q∧r)→¬p,\neg(q \wedge r) \to \neg p, and (if needed) apply De Morgan to get (¬q∨¬r)→¬p(\neg q \vee \neg r) \to \neg p. All three are the same proposition.

Exam trick: if and only if are not interchangeable — "pp if qq" is q→pq \to p but "pp only if qq" is p→qp \to q. When your derived p→(q∧r)p \to (q \wedge r) is missing from the choices, don't panic: its contrapositive ¬(q∧r)→¬p\neg(q \wedge r) \to \neg p (often shown after De Morgan as (¬q∨¬r)→¬p(\neg q \vee \neg r)\to\neg p) is logically identical and is usually the intended answer.

فرمول‌های کلیدی

only if
p only if q  ≡  p→qp \text{ only if } q \;\equiv\; p \to q

The part after 'only if' is the necessary condition, so it is the consequent.

if
p if q  ≡  q→pp \text{ if } q \;\equiv\; q \to p

The part after 'if' is the sufficient condition, so it is the antecedent — opposite arrow to 'only if'.

unless
p unless q  ≡  ¬q→p  ≡  p∨qp \text{ unless } q \;\equiv\; \neg q \to p \;\equiv\; p \vee q

Read 'unless' as 'if not'.

Contrapositive
(X→Y)  ≡  (¬Y→¬X)(X \to Y) \;\equiv\; (\neg Y \to \neg X)

Equivalent rewrite used to match an implication against differently-phrased options.

De Morgan (for the consequent)
¬(q∧r)  ≡  ¬q∨¬r\neg(q \wedge r) \;\equiv\; \neg q \vee \neg r

Distributes the negation when a compound 'and' part moves to the other side.

#propositional-logic#conditional-statement#only-if#necessary-sufficient#contrapositive#de-morgan#translation

سوالات تمرینی