CBSE / NCERT ⏱️ 17 Min Read

Relations and Functions

Chapter 1: Relations and Functions (Class 12) — NCERT Step-by-Step Exercise Solutions

Master Class 12 Relations and Functions covering Reflexive, Symmetric, and Transitive properties, Equivalence Relations, Equivalence Classes, and One-One (Injective), Onto (Surjective), and Bijective functions.

Exercise 1.1: Equivalence Relations (Reflexive, Symmetric, Transitive)

Q1. Determine whether the relation R in the set A = {1, 2, 3, ..., 14} defined as R = {(x, y) : 3x - y = 0} is reflexive, symmetric and transitive.
Definitions Used:
• Reflexive: (a, a) ∈ R for every a ∈ A.
• Symmetric: If (a, b) ∈ R, then (b, a) ∈ R.
• Transitive: If (a, b) ∈ R and (b, c) ∈ R, then (a, c) ∈ R.
• Given condition: 3x - y = 0 ⇒ y = 3x.
Step-by-Step Solution:
Step 1: Write down elements of R by substituting x ∈ {1, 2, ..., 14}:
• x = 1 ⇒ y = 3(1) = 3 → (1, 3)
• x = 2 ⇒ y = 3(2) = 6 → (2, 6)
• x = 3 ⇒ y = 3(3) = 9 → (3, 9)
• x = 4 ⇒ y = 3(4) = 12 → (4, 12)
• For x ≥ 5, y ≥ 15 which does not belong to set A.
⇒ R = {(1, 3), (2, 6), (3, 9), (4, 12)}.

Step 2: Check Reflexivity:
For (1, 1): 3(1) - 1 = 2 ≠ 0. Thus (1, 1) ∉ R.
⇒ R is NOT reflexive.

Step 3: Check Symmetry:
(1, 3) ∈ R because 3(1) - 3 = 0.
However, for (3, 1): 3(3) - 1 = 8 ≠ 0 ⇒ (3, 1) ∉ R.
⇒ R is NOT symmetric.

Step 4: Check Transitivity:
We have (1, 3) ∈ R and (3, 9) ∈ R.
For transitivity, (1, 9) must be in R. But 3(1) - 9 = -6 ≠ 0 ⇒ (1, 9) ∉ R.
⇒ R is NOT transitive.
Conclusion: R is neither reflexive, nor symmetric, nor transitive.
Q2. Show that the relation R in the set Z of integers given by R = {(a, b) : 2 divides (a - b)} is an equivalence relation.
Equivalence Relation Definition:
A relation R is an equivalence relation if and only if it is simultaneously: (1) Reflexive, (2) Symmetric, and (3) Transitive.
Step-by-Step Solution:
1. Reflexive:
For any a ∈ Z, a - a = 0.
Since 0 is divisible by 2 (0 = 2 × 0), 2 divides (a - a).
⇒ (a, a) ∈ R for all a ∈ Z. Hence, R is reflexive.

2. Symmetric:
Let (a, b) ∈ R.
⇒ 2 divides (a - b) ⇒ a - b = 2k for some integer k.
Multiply by -1: b - a = -(a - b) = -2k = 2(-k).
Since -k is also an integer, 2 divides (b - a).
⇒ (b, a) ∈ R. Hence, R is symmetric.

3. Transitive:
Let (a, b) ∈ R and (b, c) ∈ R.
⇒ a - b = 2k1 and b - c = 2k2 for integers k1, k2.
Add both equations:
(a - b) + (b - c) = 2k1 + 2k2
a - c = 2(k1 + k2).
Since (k1 + k2) is an integer, 2 divides (a - c).
⇒ (a, c) ∈ R. Hence, R is transitive.

Since R is reflexive, symmetric, and transitive, R is an equivalence relation. Hence proved!

Exercise 1.2: Injective (One-One) and Surjective (Onto) Functions

Q1. Show that the function f: R* → R* defined by f(x) = 1/x is one-one and onto, where R* is the set of all non-zero real numbers.
Function Definitions:
• One-One (Injective): f(x1) = f(x2) ⇒ x1 = x2.
• Onto (Surjective): For every y in codomain, there exists x in domain such that f(x) = y.
• Bijective: Both one-one and onto.
Step-by-Step Solution:
1. Test for One-One (Injectivity):
Let x1, x2 ∈ R* such that f(x1) = f(x2).
1 / x1 = 1 / x2.
Cross multiplying: x1 = x2.
Therefore, f is one-one (injective).

2. Test for Onto (Surjectivity):
Let y ∈ R* (codomain). We seek x ∈ R* such that f(x) = y.
1 / x = y ⇒ x = 1 / y.
Since y ≠ 0, x = 1/y is well-defined and belongs to R*.
Evaluate: f(1/y) = 1 / (1/y) = y.
Thus every element y in codomain has a pre-image in domain.
Therefore, f is onto (surjective).

Since f is both one-one and onto, f is a bijective function.
Conclusion: f(x) = 1/x is one-one and onto (Bijective).
Q2. Check the injectivity and surjectivity of the function: f: N → N given by f(x) = x2.
Domain Context is Crucial:
Domain and Codomain are both Natural Numbers N = {1, 2, 3, 4, ...}.
Step-by-Step Solution:
1. Injectivity (One-One):
Let x1, x2 ∈ N such that f(x1) = f(x2).
x12 = x22.
Since natural numbers are strictly positive (no negative roots):
x1 = x2.
⇒ f is injective (one-one).

2. Surjectivity (Onto):
Consider y = 2 ∈ N (codomain).
If f(x) = y, then x2 = 2 ⇒ x = √2.
However, √2 is not a natural number (√2 ∉ N).
Therefore, 2 has no pre-image in the domain N.
⇒ f is NOT surjective (not onto).
Final Result: f is injective (one-one) but not surjective (onto).

⚡ Key Definitions to Remember:

  • Equivalence Relation: Reflexive, Symmetric, and Transitive.
  • Equivalence Class [a]: Set of all elements x such that (x, a) ∈ R. Equivalence classes are pairwise disjoint and their union is set A.
  • Injective (One-One): Different domain inputs have distinct outputs. Horizontal line test cuts graph at at most one point.
  • Surjective (Onto): Range of function equals Codomain.
← Previous Chapter
Probability
Next Chapter →
Vector Algebra