2080 9

CSC165 ยท 2080 ยท 5 marks

What is proof by contradiction? Give a proof by contradiction to show that if 3n+2 is odd then n is odd.

What is proof by contradiction? Give a proof by contradiction to show that if 3n+2 is odd then n is odd. [5]

Discrete StructuresChapter 3: Logic and Proof MethodsProof Methods

Quick answer

Proof by contradiction is a method of mathematical proof in which we assume that the statement to be proved is false, and then show that this assumption leads to a logical contradiction (an impossibility). Since the assumption leads to a contradiction, the original statement must be true.

Proof by Contradiction

Definition

The general structure is:

  1. Assume the negation of what we want to prove.
  2. Use logical reasoning to derive a contradiction.
  3. Conclude that the original statement is true.

Theorem to Prove

If 3n + 2 is odd, then n is odd.


Proof

Step 1: Identify the structure

  • Hypothesis (p): 3n + 2 is odd
  • Conclusion (q): n is odd
  • We want to prove: p โ†’ q

Step 2: Assume the negation of the conclusion

For proof by contradiction, we assume:

  • 3n + 2 is odd (hypothesis holds)
  • n is NOT odd, i.e., n is even (negation of conclusion)

Step 3: Use the assumption

Since n is even, by definition of even integers, we can write:

$$n = 2k \quad \text{for some integer } k$$

Step 4: Substitute into 3n + 2

$$3n + 2 = 3(2k) + 2 = 6k + 2 = 2(3k + 1)$$

Step 5: Analyze the result

Since $3k + 1$ is an integer, the expression $2(3k + 1)$ is of the form $2m$ where $m = 3k + 1$.

By definition of even numbers, $3n + 2$ is even.

Step 6: Identify the contradiction

We assumed that 3n + 2 is odd, but our derivation shows that 3n + 2 is even.

This is a contradiction because a number cannot be both odd and even at the same time.

Step 7: Conclusion

Since assuming "n is even" leads to a contradiction, our assumption must be false. Therefore:

$$\boxed{n \text{ is odd}}$$

This completes the proof by contradiction. $\blacksquare$

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.