Set Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Set.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

A well-defined collection of distinct, unordered objects called elements, described either by listing or by a membership rule.

Think of a set as a bag that can hold anything — numbers, names, shapes — but with two strict rules: no duplicates allowed and the order in which items sit inside the bag does not matter.

Read the full concept explanation →

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: A set is a collection where duplicates collapse to one and rearranging changes nothing.

Common stuck point: The procedure for set is the easy part; the trap is counting a repeated entry twice, like calling {a,a,b}\{a, a, b\} a 3-element set. Asking "If I rearrange the items or drop a repeat, is it still the exact same object?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: If I rearrange the items or drop a repeat, is it still the exact same object?

Worked Examples

Example 1

easy
Let A={2,4,6,8,10}A = \{2, 4, 6, 8, 10\}. Determine whether 6A6 \in A and whether 5A5 \in A.

Answer

6A and 5A6 \in A \text{ and } 5 \notin A

First step

1
Recall that a set is a well-defined collection of distinct objects called elements. The set A={2,4,6,8,10}A = \{2, 4, 6, 8, 10\} is given in roster (list) notation.

Full solution

  1. 2
    Check membership of 6: scan the roster — 2, 4, **6**, 8, 10. The element 6 appears, so 6A6 \in A.
  2. 3
    Check membership of 5: scan the roster — 2, 4, 6, 8, 10. The element 5 does not appear, so 5A5 \notin A.
The symbol \in means 'is an element of.' To test membership, check whether the element appears in the set's roster.

Example 2

medium
Write the set B={xZ:2x<3}B = \{x \in \mathbb{Z} : -2 \le x < 3\} in roster notation.

Example 3

medium
Convert {xZ:1x6 and x is odd}\{x \in \mathbb{Z} : 1 \le x \le 6 \text{ and } x \text{ is odd}\} to roster form.

Example 4

medium
Write the set DD of letters in the word "banana".

Example 5

hard
Write the set of solutions in R\mathbb{R} to x25x+6=0x^2 - 5x + 6 = 0.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Let C={a,e,i,o,u}C = \{a, e, i, o, u\}. List all elements of CC and state the cardinality C|C|.

Example 2

easy
Are the sets {2,4,4,6}\{2, 4, 4, 6\} and {6,2,4}\{6, 2, 4\} equal? Explain.

Example 3

easy
Is {1,2,3}\{1, 2, 3\} the same set as {3,2,1}\{3, 2, 1\}?

Example 4

easy
How many elements are in the set {1,1,2,3}\{1, 1, 2, 3\}?

Example 5

easy
Is {3}\{3\} the same thing as the number 33?

Example 6

easy
Write the set of even numbers between 1 and 9 by listing.

Example 7

easy
Is 55 an element of the set A={2,4,6,8}A = \{2, 4, 6, 8\}?

Example 8

easy
Does the set {a,b,c}\{a, b, c\} change if we rewrite it as {b,c,a}\{b, c, a\}?

Example 9

easy
How many elements does the empty set \emptyset have?

Example 10

easy
Is {1,2}={1,2,3}\{1, 2\} = \{1, 2, 3\}?

Example 11

medium
Set AA is described as 'all integers xx with x2=9x^2 = 9'. List AA by roster.

Example 12

medium
How many elements are in {x:x is a letter in the word LEVEL}\{x : x \text{ is a letter in the word } \textbf{LEVEL}\}?

Example 13

medium
Is {}\{\emptyset\} the same as \emptyset?

Example 14

medium
If A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\}, list the elements of AA that satisfy x>3x > 3.

Example 15

medium
A set has elements {a,{b},c}\{a, \{b\}, c\}. How many elements does it have, and is bb one of them?

Example 16

medium
Are the sets {x:x is even}\{x : x \text{ is even}\} and {2k:kZ}\{2k : k \in \mathbb{Z}\} equal?

Example 17

medium
List the set of prime numbers less than 10.

Example 18

challenge
Prove that if sets AA and BB satisfy ABA \subseteq B and BAB \subseteq A, then A=BA = B.

Example 19

challenge
Set SS contains its own number of elements rule: S={1,2,,n}S = \{1, 2, \dots, n\} has exactly nn elements. If a set TT satisfies T=T{5}|T| = |T \cup \{5\}|, what must be true about 55?

Example 20

challenge
Explain why {1,2}\{1, 2\} and {1,2,1}\{1, 2, 1\} have the same number of elements, then give the cardinality.

Example 21

medium
Is the collection 'all tall people' a well-defined set?

Example 22

medium
Is the collection of 'the three best movies ever' a well-defined set?

Example 23

easy
Let A={0,1,2,3}A = \{0, 1, 2, 3\}. Is 0A0 \in A? Is 1A-1 \in A?

Example 24

medium
Are the sets A={1,2,3}A = \{1, 2, 3\} and B={xZ:0<x<4}B = \{x \in \mathbb{Z} : 0 < x < 4\} equal?

Example 25

easy
Is the empty set the same as {0}\{0\}?

Example 26

medium
List the subset of {1,2,3,4,5,6,7,8,9,10}\{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\} consisting of perfect squares.

Example 27

medium
True or false: {1,2,3}\{1, 2, 3\} has the same elements as {2,3,1,2}\{2, 3, 1, 2\}.

Example 28

hard
Write the set of positive integer divisors of 1212.

Example 29

hard
Let A={1,2}A = \{1, 2\}. List all subsets of AA.

Example 30

medium
Let E={xZ:0x8 and x is even}E = \{x \in \mathbb{Z} : 0 \le x \le 8 \text{ and } x \text{ is even}\}. Find EE and E|E|.

Example 31

medium
Is {xN:x<0}\{x \in \mathbb{N} : x < 0\} the empty set?

Example 32

hard
Let A={2,3,5,7}A = \{2, 3, 5, 7\} and B={1,4,6}B = \{1, 4, 6\}. List the elements of AA that are NOT in BB.

Example 33

medium
Write the set of integers nn with n2|n| \le 2 in roster form.

Example 34

hard
Two coaches list players: Coach A lists {\{Maya, Ben, Liu, Tara}\}; Coach B lists {\{Ben, Liu, Tara, Maya}\}. Are the two team sets equal?

Example 35

challenge
How many distinct 22-element subsets does {a,b,c,d,e}\{a, b, c, d, e\} have?