Relations and Functions Class 11 Solutions | NCERT Maths Chapter 2 Skip to content
🪔 शुभ नवरात्रि! Navratri Mega Sale Up to 34% off every pack + extra 15% off on 2 or more Shop the sale
Smart Notes for Every Exam · instant PDF download after payment +91 88240 98091
Home › NCERT Solutions › Class 11 Maths › Chapter 2
NCERT Solutions · Class 11 Maths · Chapter 2

Chapter 2: Relations and Functions (Sets and Functions)

Step-by-step solutions to all exercises of Chapter 2, Relations and Functions (NCERT Class 11 Maths, 2026-27): Cartesian products, relations (domain, codomain, range), functions, and algebra of real functions. All 36 questions are answered, with the key answer highlighted.

NCERT textbook Chapter 2 (PDF)

Exam revision? Chapter 2 notes with key points, diagrams and practice questions: see the free sample · ₹199 for all 14 chapters

Free NCERT solutions by Notes Bazar · www.notesbazar.in/ncert-solutions/class-11-maths/chapter-2-relations-and-functions

; number of relations from A to B is . A relation is a function if every element of A has exactly one image. Domain = allowed inputs; range = set of outputs.

Exercise 2.1

1
If , find x and y.
Solution

Equal ordered pairs have equal components: ⇒ ⇒ x = 2; ⇒ y = 1.

x = 2; y = 1

2
If A has 3 elements and B = {3, 4, 5}, find the number of elements in A × B.
Solution

n(A × B) = n(A) × n(B) = 3 × 3 = 9.

9

3
If G = {7, 8} and H = {5, 4, 2}, find G × H and H × G.
Solution

G × H = {(7, 5), (7, 4), (7, 2), (8, 5), (8, 4), (8, 2)}; H × G = {(5, 7), (5, 8), (4, 7), (4, 8), (2, 7), (2, 8)}.

{(7, 5), (7, 4), (7, 2), (8, 5), (8, 4), (8, 2)}; {(5, 7), (5, 8), (4, 7), (4, 8), (2, 7), (2, 8)}

4
True or false? Correct the false ones. (i) If P = {m, n} and Q = {n, m}, then P × Q = {(m, n), (n, m)}. (ii) If A and B are non-empty, A × B is a non-empty set of ordered pairs (x, y) with x ∈ A, y ∈ B. (iii) If A = {1, 2}, B = {3, 4}, then A × (B ∩ φ) = φ.
Solution

(i) False: P × Q = {(m, n), (m, m), (n, n), (n, m)} (four pairs). (ii) True. (iii) B ∩ φ = φ, and A × φ = φ: True.

(i) False; (ii) True; (iii) True

5
If A = {−1, 1}, find A × A × A.
Solution

{(−1, −1, −1), (−1, −1, 1), (−1, 1, −1), (−1, 1, 1), (1, −1, −1), (1, −1, 1), (1, 1, −1), (1, 1, 1)} (2³ = 8 triplets).

{(−1, −1, −1), (−1, −1, 1), (−1, 1, −1), (−1, 1, 1), (1, −1, −1), (1, −1, 1), (1, 1, −1), (1, 1, 1)}

6
If A × B = {(a, x), (a, y), (b, x), (b, y)}, find A and B.
Solution

First components: A = {a, b}; second components: B = {x, y}.

A = {a, b}; B = {x, y}

7
A = {1, 2}, B = {1, 2, 3, 4}, C = {5, 6}, D = {5, 6, 7, 8}. Verify (i) A × (B ∩ C) = (A × B) ∩ (A × C) (ii) A × C is a subset of B × D.
Solution

(i) B ∩ C = φ, so A × (B ∩ C) = φ. A × B = {(1, 1), (1, 2), (1, 3), (1, 4), (2, 1), (2, 2), (2, 3), (2, 4)}; A × C = {(1, 5), (1, 6), (2, 5), (2, 6)}: no common pair, so (A × B) ∩ (A × C) = φ: equal. (ii) A × C = {(1, 5), (1, 6), (2, 5), (2, 6)}; since 1, 2 ∈ B and 5, 6 ∈ D, each of these pairs is in B × D: A × C ⊂ B × D.

equal; A × C ⊂ B × D

8
A = {1, 2}, B = {3, 4}. Write A × B. How many subsets will A × B have? List them.
Solution

A × B = {(1, 3), (1, 4), (2, 3), (2, 4)}: 4 elements, so 2⁴ = 16 subsets: φ; {(1, 3)}, {(1, 4)}, {(2, 3)}, {(2, 4)}; {(1, 3), (1, 4)}, {(1, 3), (2, 3)}, {(1, 3), (2, 4)}, {(1, 4), (2, 3)}, {(1, 4), (2, 4)}, {(2, 3), (2, 4)}; {(1, 3), (1, 4), (2, 3)}, {(1, 3), (1, 4), (2, 4)}, {(1, 3), (2, 3), (2, 4)}, {(1, 4), (2, 3), (2, 4)}; and A × B itself.

2⁴ = 16 subsets

9
n(A) = 3, n(B) = 2. If (x, 1), (y, 2), (z, 1) are in A × B, find A and B (x, y, z distinct).
Solution

x, y, z are distinct first elements and A has 3 elements: A = {x, y, z}. 1 and 2 are second elements and B has 2: B = {1, 2}.

A = {x, y, z}; B = {1, 2}

10
A × A has 9 elements, among which are (−1, 0) and (0, 1). Find A and the remaining elements of A × A.
Solution

n(A)² = 9 ⇒ n(A) = 3; −1, 0, 1 appear as components, so A = {−1, 0, 1}. The other seven elements: (−1, −1), (−1, 1), (0, −1), (0, 0), (1, −1), (1, 0), (1, 1).

A = {−1, 0, 1}; (−1, −1), (−1, 1), (0, −1), (0, 0), (1, −1), (1, 0), (1, 1)

Exercise 2.2

1
A = {1, 2, 3, …, 14}; R = {(x, y) : 3x − y = 0, x, y ∈ A}. Write its domain, codomain and range.
Solution

y = 3x ≤ 14 ⇒ x ≤ 4: R = {(1, 3), (2, 6), (3, 9), (4, 12)}. Domain {1, 2, 3, 4}; codomain A; range {3, 6, 9, 12}.

{1, 2, 3, 4}; A; {3, 6, 9, 12}

2
R = {(x, y) : y = x + 5, x a natural number less than 4; x, y ∈ N}. Write it in roster form; give its domain and range.
Solution

x = 1, 2, 3: R = {(1, 6), (2, 7), (3, 8)}; domain {1, 2, 3}, range {6, 7, 8}.

R = {(1, 6), (2, 7), (3, 8)}; {1, 2, 3}; {6, 7, 8}

3
A = {1, 2, 3, 5}, B = {4, 6, 9}; R = {(x, y) : the difference between x and y is odd}. Write R in roster form.
Solution

Check each pair: |x − y| odd when one is odd and the other even. R = {(1, 4), (1, 6), (2, 9), (3, 4), (3, 6), (5, 4), (5, 6)}.

R = {(1, 4), (1, 6), (2, 9), (3, 4), (3, 6), (5, 4), (5, 6)}

4
Fig 2.7 shows P = {5, 6, 7} → Q = {3, 4, 5} with 5 → 3, 6 → 4, 7 → 5. Write the relation (i) in set-builder form (ii) in roster form; its domain and range.
Solution

(i) R = {(x, y) : y = x − 2, x ∈ P} (or x ∈ P, y ∈ Q). (ii) {(5, 3), (6, 4), (7, 5)}. Domain {5, 6, 7}, range {3, 4, 5}.

R = {(x, y) : y = x − 2, x ∈ P}; {(5, 3), (6, 4), (7, 5)}; {5, 6, 7}; {3, 4, 5}

5
A = {1, 2, 3, 4, 6}; R = {(a, b) : a, b ∈ A, b exactly divisible by a}. (i) Write R in roster form (ii) its domain (iii) its range.
Solution

(i) {(1, 1), (1, 2), (1, 3), (1, 4), (1, 6), (2, 2), (2, 4), (2, 6), (3, 3), (3, 6), (4, 4), (6, 6)}. (ii) {1, 2, 3, 4, 6}. (iii) {1, 2, 3, 4, 6}.

(i) {(1, 1), (1, 2), (1, 3), (1, 4), (1, 6), (2, 2), (2, 4), (2, 6), (3, 3), (3, 6), (4, 4), (6, 6)}; (ii) {1, 2, 3, 4, 6}; (iii) {1, 2, 3, 4, 6}

6
Determine the domain and range of R = {(x, x + 5) : x ∈ {0, 1, 2, 3, 4, 5}}.
Solution

R = {(0, 5), (1, 6), (2, 7), (3, 8), (4, 9), (5, 10)}: domain {0, 1, 2, 3, 4, 5}, range {5, 6, 7, 8, 9, 10}.

{0, 1, 2, 3, 4, 5}; {5, 6, 7, 8, 9, 10}

7
Write R = {(x, x³) : x a prime less than 10} in roster form.
Solution

Primes 2, 3, 5, 7: {(2, 8), (3, 27), (5, 125), (7, 343)}.

{(2, 8), (3, 27), (5, 125), (7, 343)}

8
A = {x, y, z}, B = {1, 2}. Find the number of relations from A to B.
Solution

n(A × B) = 3 × 2 = 6, so the number of relations = 2⁶ = 64.

2⁶ = 64

9
R on Z: R = {(a, b) : a, b ∈ Z, a − b is an integer}. Find its domain and range.
Solution

For any integers a, b, a − b is an integer, so every pair is in R (R = Z × Z): domain Z, range Z.

Z

Exercise 2.3

1
Which are functions? If so, give domain and range. (i) {(2, 1), (5, 1), (8, 1), (11, 1), (14, 1), (17, 1)} (ii) {(2, 1), (4, 2), (6, 3), (8, 4), (10, 5), (12, 6), (14, 7)} (iii) {(1, 3), (1, 5), (2, 5)}.
Solution

(i) Each first element appears once: function; domain {2, 5, 8, 11, 14, 17}, range {1}. (ii) Function; domain {2, 4, 6, 8, 10, 12, 14}, range {1, 2, 3, 4, 5, 6, 7}. (iii) 1 has two images (3 and 5): not a function.

(i) function, {1}; (ii) Function; (iii) not a function

2
Find the domain and range of (i) f(x) = −|x| (ii) f(x) = √(9 − x²).
Solution

(i) Defined for all x: domain R; |x| ≥ 0 so −|x| ≤ 0: range (−∞, 0]. (ii) Need 9 − x² ≥ 0 ⇔ −3 ≤ x ≤ 3: domain [−3, 3]; 9 − x² takes all values from 0 to 9, so the root takes 0 to 3: range [0, 3].

R; (−∞, 0]; [−3, 3]; [0, 3]

3
f(x) = 2x − 5. Find (i) f(0) (ii) f(7) (iii) f(−3).
Solution

(i) 0 − 5 = −5 (ii) 14 − 5 = 9 (iii) −6 − 5 = −11.

(i) −5; (ii) 9; (iii) −11

4
t(C) = 9C/5 + 32 converts Celsius to Fahrenheit. Find (i) t(0) (ii) t(28) (iii) t(−10) (iv) C when t(C) = 212.
Solution

(i) 32 (ii) 9 × 28/5 + 32 = 50.4 + 32 = 82.4 (iii) −18 + 32 = 14 (iv) 9C/5 + 32 = 212 ⇒ 9C/5 = 180 ⇒ C = 100.

(i) 32; (ii) 82.4; (iii) 14; (iv) C = 100

5
Find the range of (i) f(x) = 2 − 3x, x ∈ R, x > 0 (ii) f(x) = x² + 2, x real (iii) f(x) = x, x real.
Solution

(i) x > 0 ⇒ 3x > 0 ⇒ 2 − 3x < 2, and it takes every value below 2: range (−∞, 2). (ii) x² ≥ 0 ⇒ x² + 2 ≥ 2: range [2, ∞). (iii) range R.

(i) (−∞, 2); (ii) [2, ∞); (iii) R

Miscellaneous Exercise on Chapter 2

1
f(x) = x² for 0 ≤ x ≤ 3, 3x for 3 ≤ x ≤ 10; g(x) = x² for 0 ≤ x ≤ 2, 3x for 2 ≤ x ≤ 10. Show that f is a function and g is not.
Solution

The only point covered by both rules of f is x = 3, where x² = 9 and 3x = 9: one image. So every x in [0, 10] has a single image: f is a function. For g at x = 2: x² = 4 but 3x = 6: two images, so g is not a function.

f is a function; g is not a function

2
If f(x) = x², find .
Solution

2.1.

2.1

3
Find the domain of .
Solution

x² − 8x + 12 = (x − 2)(x − 6) ≠ 0: domain R − {2, 6}.

R − {2, 6}

4
Find the domain and range of f(x) = √(x − 1).
Solution

x − 1 ≥ 0 ⇒ domain [1, ∞); √(x − 1) takes every value ≥ 0: range [0, ∞).

[1, ∞); [0, ∞)

5
Find the domain and range of f(x) = |x − 1|.
Solution

Defined for all x: domain R; |x − 1| ≥ 0 and takes every non-negative value: range [0, ∞).

R; [0, ∞)

6
f = {(x, x²/(1 + x²)) : x ∈ R}. Determine the range of f.
Solution

y = x²/(1 + x²) = 1 − 1/(1 + x²). As 1 + x² ≥ 1, 0 < 1/(1 + x²) ≤ 1, so 0 ≤ y < 1 (y = 0 at x = 0; y → 1 but never reaches it). Range [0, 1).

[0, 1)

7
f(x) = x + 1, g(x) = 2x − 3. Find f + g, f − g and f/g.
Solution

(f + g)(x) = 3x − 2; (f − g)(x) = x + 1 − 2x + 3 = 4 − x; (f/g)(x) = (x + 1)/(2x − 3), x ≠ 3/2.

(x) 3x − 2; (x) 4 − x; (x) (x + 1)/(2x − 3)

8
f = {(1, 1), (2, 3), (0, −1), (−1, −3)} is a function Z → Z with f(x) = ax + b. Find a and b.
Solution

f(0) = b = −1; f(1) = a + b = 1 ⇒ a = 2. Check: f(2) = 3, f(−1) = −3. a = 2, b = −1.

a = 2, b = −1

9
R from N to N: R = {(a, b) : a, b ∈ N and a = b²}. Are these true? (i) (a, a) ∈ R for all a ∈ N (ii) (a, b) ∈ R ⇒ (b, a) ∈ R (iii) (a, b), (b, c) ∈ R ⇒ (a, c) ∈ R.
Solution

(i) False: (2, 2) ∉ R since 2 ≠ 2² (true only for a = 1). (ii) False: (4, 2) ∈ R (4 = 2²) but (2, 4) ∉ R (2 ≠ 16). (iii) False: (16, 4) ∈ R and (4, 2) ∈ R, but (16, 2) ∉ R (16 ≠ 4).

(i) False; (ii) False; (iii) False

10
A = {1, 2, 3, 4}, B = {1, 5, 9, 11, 15, 16}, f = {(1, 5), (2, 9), (3, 1), (4, 5), (2, 11)}. (i) Is f a relation from A to B? (ii) Is f a function from A to B?
Solution

(i) Every pair has its first element in A and second in B, so f ⊂ A × B: yes, a relation. (ii) 2 has two images, 9 and 11: not a function.

yes, a relation; not a function

11
f = {(ab, a + b) : a, b ∈ Z} ⊂ Z × Z. Is f a function from Z to Z?
Solution

Take a = 0, b = 1: (0, 1) ∈ f; a = 0, b = 2: (0, 2) ∈ f. The element 0 has two images: not a function.

not a function

12
A = {9, 10, 11, 12, 13}; f : A → N, f(n) = the highest prime factor of n. Find the range of f.
Solution

f(9) = 3, f(10) = 5, f(11) = 11, f(12) = 3, f(13) = 13: range {3, 5, 11, 13}.

{3, 5, 11, 13}

Cover of Complete Maths Notes for Class 11 (NCERT 2026-27)
Done with the answers?Now revise the whole chapter: Class 11 Mathematics notes
  • For NCERT Mathematics Class 11 (2026-27 edition) - all 14 chapters
  • Typed concept notes with every formula, theorem and method, with worked examples
  • Every NCERT exercise and miscellaneous question solved step by step
₹199₹24920% off · all 14 chapters · instant PDF
Read free sample

What is inside the Chapter 2 notes →

Found a mistake or need help with a question? Message us on WhatsApp. Free study tips and new solutions: join our WhatsApp Channel.