Session 7: Functions, Cardinality & Diagonalization

Overview

Functions as objects in their own right, and the first results about the sizes of infinite sets.

Lecturer

Ali Ibrahim (MECH + Mathematics)

Session Information

Core Concepts

  • Functions as relations; domains, codomains, and images
  • Injectivity, surjectivity, and bijectivity (with proofs in both directions)
  • Composition; inverses; left and right inverses and their relationship to injectivity and surjectivity
  • Function spaces B^A; functions as first-class objects
  • Countability (with proofs): ℕ, ℤ, and ℚ
  • Cantor’s diagonalization argument (i.e. ℝ is uncountably infinite); |P(A)| > |A|

Slides

Session 7 Slides: Download PDF

Readings

Exercises & Extra Steps

  • Practice (not collected): prove f is injective iff it has a left inverse (nonempty domain)
  • Practice (not collected): write out both directions of the currying bijection and verify they are mutually inverse
  • Practice (not collected): prove there is no surjection A → P(A)

Questions? Reach out on the course WhatsApp!