MCS-212 · Block 1 Unit 2

Methods of Proof

Section 4 of 8

Block 1 · Unit 2Methods of Proof11 min · Section 4 of 8

2.4Proof by contrapositive

Covers IGNOU MCS-212 §2.3 (Indirect Proofs: proof by contrapositive)

Sometimes the hypothesis gives you very little to work with. “If n2n^2 is even, then nn is even”: knowing n2=2kn^2 = 2k does not easily tell you about nn. Turning the statement around often makes the proof easy. This is the first of two indirect methods.

It is correct because p→q≡¬q→¬pp \to q \equiv \neg q \to \neg p (Unit 1): proving one proves the other.

When to use it

SituationBetter method
The hypothesis gives a usable equation (e.g. ”nn is odd” gives n=2k+1n = 2k+1)direct proof
The hypothesis is about n2n^2, xyxy, f(x)f(x) … but the conclusion is about nn, xx, yycontrapositive
The conclusion is a “not” statement (e.g. ”xx is not rational”)contrapositive or contradiction

Key takeaways

  • Proof by contrapositive: prove ¬q→¬p\neg q \to \neg p instead of p→qp \to q.
  • It works because a conditional and its contrapositive are logically equivalent.
  • Choose it when the negated conclusion gives a better starting equation.
  • Do not confuse it with the converse q→pq \to p.

Practice questions

Answer on paper first, then check. The explanation matters more than the letter you chose.

Question 1 · multiple choice

To prove “if n2n^2 is odd, then nn is odd” by contrapositive, what do you assume?

Show answer

Answer: C. nn is even

The contrapositive is “if nn is not odd (even), then n2n^2 is not odd (even)”, so you assume nn is even. Option 4 is tempting, but that is the conclusion you must reach, not the assumption.

Question 2 · multiple choice

Why is a proof by contrapositive a correct proof of p→qp \to q?

Show answer

Answer: A. Because p→q≡¬q→¬pp \to q \equiv \neg q \to \neg p

A conditional is logically equivalent to its contrapositive. Options 2 and 3 are the converse and the inverse, which are not equivalent to p→qp \to q.

Question 3 · multiple choice

What is the correct negation of ”xx and yy are both odd”?

Show answer

Answer: D. xx is even or yy is even

By De Morgan, ¬(A∧B)≡¬A∨¬B\neg(A \land B) \equiv \neg A \lor \neg B. Option 1 is tempting, but it is much stronger than the negation.

Question 4 · multiple choice

In the contrapositive proof of “if 5n+35n + 3 is even, then nn is odd”, what is 5n+35n + 3 when n=2kn = 2k?

Show answer

Answer: B. 2(5k+1)+12(5k + 1) + 1

5(2k)+3=10k+3=10k+2+1=2(5k+1)+15(2k) + 3 = 10k + 3 = 10k + 2 + 1 = 2(5k + 1) + 1, which is odd. Option 1 wrongly treats +3+3 as +6+6.

Question 5 · multiple choice

In Example 4 of the study material, why should we write x=2nx = 2n with n∈Zn \in \mathbb{Z} rather than n∈Nn \in \mathbb{N}?

Show answer

Answer: C. Because xx may be 00 or negative, and then no natural nn works

For x=−4x = -4 we need n=−2n = -2, which is an integer but not a natural number. Option 4 is tempting, but the proof must cover every integer xx.

Question 6 · short answer

Prove by contrapositive: for every integer nn, if n2n^2 is not divisible by 3, then nn is not divisible by 3.

Show worked answer

The contrapositive is: if nn is divisible by 3, then n2n^2 is divisible by 3. Assume 3∣n3 \mid n; then n=3kn = 3k for some integer kk. So n2=9k2=3(3k2)n^2 = 9k^2 = 3(3k^2), and 3k23k^2 is an integer, so 3∣n23 \mid n^2. The contrapositive is true, hence the original statement is true.

↑ ↓ move↵ openTab switch type