๐ŸงฉDiscrete Mathematics

Proof Techniques

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

Proof techniques are the backbone of discrete mathematics and of all rigorous mathematical thinking. You're not just being tested on whether you can recite definitions; you're being tested on whether you can construct valid arguments and recognize which proof strategy fits which situation. Every theorem you encounter in this course was established using one of these techniques, and exam questions frequently ask you to either write proofs yourself or identify the method being used in a given argument.

Different proof techniques exploit different logical structures. Some work by building forward from assumptions, others by working backward from contradictions, and still others by systematic case analysis. Don't just memorize the names. Know when each technique is your best tool and why. If you can identify the logical structure of a claim, you can select the right proof strategy almost automatically.


Forward-Building Proofs

These techniques work by starting from what you know and logically progressing toward what you want to prove. They follow the natural direction of implication.

Direct Proof

A direct proof assumes the hypothesis and derives the conclusion. It's the most straightforward approach for statements of the form "If PP, then QQ."

The process looks like this:

  1. Assume PP is true.
  2. Unpack what PP means using definitions (e.g., if PP says "nn is even," write n=2kn = 2k for some integer kk).
  3. Apply logical steps, algebraic manipulation, or known theorems.
  4. Arrive at the conclusion QQ.

Best choice when the path forward is clear. If you can see how to get from hypothesis to conclusion, don't overcomplicate it by reaching for an indirect method.

Proof by Construction

This technique explicitly builds the object whose existence you're claiming. It's used for statements like "There exists an xx such that P(x)P(x)."

Rather than arguing abstractly that something must exist, you provide a concrete example or an algorithm that produces the desired object. This is common in combinatorics and algorithm design. For instance, to prove there exists a graph with 5 vertices where every vertex has degree 2, you'd just draw a 5-cycle and verify it works.

Proof by Equivalence

This technique proves two statements are logically equivalent by showing both Pโ‡’QP \Rightarrow Q and Qโ‡’PQ \Rightarrow P. It establishes "if and only if" (often written "iff") relationships, and both directions must be proven separately.

The two directions often call for different strategies. You might use a direct proof for one direction and contraposition for the other.

Compare: Direct Proof vs. Proof by Construction. Both build forward, but direct proof establishes that something must be true, while construction proves something exists by producing it. If a problem says "prove there exists," construction is your go-to.


Indirect Proofs

When the direct path is blocked, these techniques take a detour. They leverage logical equivalences or the impossibility of contradictions.

Proof by Contradiction

This technique assumes the negation of what you want to prove and derives a logical impossibility. If ยฌQ\neg Q leads to absurdity, then QQ must be true.

Here's the structure:

  1. Assume, for the sake of contradiction, that the statement you want to prove is false.
  2. Reason logically from that assumption.
  3. Arrive at a statement that contradicts a known fact, a given hypothesis, or the assumption itself.
  4. Conclude the original statement must be true.

The classic example is proving 2\sqrt{2} is irrational: you assume it is rational, write it as ab\frac{a}{b} in lowest terms, and eventually show both aa and bb must be even, contradicting "lowest terms."

This technique is especially powerful for "there is no..." or uniqueness claims, where the negation gives you a concrete object to manipulate.

Proof by Contraposition

This technique proves "If PP, then QQ" by instead proving "If ยฌQ\neg Q, then ยฌP\neg P." These two statements are logically equivalent: Pโ‡’Qโ‰กยฌQโ‡’ยฌPP \Rightarrow Q \equiv \neg Q \Rightarrow \neg P.

It's ideal when the negation gives you more to work with. For example, proving "if n2n^2 is even, then nn is even" directly is awkward, but the contrapositive "if nn is odd, then n2n^2 is odd" flows naturally: write n=2k+1n = 2k + 1, square it, and factor out the 2.

Compare: Contradiction vs. Contraposition. Both are indirect, but contraposition proves the equivalent contrapositive statement using a standard forward argument, while contradiction assumes the opposite and derives impossibility. Use contraposition when you can clearly work with ยฌQโ‡’ยฌP\neg Q \Rightarrow \neg P; use contradiction when you need to show something simply cannot be.


Case-Based Proofs

These techniques handle complexity by breaking it into manageable pieces. They ensure no scenario is overlooked.

Proof by Cases

This technique partitions the problem into exhaustive, mutually exclusive scenarios and proves the statement holds in each case separately. For example, proving a property for all integers by handling even and odd cases separately.

Two requirements are non-negotiable:

  • Exhaustive: Your cases must cover every possibility. If you miss a case, the proof is incomplete.
  • Each case must be proven: You need a valid argument within every case, not just a claim.

Proof by Exhaustion

This technique checks every single instance when the total number of cases is finite and small. It guarantees completeness through brute force.

This is common in proofs involving small sets or specific numerical bounds (e.g., verifying a property for all integers between 1 and 10). For larger case counts, exhaustion is often computer-assisted. The Four Color Theorem famously required exhaustive computer verification of hundreds of configurations.

Compare: Proof by Cases vs. Proof by Exhaustion. Cases divide by type (like even/odd), while exhaustion checks every individual instance. Use cases when there's a natural partition; use exhaustion when you can literally enumerate all possibilities.


Inductive Reasoning

Mathematical induction is a specialized technique for proving statements about infinite sequences, particularly those indexed by natural numbers. It works by establishing a domino effect.

Mathematical Induction

Every induction proof has two parts:

  1. Base case: Verify the statement holds for your starting value (usually n=1n = 1 or n=0n = 0, depending on the problem).
  2. Inductive step: Assume P(n)P(n) is true (this assumption is called the inductive hypothesis), and use it to prove P(n+1)P(n+1).

The inductive hypothesis is your leverage. You're not assuming what you're trying to prove; you're assuming one case to establish the next, like pushing over one domino to topple the next.

Variants:

  • Strong induction assumes P(k)P(k) for all kโ‰คnk \leq n (not just k=nk = n) when proving P(n+1)P(n+1). Use this when P(n+1)P(n+1) depends on multiple previous cases, not just the immediate predecessor. For example, proving every integer โ‰ฅ2\geq 2 has a prime factorization requires strong induction because you might factor n+1n+1 into parts much smaller than nn.
  • Structural induction applies to recursively defined objects like trees, strings, or formulas. The base case handles the simplest structure, and the inductive step shows the property is preserved by each recursive construction rule.

Compare: Standard Induction vs. Strong Induction. Standard assumes only P(n)P(n) to prove P(n+1)P(n+1), while strong assumes P(1),P(2),โ€ฆ,P(n)P(1), P(2), \ldots, P(n) all at once. Both are logically equivalent in power, but strong induction is often easier to apply when the recursive structure doesn't depend on just the previous case.


Disproving and Limiting Claims

Not every proof establishes truth. Sometimes you need to show a claim is false or reveal fundamental limitations.

Proof by Counterexample

A single specific instance where a universal claim fails is enough to destroy it. If someone claims "all primes are odd," just point to 22.

Your counterexample must genuinely satisfy the hypothesis while violating the conclusion. Be precise: clearly state the example, verify it meets the conditions of the claim, and show where the claimed conclusion breaks down.

Proof by Diagonalization

This technique constructs an element guaranteed to differ from every item in a supposed complete list. It's used to show certain sets are uncountable or certain problems are undecidable.

Cantor's diagonal argument is the classic example. Suppose you could list all real numbers between 0 and 1. Cantor constructs a new real number by changing the nnth digit of the nnth number in the list, guaranteeing this new number differs from every listed number in at least one decimal place. This contradicts the assumption that the list was complete, proving the reals are uncountable.

The same core idea appears in computability theory to prove the Halting Problem is undecidable.

Compare: Counterexample vs. Diagonalization. Counterexample disproves a specific claim with one instance, while diagonalization proves structural impossibility (like "no enumeration can capture all reals"). Diagonalization is a specialized tool; counterexample is your everyday falsification method.


Quick Reference Table

ConceptBest Examples
Forward-building proofsDirect Proof, Proof by Construction, Proof by Equivalence
Indirect proofsProof by Contradiction, Proof by Contraposition
Case-based reasoningProof by Cases, Proof by Exhaustion
Infinite sequencesMathematical Induction (standard and strong)
Disproving claimsProof by Counterexample
Uncountability/limitsProof by Diagonalization
Existence statementsProof by Construction, Proof by Contradiction
"If and only if" statementsProof by Equivalence

Self-Check Questions

  1. You need to prove "If n2n^2 is even, then nn is even." Would direct proof or contraposition be more efficient, and why?

  2. What do Proof by Contradiction and Proof by Contraposition have in common, and what's the key difference in how they reach their conclusions?

  3. A classmate claims "All functions from N\mathbb{N} to {0,1}\{0, 1\} can be listed." Which proof technique would you use to refute this, and what's the core idea?

  4. When proving a statement about all natural numbers using induction, what happens to your proof if you establish the inductive step but forget the base case?

  5. Compare Proof by Cases and Proof by Exhaustion: give an example of a claim where you'd use cases and another where exhaustion would be necessary.