MCS-212 · Block 1 Unit 2

Methods of Proof

Section 6 of 8

Block 1 · Unit 2Methods of Proof10 min · Section 6 of 8

2.6Counterexamples, vacuous and trivial proofs

Covers IGNOU MCS-212 §2.3 (Counterexamples; vacuous and trivial proofs)

To show a “for all” statement is true you need a proof. To show it is false you need only one case where it fails. This section explains counterexamples, and then two special kinds of proof that use a single row of the conditional’s truth table.

Counterexamples

For a statement ∀x (p(x)→q(x))\forall x\, (p(x) \to q(x)), a counterexample is a value for which the hypothesis pp is true and the conclusion qq is false, because p∧¬qp \land \neg q is the only way a conditional fails.

To disprove p↔qp \leftrightarrow q, it is enough to show that one of the two directions, p→qp \to q or q→pq \to p, fails.

Vacuous and trivial proofs

NameUses the fact thatExample
Vacuous proof of p→qp \to qpp is false“If n>n+1n > n + 1 (for integer nn), then n2=0n^2 = 0” — no integer satisfies n>n+1n > n + 1
Trivial proof of p→qp \to qqq is true“If nn is prime, then n2≥0n^2 \geq 0” — n2≥0n^2 \geq 0 for every integer

Key takeaways

  • A counterexample disproves a “for all” statement; for p→qp \to q it must make pp true and qq false.
  • To disprove p↔qp \leftrightarrow q, show one direction fails.
  • Vacuous proof: the hypothesis is always false. Trivial proof: the conclusion is always true.
  • Many true small cases never prove a general statement.

Practice questions

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

Question 1 · multiple choice

Which value is a counterexample to “for every integer nn, if nn is odd, then nn is prime”?

Show answer

Answer: C. n=15n = 15

15 is odd (hypothesis true) and 15=3×515 = 3 \times 5 is not prime (conclusion false). n=4n = 4 is tempting because it is not prime, but it is not odd, so the hypothesis fails.

Question 2 · multiple choice

Which value of nn shows that ”n2+n+41n^2 + n + 41 is prime for every natural number nn” is false?

Show answer

Answer: D. n=40n = 40

402+40+41=1681=41240^2 + 40 + 41 = 1681 = 41^2, which is not prime. For n=1,10,39n = 1, 10, 39 the values (43, 151, 1601) are prime, so they are not counterexamples.

Question 3 · multiple choice

How many counterexamples are needed to disprove ∀x P(x)\forall x\, P(x)?

Show answer

Answer: A. One

One x0x_0 with P(x0)P(x_0) false proves ∃x ¬P(x)\exists x\, \neg P(x), the negation. Option 4 describes what is needed to prove ∀x ¬P(x)\forall x\, \neg P(x), which is a different claim.

Question 4 · multiple choice

“If nn is a natural number with n2<0n^2 < 0, then n=5n = 5.” This statement is:

Show answer

Answer: B. true by a vacuous proof

No natural number has n2<0n^2 < 0, so the hypothesis is always false and the conditional is vacuously true. A trivial proof would need the conclusion n=5n = 5 to be always true, which it is not.

Question 5 · multiple choice

Which pair disproves ”a2=b2⇒a=ba^2 = b^2 \Rightarrow a = b for all real a,ba, b”?

Show answer

Answer: B. a=3a = 3, b=−3b = -3

32=(−3)2=93^2 = (-3)^2 = 9 (hypothesis true) but 3≠−33 \neq -3 (conclusion false). Option 3 fails because 02≠120^2 \neq 1^2, so the hypothesis is false.

Question 6 · short answer

Disprove by counterexample: “For all integers aa and bb, if a∣b2a \mid b^2 then a∣ba \mid b.”

Show worked answer

Take a=4a = 4 and b=2b = 2. Then b2=4b^2 = 4 and 4∣44 \mid 4, so the hypothesis a∣b2a \mid b^2 is true. But 4∤24 \nmid 2 (2 is not 4 times an integer), so the conclusion a∣ba \mid b is false. Hence the statement is false.

↑ ↓ move↵ openTab switch type