Class: CSE 16 Subject: computer-science discrete-math Date: 2024-09-30 Teacher: Prof. Musacchio

Sets

Union

  • the union of A and B is the set:
    • A B = { x: x A or x B}

Intersection

  • the intersection of A and B is the set:
    • A B = *A B = { x: x A and x B}

Difference

  • the difference of A and B is the set:
    • = { : and }

Inclusion - Exclusion Principle

  • |A B| = |A| + |B| - |A B|