Relations and Functions
Empty and universal relations, reflexive, symmetric and transitive relations, equivalence relations and classes, one-one, onto and bijective functions — NCERT Class 12 Maths Ch 1
Board Exam Tips
- →To prove a relation is an equivalence relation, check reflexive, symmetric and transitive one by one. Write each check as a separate one-line implication.
- →To show a property fails, one counter-example is enough. Name the exact pair or pairs that break it.
- →For one-one, start from f(x₁) = f(x₂) and arrive at x₁ = x₂. For onto, take any y in the co-domain, solve y = f(x) for x, and check that this x lies in the domain.
- →Always read the domain and co-domain. f(x) = 2x is onto from R to R but not from N to N.
- →For a function from a finite set to itself, one-one and onto go together. This is a quick check in MCQs.
- →To list equivalence classes, pick an element, collect everything related to it, then repeat with an element not yet used. The classes never overlap.
📐 Formulas(15)
Relation in a Set
Empty and Universal Relations
Reflexive Relation
Symmetric Relation
Transitive Relation
Equivalence Relation★ Board fav
Equivalence Class★ Board fav
Congruence Modulo n on Z
| Symbol | Meaning |
|---|---|
| Fixed positive integer (the modulus) | |
| Class of integers with remainder r on division by n |
One-one (Injective) Function★ Board fav
Onto (Surjective) Function★ Board fav
Bijective Function
Functions on a Finite Set
Number of Relations
| Symbol | Meaning |
|---|---|
| Number of elements in A | |
| Number of elements in B |
Number of Functions and One-one Functions
| Symbol | Meaning |
|---|---|
| Number of elements in the domain A | |
| Number of elements in the co-domain B |
Number of Bijections of a Set onto Itself
✏️ Solved Examples
Let A = {1, 2, 3} and R = {(1, 1), (2, 2), (3, 3), (1, 3), (3, 1), (2, 3)}. Determine whether R is reflexive, symmetric and transitive.
Reflexive: (1, 1), (2, 2) and (3, 3) are all in R.
Let A = {1, 2, 3, ..., 10} and R = {(a, b) : a − b is divisible by 3}. Show that R is an equivalence relation and find the equivalence class [1].
Reflexive: a − a = 0 is divisible by 3 for every a in A.
Show that f : R → R given by f(x) = 5x − 7 is bijective.
One-one: suppose two inputs have the same image.
Let A = R − {2} and B = R − {1}. Show that f : A → B given by f(x) = (x + 1)/(x − 2) is one-one and onto.
One-one: equate images and cross-multiply.
⚠️ Traps & Common Mistakes
- 1
Assuming a relation that is symmetric and transitive must also be reflexive
✓Reflexivity needs (a, a) for EVERY a in A. On A = {1, 2}, R = {(1, 1)} is symmetric and transitive but not reflexive, because (2, 2) is missing.
- 2
Calling a relation non-transitive when no chain (a, b), (b, c) exists
✓If there is no chain to test, the condition holds by default. R = {(1, 2)} on {1, 2, 3} is transitive.
- 3
Proving one-one by showing x₁ = x₂ ⇒ f(x₁) = f(x₂)
✓That direction is true for every function. One-one needs the reverse: f(x₁) = f(x₂) ⇒ x₁ = x₂.
- 4
Finding x = (y + 7)/5 and declaring f onto without checking the domain
✓The x you find must lie in the domain. For f : N → N, f(x) = 2x, solving y = 2x gives x = 1/2 when y = 1, which is not in N, so f is not onto.
- 5
Using f(−1) = f(1) to show that f is not onto
✓Two inputs sharing an image shows f is NOT ONE-ONE. To show f is not onto, name an element of the co-domain with no pre-image.
- 6
Ignoring the co-domain when the same formula appears with different sets
✓f(x) = x² is not onto from R to R, but it is onto from R to [0, ∞). Always state the co-domain you are testing against.
🎯 Practice Yourself
- Q1
If A has 2 elements and B has 3 elements, how many relations are there from A to B?
- Q2
Find the number of one-one functions from {a, b} to {1, 2, 3, 4}.
- Q3
R is the relation in N defined by (a, b) ∈ R if a divides b. Is R reflexive, symmetric, transitive?
- Q4
Is f : Z → Z, f(x) = 2x + 1 one-one? Is it onto?
- Q5
In A = {1, 2, 3, ..., 15}, R = {(a, b) : a − b is divisible by 5}. Find the equivalence class [2].
- Q6
How many bijective functions are there from a set with 4 elements onto itself?
📝 Notes
Relations and Functions
Chapter 1 sorts relations by three properties and sorts functions by whether they are one-one, onto or both. Most board questions here are proofs, so write each step clearly.
Testing the three properties
- Reflexive: look for (a, a) for every element. One missing pair is enough to fail.
- Symmetric: for every pair (a, b) in R, check that (b, a) is also in R.
- Transitive: list every chain (a, b), (b, c) and check that (a, c) is in R.
For relations defined by a rule on an infinite set (Z, R, lines, triangles), prove each property for general a, b, c. Do not test examples. For instance, "a − b divisible by n" works because a − c = (a − b) + (b − c).
Equivalence classes
An equivalence relation splits the set into classes that do not overlap and together cover the whole set. Congruence modulo n on Z gives exactly n classes, [0] to [n − 1]. When asked for "the set of all elements related to a", the answer is the class [a].
Proving one-one and onto
- One-one: assume f(x₁) = f(x₂), simplify, and reach x₁ = x₂.
- Onto: take an arbitrary y in the co-domain, solve y = f(x) for x, and confirm that x belongs to the domain and that f(x) = y.
To disprove, give a counter-example: two different inputs with the same image (not one-one), or a co-domain element that is never reached (not onto).
Counting shortcuts for MCQs
With |A| = m and |B| = n: there are 2^(mn) relations, n^m functions, and n!/(n − m)! one-one functions when m ≤ n. A set of n elements has n! bijections onto itself. For a finite set mapped to itself, one-one and onto are equivalent, so you only need to prove one of them.
🔗 Related chapters
📖 Related study tips
Deep-dive articles to complement this chapter