Fundamentholfundamenthol

Relations

MathsSets, Relations And Number SystemFor JEE aspirants

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.

Key Formulas - Quick Reference
  1. If and , then and total number of relations from to is
  2. Number of relations on a set with :
  3. Domain of : set of first coordinates; Range of : set of second coordinates
  4. Inverse relation: , and
  5. Composition:
  6. Reversal rule:
  7. Reflexive: ; Symmetric: ; Transitive:
  8. 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 .

Example: Let , . Define by iff , with , . Then

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
Example: Let , , . Then , , and .

5. Composition of Relations

Let and . The composition is defined by:

Example: , , .
, .
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.

Example: On :
is not reflexive since .
is reflexive.

Symmetric Relation

is symmetric if . Equivalently, is symmetric iff .

Example: On , is symmetric.

Anti-symmetric Relation

is anti-symmetric if and . So if , at most one of and can hold.

Example: On , the divides relation iff is anti-symmetric, because and imply (for positive integers).

Transitive Relation

is transitive if and . Transitivity fails only when there exist with , but .

Example: On : , , are transitive. But is not, since and , but .
Note: Every identity relation is reflexive, symmetric, and transitive, but not every reflexive relation is an identity relation.

8. Equivalence Relation

A relation on a set is an equivalence relation if it is:

  1. Reflexive: for all
  2. Symmetric:
  3. 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

Solved Example 1
is the set of natural numbers. A relation is defined on by . Prove that is an equivalence relation.
Solution:

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 .

Solved Example 2
A relation on the set of complex numbers is defined by is real. Show that is an equivalence relation.
Solution:

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.

Solved Example 3
Find all congruent solutions of .
Solution:

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

Watch out
  • 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.