Agenda

<aside> 📌 Reminders

What is a Set?

<aside> 💡

Set: a collection of distinct elements. Elements can be numbers, strings, or even other sets.

</aside>

Example

Basic Notation

Basic Set Operations

  1. Union ($\cup$): The union of two sets $A$ and $B$ is the set of all elements that are in $A$, $B$, or both.
  2. Intersection ($\cap$): The intersection of $A$ and $B$ is the set of elements that are in both $A$ and $B$.
  3. Difference ($\setminus$ or $-$): The difference of $A$ and $B$ (or $A \setminus B$ or $A - B$) is the set of elements in $A$ but not in $B$.
  4. Complement ($A^c$ or $\overline{A}$): The complement of a set $A$ refers to all elements not in $A$, usually within a universal set $U$.

Practice

Screenshot 2024-09-26 at 21.23.39.png

Screenshot 2024-09-27 at 14.20.56.png

Screenshot 2024-09-27 at 14.21.32.png