Aptitude (CSAT)‹› 0:00 studied

Module 8 · 12 min read · Free chapter

Logical connectives: if–then, only if, unless, either–or

In short

From 'If P then Q', two inferences are valid: P gives Q, and not-Q gives not-P. Q does not give P, and not-P does not give not-Q. The statement is equivalent to its contrapositive 'If not-Q then not-P'. 'Q only if P' means 'If Q then P', and 'Unless P, Q' means 'If not-P then Q'. 'Either P or Q' means at least one is true.

What are you preparing for? We show the practice and previous year questions of your exam.

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?

A promise and what it really binds

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.

Truth table for if–then
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.

Translating everyday words

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".

Exam lens: five question types and how to beat each

These are practice questions written by us, in the styles the papers use. Real past questions from your exam appear in the PYQ panel of this module.

Type 1: the missed valid move. "If the budget is passed, salaries will be paid; salaries were not paid." By the contrapositive, the answer is the budget was not passed.

Type 2: the converse trap. "If a student is in the NCC, she attends the parade; Rani attends the parade; is Rani in the NCC?" Q does not give P, so the answer is cannot be said.

Type 3: only if. "A loan is sanctioned only if the land record is verified; Mohan's loan was sanctioned." This means "if sanctioned, then verified", so the answer is Mohan's land record was verified.

Type 4: either–or. "Either the meeting is postponed or the hall is booked; the hall was not booked." At least one holds, so the answer is the meeting is postponed.

Type 5: the negation. "Which statement contradicts 'Every district has a medical college'?" The answer is at least one district has no medical college, not "no district has one".

Time plan. After translating to "if–then", each item takes about twenty seconds. If you hesitate, write the four-row truth table, which settles any case.

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

One-page summary box
  • "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".

Check yourself

Exam-style questions on this chapter. Pick an answer to see the explanation. 0 of 23 answered

  1. Rule: Unless the land record is verified, the loan is not sanctioned. Fact: the loan is not sanctioned. What must be true about whether the land record is verified?

  2. Rule: Either the pump is faulty or the pipe is blocked (or both). Fact: the pipe is not blocked. What must be true about whether the pump is faulty?

  3. Rule: The match is cancelled only if it rains. Fact: it rains. What must be true about whether the match is cancelled?

  4. Rule: If the land record is verified, then the loan is sanctioned. Fact: the land record is not verified. What must be true about whether the loan is sanctioned?

  5. Rule: Either the meeting is postponed or the hall is booked (or both). Fact: the hall is not booked. What must be true about whether the meeting is postponed?

  6. Rule: Either the meeting is postponed or the hall is booked (or both). Fact: the meeting is not postponed. What must be true about whether the hall is booked?

  7. Rule: If the budget is passed, then salaries are paid. Fact: salaries are paid. What must be true about whether the budget is passed?

  8. Rule: Salaries are paid only if the budget is passed. Fact: the budget is passed. What must be true about whether salaries are paid?

  9. Rule: Unless the officer is present, the file is not signed. Fact: the officer is present. What must be true about whether the file is not signed?

  10. Rule: Salaries are paid only if the budget is passed. Fact: salaries are not paid. What must be true about whether the budget is passed?

  11. Rule: If the officer is present, then the file is signed. Fact: the officer is absent. What must be true about whether the file is signed?

  12. Rule: If it rains, then the match is cancelled. Fact: it rains. What must be true about whether the match is cancelled?

  13. Rule: Unless the land record is verified, the loan is not sanctioned. Fact: the land record is verified. What must be true about whether the loan is not sanctioned?

  14. Rule: Unless the officer is present, the file is not signed. Fact: the file is signed. What must be true about whether the officer is present?

  15. Rule: Unless the budget is passed, salaries are not paid. Fact: salaries are not paid. What must be true about whether the budget is passed?

  16. Rule: If it rains, then the match is cancelled. Fact: the match is not cancelled. What must be true about whether it rains?

  17. Rule: The file is signed only if the officer is present. Fact: the file is not signed. What must be true about whether the officer is present?

  18. Rule: Either the pump is faulty or the pipe is blocked (or both). Fact: the pump is not faulty. What must be true about whether the pipe is blocked?

  19. Rule: The file is signed only if the officer is present. Fact: the file is signed. What must be true about whether the officer is present?

  20. Rule: If it rains, then the match is cancelled. Fact: it does not rain. What must be true about whether the match is cancelled?

  21. Rule: Unless the budget is passed, salaries are not paid. Fact: the budget is passed. What must be true about whether salaries are not paid?

  22. Rule: Unless the officer is present, the file is not signed. Fact: the file is not signed. What must be true about whether the officer is present?

  23. Rule: Salaries are paid only if the budget is passed. Fact: the budget is not passed. What must be true about whether salaries are paid?

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

Frequently asked questions

'If it rains, the match is cancelled.' The match was cancelled. Did it rain?

Not necessarily; the match may have been cancelled for another reason.

What is the contrapositive of 'If P then Q'?

'If not-Q then not-P', which is always equivalent.

What does 'You can enter only if you have a pass' mean?

If you entered, you had a pass; having a pass alone does not guarantee entry.

What does 'Unless you study, you will fail' mean?

If you do not study, you will fail.

More in this module: Logical reasoning