✅ UNIT 3 — SET THEORY, RELATIONS & FUNCTIONS
A. Relations
Definition
A relation R from A to B is a subset of A×B.
Representation
Operations
-
Composition (R ∘ S)
-
Inverse relation (R⁻¹)
Types of Relations
-
Reflexive: (a,a) ∈ R for all a
-
Symmetric: (a,b) ⇒ (b,a)
-
Transitive: (a,b) & (b,c) ⇒ (a,c)
Counting Relations
If A has n elements:
Total possible relations =
Closure of Relations
-
Reflexive closure = R ∪ {(a,a)}
-
Symmetric closure = R ∪ R⁻¹
-
Transitive closure = Add pairs until transitivity satisfied (Warshall)
Equivalence Relation
When R is:
-
Reflexive
-
Symmetric
-
Transitive
Then A is partitioned into equivalence classes.
Partial Order Relation
R is:
-
Reflexive
-
Anti-symmetric
-
Transitive
Forms a poset.
Power of a Relation
Rⁿ = R composed with itself n times.
Functions
Definition
A function f: A → B assigns each element in A to exactly one element in B.
Terms
Types
-
One-one (Injective)
-
Onto (Surjective)
-
Constant
-
Identity function
Counting Functions
From set A (m elements) to B (n elements):
Inverse Function
Exists only for bijective functions.
Composition
If f: A→B and g: B→C
Then g∘f: A→C.
Group Theory (Basics)
A set G with binary operation * is a group if:
-
Closure
-
Associativity
-
Identity element
-
Inverse exists for all elements
If operation is commutative → Abelian group.
No comments:
Post a Comment