UPSC IFoS · Module 73 · standard depth · 14 min
Logical connectives: if–then, only if, unless, either–or
What UPSC IFoS asks from this chapter
Syllabus lines this chapter covers:
- Prelims Paper II: CSAT (qualifying, 33%) · Logical reasoning and analytical ability;
- Prelims Paper II: CSAT (qualifying, 33%) · General mental ability;
UPSC IFoS questions from this module are being sorted into our bank.
Cut to standard depth for UPSC IFoS. 7 deeper paragraphs are in the full chapter.
Start from zero: what a rule really promises
A notice at a ground reads, "If it rains, the match is cancelled." On a rainy day, the match is off, as promised. But suppose the match is cancelled on a dry day because the pitch is damaged. Did the notice lie?
It did not. The notice only promised what happens if it rains. It said nothing about dry days, so a cancellation on a dry day breaks no promise. This small example holds the key to a whole family of exam questions.
Why this matters. Laws, rules and eligibility conditions are written with words such as "if", "only if" and "unless". Reading them correctly decides who gets a benefit, who must comply and who is exempt. A wrong reading can deny a right or grant one wrongly.
What this chapter does. We learn the two valid and two invalid moves with "if–then", translate everyday words into one standard form, and practise negations. Every rule here is checked with a truth table, which lists every possible case.
If–then: two valid moves and two traps
The truth table. Write P for "it rains" and Q for "the match is cancelled". The rule "If P then Q" is broken in only one case: it rains and the match is not cancelled. In the other three cases the rule stands.
| P (rain) | Q (cancelled) | Is the rule kept? |
|---|---|---|
| Yes | Yes | Kept |
| Yes | No | Broken |
| No | Yes | Kept |
| No | No | Kept |
Valid move 1: from P to Q. "It rained" puts us in the first two rows, and the rule rules out the second. So the match was cancelled. This move is called affirming the condition.
Valid move 2: from not-Q to not-P. "The match was not cancelled" leaves rows two and four, and row two is ruled out. So it did not rain. This is the move people most often miss.
Trap 1: from Q to P. "The match was cancelled" leaves rows one and three, so it may or may not have rained. Trap 2: from not-P to not-Q. "It did not rain" leaves rows three and four, so the match may or may not have been held.
Why it matters. These four moves cover most if–then questions. The two traps are the most common wrong options in the papers.
The contrapositive and the converse
Same meaning, new words. "If P then Q" says exactly the same as "If not-Q then not-P". This second form is called the contrapositive. "If a person is a minister, then that person is a member of the legislature" means the same as "If a person is not a member of the legislature, that person is not a minister".
A different meaning. "If Q then P" is the converse, and it is a different claim. "If a person is a member of the legislature, then that person is a minister" is clearly not the same. Exams often offer the converse as a tempting wrong answer.
The inverse. "If not-P then not-Q" is called the inverse. It says the same as the converse, and it too differs from the original. "If a person is not a minister, then that person is not a member of the legislature" is false for most legislators.
Necessary and sufficient. In "If P then Q", P is a sufficient condition for Q, because P alone guarantees Q. Q is a necessary condition for P, because P cannot happen without Q. Rain is sufficient for cancellation under the notice, and cancellation is necessary for a rainy day.
A quick check. To test whether two if–then sentences mean the same, find the one case that breaks each. If both are broken by the same case, they are equivalent. The original and the contrapositive are both broken only by "P true, Q false".
Why it matters. Rules are often restated in reports and orders. Spotting whether a restatement keeps the meaning, or quietly reverses it, protects against errors in application.
Translating only if, unless and either–or
Only if. "You can vote only if you are 18 or older" means "If you vote, then you are 18 or older". The condition after "only if" is the one that must hold, so it goes after "then". It does not mean that every 18-year-old will vote.
Unless. "Unless you study, you will fail" means "If you do not study, you will fail". By the contrapositive, "If you did not fail, you studied". It does not say that studying guarantees a pass.
Either–or. "Either the pump is faulty or the pipe is blocked" means at least one is true. If the pump is fine, the pipe must be blocked, and if the pipe is clear, the pump must be faulty. But if the pump is faulty, the pipe may or may not also be blocked.
Neither–nor and both. "Neither A nor B" means "not A and not B", so both are ruled out. "Both A and B" needs each part to be true. When a question says "exactly one", it is the exclusive form, and then "A is true" does give "B is false".
Several conditions at once. A rule may join conditions, as in "If you are a resident and your income is below the limit, you are eligible". Both parts are needed to trigger the result. But if you are not eligible, the contrapositive only says that at least one part failed, not which one.
Why it matters. Eligibility rules for schemes and posts use these words constantly. Translating each into one "if–then" form lets you apply the same two valid moves every time.
Negations: saying the opposite correctly
Negating "all". The opposite of "All trains are late" is not "No train is late". It is "Some trains are not late", because one punctual train is enough to break the claim. Likewise, the opposite of "No student passed" is "Some students passed".
Negating "if–then". "If it rains, the road floods" is broken only when it rains and the road does not flood. So its negation is "It rains and the road does not flood". It is not "If it rains, the road does not flood", which is a different rule.
Negating "and" and "or". "The office is open and the officer is present" is false if either part fails. So its negation is "The office is closed or the officer is absent". The negation of "A or B" is "not A and not B", which is the same as "neither A nor B".
Negating "some". The opposite of "Some files are missing" is "No file is missing". The opposite of "Some files are not signed" is "All files are signed". So "all" and "some not" are opposites, and "no" and "some" are opposites.
Checking a negation. A correct negation is true exactly when the original is false. Test it on one case where the original holds and one where it fails. If the two always disagree, the negation is right.
Why it matters. Many questions ask which statement contradicts a given claim. Knowing these forms lets you answer without drawing a table each time.
Where and why this is asked
Why examiners test it. Rules in government are conditional by nature: a benefit applies if certain conditions hold, and a penalty applies unless an exemption exists. An officer who reads "only if" as "if" can widen a scheme by mistake. These questions test that precision.
Where it shows up. Logical connectives appear in state PSC mental-ability sections and in reasoning-heavy exams. The UPSC aptitude paper tests them inside passage and logic questions, often asking which conclusion must be true or which statement contradicts another. They also help in reading constitutional and legal provisions in other papers.
When it goes wrong. The usual slips are reversing "if–then", treating "only if" as "if", reading "unless" as "if", and treating "either–or" as "exactly one" when the question does not say so. Another is negating "all" as "none".
The habit to build. Translate every rule into "If ___ then ___" before answering. Then use only the two valid moves, and treat every other inference as "cannot be said".
Practice set: twelve solved problems
In each problem, decide what must be true, or answer "cannot be said". Try each problem first, then read the steps.
1. If it rains, the match is cancelled, and it rained. What follows about the match?
From P we get Q. The answer is the match was cancelled.
2. If it rains, the match is cancelled, and the match was not cancelled. What follows about the rain?
From not-Q we get not-P. The answer is it did not rain.
3. If it rains, the match is cancelled, and the match was cancelled. Did it rain?
Q does not give P, since the match could be cancelled for another reason. The answer is cannot be said.
4. If it rains, the match is cancelled, and it did not rain. Was the match held?
Not-P does not give not-Q. The answer is cannot be said.
5. A person can vote only if he or she is 18 or older, and Asha voted. What follows?
"Only if" means "if Asha voted, she is 18 or older". The answer is Asha is 18 or older.
6. A person can vote only if he or she is 18 or older, and Ravi is 20. Did Ravi vote?
Being 18 or older is needed but does not force anyone to vote. The answer is cannot be said.
7. Unless you study, you will fail, and you did not fail. What follows?
"Unless" means "if you do not study, you fail", and the contrapositive gives "if you did not fail, you studied". The answer is you studied.
8. Either the pump is faulty or the pipe is blocked, and the pump is working fine. What follows?
At least one is true, and the pump is ruled out. The answer is the pipe is blocked.
9. Either the pump is faulty or the pipe is blocked, and the pump is faulty. Is the pipe blocked?
"Either–or" allows both to be true. The answer is cannot be said.
10. Which sentence means the same as "If a person is a minister, that person is a member of the legislature"?
The contrapositive keeps the meaning. The answer is "If a person is not a member of the legislature, that person is not a minister".
11. What is the negation of "All trains are late"?
One train on time is enough to break the claim. The answer is "Some trains are not late".
12. What is the negation of "If it rains, the road floods"?
The rule breaks only when the condition holds and the result does not. The answer is "It rains and the road does not flood".
Quick revision
- "If P then Q" is broken only when P is true and Q is false.
- Valid: P gives Q; not-Q gives not-P. Invalid: Q gives P; not-P gives not-Q.
- The contrapositive keeps the meaning; the converse and inverse do not.
- "Q only if P" means "If Q then P"; "Unless P, Q" means "If not-P then Q".
- "Either P or Q" means at least one: not-P gives Q, but P alone says nothing about Q.
- Not "All A are B" is "Some A are not B"; not "If P then Q" is "P and not-Q".
- Not "P and Q" is "not-P or not-Q"; not "P or Q" is "neither P nor Q".