MCS-212 · Block 1 Unit 2

Methods of Proof

Section 5 of 8

Block 1 · Unit 2Methods of Proof12 min · Section 5 of 8

2.5Proof by contradiction

Covers IGNOU MCS-212 §2.3 (Indirect Proofs: proof by contradiction, Examples 5–7)

Some statements, such as ”3\sqrt{3} is irrational” or “there are infinitely many primes”, have no “if” part to start from. For these we use a powerful trick: pretend the statement is false and show that this leads to nonsense.

To prove an implication p→qp \to q by contradiction, use ¬(p→q)≡p∧¬q\neg(p \to q) \equiv p \land \neg q: assume pp and ¬q\neg q, and derive a contradiction.

Comparison of the three methods

MethodTo prove p→qp \to q, assumeThen showBased on
Directppqqmodus ponens
Contrapositive¬q\neg q¬p\neg pp→q≡¬q→¬pp \to q \equiv \neg q \to \neg p
Contradictionpp and ¬q\neg qa contradiction r∧¬rr \land \neg r¬(p→q)≡p∧¬q\neg(p \to q) \equiv p \land \neg q

Using contradiction in logic puzzles

On an island, every person is either a truth-teller (always tells the truth) or a liar (always lies). We solve such puzzles by trying a case and rejecting it if it leads to a contradiction.

Key takeaways

  • Proof by contradiction: assume the statement is false and derive r∧¬rr \land \neg r.
  • For p→qp \to q: assume pp and ¬q\neg q.
  • Classic uses: irrationality of 2,3,5\sqrt{2}, \sqrt{3}, \sqrt{5}; logic puzzles; impossibility results.
  • Always state clearly which statements contradict each other.

Practice questions

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

Question 1 · multiple choice

To prove ”2\sqrt{2} is irrational” by contradiction, what do you assume first?

Show answer

Answer: A. 2=ab\sqrt{2} = \frac{a}{b} for integers a,ba, b with no common factor

You assume the negation, ”2\sqrt{2} is rational”, written in lowest terms. Option 4 is tempting, but “both even” is what you derive, and it is the contradiction.

Question 2 · multiple choice

To prove p→qp \to q by contradiction, which assumption is correct?

Show answer

Answer: C. p∧¬qp \land \neg q

¬(p→q)≡p∧¬q\neg(p \to q) \equiv p \land \neg q, so you assume the hypothesis is true and the conclusion is false. Option 1 alone gives no contradiction, because p→qp \to q is true whenever pp is false.

Question 3 · multiple choice

In the proof that 3\sqrt{3} is irrational, which fact gives "3∣a3 \mid a" from "3∣a23 \mid a^2"?

Show answer

Answer: D. 3 is prime, and a prime dividing a product divides a factor

Since a2=a⋅aa^2 = a \cdot a and 3 is prime, 3 divides aa. Option 2 is wrong: a2=3b2a^2 = 3b^2 does not mean a=3ba = 3b (that would give a2=9b2a^2 = 9b^2).

Question 4 · multiple choice

A says: “B is a liar”, and B says: “A and I are both truth-tellers”. What are they?

Show answer

Answer: B. A is a truth-teller and B is a liar

If B were a truth-teller, both would be truth-tellers, so A’s claim “B is a liar” would be true — but then B is a liar: contradiction. So B is a liar; then A’s claim is true, so A is a truth-teller. Check: B’s claim “both truth-tellers” is false — consistent. Option 4 fails because A’s statement “B is a liar” would then be true.

Question 5 · multiple choice

Which method assumes ¬q\neg q and then shows ¬p\neg p, without needing any contradiction?

Show answer

Answer: C. Proof by contrapositive

Contrapositive proves ¬q→¬p\neg q \to \neg p directly. Proof by contradiction also starts with ¬q\neg q, but it additionally assumes pp and ends with a contradiction, so it is the tempting wrong option.

Question 6 · short answer

Prove by contradiction that there is no largest even integer.

Show worked answer

Assume, for contradiction, that there is a largest even integer NN. Then N=2kN = 2k for some integer kk. Consider N+2=2(k+1)N + 2 = 2(k + 1); it is even, because k+1k + 1 is an integer. Also N+2>NN + 2 > N. So N+2N + 2 is an even integer larger than the largest even integer NN — a contradiction. Hence there is no largest even integer.

↑ ↓ move↵ openTab switch type