Relations
A relation from a set to a set is any subset of the Cartesian product . Relations extend the idea of pairing elements and lead directly to functions in JEE mathematics. This page covers the definition of a relation, its domain and range, the total number of relations, inverse and composition of relations, special relations in a set (identity, universal, void), the four defining properties (reflexive, symmetric, anti-symmetric, transitive), equivalence relations with equivalence classes, and congruence modulo - all with worked JEE-style examples.
- If and , then and total number of relations from to is
- Number of relations on a set with :
- Domain of : set of first coordinates; Range of : set of second coordinates
- Inverse relation: , and
- Composition:
- Reversal rule:
- Reflexive: ; Symmetric: ; Transitive:
- Equivalence relation: reflexive + symmetric + transitive; partitions into disjoint equivalence classes
1. What is a Relation?
Let and be two non-empty sets. Every subset of defines a relation from to , and every relation from to is a subset of .
If and , we say is related to under and write . If , we write .
2. Domain and Range of a Relation
Let . Then:
- Domain of = . It is the set of all first coordinates of the ordered pairs in .
- Range of = . It is the set of all second coordinates.
Clearly and .
3. Total Number of Distinct Relations from A to B
If and , then . A relation is any subset of , so the total number of relations is the number of subsets of :
In particular, if , the number of relations on is .
4. Inverse Relation
Let . The inverse relation is defined by
Key properties:
- and
5. Composition of Relations
Let and . The composition is defined by:
, .
Then .
Be careful: starts with ; starts with . In general . The reversal rule holds: .
6. Relations in a Set
A relation in a set is a relation from to , i.e. a subset of .
Identity Relation
is an identity relation if iff . Every element is related only to itself: .
Universal Relation
If , then is called the universal relation on . Every element is related to every element.
Void (Empty) Relation
The empty subset of is the void relation. No element is related to any element.
7. Properties of Relations
Reflexive Relation
is reflexive if for every . If there is even one with , then is not reflexive.
is not reflexive since .
is reflexive.
Symmetric Relation
is symmetric if . Equivalently, is symmetric iff .
Anti-symmetric Relation
is anti-symmetric if and . So if , at most one of and can hold.
Transitive Relation
is transitive if and . Transitivity fails only when there exist with , but .
8. Equivalence Relation
A relation on a set is an equivalence relation if it is:
- Reflexive: for all
- Symmetric:
- Transitive:
The equivalence relation is usually denoted by .
Equivalence Classes
Let be an equivalence relation on (with ) and let . The equivalence class of , denoted or , is the set of all elements of related to :
Basic facts about equivalence classes:
- Any two equivalence classes are either disjoint or identical
Thus an equivalence relation partitions the set into disjoint equivalence classes.
A Standard Example - Congruence Modulo n
Fix a positive integer . Define iff . This is an equivalence relation on . Taking :
There are exactly 5 distinct equivalence classes: .
9. Congruences
Let be a positive integer. Two integers and are said to be congruent modulo if is divisible by , i.e. for some integer . We write .
The relation "congruent modulo " is an equivalence relation on .
Solved Examples
Reflexive: , which is true. So is reflexive.
Symmetric: If , then , i.e. , i.e. . So is symmetric.
Transitive: Suppose and . Then and . Adding: , so , i.e. . So is transitive.
Hence is an equivalence relation on .
Reflexive: , which is real. So for all (with ).
Symmetric: If is real, so is , which equals . Hence .
Transitive: Let for . Writing in the form (real part) (imag part) and setting the imaginary part to zero gives
Similarly gives . Combining, , so .
Hence is an equivalence relation.
We want for some non-negative integer , so .
Rewriting: , valid when , i.e. when , i.e. .
The greatest common divisor of and is , so modulo there are distinct solutions. Taking gives ; taking gives .
Solutions: .
Common Mistakes to Avoid
- Confusing symmetric with anti-symmetric. Symmetric means ; anti-symmetric means and . The identity relation is both.
- Assuming that a relation with for some is reflexive. Reflexivity requires for every .
- Applying composition in the wrong order. starts with : first apply , then .
- Forgetting to check all three properties for an equivalence relation. Missing even one (reflexive, symmetric, transitive) invalidates it.
- Treating equivalence classes as ordered. whenever ; the label chosen doesn't matter.
- Counting relations from to as or . The correct count is - the number of subsets of .
Ready to master Sets, Relations And Number System?
Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.