Neural Sync Active
Week 1: Introduction to Sets, Relations, and Functions
Registry Synced
Week 1: Introduction to Sets, Relations, and Functions
856 words
4 min read
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