What is a set in math?
A set is a well-defined collection of distinct objects, called elements or members. Sets are written with curly braces and named with capital letters, as in A = {2, 4, 6}. Order does not matter and repeated items count once, so {1, 2, 3} and {3, 1, 2} are the same set.
Set in a picture
Formal definition and notation
A set is a collection of objects in which, for any object x, it is clear whether x belongs to the set (x ∈ A) or not (x ∉ A). Two sets are equal when they have exactly the same elements. A set can be described by listing its elements (roster form) or by a rule (set-builder form), and the number of elements in a finite set A is its cardinality, n(A).
| Symbol | Read it as | Meaning |
|---|---|---|
| {} | the set of | curly braces hold the elements of a set |
| x ∈ A | x is an element of A | x belongs to the set A |
| x ∉ A | x is not an element of A | x does not belong to A |
| ∅ | the empty set | the set with no elements, also written {} |
| n(A) | n of A | the number of elements in A (its cardinality) |
| {x ∣ x > 5} | the set of all x such that x is greater than 5 | set-builder notation: a rule instead of a list |
Key facts
- Well-defined means membership is never a matter of opinion: the even numbers form a set, but the good movies do not.
- Order and repeats do not matter: the letters of BOOK form the set {B, O, K}, with 3 elements.
- The empty set ∅ has no elements. It is not the same as {0}, which has one element, the number 0.
- A set is finite if you can count all its elements, like {1, 2, 3}, and infinite if you cannot, like the set of whole numbers.
- In probability, the sample space is the set of all outcomes and each event is a set of some of those outcomes.
Set examples, step by step
Example 1: Letters of a word as a set
Write the set of letters in the word MISSISSIPPI and find how many elements it has.
- Go through the letters and keep each new letter once: M, I, S, P.
- Write the set: {M, I, S, P}.
- Count the elements: n = 4, even though the word has 11 letters.
Answer: The set is {M, I, S, P}, with 4 elements.
Example 2: From a rule to a list
List the elements of B = {x ∣ x is a whole number and 3 < x ≤ 8}.
- Read the rule: whole numbers greater than 3 and at most 8.
- 3 is left out (strictly greater than), and 8 is kept (less than or equal to).
- Roster form: B = {4, 5, 6, 7, 8}.
Answer: B = {4, 5, 6, 7, 8}, a set with 5 elements.
Example 3: Combining two sets
Set A is the set of factors of 12 and set B is the set of factors of 18. How many elements are in the set of numbers that belong to A or B (or both)?
- A = {1, 2, 3, 4, 6, 12} and B = {1, 2, 3, 6, 9, 18}.
- Combine them and write shared numbers once: {1, 2, 3, 4, 6, 9, 12, 18}.
- Count: 8 elements. Adding 6 + 6 = 12 would count 1, 2, 3 and 6 twice.
Answer: The combined set (the union A ∪ B) has 8 elements.
Common mistakes
A set lists each distinct object once. Repeats do not create new elements.
Zero is a number, so a set containing it is not empty. An empty box and a box holding a zero are different.
A set records only which objects belong, not the order you list them in. Order matters for an ordered pair, not for a set.
Not to be confused with
A set is any collection. A subset is a set whose elements all sit inside another set: {2, 4} is a subset of {2, 4, 6, 8}.
An element is one member, written without braces: 4 is an element of {2, 4, 6}, so 4 ∈ A. The set {4} is a set, not an element.
An interval such as [2, 6] is a set of all real numbers between 2 and 6, infinitely many. The set {2, 6} has just two elements.
Quick check: 3 questions
How many elements are in the set of letters of the word LETTER?
Answer: B. The distinct letters are L, E, T, R, so the set has 4 elements. 6 counts every letter including repeats; 3 and 5 miss or double-count a letter.Show answer and explanation
Which set is equal to {a, b, c}?
Answer: D. Equal sets have exactly the same elements in any order, so {c, a, b} is equal. A is missing c, B has an extra d, and C is a set whose single element is a set.Show answer and explanation
Let C = {x ∣ x is an odd number, 1 < x < 10}. Which statement is true?
Answer: A. C = {3, 5, 7, 9}, so 9 ∈ C. 1 and 10 are excluded by the strict inequalities, and n(C) = 4, not 5.Show answer and explanation
Set: frequently asked questions
What is an example of a set in math?
The set of days in a week, the set of even numbers and {2, 3, 5, 7}, the primes below 10, are all sets. Each has a clear rule for membership. A collection such as tall students is not a set in math, because people could disagree about who belongs.
What is the empty set?
The empty set, written ∅ or {}, is the set with no elements. For example, the set of whole numbers between 3 and 4 is empty. It has cardinality 0, and there is only one empty set. Do not write it as {∅}: that is a set with one element.
What is the difference between roster and set-builder notation?
Roster notation lists every element inside braces: {5, 10, 15, 20}. Set-builder notation states a rule: {x ∣ x is a multiple of 5, x ≤ 20}. Both describe the same set. Set-builder form is handy for large or infinite sets, where a full list is impossible.
Practice and tools
Sources
- OpenStax, Contemporary Mathematics, 1.1 Basic Set Concepts
- Common Core State Standards, High School Statistics: Conditional Probability (S-CP.A.1)
Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS HSS-CP.A.1
Cite this entry
Effortless Math Team. “Set.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/set/
Flashcard
Browse all terms in the Math Dictionary · More probability terms · Random term



