Lecture notes


Proof example

Proof example

For all sets A, B, C,

We try to prove that the statement is true (which we identified using Venn Diagrams)

First implication

  • Let
    • Case 1:
    • Case 2:
      • Assume
      • → This is a contradiction as that set is empty
      • Therefore
Second implication

→ We can either take the contrapositive, or take a contradiction

Proof by contradiction

  • We need to assume the set is not empty → there is an element in that set:
    • then and
    • so → Contradiction (the two sets are opposite)
    • so there is no → the set is empty

Proof example (shorter)

Proof example

For all sets A, B, C,

We prove:

Subset: Not subset:

    • (if an element is not in something, it is an element of the complement)
    • → X is in the intersection of the three sets
    • → The set is not empty

Proof example (truth table)

Proof example

For all sets A, B, C,


Power set

Power sets

A power set of a set A is the set of all subsets of A

Example of power sets

Example of a power set: (set size is 8)

Example of a power set:

Cardinality of a power set

Size of a power set

Product sets

Product sets

For two sets A and B, the product set is defined as with

  • is an ordered pair
Example of product sets

→ Cartesian plane

Cardinality of product sets

Cardinality of product sets

Properties
    • when
    • when one of the sets is empty → The product is also empty

Set partitions

Definition

Set partitions

The sets form a partition of the set A

  1. None of the sets is empty:
  2. if
How many partitions are there

Partitions

Key takeaways

  • Do you know how set membership works?
  • Do you understand the meaning of the set operators (complement, intersection, union, difference)
  • Do you know how to use Venn diagrams to develop an intuition
  • Do you understand the concept and definition of subset?
  • Do you know how to prove that two sets are equal?
  • Do you understand how to use the associative, distributive and de Morgan Laws? Can you prove them?
  • Do you know how to use power sets? Can you formulate the power set of a (finite) set?
  • Do you understand how set product works?
  • Do you know what a partition is?.

Lecture slides

Lecture slides

Partitions