Loading...
Login

Sets - Collections of Distinct Objects

A set is a well-defined collection of distinct objects. Those objects are called the elements or members of the set. Set theory is the language that underlies all of modern mathematics – once you understand sets, every other area of maths becomes clearer and more connected.

Set theory was created almost single-handedly by the German mathematician Georg Cantor, who introduced the idea of treating infinite collections as objects in their own right in a series of papers beginning in 1874. His work was so radical for its time – he proved that some infinities are strictly larger than others – that it was fiercely resisted by several contemporaries, yet it went on to become the foundation on which nearly all of modern mathematics is built. By 1908, Ernst Zermelo had begun formalising set theory into a rigorous system of axioms (later extended by Abraham Fraenkel), giving mathematicians a solid logical footing for everything from arithmetic to calculus.

Outside of pure mathematics, the language of sets shows up constantly in everyday computing: a database query that filters rows matching several conditions is really a set-builder description, and search engines combine results using union and intersection logic every time you refine a search.

Notation

Sets are written using curly braces: A = {1, 2, 3, 4}.
The symbol means “is an element of”: 3 ∈ A.
The symbol means “is not an element of”: 7 ∉ A.
The cardinality of a set (the number of elements it contains) is written |A|. Here |A| = 4.

Ways to Describe a Set

MethodDescriptionExample
Roster (list) notationList every element inside curly bracesB = {2, 4, 6, 8, 10}
Set-builder notationDescribe the property elements must satisfyB = {x : x is even, 1 ≤ x ≤ 10}
Verbal descriptionState the rule in plain languageB = the set of even numbers from 2 to 10

Special Sets

SetSymbolDescriptionExample elements
Empty set∅ or {}Contains no elements at all
Universal setξ (or U)All elements under considerationAll integers, all students in a class
Natural numbersCounting numbers1, 2, 3, 4, …
IntegersWhole numbers including negatives and zero… −2, −1, 0, 1, 2, …
Rational numbersNumbers expressible as p/q (q ≠ 0)1/2, −3, 0.75
Real numbersAll points on the number line√2, π, −1.5

Equal Sets and Equivalent Sets

Equal sets contain exactly the same elements (order and repetition do not matter).
{1, 2, 3} = {3, 1, 2} = {1, 1, 2, 3} (duplicates are ignored).
Equivalent sets have the same number of elements (same cardinality) but not necessarily the same elements.
{1, 2, 3} and {a, b, c} are equivalent because both have cardinality 3.

Worked Examples

A = {letters in the word MATHS}. List the elements and state |A|.

A = {M, A, T, H, S}.   |A| = 5.

Write in set-builder notation: C = {4, 8, 12, 16, 20}.

C = {x : x is a multiple of 4, 1 ≤ x ≤ 20}.   or   C = {4n : n ∈ ℕ, 1 ≤ n ≤ 5}.

State whether true or false: (a) 5 ∈ {1, 3, 5, 7}; (b) {2} = {2, 2, 2}; (c) ∅ has cardinality 1.

(a) True – 5 is listed.   (b) True – duplicates are ignored, so both equal {2}.   (c) False – |∅| = 0.

Key Takeaways

  • A set is a collection of distinct objects called elements.
  • Use ∈ for “belongs to” and ∉ for “does not belong to”.
  • |A| is the cardinality (number of elements) of set A.
  • The empty set ∅ contains no elements; the universal set ξ contains all elements under consideration.
  • Order and repetition do not change a set – {1,2,3} = {3,2,1} = {1,1,2,3}.

Practice: Finding Cardinality

Cardinality of a Set of Multiples

Related Topics

Home About Resources Dashboard