top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S7-SA8-0036

What is Contraposition (Logic)?

Grade Level:

Class 12

AI/ML, Physics, Biotechnology, FinTech, EVs, Space Technology, Climate Science, Blockchain, Medicine, Engineering, Law, Economics

Definition
What is it?

Contraposition is a logical rule where you swap the 'if' and 'then' parts of a statement and also make both parts negative. It creates a new statement that is logically equivalent to the original one. This means if the original statement is true, the contrapositive is also true, and vice-versa.

Simple Example
Quick Example

Imagine your cricket coach says: 'If it rains, then the match is cancelled.' The contrapositive of this statement would be: 'If the match is NOT cancelled, then it did NOT rain.' Both statements convey the same information about the match and the rain.

Worked Example
Step-by-Step

Let's take the statement: 'If a student scores above 90%, then they get a distinction.'

Step 1: Identify the 'if' part (antecedent) and the 'then' part (consequent).
'If a student scores above 90%' is P.
'Then they get a distinction' is Q.

---
Step 2: Form the original conditional statement: If P, then Q.
'If a student scores above 90%, then they get a distinction.'

---
Step 3: Negate both P and Q.
Negation of P (not P): 'A student does NOT score above 90%.'
Negation of Q (not Q): 'They do NOT get a distinction.'

---
Step 4: Swap the negated parts. The 'if' part becomes 'not Q', and the 'then' part becomes 'not P'.

---
Step 5: Combine them to form the contrapositive: If not Q, then not P.

ANSWER: The contrapositive is: 'If a student does NOT get a distinction, then they did NOT score above 90%.'

Why It Matters

Understanding contraposition helps in critical thinking and problem-solving across many fields. Engineers use it to verify system designs, doctors use it in diagnosing diseases by ruling out conditions, and lawyers use it to build strong arguments in court. It's a foundational skill for anyone in AI/ML, Medicine, or Law.

Common Mistakes

MISTAKE: Just swapping the parts without negating them. For example, changing 'If P, then Q' to 'If Q, then P'. | CORRECTION: Remember to negate BOTH parts (make them opposite) when you swap them. It's 'If not Q, then not P'.

MISTAKE: Negating only one part, either P or Q, but not both. For example, changing 'If P, then Q' to 'If not P, then not Q'. This is an inverse, not a contrapositive. | CORRECTION: The rule requires negating both the antecedent (if part) and the consequent (then part) AND swapping their positions.

MISTAKE: Confusing contraposition with the converse or inverse. The converse is 'If Q, then P'. The inverse is 'If not P, then not Q'. Neither is logically equivalent to the original statement. | CORRECTION: Contraposition is unique because it's the only one of these three that is always logically equivalent to the original 'If P, then Q' statement.

Practice Questions
Try It Yourself

QUESTION: What is the contrapositive of 'If it is Sunday, then the shops are closed'? | ANSWER: If the shops are NOT closed, then it is NOT Sunday.

QUESTION: Find the contrapositive of: 'If a number is even, then it is divisible by 2.' | ANSWER: If a number is NOT divisible by 2, then it is NOT even.

QUESTION: Consider the statement: 'If my mobile data runs out, then I cannot watch videos.' Write its contrapositive and explain why it's logically equivalent. | ANSWER: Contrapositive: 'If I CAN watch videos, then my mobile data has NOT run out.' It's logically equivalent because if the original statement is true (no data means no videos), then if I am watching videos (meaning I have data), it must be true that my data hasn't run out.

MCQ
Quick Quiz

Which of the following is the contrapositive of 'If it is raining, then the roads are wet'?

If the roads are wet, then it is raining.

If it is not raining, then the roads are not wet.

If the roads are not wet, then it is not raining.

If it is raining, then the roads are not wet.

The Correct Answer Is:

C

The original statement is 'If P, then Q'. The contrapositive is 'If not Q, then not P'. Here, P is 'it is raining' and Q is 'the roads are wet'. So, 'not Q' is 'the roads are not wet' and 'not P' is 'it is not raining'.

Real World Connection
In the Real World

In computer programming, especially in AI and machine learning, contraposition is used in logical proofs and debugging. For instance, if a programmer states 'If the input is valid, then the program runs without error,' the contrapositive 'If the program runs with error, then the input was not valid' helps them trace bugs. Similarly, in medical diagnosis, if 'If a patient has disease X, then they show symptom Y,' doctors might use the contrapositive 'If a patient does NOT show symptom Y, then they do NOT have disease X' to rule out diseases.

Key Vocabulary
Key Terms

CONDITIONAL STATEMENT: An 'if-then' statement connecting two ideas | ANTECEDENT: The 'if' part of a conditional statement | CONSEQUENT: The 'then' part of a conditional statement | NEGATION: Making a statement the opposite (e.g., 'is' becomes 'is not') | LOGICALLY EQUIVALENT: Two statements that always have the same truth value (both true or both false)

What's Next
What to Learn Next

Great job learning about contraposition! Next, you should explore 'Converse and Inverse' of conditional statements. Understanding these related concepts will further strengthen your grasp of logical reasoning and help you differentiate between logically equivalent and non-equivalent statements.

bottom of page