Logic & ProofsTopic #6 of 40

Proof Strategies

Existence proofs, uniqueness proofs, constructive vs non-constructive proofs.

Types of Statements to Prove

Universal Statements

"For all xx, P(x)P(x)" — ∀x P(x)\forall x \, P(x)

Strategy: Take an arbitrary element and prove it satisfies PP.

Existential Statements

"There exists xx such that P(x)P(x)" — ∃x P(x)\exists x \, P(x)

Strategy: Find a specific example, or prove indirectly.

Conditional Statements

"If PP then QQ" — P→QP \rightarrow Q

Strategy: Direct proof, contraposition, or contradiction.

Biconditional Statements

"PP if and only if QQ" — P↔QP \leftrightarrow Q

Strategy: Prove both directions: P→QP \rightarrow Q and Q→PQ \rightarrow P.

Existence Proofs

Constructive Proofs

Explicitly exhibit an object satisfying the property.

Example: Prove there exist irrational numbers a,ba, b such that aba^b is rational.

Proof: Let a=2a = \sqrt{2} and b=2log⁡23b = 2\log_2 3. Then ab=22log⁡23=2log⁡23=3a^b = \sqrt{2}^{2\log_2 3} = 2^{\log_2 3} = 3, which is rational.

Actually, we need to verify bb is irrational, which requires more work. Alternative:

Consider 22\sqrt{2}^{\sqrt{2}}.

  • If it's rational, take a=b=2a = b = \sqrt{2}
  • If it's irrational, take a=22a = \sqrt{2}^{\sqrt{2}} and b=2b = \sqrt{2} Then ab=(22)2=22=2a^b = (\sqrt{2}^{\sqrt{2}})^{\sqrt{2}} = \sqrt{2}^2 = 2 ✓

Non-Constructive Proofs

Prove existence without finding a specific example.

Example: Prove there exist two irrational numbers whose sum is rational.

Proof: Consider 2\sqrt{2} and −2-\sqrt{2}. Both are irrational, but 2+(−2)=0\sqrt{2} + (-\sqrt{2}) = 0 is rational. □\square

(This is actually constructive, but serves as a simple example.)

Uniqueness Proofs

Method 1: Direct Uniqueness

Assume two elements satisfy the property, then show they're equal.

Template: Suppose aa and bb both satisfy property PP. $$Show that $a = b$$$

Method 2: Uniqueness via Contradiction

Assume two different elements satisfy the property and derive a contradiction.

Example

Theorem: If ax=bax = b with a≠0a \neq 0, then xx has a unique solution.

Proof:

  • Existence: x=bax = \frac{b}{a} is a solution
  • Uniqueness: Suppose x1x_1 and x2x_2 both satisfy ax=bax = b
    • Then ax1=bax_1 = b and ax2=bax_2 = b
    • So ax1=ax2ax_1 = ax_2
    • Since a≠0a \neq 0, we get x1=x2x_1 = x_2 □\square

Counter-Examples

To disprove ∀x P(x)\forall x \, P(x), find one counter-example where P(x)P(x) is false.

Claim: Every prime number is odd.

Counter-example: 2 is prime but even. □\square

Proof by Construction

Build an object with desired properties.

Example: Prove that for any n≥1n \geq 1, there exists a binary string of length nn with more 1s than 0s.

Proof: Construct the string of nn ones: 11…111\ldots1. It has nn ones and 0 zeros. □\square

The Pigeonhole Principle in Proofs

If n+1n+1 objects are placed in nn boxes, at least one box contains two or more objects.

Generalized Version

If NN objects are placed in kk boxes, some box contains at least ⌈N/k⌉\lceil N/k \rceil objects.

Example

Theorem: Among any 5 integers, two have the same remainder when divided by 4.

Proof: There are 4 possible remainders: 0, 1, 2, 3 (boxes). With 5 integers (pigeons), by pigeonhole principle, at least two must have the same remainder. □\square

Proof by Minimum Counter-Example

To prove ∀n≥n0,P(n)\forall n \geq n_0, P(n):

  1. Assume there exists a counter-example
  2. Let mm be the smallest counter-example
  3. Use properties of mm being minimal to derive a contradiction

Example

Theorem: Every positive integer can be written as a sum of distinct powers of 2.

Proof: Suppose not. Let mm be the smallest positive integer that cannot be written this way.

  • m>1m > 1 (since 1=201 = 2^0)

  • Let 2k2^k be the largest power of 2 with 2k≤m2^k \leq m

  • Consider m−2km - 2^k:

    • m−2k<mm - 2^k < m (since 2k>02^k > 0)
    • m−2k≥0m - 2^k \geq 0 (by choice of kk)
    • m−2k<2km - 2^k < 2^k (otherwise 2k+1≤m2^{k+1} \leq m)
  • By minimality of mm, m−2km - 2^k can be written as distinct powers of 2

  • None of these powers is 2k2^k (since their sum <2k< 2^k)

  • So m=2k+(m−2k)m = 2^k + (m - 2^k) is a sum of distinct powers of 2 ✗

Contradiction! □\square

Diagonalization Arguments

Used to prove uncountability or non-existence.

Cantor's Diagonal Argument

Theorem: The real numbers in (0,1)(0,1) are uncountable.

Proof: Assume we can list all reals in (0,1)(0,1): r1,r2,r3,…r_1, r_2, r_3, \ldots

Construct a new number dd where the ii-th digit differs from the ii-th digit of rir_i.

Then d≠rid \neq r_i for all ii (differs in ii-th digit), but d∈(0,1)d \in (0,1).

Contradiction! The reals are uncountable. □\square