Reference notes.

Mathematical proofs are the foundation of all rigorous mathematics. They provide a method for establishing mathematical truth through logical reasoning, transforming intuition and conjecture into certain knowledge. Unlike empirical sciences where theories are supported by evidence, mathematics demands absolute certainty through deductive proof.

Logic Fundamentals

See Discrete Mathematics for propositional and predicate logic in more depth.

Propositions and Logical Connectives

A proposition is a declarative statement that is either true or false, but not both. For example, “7 is a prime number” is a proposition (true), whilst “x > 5” is not a proposition until x is specified.

The fundamental logical connectives are:

SymbolNameMeaning
∧Conjunction (AND)Both must be true
∨Disjunction (OR)At least one must be true
¬Negation (NOT)Reverses truth value
→Implication (IF…THEN)False only when P true and Q false
↔Biconditional (IFF)Both have same truth value

Truth Table for Implication (P → Q):

PQP → Q
TTT
TFF
FTT
FFT

Note that an implication is vacuously true when the hypothesis P is false.

Quantifiers

Universal quantifier (∀): “For all” or “for every”

  • ∀x ∈ ℝ, x² ≥ 0 means “for all real numbers x, x squared is non-negative”

Existential quantifier (∃): “There exists” or “for some”

  • ∃x ∈ ℤ such that x² = 4 means “there exists an integer whose square is 4”

Negating quantified statements:

  • ¬(∀x, P(x)) ≡ ∃x, ¬P(x)
  • ¬(∃x, P(x)) ≡ ∀x, ¬P(x)

Set Theory Basics

Set theory provides the language for modern mathematics. See Discrete Mathematics for a fuller treatment.

Set notation:

  • x ∈ A means “x is an element of A”
  • x ∉ A means “x is not an element of A”
  • {1, 2, 3} is roster notation
  • {x ∈ ℤ : x > 0} is set-builder notation

Set relationships:

  • A ⊆ B (A is a subset of B): every element of A is in B
  • A ⊂ B (A is a proper subset of B): A ⊆ B and A ≠ B
  • 𝒫(A) is the power set: the set of all subsets of A

Set operations:

  • A ∪ B (union): elements in A or B or both
  • A ∩ B (intersection): elements in both A and B
  • A \ B (set difference): elements in A but not in B
  • Aᶜ (complement): elements not in A (relative to a universal set)
  • A × B (Cartesian product): {(a, b) : a ∈ A, b ∈ B}

Proof Techniques

Direct Proof

In a direct proof, we assume the hypothesis and derive the conclusion through a sequence of logical steps.

Structure:

  1. Assume is true
  2. Use definitions, axioms, and previously proved results
  3. Arrive at

Example: Prove that the sum of two even integers is even.

Proof: Let and be even integers. By definition, and for some integers and . Then . Since is an integer, is even.

Proof by Contradiction

Assume the negation of what you want to prove, then derive a logical contradiction.

Structure (to prove a statement ; when proving an implication , assume ):

  1. Assume (or for )
  2. Derive a contradiction (something of the form )
  3. Conclude (or ) must be true

Example: Prove that is irrational.

Proof: Suppose is rational. Then for some integers with , expressed in lowest terms. Squaring both sides: , so . Thus is even, which means is even (since an odd number squared is odd). Write . Then , so . Thus is also even. But this contradicts being in lowest terms. Therefore is irrational.

Proof by Contraposition

Instead of proving , prove the logically equivalent .

Structure:

  1. Assume
  2. Derive
  3. Conclude

Example: Prove that for any integer , if is even, then is even.

Proof: We prove the contrapositive: if is odd, then is odd. Assume is odd. Then for some integer . Thus , which is odd.

Mathematical Induction

Induction proves statements about natural numbers.

Structure:

  1. Base case: Prove (or )
  2. Inductive hypothesis: Assume for an arbitrary integer
  3. Inductive step: Prove

Example: Prove that for all integers .

Proof:

  • Base case: When , and . ✓
  • Inductive hypothesis: Assume for an arbitrary integer .
  • Inductive step: .

Strong Induction: Prove the base case (and any further base cases required), then for an arbitrary integer , assume are all true and prove .

Proof by Cases

Divide the problem into exhaustive cases and prove each separately.

Example: Prove that n² + n is even for all integers n.

Proof:

  • Case 1: n is even. Then n = 2k, so n² + n = 4k² + 2k = 2(2k² + k), which is even.
  • Case 2: n is odd. Then n = 2k + 1, so n² + n = (2k + 1)² + (2k + 1) = 4k² + 6k + 2 = 2(2k² + 3k + 1), which is even. ∎

Existence and Uniqueness Proofs

Existence proofs show that an object with certain properties exists.

  • Constructive: Explicitly exhibit the object
  • Non-constructive: Prove existence without constructing the object (often using contradiction)

Example (constructive): Prove there exists a rational number between 0 and 1.

Proof: Take r = 1/2. Then 0 < 1/2 < 1 and 1/2 ∈ ℚ. ∎

Uniqueness proofs show there is exactly one such object. Typically: assume two objects x and y both satisfy the property, then prove x = y.

Common Proof Patterns

Proving Set Equalities

To prove A = B, show A ⊆ B and B ⊆ A.

Example: Prove that A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C).

Proof sketch: Take arbitrary x in LHS, show x is in RHS (and vice versa).

Infinitude of Primes

Theorem (Euclid): There are infinitely many primes.

Proof: Suppose there are finitely many primes: p₁, p₂, …, pₙ. Consider N = p₁p₂…pₙ + 1. Then N is not divisible by any pᵢ (remainder 1). So either N is prime, or N has a prime factor not in our list. Contradiction. ∎

Divisibility Arguments

To prove a | b (a divides b), show b = ak for some integer k.

Reading and Writing Proofs

Reading proofs:

  • Read actively with pen and paper
  • Verify each step yourself
  • Identify the proof technique being used
  • Ask “why?” at each step

Writing proofs:

  • Start with what you know and what you want to show
  • Write in complete sentences
  • Justify each step
  • Be precise with definitions
  • Introduce variables clearly (“Let n be an integer…“)
  • End with a clear conclusion (∎ or QED)

Common pitfalls:

  • Assuming what you need to prove
  • Using examples as proof (examples are not proofs!)
  • Circular reasoning
  • Incomplete case analysis

Glossary

TermDefinition
AxiomA statement accepted as true without proof
TheoremA significant result that has been proved
LemmaA helper result used to prove a theorem
CorollaryA result that follows easily from a theorem
PropositionIn logic, a declarative truth-bearing statement; in mathematical writing, a proved result of lesser prominence than a theorem
ConjectureA statement believed to be true but not yet proved
QED”Quod erat demonstrandum” — that which was to be demonstrated

Learning Resources

Books

  • How to Prove It by Daniel Velleman — excellent introduction to proof techniques
  • How to Solve It by George Pólya — classic on problem-solving strategies
  • Introduction to Mathematical Thinking by Keith Devlin
  • A Gentle Introduction to the Art of Mathematics

Courses