The Foundation of All Higher Maths
Relations and functions form the language that the rest of mathematics is built on. A relation connects elements of two sets. A function is a special relation where every input has exactly one output. Understanding the types of relations (reflexive, symmetric, transitive) and functions (one-one, onto, bijective) is essential for Class 11-12 and competitive exams.
This chapter appears in CBSE Class 12 boards (4-6 marks) and JEE Main (1 question on average). The questions are mostly conceptual — checking properties, finding compositions, verifying invertibility.
graph TD
A[Relation on Set A] --> B{Check properties}
B --> C{Reflexive?}
C -->|aRa for all a| D[Yes]
C -->|Not for some a| E[No]
B --> F{Symmetric?}
F -->|aRb implies bRa| G[Yes]
F -->|Not always| H[No]
B --> I{Transitive?}
I -->|aRb and bRc implies aRc| J[Yes]
I -->|Fails somewhere| K[No]
D --> L{All three?}
G --> L
J --> L
L -->|Yes| M[Equivalence Relation]
L -->|No| N[Not equivalence]
Key Terms & Definitions
Relation — A subset of the Cartesian product . If , we write .
Function — A relation from to where every element of has exactly one image in .
Domain — The set of all valid inputs.
Codomain — The set into which the function maps (declared set).
Range — The actual set of outputs (subset of codomain).
Types of Relations
| Property | Condition | Example on {1,2,3} |
|---|---|---|
| Reflexive | for all | {(1,1),(2,2),(3,3),...} |
| Symmetric | If (1,2) in R, then (2,1) must be too | |
| Transitive | (1,2) and (2,3) imply (1,3) | |
| Equivalence | All three above | Partitions the set into classes |
The empty relation on a non-empty set is symmetric and transitive (vacuously true — there are no pairs to violate the conditions) but NOT reflexive (since is not in the empty relation). This catches many students off guard.
Types of Functions
| Type | Condition | Also Called |
|---|---|---|
| One-one (Injective) | No two inputs share an output | |
| Onto (Surjective) | Range = Codomain | Every element of codomain is hit |
| Bijective | One-one AND onto | Invertible |
Composition: . Apply first, then . Note: in general.
Inverse: exists only if is bijective. where .
Solved Examples — Easy to Hard
Example 1 (Easy — CBSE)
Is the relation on an equivalence relation?
Reflexive: . Yes.
Symmetric: and . Check all pairs — yes.
Transitive: and , so must be in — it is. All chains check out. Yes.
All three hold. is an equivalence relation.
Example 2 (Medium — CBSE Board)
Show that given by is bijective. Find .
One-one: . Yes.
Onto: For any , take . Then . Every real is hit.
So is bijective. .
Example 3 (Medium — JEE Main)
If and , find and . Are they equal?
(for )
No, they’re not equal. , which equals only when .
Example 4 (Hard — JEE Main)
Let be defined by . Is one-one? Is onto?
One-one: and . Two different inputs give the same output. Not one-one.
Onto: For any , we can find (even) such that . So every natural number is in the range. Onto.
Exam-Specific Tips
CBSE Board: 4-6 marks. Typical questions: verify equivalence relation, check one-one/onto for a given function, find the inverse of a bijection, find . Write every step — examiners look for explicit verification of each property.
JEE Main: Questions often involve piecewise functions where you must determine injectivity/surjectivity. Also tested: number of onto functions from a set with elements to a set with elements (using inclusion-exclusion).
Common Mistakes to Avoid
Mistake 1 — Confusing codomain with range. The codomain is the declared target set. The range is the actual set of outputs. A function is onto only when range = codomain.
Mistake 2 — Assuming . Composition is generally not commutative. Always apply in the correct order.
Mistake 3 — Declaring inverse without checking bijectivity. exists only if is both one-one and onto. If either fails, the inverse doesn’t exist as a function.
Mistake 4 — Checking transitivity incompletely. You must check ALL chains and in , not just a few. Missing one counterexample means incorrectly declaring transitivity.
Mistake 5 — Confusing relation with function. A relation can map one input to multiple outputs. A function cannot. Always verify the “unique output” condition.
Practice Questions
Q1. Is on an equivalence relation?
Reflexive: , yes. Symmetric: but , no. Not an equivalence relation (fails symmetry).
Q2. If and , show (identity).
. . Both give identity.
Q3. Show that given by is bijective.
One-one: . Onto: for any , exists in . Bijective.
Q4. Let on {1,2,3} be {(1,2), (2,3)}. Is it transitive?
and are in , but is not. Not transitive.
Q5. Is given by one-one? onto?
Not one-one: . Not onto: no gives . Neither.
Q6. Find for where .
Let . Then , so , giving . So . Remarkably, (self-inverse).
Q7. How many functions from {1,2,3} to {a,b} are onto?
Total functions . Functions that miss : all map to , that’s 1. Functions that miss : all map to , that’s 1. By inclusion-exclusion: onto .
Q8. If and , find .
. .
FAQs
What is the difference between a relation and a function?
A relation is any set of ordered pairs. A function is a special relation where each input has exactly one output. Every function is a relation, but not every relation is a function.
What is an equivalence class?
If is an equivalence relation on , the equivalence class of element is the set of all elements related to : . These classes partition into non-overlapping groups.
Can a function from a finite set be one-one but not onto?
Yes, if the codomain has more elements than the domain. From {1,2} to {a,b,c}, is one-one but not onto (c is not hit).
What is the composition of three functions?
. Apply the innermost function first. Composition is associative: .
Advanced Concepts
Number of functions between finite sets
If and :
| Type | Count |
|---|---|
| Total functions | |
| One-one (injective) | (only if ) |
| Onto (surjective) | (inclusion-exclusion) |
| Bijective | (only if ) |
JEE Main frequently asks: “Find the number of onto functions from a set of 4 elements to a set of 2 elements.” Total = . Non-onto (missing at least one element): . Onto = .
Equivalence classes and partitions
An equivalence relation on set partitions into disjoint equivalence classes. The number of distinct equivalence classes equals the number of blocks in the partition.
Example: On , the relation “same remainder when divided by 3” gives three equivalence classes: , , .
Binary operations (CBSE add-on)
A binary operation on set is a function from to . Properties to check: closure, commutativity (), associativity (), identity element, inverse element.
Additional Practice Questions
Q9. How many equivalence relations are possible on ?
Each equivalence relation corresponds to a partition of the set. Partitions of : , , , , . Total: 5 equivalence relations. (This is the Bell number .)
Q10. Is defined by on commutative? Associative? Find identity.
Commutative: . Yes. Identity: . For all , . Check: . Identity element = 0. Associative: . . Equal. Yes, associative.
Why is bijectivity needed for inverse?
One-one ensures each output has at most one pre-image (so gives a unique value). Onto ensures each element of the codomain has at least one pre-image (so is defined everywhere on the codomain).