Sets and Set Operations
Introduction
Sets are the foundation of modern mathematics. A set is simply a collection of distinct objects, called elements or members. Despite this simple definition, set theory provides the language in which essentially all of mathematics can be expressed—from numbers to functions to probability spaces.
Set theory was developed in the late
Basic Definitions
Notation and Membership
Sets are typically denoted by capital letters (
Sets can be defined by listing elements (roster notation):
Important Sets
Standard number sets have special symbols:
The empty set
Subsets and Equality
Set
Two sets are equal if and only if each is a subset of the other:
A proper subset
Set Operations
Union
The union of
Intersection
The intersection of
Sets are disjoint if their intersection is empty:
Difference
The difference (or relative complement)
Complement
Given a universal set
Cartesian Product
The Cartesian product
For example,
Power Set
The power set
If
Laws of Set Algebra
Set operations satisfy fundamental algebraic properties that parallel logical operations.
Commutative Laws
Associative Laws
Distributive Laws
De Morgan's Laws
These laws state that the complement of a union is the intersection of complements, and vice versa.
Identity and Domination
Complement Laws
Cardinality
The cardinality
The inclusion–exclusion principle gives the cardinality of a union:
For three sets:
Connection to Other Concepts
In probability, the sample space is a set and events are subsets. The probability axioms and rules (including inclusion-exclusion) mirror set operations.
Functions are defined as special relations, which are subsets of Cartesian products. The domain, codomain, range, and graph of a function are all sets.
In topology, open sets and their properties define the structure of a space. In measure theory, sigma-algebras are collections of sets closed under countable operations.
Summary
A set is a collection of distinct elements. Membership (
The core operations—union (
Sets provide the language for mathematics, underpinning everything from number systems to probability to analysis. Mastery of set notation and operations is essential for advanced study.