Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Discrete Mathematics / Logic and proof

Proof Techniques and Induction

Direct proof, contradiction, contrapositive and mathematical induction, with a template for each.

3 min read · 2 sections · 2 checks

Contents 3 sections
  1. §1Three ways in
  2. §2Induction
  3. ?Check yourself

By the end you can

  • Write direct and contrapositive proofs
  • Prove statements by contradiction
  • Structure a proof by induction

Helps to know: Propositional Logic

§1Three ways in

  • Direct proof: assume the hypothesis and reason forward to the conclusion.
  • Contrapositive: prove ¬q→¬p\neg q \to \neg p instead of p→qp \to q.
  • Contradiction: assume the statement is false and derive something impossible.

Example 12\sqrt{2} is irrational

  1. Suppose 2=a/b\sqrt{2} = a/b in lowest terms.

§2Induction

Induction proves a statement P(n)P(n) for every natural number, the way you knock over infinitely many dominoes: show the first falls, and show each one knocks over the next.

Example 2Prove 1+2+⋯+n=n(n+1)21 + 2 + \cdots + n = \frac{n(n+1)}{2}

  1. Base case: n=1n = 1 gives 1=1⋅221 = \frac{1 \cdot 2}{2}.

Check yourself

  1. Q1
    To prove “if n2n^2 is odd then nn is odd” by contrapositive, you assume…
  2. Q2
    An induction proof needs a base case and…