
Quiz setup
Choose your name
Your opponent is:
CosmicDust
5 days ago
Choose your name
Your opponent is
CosmicDust
Mastering proof techniques is fundamental in discrete mathematics and computer science. For implications of the form "If , then " (), 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 is true. Using logical deductions, definitions, axioms, and previously established results, you then demonstrate that the conclusion must also be true.
Example: Prove "If integer is even, then is even."
Proof: Assume is even. By definition, for some integer . Then, . Since is an integer, is even. ∎
2. Proof by Contrapositive:
This method leverages the logical equivalence of and its contrapositive: . Instead of proving directly, you prove that if is false, then must also be false. This is often useful when the negation of provides a more workable starting point.
Example: Prove "If is odd, then integer is odd."
Contrapositive: "If is not odd (i.e., even), then 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 or violating a known fact). Since the assumption caused an impossibility, the original statement must be true.
Example: Prove "If and are integers and is even, then at least one of or is even."
Proof by Contradiction: Assume the negation: " is even AND both AND are odd." If and are odd, then , for integers , . Then , which is odd. This contradicts our assumption that is even. Therefore, the original statement holds. ∎
Choosing a Strategy: