Set Notation
Writing Sets in Roster Form
Write the set of vowels in the English alphabet.
Identify the vowels: The vowels are: a, e, i, o, u = 5 elements
Use curly braces: Place the vowels inside { } = $\{a, e, i, o, u\}$
Check for duplicates: Each vowel appears once = No duplicates
Answer: $V = \{a, e, i, o, u\}$
Using Element Notation
Let $A = \{2, 4, 6, 8, 10\}$. Is $6 \in A$? Is $7 \in A$?
Check if 6 is in set A: Look for 6 in $\{2, 4, 6, 8, 10\}$ = 6 is found
Write the relationship: Since 6 is in A = $6 \in A$
Check if 7 is in set A: Look for 7 in $\{2, 4, 6, 8, 10\}$ = 7 is not found
Write the relationship: Since 7 is not in A = $7 \notin A$
Answer: $6 \in A$ (true) and $7 \notin A$ (true)
Set-Builder to Roster Form
Convert to roster form: $C = \{x \mid x \text{ is a positive integer less than 6}\}$
Understand the condition: $x$ must be: positive, an integer, and less than 6 = Three conditions
List integers starting from 1: 1, 2, 3, 4, 5, 6, 7, ... = Positive integers
Apply the condition: Stop before 6: 1, 2, 3, 4, 5 = 5 elements
Write in roster form: Place in curly braces = $\{1, 2, 3, 4, 5\}$
Answer: $C = \{1, 2, 3, 4, 5\}$
Roster Form to Set-Builder
Write in set-builder notation: $D = \{3, 6, 9, 12, 15\}$
Find the pattern: 3, 6, 9, 12, 15 are all multiples of 3 = Pattern: multiples of 3
Determine the range: Starts at 3, ends at 15 = $3 \le x \le 15$
Combine conditions: Multiples of 3 from 3 to 15 = Two conditions needed
Write in set-builder form: Use $x \mid$ notation = $\{x \mid x \text{ is a multiple of 3, } 1 \le x/3 \le 5\}$
Answer: $D = \{x \mid x = 3n, n \in \mathbb{N}, 1 \le n \le 5\}$ or simply "multiples of 3 from 3 to 15"
Identifying the Empty Set
Find: $E = \{x \mid x \text{ is an even prime number greater than 2}\}$
Recall the definition of prime: A prime has exactly 2 factors: 1 and itself = Prime definition
List even numbers greater than 2: 4, 6, 8, 10, 12, ... = All divisible by 2
Check if any are prime: 4 = 2 times 2, 6 = 2 times 3, 8 = 2 times 4, ... all have more than 2 factors = None are prime
Write the result: No elements satisfy the condition = Empty set
Answer: $E = \emptyset$ (the empty set)
Mistake: Writing repeated elements: $\{1, 2, 2, 3\}$
Why: Sets contain unique elements only. Listing 2 twice does not add it again.
Correct: Write each element once: $\{1, 2, 3\}$
Mistake: Confusing $\{0\}$ with $\emptyset$
Why: $\{0\}$ is a set containing the number zero (1 element). $\emptyset$ is the empty set (0 elements).
Correct: $\{0\}$ has one element (zero); $\emptyset$ or $\{\}$ has no elements
Mistake: Using wrong brackets: $(1, 2, 3)$ or $[1, 2, 3]$
Why: Parentheses are for ordered pairs/tuples. Square brackets are for intervals. Sets use curly braces.
Correct: Always use curly braces for sets: $\{1, 2, 3\}$
Mistake: Order matters: thinking $\{1, 2, 3\} \ne \{3, 2, 1\}$
Why: Sets are unordered collections. Only the elements matter, not their arrangement.
Correct: $\{1, 2, 3\} = \{3, 2, 1\} = \{2, 1, 3\}$ are all the same set
Database Queries
When you search on an e-commerce website, the system uses sets. Searching for 'blue shirts' returns the set of blue items intersected with the set of shirts.
If $A = \{\text{blue items}\}$ and $B = \{\text{shirts}\}$, your search result is $A \cap B$ (items that are both blue AND shirts).
Social Media
Your followers list is a set of users. Set operations help platforms suggest mutual friends.
If $A = \{\text{your friends}\}$ and $B = \{\text{their friends}\}$, then $A \cap B$ shows mutual friends.
Genetics and Biology
Scientists use sets to classify organisms. Each species belongs to sets representing genus, family, order, and kingdom.
The set of mammals intersected with the set of aquatic animals gives us marine mammals like dolphins and whales.
A set is a collection of distinct elements written in curly braces: $\{1, 2, 3\}$
Roster form lists all elements: $A = \{a, e, i, o, u\}$
Set-builder notation describes properties: $\{x \mid x > 0\}$
The symbol $\in$ means 'is an element of' and $\notin$ means 'is not an element of'
The empty set $\emptyset$ or $\{\}$ contains no elements
Order does not matter in sets, and elements cannot repeat
Q: What is the difference between $\{1, 2, 3\}$ and $(1, 2, 3)$?
A: $\{1, 2, 3\}$ is a set where order does not matter and elements are unique. $(1, 2, 3)$ is an ordered triple or tuple where position matters and repetition is allowed.
Q: Can a set contain different types of elements?
A: Yes! A set can contain numbers, letters, or even other sets. For example: $\{1, a, \{2, b\}\}$ is a valid set with three elements.
Q: Is the empty set a subset of every set?
A: Yes! The empty set $\emptyset$ is a subset of every set, including itself. This is because there are no elements in $\emptyset$ that could violate the subset condition.
Set Notation
1 / 14
Set Notation
Learn how to write and read sets using mathematical notation, including roster form and set-builder notation.