IMAT Logical Reasoning · Deductive Logic
If, Only If and Unless: Conditionals and Valid Inference
An if-then statement links a condition to a result; only some ways of reasoning from it are valid, and the contrapositive is the one rewording that keeps its meaning.
Why this matters
Two ministry questions (2024 and 2025) gave an if-then statement and asked which conclusion can be deduced; both answers were modus tollens. Two Cambridge questions (2021 and 2022) asked for the argument with the same logical structure.
Concept 1 of 4: If P then Q: the converse, the inverse and the contrapositive
Definition
In if P then Q (written ), P is the antecedent (the condition) and Q is the consequent (the result).
- The statement is false in only one case: P true and Q false. When P is false, it makes no claim.
- The contrapositive (if not Q then not P) always has the same meaning as the original.
- The converse (if Q then P) and the inverse (if not P then not Q) do not. They are equivalent to each other.
- "Whenever P, Q", "every time P, Q" and "all P are Q" are all forms of if P then Q.
| Form | Pattern | Example | Same meaning as the original? |
|---|---|---|---|
| Original | If P then Q | If it is a whale, it is a mammal. | Yes |
| Converse | If Q then P | If it is a mammal, it is a whale. | No |
| Inverse | If not P then not Q | If it is not a whale, it is not a mammal. | No (it matches the converse) |
| Contrapositive | If not Q then not P | If it is not a mammal, it is not a whale. | Yes |
Practice this conceptself-check · 3 quick reps
The converse is not equivalent
Concept 2 of 4: Necessary and sufficient conditions: only if, unless, if and only if
Definition
For :
- P is a sufficient condition for Q: P alone guarantees Q.
- Q is a necessary condition for P: without Q, P cannot happen.
- "P only if Q" means . The word after "only if" is the necessary condition.
- "P unless Q" means "if not Q, then P".
- "P if and only if Q" means both and : each is necessary and sufficient for the other.
| Wording | As an arrow | What it tells you |
|---|---|---|
| If P, then Q | P is sufficient for Q; Q is necessary for P | |
| Q if P | Same as above: the word after "if" is the condition | |
| P only if Q | Q is necessary for P | |
| Only Q can be P (only Qs are Ps) | Every P is a Q | |
| P unless Q | Without Q, P happens | |
| P if and only if Q | Each is necessary and sufficient for the other |
Practice this conceptself-check · 4 quick reps
"Only if" introduces the necessary condition
Concept 3 of 4: Valid inference: modus ponens and modus tollens, and the two fallacies
Definition
An argument is valid when the conclusion must be true whenever the premises are true. From :
- Modus ponens: P, so Q. Valid.
- Modus tollens: not Q, so not P. Valid (it uses the contrapositive).
- Affirming the consequent: Q, so P. Invalid.
- Denying the antecedent: not P, so not Q. Invalid.
- Chaining: and give . Valid.
| Name | Premises | Conclusion | Valid? |
|---|---|---|---|
| Modus ponens | If P then Q; P | Q | Yes |
| Modus tollens | If P then Q; not Q | Not P | Yes |
| Affirming the consequent | If P then Q; Q | P | No |
| Denying the antecedent | If P then Q; not P | Not Q | No |
| Chain | If P then Q; if Q then R | If P then R | Yes |
Practice this conceptself-check · 3 quick reps
Affirming the consequent looks like modus ponens
Concept 4 of 4: Finding the argument with the same logical structure
Definition
To match structure:
- Write the original as a skeleton, for example ; not B; so not A.
- Translate "requires", "needs", "only if" into arrows first: "A requires B" is .
- Do the same for each option and pick the identical skeleton.
- A flawed argument must be matched by an option with the same flaw. A valid option does not match a flawed original.
- Ignore the topic and whether the conclusion is true in real life.
Worked example
Practice this conceptself-check · 3 quick reps
Match the skeleton, not the topic
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Reference tables (3)
If P then Q: the converse, the inverse and the contrapositive4 rows
| Form | Pattern | Example | Same meaning as the original? |
|---|---|---|---|
| Original | If P then Q | If it is a whale, it is a mammal. | Yes |
| Converse | If Q then P | If it is a mammal, it is a whale. | No |
| Inverse | If not P then not Q | If it is not a whale, it is not a mammal. | No (it matches the converse) |
| Contrapositive | If not Q then not P | If it is not a mammal, it is not a whale. | Yes |
Necessary and sufficient conditions: only if, unless, if and only if6 rows
| Wording | As an arrow | What it tells you |
|---|---|---|
| If P, then Q | P is sufficient for Q; Q is necessary for P | |
| Q if P | Same as above: the word after "if" is the condition | |
| P only if Q | Q is necessary for P | |
| Only Q can be P (only Qs are Ps) | Every P is a Q | |
| P unless Q | Without Q, P happens | |
| P if and only if Q | Each is necessary and sufficient for the other |
Valid inference: modus ponens and modus tollens, and the two fallacies5 rows
| Name | Premises | Conclusion | Valid? |
|---|---|---|---|
| Modus ponens | If P then Q; P | Q | Yes |
| Modus tollens | If P then Q; not Q | Not P | Yes |
| Affirming the consequent | If P then Q; Q | P | No |
| Denying the antecedent | If P then Q; not P | Not Q | No |
| Chain | If P then Q; if Q then R | If P then R | Yes |
Watch out for (4)
- The converse is not equivalent→ If P then Q: the converse, the inverse and the contrapositive
- "Only if" introduces the necessary condition→ Necessary and sufficient conditions: only if, unless, if and only if
- Affirming the consequent looks like modus ponens→ Valid inference: modus ponens and modus tollens, and the two fallacies
- Match the skeleton, not the topic→ Finding the argument with the same logical structure
Drill the past-year questions on this topic
Open the bank with this topic pre-filtered.