Introduction to Sets

Learn what sets are, how to define them, and why they are fundamental to mathematics.

Intermediate20 minLesson

Definition

A set is a well-defined collection of distinct objects. The objects in a set are called elements or members.
We write sets using curly braces :
This set contains the elements 1, 2, 3, 4, and 5.
Key notation:
  • means " is an element of set "
  • means " is not an element of set "
For example, if , then but .

Try it now

Which of the following is NOT a valid set?

Worked Examples

Write the set of all vowels in the English alphabet.

1

Identify the vowels

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

2

Write using set notation

Use curly braces and list each element

3

Verify the set

Each element is distinct and clearly definedValid set

Common Mistakes

Writing with duplicate elements

Why it's wrong: Sets contain only distinct elements. Each element can appear only once.

Correct: Write - duplicates are automatically removed in a set.

Confusing with

Why it's wrong: is a set containing one element (zero), while is a set with no elements.

Correct: has 1 element, has 0 elements. They are different sets!

Using parentheses instead of braces

Why it's wrong: Parentheses indicate ordered pairs or tuples, not sets. Order matters in tuples but not in sets.

Correct: Always use curly braces for sets.

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

17 problems
Problem 1 of 17
Easy

Which of the following is NOT a valid set?

Why It Matters

Sets are the foundation of modern mathematics! Understanding sets helps you:
  • Organize information: Group related items together (like all even numbers, or all students in a class)
  • Solve problems: Many word problems involve grouping and counting
  • Understand databases: Computers store and retrieve data using set operations
  • Learn advanced math: Probability, statistics, and algebra all rely on set concepts
Every time you categorize things ("fruits vs vegetables" or "prime vs composite numbers"), you're thinking in sets!

Real World Applications

Music Playlists

Streaming services organize songs into sets (playlists). Each playlist is a set of songs.

Example:

Your 'Favorites' playlist might be . Adding a song means adding an element to the set.

1Try It Yourself

You have a playlist with 5 songs. You try to add a song that's already in the playlist.

How many songs are in the playlist now?

Step 1: Write the mathematical expression

If a set has 5 elements and you add a duplicate:

Contact Groups

Phone contact groups work like sets. Each group contains a set of contacts.

Example:

Your 'Family' group: . The symbol tells us who belongs: Mom Family.

2Try It Yourself

You have 3 groups: Family (4 people), Friends (6 people), Work (5 people). Your cousin is in Family.

Is your cousin in the Friends group?

Step 1: Write the mathematical expression

Cousin Family. What about Cousin Friends?

Key Takeaways

  • 1A set is a collection of distinct objects called elements
  • 2Sets are written with curly braces:
  • 3 means is an element of ; means is not in
  • 4The empty set contains no elements
  • 5Order doesn't matter in sets:
  • 6Sets cannot have duplicate elements

Frequently Asked Questions

No! is the same set as . Sets are unordered collections - only membership matters, not arrangement.
No! is the same set as . Sets are unordered collections - only membership matters, not arrangement.
Yes! For example, is a set with two elements: the number 1 and the set .
is the empty set (0 elements). is a set containing one element - the empty set itself (1 element)!

Glossary

Set
A well-defined collection of distinct objects
Element
An object that belongs to a set (also called a member)
Empty set
A set with no elements, written as or
Roster notation
Writing a set by listing all its elements:
Set-builder notation
Describing a set by a property:
Cardinality
The number of elements in a set, written as

More in This Topic