Set

Definitionnoun

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.

In Spanish
conjunto
Also called
collection, set of elements
Grade level
Algebra 1
Grade 6Algebra 1StatisticsCCSS HSS-CP.A.1SATACTACCUPLACER

Set in a picture

A set and its elementsAn oval labeled A holds 2, 4, 6 and 8. The numbers 3 and 5 sit outside. Below, the set is written in roster form and by a rule, with 4 elements.A2468354 ∈ A (inside)5 ∉ ARoster: A = {2, 4, 6, 8}Rule: A = {even numbers from 2 to 8}n(A) = 4 elements
Each object is either in the set or out of it. The same set can be written as a list (roster form) or as a rule, and it has n(A) = 4 elements.

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

Warm-up

Write the set of letters in the word MISSISSIPPI and find how many elements it has.

  1. Go through the letters and keep each new letter once: M, I, S, P.
  2. Write the set: {M, I, S, P}.
  3. 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

Core

List the elements of B = {x ∣ x is a whole number and 3 < x ≤ 8}.

  1. Read the rule: whole numbers greater than 3 and at most 8.
  2. 3 is left out (strictly greater than), and 8 is kept (less than or equal to).
  3. 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

Test-style

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)?

  1. A = {1, 2, 3, 4, 6, 12} and B = {1, 2, 3, 6, 9, 18}.
  2. Combine them and write shared numbers once: {1, 2, 3, 4, 6, 9, 12, 18}.
  3. 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

✗ MistakeThe set {2, 2, 5, 5, 5} has 5 elements.
✓ InsteadIt is the set {2, 5}, with 2 elements.

A set lists each distinct object once. Repeats do not create new elements.

✗ Mistake∅ = {0}
✓ Instead∅ has no elements, but {0} has one element, the number 0.

Zero is a number, so a set containing it is not empty. An empty box and a box holding a zero are different.

✗ Mistake{1, 2, 3} and {3, 2, 1} are different sets.
✓ InsteadThey are equal sets: {1, 2, 3} = {3, 2, 1}.

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

Setvs.Subset

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}.

Setvs.Element

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.

Setvs.Interval

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

Question 1 of 3

How many elements are in the set of letters of the word LETTER?

Show answer and explanation

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.

Question 2 of 3

Which set is equal to {a, b, c}?

Show answer and explanation

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.

Question 3 of 3

Let C = {x ∣ x is an odd number, 1 < x < 10}. Which statement is true?

Show answer and explanation

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.

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

  1. OpenStax, Contemporary Mathematics, 1.1 Basic Set Concepts
  2. 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

TermSet{2, 4, 6, 8}
DefinitionA well-defined collection of distinct objects (elements), written in braces. Order and repeats do not matter: {1, 2} = {2, 1}.
Study the full deck

Browse all terms in the Math Dictionary · More probability terms · Random term