Class: CSE 16 Subject: computer-science discrete-math Date: 2024-10-02 Teacher: Prof. Musacchio
Sets
Complement
Universal Set
- it refers to the set that some set that contains all the elements of
- E.g. Prime numbers, = { 2,3,5,7,11,13,… } with being the universal set
Complement Def
- Let be a set with a universal set . The complement of denoted , is the set = − .
- = {x: x - }
Examples
- If is the set of prime numbers, then,
- = − = { 1, 4, 6, 8, 9, 10, 12,… }
Order of Operations
- complements
- intersections
- unions
- differences