7: Proof strategies (direct, contrapositive, contradiction) | Course - StudyGenius | StudyGenius

Course Progress

Victories 0/75
Finished 0/75

StudyGenius Logo

7: Proof strategies (direct, contrapositive, contradiction)

Choose your name

CosmicDust

Your opponent is:

CosmicDust

2,253 pts

5 days ago

Choose your name

CosmicDust

Your opponent is

CosmicDust

2,253 pts
5 days ago
The quiz will be on the following text — learn it for the best chance to win.

Proof Strategies: Direct, Contrapositive, Contradiction

Mastering proof techniques is fundamental in discrete mathematics and computer science. For implications of the form "If PP, then QQ" (PQP \to Q), three core strategies exist: direct proof, proof by contrapositive, and proof by contradiction. Understanding when and how to apply each is crucial.

1. Direct Proof:
This is the most straightforward approach. You start by assuming the premise PP is true. Using logical deductions, definitions, axioms, and previously established results, you then demonstrate that the conclusion QQ must also be true.
Example: Prove "If integer nn is even, then n2n^2 is even."
Proof: Assume nn is even. By definition, n=2kn = 2k for some integer kk. Then, n2=(2k)2=4k2=2(2k2)n^2 = (2k)^2 = 4k^2 = 2(2k^2). Since 2k22k^2 is an integer, n2n^2 is even. ∎

2. Proof by Contrapositive:
This method leverages the logical equivalence of PQP \to Q and its contrapositive: ¬Q¬P\neg Q \to \neg P. Instead of proving PQP \to Q directly, you prove that if QQ is false, then PP must also be false. This is often useful when the negation of QQ provides a more workable starting point.
Example: Prove "If n2n^2 is odd, then integer nn is odd."
Contrapositive: "If nn is not odd (i.e., even), then n2n^2 is not odd (i.e., even)." This is exactly the direct proof shown above. Since the contrapositive is true, the original statement is true. ∎

3. Proof by Contradiction:
Here, you assume the negation of the statement you want to prove and show this assumption leads to a logical contradiction – a statement that is always false (like 0=10=1 or violating a known fact). Since the assumption caused an impossibility, the original statement must be true.
Example: Prove "If aa and bb are integers and aba \cdot b is even, then at least one of aa or bb is even."
Proof by Contradiction: Assume the negation: "aba \cdot b is even AND both aa AND bb are odd." If aa and bb are odd, then a=2m+1a = 2m+1, b=2n+1b = 2n+1 for integers mm, nn. Then ab=(2m+1)(2n+1)=4mn+2m+2n+1=2(2mn+m+n)+1a \cdot b = (2m+1)(2n+1) = 4mn + 2m + 2n + 1 = 2(2mn + m + n) + 1, which is odd. This contradicts our assumption that aba \cdot b is even. Therefore, the original statement holds. ∎

Choosing a Strategy:

  • Use direct proof when you can construct a clear chain of reasoning from PP to QQ.
  • Use contrapositive when the negation of QQ (¬Q\neg Q) seems easier to work with as a premise than PP.
  • Use contradiction when the negation of the entire statement provides useful assumptions, especially for statements that are not simple implications (e.g., "There are infinitely many primes").