Sometimes a mathematical proposition is easier to prove when you approach it from the opposite direction. Rather than proving “if p then q” directly, you prove “if not-q then not-p” — the contrapositive of the original statement. Because the contrapositive is always logically equivalent to the original, proving one is the same as proving the other.
This technique is one of two indirect proof methods covered in the NCERT Class XII Mathematics appendix (the other being proof by contradiction), and it appears in CBSE board exams, CUET, and IPMAT. This article explains the logic behind it and shows two fully worked examples.
What is a Contrapositive Statement?
Every conditional statement of the form “if p, then q” (written p ⇒ q) has a contrapositive: “if not-q, then not-p” (written ~q ⇒ ~p).
Here, ~p means “the negation of p” — the statement is false — and ~q means “the negation of q.”
Examples of a statement and its contrapositive:
| Original (p ⇒ q) | Contrapositive (~q ⇒ ~p) |
|---|---|
| If it rains, the ground gets wet | If the ground is not wet, it did not rain |
| If f(x₁) = f(x₂), then x₁ = x₂ | If x₁ ≠ x₂, then f(x₁) ≠ f(x₂) |
| If A is invertible, then A is non-singular | If A is singular, then A is not invertible |
Why the Contrapositive is Logically Equivalent
The equivalence (p ⇒ q) ↔ (~q ⇒ ~p) is a theorem of propositional logic verifiable by truth table: in every possible combination of truth values for p and q, “p implies q” and “not-q implies not-p” are either both true or both false. They express the same logical content in different words.
This means that if proving p ⇒ q directly is difficult, you may instead prove ~q ⇒ ~p using the straightforward direct approach — and the result is equally valid.
Worked Example 1: Proving a Function is One-One
Claim: The function f : R → R defined by f(x) = 2x + 5 is one-one.
Using the contrapositive:
The direct form would be: if f(x₁) = f(x₂), then x₁ = x₂.
The contrapositive is: if x₁ ≠ x₂, then f(x₁) ≠ f(x₂).
Proof:
x₁ ≠ x₂
⇒ 2x₁ ≠ 2x₂ (multiplying both sides by the non-zero constant 2)
⇒ 2x₁ + 5 ≠ 2x₂ + 5 (adding 5 to both sides of an inequality)
⇒ f(x₁) ≠ f(x₂) (by the definition of f(x) = 2x + 5)Since ~q ⇒ ~p is proved, the original statement “f(x₁) = f(x₂) ⇒ x₁ = x₂” is also proved. Hence f is one-one. ∎
Worked Example 2: Invertible Matrices
Claim: If a matrix A is invertible, then A is non-singular (meaning |A| ≠ 0).
Using the contrapositive:
The original form is: p ⇒ q, where p is “A is invertible” and q is “A is non-singular.”
The contrapositive is: ~q ⇒ ~p, i.e., “if A is singular (|A| = 0), then A is not invertible.”
Proof:
Assume A is singular. Then |A| = 0.
The formula for the inverse of a matrix is:
A⁻¹ = adj(A) / |A|
Since |A| = 0, this expression is undefined — division by zero is not permitted. Therefore, A⁻¹ does not exist, which means A is not invertible. ∎
Since we have proved “if A is singular, then A is not invertible” (~q ⇒ ~p), the original statement “if A is invertible, then A is non-singular” (p ⇒ q) follows immediately by the equivalence of contrapositive statements.
Contrapositive vs Contradiction: Key Differences
Both are indirect methods, but they differ in structure. In proof by contrapositive, you assume ~q and prove ~p directly — it is a focused direct proof of a different statement. In proof by contradiction, you assume ~q and derive any logical impossibility — the approach is open-ended. Use the contrapositive when you know exactly what ~p looks like and can derive it cleanly from ~q. Use contradiction when the direct route is completely blocked and you need a more exploratory approach.
Tips for Writing Contrapositive Proofs in Board Exams
-
State the contrapositive explicitly. Write: “We prove the contrapositive: if [~q], then [~p].”
-
Negate the statements carefully. The negation of “x₁ = x₂” is “x₁ ≠ x₂.” The negation of “is invertible” is “is not invertible.” Precision here prevents errors.
-
Prove the contrapositive using direct steps — treat it exactly like a straightforward direct proof from ~q to ~p.
-
Connect back to the original. Conclude: “Since ~q ⇒ ~p is proved, and the contrapositive is equivalent to the original, p ⇒ q is also proved.”
Master the Contrapositive Technique
Knowing when to flip and negate is a skill that comes with practice — build it now before exam season.
Practise Contrapositive Proof Questions on ChampionsPrep → PrepCoin packs from ₹59
Get topic-wise questions on every indirect proof method, with instant AI feedback to correct your negations before they cost you marks.

Proof by Contrapositive: What It Is and How to Use It in Class XII Maths
Frequently Asked Questions
Is the contrapositive the same as the converse? +
No. The converse of p implies q is q implies p — only the direction is reversed. The contrapositive is not-q implies not-p — both reversed and negated. The contrapositive is always logically equivalent to the original statement; the converse is not.
How do I decide between using the contrapositive and using contradiction? +
Use the contrapositive when the negation of the conclusion is concrete and you can directly derive the negation of the hypothesis in a few clear steps. Use contradiction when both the direct and contrapositive routes seem blocked, and assuming the whole proposition is false opens a more tractable path.
Can the contrapositive method be used in Class XII Functions questions? +
Yes. Proving a function is one-one using the contrapositive — if x₁ ≠ x₂ then f(x₁) ≠ f(x₂) — is a direct NCERT example. The method applies whenever it is easier to show that failing the conclusion means the hypothesis cannot hold.
What is the negation of the statement A is invertible? +
The negation is A is not invertible, meaning the inverse matrix does not exist. This occurs when the determinant of A equals zero, making the standard inverse formula undefined.
Do I need to know truth tables for CBSE Class XII board exams? +
You are not typically asked to construct full truth tables in CBSE Class XII Maths, but understanding that a conditional statement and its contrapositive are logically equivalent is conceptually required for indirect proof questions.
AI-powered practice — free to start