Set Notation

Learn how to write and read sets using mathematical notation, including roster form and set-builder notation.

Intermediate25 minLesson

Definition

A set is a collection of distinct objects called elements or members. Sets are written using curly braces { }.

Roster Form (List Notation)

Roster form lists all elements inside curly braces, separated by commas:

Set-Builder Notation

Set-builder notation describes the properties that elements must have:
This reads: "B is the set of all such that is an even number less than 10."
So

Key Symbols

SymbolMeaningExample
Set braces
Is an element of
Is not an element of
or Such that
or Empty setA set with no elements
Natural numbers
Integers

Try it now

Which of the following is a correct way to write a set?

Worked Examples

Write the set of vowels in the English alphabet.

1

Identify the vowels

The vowels are: a, e, i, o, u5 elements

2

Use curly braces

Place the vowels inside { }

3

Check for duplicates

Each vowel appears onceNo duplicates

Common Mistakes

Writing repeated elements:

Why it's wrong: Sets contain unique elements only. Listing 2 twice does not add it again.

Correct: Write each element once:

Confusing with

Why it's wrong: is a set containing the number zero (1 element). is the empty set (0 elements).

Correct: has one element (zero); or has no elements

Using wrong brackets: or

Why it's wrong: Parentheses are for ordered pairs/tuples. Square brackets are for intervals. Sets use curly braces.

Correct: Always use curly braces for sets:

Order matters: thinking

Why it's wrong: Sets are unordered collections. Only the elements matter, not their arrangement.

Correct: are all the same set

Interactive Visual

Venn Diagram - GCF & LCM

Number A:
Number B:
121822, 33Only in ACommonOnly in B

Prime factors of 12:

223

Prime factors of 18:

233

GCF

6

2 × 3 = 6

LCM

36

2 × 2 × 3 × 3 = 36

How it works:

  • GCF = product of common prime factors (center of diagram)
  • LCM = product of all prime factors (entire diagram)

Enter two numbers to see their prime factorization in a Venn diagram.

Interactive Sandbox

Expression Calculator

Try these:

History

No calculations yet

Practice Problems

18 problems
Problem 1 of 18
Easy

Which of the following is a correct way to write a set?

Why It Matters

Set notation is the foundation of modern mathematics and has practical applications everywhere:
  • Computer Science: Databases use sets to store and query unique records. Search engines use set operations to combine results.
  • Statistics: Sample spaces, events, and probability all use set theory.
  • Logic: Venn diagrams represent sets visually to solve logical problems.
  • Everyday Life: Organizing playlists (set of songs), sports teams (set of players), or social media followers (set of users).
Understanding set notation prepares you for advanced math, computer programming, and data science!

Real World Applications

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.

Example:

If and , your search result is (items that are both blue AND shirts).

Social Media

Your followers list is a set of users. Set operations help platforms suggest mutual friends.

Example:

If and , then shows mutual friends.

Genetics and Biology

Scientists use sets to classify organisms. Each species belongs to sets representing genus, family, order, and kingdom.

Example:

The set of mammals intersected with the set of aquatic animals gives us marine mammals like dolphins and whales.

Key Takeaways

  • 1A set is a collection of distinct elements written in curly braces:
  • 2Roster form lists all elements:
  • 3Set-builder notation describes properties:
  • 4The symbol means 'is an element of' and means 'is not an element of'
  • 5The empty set or contains no elements
  • 6Order does not matter in sets, and elements cannot repeat

Frequently Asked Questions

is a set where order does not matter and elements are unique. is an ordered triple or tuple where position matters and repetition is allowed.
is a set where order does not matter and elements are unique. is an ordered triple or tuple where position matters and repetition is allowed.
Yes! A set can contain numbers, letters, or even other sets. For example: is a valid set with three elements.
Yes! The empty set is a subset of every set, including itself. This is because there are no elements in that could violate the subset condition.

Glossary

Set
A collection of distinct objects called elements or members
Element
An object that belongs to a set, also called a member
Roster form
Writing a set by listing all its elements inside curly braces
Set-builder notation
Describing a set by stating the properties its elements must satisfy
Empty set
A set with no elements, written as or
Cardinality
The number of elements in a set, written as

More in This Topic