Week 1: Introduction to Sets, Relations, and Functions
856 words
4 min read
View
Week 1: Introduction to Sets, Relations, and Functions
Course: Jan 2026 - Mathematics I Difficulty: Foundational Focus: Abstract structures, basic mappings, and notation.
1. Sets and Set Theory
A Set is defined as a well-defined collection of distinct objects. These objects are called the elements or members of the set.
1.1 Representation of Sets
Sets can be represented in two primary ways:
- Roster (Tabular) Form: Listing all elements separated by commas, enclosed in curly braces. Example: V={a,e,i,o,u}.
- Set-Builder Form: Stating a property that all elements of the set must satisfy. Example: V={xβ£xΒ isΒ aΒ vowelΒ inΒ theΒ EnglishΒ alphabet}.
1.2 Types of Sets
- Empty Set (Null Set/Void Set): A set containing no elements. Denoted by β or {}.
- Singleton Set: A set containing exactly one element. Example: {5}.
- Finite and Infinite Sets: A set is finite if the process of counting its elements terminates. Otherwise, it is infinite. Example of infinite set: Natural numbers N={1,2,3,β¦}.
- Equal Sets: Two sets are equal if they have exactly the same elements.
- Subset: Set A is a subset of set B (AβB) if every element of A is also an element of B.
- Power Set: The set of all subsets of a set A is denoted by P(A). If A has n elements, P(A) has 2n elements.
1.3 Set Operations
- Union (AβͺB): The set of all elements which are in A, in B, or in both.
- Intersection (Aβ©B): The set of all elements which are common to both A and B.
- Difference (AβB): The set of elements which belong to A but not to B.
- Complement (Aβ² or Ac): With respect to a universal set U, it is the set of all elements in U that are not in A.
Conceptual Lab
Venn Logic Sandbox
Set ASet BComputation
A β© BElements common to both A and B.
Cardinality245
Tip
De Morganβs Laws are incredibly useful for simplifying complex set expressions:
- (AβͺB)β²=Aβ²β©Bβ²
- (Aβ©B)β²=Aβ²βͺBβ²
2. Cartesian Product and Relations
2.1 Cartesian Product
The Cartesian product of two non-empty sets A and B, denoted as AΓB, is the set of all ordered pairs (a,b) where aβA and bβB.
AΓB={(a,b)β£aβA,bβB}
2.2 Relations
A Relation R from a non-empty set A to a non-empty set B is a subset of the Cartesian product AΓB. The subset is derived by describing a relationship between the first element and the second element of the ordered pairs in AΓB.
- Domain: The set of all first elements of the ordered pairs in a relation R.
- Range: The set of all second elements of the ordered pairs in a relation R.
- Codomain: The entire set B is called the codomain of the relation R. Note that Range β Codomain.
2.3 Types of Relations (on a single set A)
- Reflexive: If (a,a)βR for every aβA.
- Symmetric: If (a,b)βR implies that (b,a)βR for all a,bβA.
- Transitive: If (a,b)βR and (b,c)βR implies that (a,c)βR for all a,b,cβA.
A relation that is reflexive, symmetric, and transitive is known as an
Equivalence Relation.
3. Functions
A Function f from a set A to a set B is a specific type of relation that assigns to each element x in set A exactly one element y in set B. We write this as f:AβB.
- The element y is called the image of x under f, and x is called the pre-image of y.
- Domain: The set A. (Every element in A must be mapped).
- Codomain: The set B.
- Range: The set of all images of elements of A. (Range β Codomain).
3.1 Classifications of Functions
- Injective (One-to-One): Distinct elements of A have distinct images in B. That is, if f(x1β)=f(x2β), then x1β=x2β.
- Surjective (Onto): Every element of B is the image of some element of A. That is, the Range is equal to the Codomain.
- Bijective (One-to-One and Onto): A function that is both injective and surjective. Bijective functions are uniquely invertible.
3.2 Verification
- Vertical Line Test: A curve drawn in a plane represents a function if and only if no vertical line intersects the curve more than once.
- Horizontal Line Test: Used to determine if a function is injective. If any horizontal line intersects the graph of the function more than once, the function is not one-to-one.
π§ Navigation
- π Textbook Notes: Week 1 Notes
- π Assignment: Week 1 Assignment
- β‘οΈ Next Week: Week 2 Notes