Sets
Sets and Set Theory
In the world of mathematics, everything is divided into groups known as sets. Analyzing sets mathematically provides a great opportunity to understand how mathematics can be used to describe the world around us. A set is a collection of objects, also called elements or members.
The elements of a set can be numbers, shapes, or even other sets. The notation used to represent sets and their relationships is fundamental to various branches of mathematics, particularly logic, probability, and algebra.
Definition of a Set
A set is defined by the elements it contains. Sets can be finite or infinite. For example, a set containing the numbers 1, 2, and 3 is a finite set, while the set of all natural numbers is an infinite set.

Representation of a Set
1. Listing Method
The elements of the set are written inside curly braces { }, separated by commas.
Example:
A set consisting of natural numbers from 1 to 5:
A = {1, 2, 3, 4, 5}
2. Venn Diagram
The elements of the set are placed inside a closed curve (usually a circle or an ellipse).
Example:
- Set A = {1, 2, 3}
- Set B = {3, 4, 5}
3. Set-Builder Notation
The set is defined by a property that its elements satisfy, written in the form:
S = {x | x satisfies a condition}

Set of Natural Numbers
The set of natural numbers, denoted by N, is defined as:
N = {1, 2, 3, 4, 5, …}
The three dots (ellipsis) indicate that the set continues indefinitely. Additionally, subsets of the natural numbers include:
- Set of even natural numbers: E = {2, 4, 6, 8, …}
- Set of odd natural numbers: O = {1, 3, 5, 7, …}
Empty Set
A set with no elements is called the empty set and is denoted as ∅ or {}. It plays a crucial role in set theory and logical operations.
For any set 𝐴:
∅ ⊆ 𝐴
This means that the empty set is a subset of all sets.
Cardinality of a Set
The cardinality of a set refers to the number of elements in that set. For example, if:
R = {2, 4, 6, 8, 10}
The cardinality of R is 5, as it contains 5 elements. Cardinality is denoted as |R| or n(R), which is read as “the cardinality of set R.”
Finite and Infinite Sets
Sets are classified as finite or infinite based on the number of elements they contain:
- Finite Set: A set containing a limited number of elements. For example, P = {p, q, r, s} is finite because it has four elements.
- Infinite Set: A set containing an unlimited number of elements. For example, S = {10, 20, 30, …} represents the infinite set of multiples of 10.
Equal and Equivalent Sets
In set theory, there are two important concepts: equal sets and equivalent sets:
- Equal Sets: Two sets A and B are equal if they contain exactly the same elements. This is written as A = B.
- Equivalent Sets: Two finite sets A and B are equivalent if they contain the same number of elements. In other words, |A| = |B}, but the sets may not contain the same elements.
Universal Set and Venn Diagrams
The universal set, denoted by U, is the set that contains all the elements under consideration. Anything outside of the universal set is considered its complement.
Venn Diagrams: These diagrams visually represent sets and their relationships, such as unions, intersections, and complements. The universal set is typically represented by a rectangle, and sets are shown as circles or other shapes within this rectangle.

Subsets ,Union and Intersection Operations
Subsets
A set is considered a subset of another set if it contains only elements that are present in the other set. If every element of set B is also an element of set A, then set BBB is a subset of set A, and it is denoted as:
B ⊆ AB

Intersection Operations
The intersection of two sets consists of all elements that are common to both sets. If A and B are two sets, the intersection of A and B is denoted as:
A∩B
- Common Elements: The intersection only includes elements that are present in both sets.
- Commutative Property: The order of intersection does not matter: A∩B = B∩A
- Associative Property: When performing the intersection of more than two sets, the grouping does not affect the result: (A∩B)∩C= A∩(B∩C)
- Idempotent Property: The intersection of a set with itself is the set itself: A∩A = A
- Intersection with Empty Set: The intersection of any set with the empty set is the empty set: A∩∅=∅

Union of Sets
The union of two or more sets is a new set that contains all the elements from both sets, but each element appears only once (it is unique). The union operation combines the elements of the sets.If A and B are two sets, the union is denoted as:
A∪B
Properties of Union:
- All Elements are Included: The union includes all the elements from both sets.
- Commutative Property: The order of union does not matter: A∪B=B∪A
- Associative Property: The grouping of sets in a union does not affect the result: (A∪B)∪C=A∪(B∪C)
- Union with the Empty Set: The union of any set with the empty set results in the original set:A∪∅=A
- Union of a Set with Itself: The union of a set with itself is the set itself: A∪A=A
Complement Operation
- The complement of a set refers to all the elements in the universal set that are not in the given set. In other words, it includes every element that does not belong to the specified set, but belongs to the universal set.
- If U is the universal set, and A is a subset of U, the complement of set A refers to all the elements in U that are not in A. It is denoted as:
A′
Difference Operation
- The difference between two sets A and B, denoted by A – B, is the set of all elements that are in A but not in B. It is written as:A – B = {x | x ∈ A and x ∉ B}

Cardinality of a Union
To compute the cardinality of the union of two sets A and B, we use the inclusion-exclusion principle:
n(A ∪ B) = n(A) + n(B) – n(A ∩ B)
This formula ensures that we do not double-count elements that are present in both sets.
Source
Sobecki, David, and Allan Bluman. Math in Our World, McGraw-Hill Education