MTH111 Lec1 Set Theory
MTH111 Lec1 Set Theory
Overview
What is a Set?
Set Membership
Example:
If A = {1, 2, 3}, then:
2∈A
4∈
/A
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
2 5∈A
3 9∈
/A
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example
Solution:
1 4 ∈ A: True
2 5 ∈ A: False
3 9∈
/ A: True
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Definition:
The roster or tabular form lists all elements of the set,
separated by commas and enclosed in curly braces.
Example:
Let A be the set of natural numbers less than 5.
A = {1, 2, 3, 4}
Note:
This form is useful for finite sets or sets where all elements are
known.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Definition:
Set builder notation describes the elements of a set by a
property they satisfy, rather than listing them explicitly.
Example:
Let A be the set of all integers greater than 0 and less than 5.
A = {x|x ∈ Z, 0 < x < 5}
Note:
This form is useful for describing large sets or sets with an
easily defined property.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Venn Diagrams
Definition:
Venn Diagrams are used to represent sets visually.
Each set is represented by a circle, and the relationships
between sets (e.g., union, intersection) are represented by the
overlap or separation of these circles.
Example:
Let A = {1, 2, 3} and B = {3, 4, 5}.
In the Venn diagram, there is an overlap between A and B at
element 3.
Note:
Venn Diagrams are particularly useful for representing set
operations like union and intersection.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Venn Diagrams
Worked Example 1
Example:
Let A be the set of all even numbers between 1 and 10.
Represent A using:
Roster Form;
Venn Diagram.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example 1
Example:
Let A be the set of all even numbers between 1 and 10.
Represent A using:
Roster Form: A = {2, 4, 6, 8, 10}
Venn Diagram:
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Classwork
Take-Home Assignment
Types of Sets
What is a Subset?
Example:
A = {1, 2}, B = {1, 2, 3, 4}
In this case, A ⊆ B because all elements of A (i.e., 1 and 2) are in
B.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Types of Subsets
Proper Subset:
A set A is a proper subset of B if A ⊆ B and A ̸= B.
Denoted as A ⊂ B.
Example: If A = {1, 2} and B = {1, 2, 3}, then A ⊂ B.
Improper Subset:
A set A is an improper subset of B if A = B or A is the empty
set (∅).
Example: A = B = {1, 2, 3}, then A ⊆ B (improper subset).
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example
Worked Example
{}, {a}, {b}, {c}, {a, b}, {a, c}, {b, c}, {a, b, c}
Class Work
Assignment
Homework:
1 List all the subsets of B = {x, y , z, w }.
2 How many proper subsets does the set B have?
3 For a set C with 5 elements, how many subsets and proper
subsets does C have?
Submission: Next class.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Definition of Superset
Superset:
A set A is said to be a superset of a set B if every element of
B is also an element of A.
Denoted as: A ⊇ B.
If A ⊇ B, this implies that B ⊆ A, meaning B is a subset of A.
If A ⊃ B and A ̸= B, then A is a proper superset of B.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example
Example:
Let A = {1, 2, 3, 4} and B = {2, 3}.
Since every element of B is contained in A, we say that A is a
superset of B.
Thus, A ⊇ B.
Verification:
Check if all elements of B are in A:
Worked Example
Example:
Let A = {a, b}, B = {a, b, c, d}, and C = {a, b}.
Check whether the following statements are true:
1 A⊆B
2 A⊂B
3 B⊇C
4 A=C
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example
Example:
Let A = {a, b}, B = {a, b, c, d}, and C = {a, b}.
Check whether the following statements are true:
1 A⊆B
2 A⊂B
3 B⊇C
4 A=C
Solution:
A ⊆ B is true since all elements of A are in B.
A ⊂ B is true because A ̸= B but every element of A is in B.
B ⊇ C is true because C ⊆ B.
A = C is true because A and C have the same elements.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example 2
Example:
Let P = {x ∈ N : x ≤ 4} and Q = {1, 2, 3, 4, 5}.
Determine whether P ⊂ Q and whether P ⊆ Q.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example 2
Example:
Let P = {x ∈ N : x ≤ 4} and Q = {1, 2, 3, 4, 5}.
Determine whether P ⊂ Q and whether P ⊆ Q.
Solution:
P = {1, 2, 3, 4} and Q = {1, 2, 3, 4, 5}.
P ⊂ Q is true because P ̸= Q, but all elements of P are in Q.
P ⊆ Q is true because every element of P is in Q.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Classwork
Take-Home Assignment
Assignment:
1 Let S = {5, 10, 15, 20} and T = {10, 15, 20, 25}. Is S ⊆ T ?
Why or why not?
2 Given A = {1, 2, 3, 4, 5} and B = {3, 4, 5}, find if A ⊆ B or
B ⊆ A.
3 Find three real-life examples where proper subsets and
supersets can be applied.
Submit by next class.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Power Set
Example:
If A = {1, 2}, then P(A) = {∅, {1}, {2}, {1, 2}}
Worked Example
Worked Example
Classwork
Given the set C = {x, y , z}, find its power set P(C ).
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Union of Sets
Union:
The union of two sets contains all elements from both sets
without duplication.
Notation: A ∪ B = {x : x ∈ A or x ∈ B} or
A ∪ B = {x|x ∈ A or x ∈ B}
Example:
Let A = {1, 2, 3} and B = {3, 4, 5}.
A ∪ B = {1, 2, 3, 4, 5}
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Intersection of Sets
Intersection:
The intersection of two sets contains only the elements
common to both sets.
Set Notation: A ∩ B = {x : x ∈ A and x ∈ B} or
A ∩ B = {x|x ∈ A and x ∈ B}
Example:
Let A = {1, 2, 3} and B = {3, 4, 5}.
A ∩ B = {3}
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Difference of Sets
Difference:
Set Notation: A − B = A \ B = {x : x ∈ A and x ∈
/ B} or
A − B = A \ B = {x|x ∈ A and x ∈
/ B}
The difference of two sets contains elements in A but not in B.
Example:
Let A = {1, 2, 3} and B = {3, 4, 5}.
A − B = {1, 2}
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example 1
Example:
Let A = {a, b, c}, B = {b, c, d}, and U = {a, b, c, d, e}.
Find A ∪ B, A ∩ B, A − B, and A′ .
Solution:
A ∪ B = {a, b, c, d}
A ∩ B = {b, c}
A − B = {a}
A′ = {d, e}
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Further Examples
Further Examples
Set Complement
Worked Example 1
Example:
Let U = {1, 2, 3, 4, 5, 6, 7, 8} be the universal set, and
A = {2, 4, 6}.
Find the complement of set A.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example 1
Example:
Let U = {1, 2, 3, 4, 5, 6, 7, 8} be the universal set, and
A = {2, 4, 6}.
Find the complement of set A.
Solution:
A′ = U − A = {1, 3, 5, 7, 8}
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example 2
Example:
Let U = {a, b, c, d, e, f }, A = {a, b, c}, and B = {c, d, e}.
Verify De Morgan’s law for the complement of the union of
sets A and B.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example 2
Example:
Let U = {a, b, c, d, e, f }, A = {a, b, c}, and B = {c, d, e}.
Verify De Morgan’s law for the complement of the union of
sets A and B.
Solution:
A ∪ B = {a, b, c, d, e}
(A ∪ B)′ = U − (A ∪ B) = {f }
A′ = {d, e, f }, B ′ = {a, b, f }
A′ ∩ B ′ = {f }
Thus, (A ∪ B)′ = A′ ∩ B ′ , confirming De Morgan’s law.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Classwork
Take-Home Assignment
Take-Home Assignment
Worked Example 1
Example 1:
Let A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. Find the symmetric
difference A∆B.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example 1
Example 1:
Let A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. Find the symmetric
difference A∆B.
Solution:
A \ B = {1, 2} (elements in A but not in B).
B \ A = {5, 6} (elements in B but not in A).
Therefore, A∆B = {1, 2, 5, 6}.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example 2
Example 2:
Let A = {a, b, c} and B = {b, c, d, e}. Find A∆B.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Worked Example 2
Example 2:
Let A = {a, b, c} and B = {b, c, d, e}. Find A∆B.
Solution:
A \ B = {a}.
B \ A = {d, e}.
Therefore, A∆B = {a, d, e}.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Classwork
Classwork:
Let A = {2, 4, 6, 8} and B = {4, 8, 12}. Find the symmetric
difference A∆B.
Instructions: Solve this problem in your notebooks and be ready
to discuss the solution in class.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Take-Home Assignment
Assignment:
Let C = {1, 3, 5, 7, 9} and D = {3, 6, 9, 12}. Find:
1 C ∆D
2 D∆C
3 Verify the commutative property: Is C ∆D = D∆C ?
Due Date: Submit the assignment in the next class.
Introduction to Subsets Types of Subsets Worked Example Worked Example Class Work Assignment
Venn Diagrams
Venn Diagrams
Example:
Intersection: Two overlapping circles, with only the
intersection shaded.
Venn Diagrams
Example:
Complement: A circle inside a rectangle (universal set), with
the outside of the circle shaded.
Summary
Take-Home Assignment
Create your own Venn diagram with two sets, and identify the
union, intersection, and differences.
Find the power set for the set D = {1, 2, 3, 4}.