Skip to content
The Lumenary

Each worksheet prints cleanly on A4 or Letter. Answer keys are on a separate page.

The Lumenary · Grades 9–12

Proof: direct, contrapositive, contradiction and induction

Name: ______________________

Date: ______________________

You will learn to

  • Write direct proofs and proofs by cases about integers
  • Prove a statement through its contrapositive, such as "if n2n^2 is even then nn is even"
  • Prove a statement by contradiction, such as Euclid's theorem that there are infinitely many primes
  • Prove statements about all natural numbers by ordinary and by strong induction, and explain why induction, strong induction and the well-ordering principle are equivalent
  • Find gaps, circular reasoning and unstated assumptions in a proposed proof
  1. 1.

    You want to prove “if n2n^2 is odd, then nn is odd” by contrapositive. What do you assume at the start?

    • A.nn is even
    • B.n2n^2 is odd
    • C.nn is odd
    • D.n2n^2 is even
  2. 2.

    Use Gauss's formula to compute 1+2+3+⋯+2001 + 2 + 3 + \dots + 200.

  3. 3.

    In the “all horses are the same colour” induction, where exactly does the argument break down?

    • A.The base case: one horse need not have one colour.
    • B.The inductive step from n=1n = 1 to n=2n = 2: the two groups of size 11 do not overlap.
    • C.The inductive step only fails for large nn.
    • D.Nothing is wrong; the induction principle itself is the problem.
  4. 4.

    Let N=2⋅3⋅5⋅7⋅11⋅13+1=30031N = 2 \cdot 3 \cdot 5 \cdot 7 \cdot 11 \cdot 13 + 1 = 30031. What does Euclid's argument guarantee about NN?

    • A.Every prime factor of NN is different from 2,3,5,7,11,132, 3, 5, 7, 11, 13.
    • B.NN is prime.
    • C.NN's smallest prime factor is the next prime, 1717.
    • D.Nothing: the argument only works when the list contains every prime.
  5. 5.

    With an unlimited supply of stamps worth 33 and 77, what is the largest amount that cannot be made exactly?

  6. 6.

    Which of these statements is proved most naturally by strong induction rather than ordinary induction?

    • A.Every natural number n≥2n \ge 2 is a product of primes.
    • B.0+1+⋯+n=n(n+1)/20 + 1 + \dots + n = n(n+1)/2.
    • C.1+3+⋯+(2n−1)=n21 + 3 + \dots + (2n - 1) = n^2.
    • D.2n≥n+12^n \ge n + 1 for every natural number nn.
  7. 7.

    “Let a=ba = b. Then a2=aba^2 = ab, so a2−b2=ab−b2a^2 - b^2 = ab - b^2, so (a+b)(a−b)=b(a−b)(a+b)(a-b) = b(a-b), so a+b=ba + b = b, so 2b=b2b = b, so 2=12 = 1.” Which step is invalid?

    • A.From (a+b)(a−b)=b(a−b)(a+b)(a-b) = b(a-b) to a+b=ba + b = b
    • B.From a=ba = b to a2=aba^2 = ab
    • C.From a2−b2=ab−b2a^2 - b^2 = ab - b^2 to (a+b)(a−b)=b(a−b)(a+b)(a-b) = b(a-b)
    • D.From 2b=b2b = b to 2=12 = 1
  8. 8.

    A student proves: “if n2+n+1n^2 + n + 1 is even, then (n+1)2+(n+1)+1(n+1)^2 + (n+1) + 1 is even”, and concludes by induction that n2+n+1n^2 + n + 1 is even for all nn. Which statement is correct?

    • A.The inductive step is valid, but the base case fails, and in fact n2+n+1n^2 + n + 1 is odd for every nn.
    • B.The proof is correct.
    • C.The inductive step is wrong algebra.
    • D.The claim is true from n=1n = 1 onwards; only n=0n = 0 fails.
  9. 9.

    Which Lean proposition expresses the principle of ordinary induction for the natural numbers?

    • A.∀ P : ℕ → Prop, P 0 → (∀ n, P n → P (n + 1)) → ∀ n, P n
    • B.∀ P : ℕ → Prop, (∀ n, P n → P (n + 1)) → ∀ n, P n
    • C.∀ P : ℕ → Prop, P 0 → ∀ n, P n
    • D.∀ P : ℕ → Prop, (∀ n, P n) → P 0 ∧ ∀ n, P n → P (n + 1)
  10. 10.

    Write is_prime(n) and first_failure(claim, limit), which returns the least n with 0 <= n <= limit for which claim(n) is false, or None if there is none. Use them to find the first n for which n2+n+41n^2 + n + 41 is not prime. Why does your search not prove anything about the values beyond limit?

    Computational — Practice

Code: Apache-2.0 · Content: CC BY-SA 4.0