NCERT Solutions for Class 11 Maths Chapter 2: Relations and Functions
11NCERT Mathematics · solved
Relations and Functions starts from ordered pairs and the Cartesian product of two sets, then uses it to describe how the elements of one set are linked to another (relations). A function is a special relation in which every input has exactly one output; the chapter studies real functions, their domain, range, graphs and how to add, subtract, multiply and divide them.
Try each question, open its solution, then mark yourself: 0 of 47 checked · 0 right
Exercise 2.1
Question 1. If (x/3 + 1, y − 2/3) = (5/3, 1/3), find the values of x and y.
Show solution
- Equal ordered pairs have equal first entries and equal second entries
- x/3 + 1 = 5/3 ⇒ x/3 = 2/3 ⇒ x = 2
- y − 2/3 = 1/3 ⇒ y = 1
Answer: x = 2, y = 1
Question 2. If the set A has 3 elements and the set B = {3, 4, 5}, then find the number of elements in (A × B).
Show solution
- n(A × B) = n(A) × n(B)
- = 3 × 3 = 9
Answer: A × B has 9 elements.
Question 3. If G = {7, 8} and H = {5, 4, 2}, find G × H and H × G.
Show solution
- G × H pairs each element of G (first) with each element of H (second)
- 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)}
Answer: 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)}
Question 4. State whether each of the following statements are true or false. If the statement is false, rewrite the given statement correctly.
(i) If P = {m, n} and Q = {n, m}, then P × Q = {(m, n), (n, m)}.
Show solution
- P × Q has 2 × 2 = 4 pairs, not 2
- P × Q = {(m, n), (m, m), (n, n), (n, m)}
Answer: False. Correct: P × Q = {(m, m), (m, n), (n, m), (n, n)}.
(ii) If A and B are non-empty sets, then A × B is a non-empty set of ordered pairs (x, y) such that x ∈ A and y ∈ B.
Show solution
- This is exactly the definition of A × B; it is non-empty as both sets have an element
Answer: True.
(iii) If A = {1, 2}, B = {3, 4}, then A × (B ∩ φ) = φ.
Show solution
- B ∩ φ = φ
- A × φ = φ
Answer: True.
Question 5. If A = {−1, 1}, find A × A × A.
Show solution
- A × A × A = {(a, b, c) : a, b, c ∈ A}; it has 2 × 2 × 2 = 8 triples
Answer: {(−1, −1, −1), (−1, −1, 1), (−1, 1, −1), (−1, 1, 1), (1, −1, −1), (1, −1, 1), (1, 1, −1), (1, 1, 1)}
Question 6. If A × B = {(a, x), (a, y), (b, x), (b, y)}. Find A and B.
Show solution
- A is the set of first entries: a, b
- B is the set of second entries: x, y
Answer: A = {a, b}, B = {x, y}
Question 7. Let A = {1, 2}, B = {1, 2, 3, 4}, C = {5, 6} and D = {5, 6, 7, 8}. Verify that (i) A × (B ∩ C) = (A × B) ∩ (A × C). (ii) A × C is a subset of B × D.
(i) A × (B ∩ C) = (A × B) ∩ (A × C)
Show solution
- B ∩ C = φ, so LHS = A × φ = φ
- 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 pair is common, so RHS = φ
Answer: LHS = RHS = φ. Verified.
(ii) A × C is a subset of B × D
Show solution
- A × C = {(1, 5), (1, 6), (2, 5), (2, 6)}
- In each pair the first entry (1 or 2) is in B and the second (5 or 6) is in D
- So every pair of A × C is in B × D
Answer: A × C ⊂ B × D. Verified.
Question 8. Let A = {1, 2} and B = {3, 4}. Write A × B. How many subsets will A × B have? List them.
Show solution
- A × B = {(1, 3), (1, 4), (2, 3), (2, 4)}, which has 4 elements
- Number of subsets = 2⁴ = 16
- φ; {(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)}
- {(1, 3), (1, 4), (2, 3), (2, 4)}
Answer: A × B = {(1, 3), (1, 4), (2, 3), (2, 4)}; it has 16 subsets, listed above.
Question 9. Let A and B be two sets such that n(A) = 3 and n(B) = 2. If (x, 1), (y, 2), (z, 1) are in A × B, find A and B, where x, y and z are distinct elements.
Show solution
- First entries x, y, z belong to A; since n(A) = 3, A = {x, y, z}
- Second entries 1, 2 belong to B; since n(B) = 2, B = {1, 2}
Answer: A = {x, y, z}, B = {1, 2}
Question 10. The Cartesian product A × A has 9 elements among which are found (−1, 0) and (0, 1). Find the set A and the remaining elements of A × A.
Show solution
- n(A)² = 9 ⇒ n(A) = 3
- From (−1, 0) and (0, 1): −1, 0, 1 ∈ A, so A = {−1, 0, 1}
- A × A = {(−1, −1), (−1, 0), (−1, 1), (0, −1), (0, 0), (0, 1), (1, −1), (1, 0), (1, 1)}
Answer: A = {−1, 0, 1}; remaining elements: (−1, −1), (−1, 1), (0, −1), (0, 0), (1, −1), (1, 0), (1, 1).
Exercise 2.2
Question 1. Let A = {1, 2, 3, …, 14}. Define a relation R from A to A by R = {(x, y) : 3x − y = 0, where x, y ∈ A}. Write down its domain, codomain and range.
Show solution
- 3x − y = 0 ⇒ y = 3x, and y must be at most 14
- x = 1, 2, 3, 4 give y = 3, 6, 9, 12 (x = 5 gives 15 ∉ A)
- R = {(1, 3), (2, 6), (3, 9), (4, 12)}
Answer: Domain = {1, 2, 3, 4}; codomain = A = {1, 2, …, 14}; range = {3, 6, 9, 12}.
Question 2. Define a relation R on the set N of natural numbers by R = {(x, y) : y = x + 5, x is a natural number less than 4; x, y ∈ N}. Depict this relationship using roster form. Write down the domain and the range.
Show solution
- x can be 1, 2, 3, giving y = 6, 7, 8
- R = {(1, 6), (2, 7), (3, 8)}
Answer: R = {(1, 6), (2, 7), (3, 8)}; domain = {1, 2, 3}; range = {6, 7, 8}.
Question 3. A = {1, 2, 3, 5} and B = {4, 6, 9}. Define a relation R from A to B by R = {(x, y) : the difference between x and y is odd; x ∈ A, y ∈ B}. Write R in roster form.
Show solution
- The difference is odd when one number is even and the other odd
- x = 1, 3, 5 (odd) pair with y = 4, 6 (even)
- x = 2 (even) pairs with y = 9 (odd)
Answer: R = {(1, 4), (1, 6), (2, 9), (3, 4), (3, 6), (5, 4), (5, 6)}
Question 4. The Fig 2.7 shows a relationship between the sets P and Q. Write this relation (i) in set-builder form (ii) roster form. What is its domain and range?
(Figure 2.7: set P = {5, 6, 7}, set Q = {3, 4, 5}; arrows 5 → 3, 6 → 4, 7 → 5.)
Show solution
- Each element of P is joined to the number 2 less than it
- (i) R = {(x, y) : y = x − 2; x ∈ P}
- (ii) R = {(5, 3), (6, 4), (7, 5)}
Answer: (i) R = {(x, y) : y = x − 2, x ∈ P} (ii) R = {(5, 3), (6, 4), (7, 5)}; domain = {5, 6, 7}, range = {3, 4, 5}.
Question 5. Let A = {1, 2, 3, 4, 6}. Let R be the relation on A defined by {(a, b) : a, b ∈ A, b is exactly divisible by a}. (i) Write R in roster form (ii) Find the domain of R (iii) Find the range of R.
Show solution
- 1 divides 1, 2, 3, 4, 6; 2 divides 2, 4, 6; 3 divides 3, 6; 4 divides 4; 6 divides 6
- (i) R = {(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) First entries: 1, 2, 3, 4, 6
- (iii) Second entries: 1, 2, 3, 4, 6
Answer: (i) as above (ii) Domain = {1, 2, 3, 4, 6} (iii) Range = {1, 2, 3, 4, 6}
Question 6. Determine the domain and range of the relation R defined by R = {(x, x + 5) : x ∈ {0, 1, 2, 3, 4, 5}}.
Show solution
- R = {(0, 5), (1, 6), (2, 7), (3, 8), (4, 9), (5, 10)}
Answer: Domain = {0, 1, 2, 3, 4, 5}; range = {5, 6, 7, 8, 9, 10}.
Question 7. Write the relation R = {(x, x³) : x is a prime number less than 10} in roster form.
Show solution
- Primes less than 10: 2, 3, 5, 7
- Cubes: 8, 27, 125, 343
Answer: R = {(2, 8), (3, 27), (5, 125), (7, 343)}
Question 8. Let A = {x, y, z} and B = {1, 2}. Find the number of relations from A to B.
Show solution
- n(A × B) = 3 × 2 = 6
- Every subset of A × B is a relation, so the number is 2⁶
Answer: 2⁶ = 64 relations.
Question 9. Let R be the relation on Z defined by R = {(a, b) : a, b ∈ Z, a − b is an integer}. Find the domain and range of R.
Show solution
- For any integers a and b, a − b is an integer, so every pair (a, b) ∈ Z × Z is in R
Answer: Domain = Z; range = Z.
Exercise 2.3
Question 1. Which of the following relations are functions? Give reasons. If it is a function, determine its domain and range.
(i) {(2, 1), (5, 1), (8, 1), (11, 1), (14, 1), (17, 1)}
Show solution
- The first entries 2, 5, 8, 11, 14, 17 are all different, so each has one image
Answer: A function; domain = {2, 5, 8, 11, 14, 17}, range = {1}.
(ii) {(2, 1), (4, 2), (6, 3), (8, 4), (10, 5), (12, 6), (14, 7)}
Show solution
- No first entry is repeated, so each has exactly one image
Answer: A function; domain = {2, 4, 6, 8, 10, 12, 14}, range = {1, 2, 3, 4, 5, 6, 7}.
(iii) {(1, 3), (1, 5), (2, 5)}
Show solution
- The element 1 has two images, 3 and 5
Answer: Not a function.
Question 2. Find the domain and range of the following real functions:
(i) f(x) = −|x|
Show solution
- |x| is defined for every real x, so the domain is R
- |x| ≥ 0 for all x, so −|x| ≤ 0, and every value ≤ 0 is reached
Answer: Domain = R; range = (−∞, 0].
(ii) f(x) = √(9 − x²)
Show solution
- Need 9 − x² ≥ 0 ⇒ x² ≤ 9 ⇒ −3 ≤ x ≤ 3
- 0 ≤ 9 − x² ≤ 9, so 0 ≤ √(9 − x²) ≤ 3
Answer: Domain = [−3, 3]; range = [0, 3].
Question 3. A function f is defined by f(x) = 2x − 5. Write down the values of (i) f(0) (ii) f(7) (iii) f(−3).
Show solution
- f(0) = 0 − 5 = −5
- f(7) = 14 − 5 = 9
- f(−3) = −6 − 5 = −11
Answer: (i) −5 (ii) 9 (iii) −11
Question 4. The function 't' which maps temperature in degree Celsius into temperature in degree Fahrenheit is defined by t(C) = 9C/5 + 32. Find (i) t(0) (ii) t(28) (iii) t(−10) (iv) The value of C, when t(C) = 212.
Show solution
- t(0) = 0 + 32 = 32
- t(28) = 9 × 28/5 + 32 = 252/5 + 32 = 50.4 + 32 = 82.4
- t(−10) = −90/5 + 32 = −18 + 32 = 14
- 9C/5 + 32 = 212 ⇒ 9C/5 = 180 ⇒ C = 100
Answer: (i) 32 (ii) 412/5 = 82.4 (iii) 14 (iv) C = 100
Question 5. Find the range of each of the following functions.
(i) f(x) = 2 − 3x, x ∈ R, x > 0.
Show solution
- x > 0 ⇒ 3x > 0 ⇒ 2 − 3x < 2
- Every number less than 2 is taken (x = (2 − y)/3 > 0 when y < 2)
Answer: Range = (−∞, 2)
(ii) f(x) = x² + 2, x is a real number.
Show solution
- x² ≥ 0 ⇒ x² + 2 ≥ 2, and every y ≥ 2 comes from x = √(y − 2)
Answer: Range = [2, ∞)
(iii) f(x) = x, x is a real number.
Show solution
- f takes every real value (f(a) = a)
Answer: Range = R
Miscellaneous Exercise on Chapter 2
Question 1. The relation f is defined by f(x) = x², 0 ≤ x ≤ 3; 3x, 3 ≤ x ≤ 10. The relation g is defined by g(x) = x², 0 ≤ x ≤ 2; 3x, 2 ≤ x ≤ 10. Show that f is a function and g is not a function.
Show solution
- f: the two rules overlap only at x = 3, where x² = 9 and 3x = 9 agree
- So every x in [0, 10] has exactly one image under f: f is a function
- g: the rules overlap at x = 2, where x² = 4 but 3x = 6
- So 2 has two images, 4 and 6: g is not a function
Answer: f is a function; g is not, because g(2) would be both 4 and 6.
Question 2. If f(x) = x², find [f(1.1) − f(1)]/(1.1 − 1).
Show solution
- f(1.1) = 1.21, f(1) = 1
- [1.21 − 1]/0.1 = 0.21/0.1 = 2.1
Answer: 2.1
Question 3. Find the domain of the function f(x) = (x² + 2x + 1)/(x² − 8x + 12).
Show solution
- f is defined except where the denominator is 0
- x² − 8x + 12 = (x − 2)(x − 6) = 0 ⇒ x = 2 or 6
Answer: Domain = R − {2, 6}
Question 4. Find the domain and the range of the real function f defined by f(x) = √(x − 1).
Show solution
- Need x − 1 ≥ 0 ⇒ x ≥ 1
- √(x − 1) ≥ 0, and every y ≥ 0 comes from x = y² + 1
Answer: Domain = [1, ∞); range = [0, ∞).
Question 5. Find the domain and the range of the real function f defined by f(x) = |x − 1|.
Show solution
- |x − 1| is defined for every real x
- |x − 1| ≥ 0, and every y ≥ 0 comes from x = 1 + y
Answer: Domain = R; range = [0, ∞).
Question 6. Let f = {(x, x²/(1 + x²)) : x ∈ R} be a function from R into R. Determine the range of f.
Show solution
- Let y = x²/(1 + x²) = 1 − 1/(1 + x²)
- 1 + x² ≥ 1 ⇒ 0 < 1/(1 + x²) ≤ 1 ⇒ 0 ≤ y < 1
- y = 0 at x = 0; y gets close to 1 but never equals 1 (x² = y/(1 − y) needs y < 1)
Answer: Range = [0, 1)
Question 7. Let f, g : R → R be defined, respectively by f(x) = x + 1, g(x) = 2x − 3. Find f + g, f − g and f/g.
Show solution
- (f + g)(x) = (x + 1) + (2x − 3) = 3x − 2
- (f − g)(x) = (x + 1) − (2x − 3) = −x + 4
- (f/g)(x) = (x + 1)/(2x − 3), defined when 2x − 3 ≠ 0, i.e. x ≠ 3/2
Answer: (f + g)(x) = 3x − 2; (f − g)(x) = 4 − x; (f/g)(x) = (x + 1)/(2x − 3), x ≠ 3/2.
Question 8. Let f = {(1, 1), (2, 3), (0, −1), (−1, −3)} be a function from Z to Z defined by f(x) = ax + b, for some integers a, b. Determine a, b.
Show solution
- f(0) = −1 ⇒ b = −1
- f(1) = 1 ⇒ a + b = 1 ⇒ a = 2
- Check: f(2) = 4 − 1 = 3 ✓, f(−1) = −2 − 1 = −3 ✓
Answer: a = 2, b = −1
Question 9. Let R be a relation from N to N defined by R = {(a, b) : a, b ∈ N and a = b²}. Are the following true? (i) (a, a) ∈ R, for all a ∈ N (ii) (a, b) ∈ R, implies (b, a) ∈ R (iii) (a, b) ∈ R, (b, c) ∈ R implies (a, c) ∈ R. Justify your answer in each case.
(i) (a, a) ∈ R, for all a ∈ N
Show solution
- (a, a) ∈ R needs a = a², true only for a = 1
- For a = 2: 2 ≠ 4, so (2, 2) ∉ R
Answer: False.
(ii) (a, b) ∈ R implies (b, a) ∈ R
Show solution
- (4, 2) ∈ R since 4 = 2²
- (2, 4) ∉ R since 2 ≠ 4² = 16
Answer: False.
(iii) (a, b) ∈ R, (b, c) ∈ R implies (a, c) ∈ R
Show solution
- (16, 4) ∈ R (16 = 4²) and (4, 2) ∈ R (4 = 2²)
- (16, 2) ∉ R since 16 ≠ 2² = 4
Answer: False.
Question 10. Let A = {1, 2, 3, 4}, B = {1, 5, 9, 11, 15, 16} and f = {(1, 5), (2, 9), (3, 1), (4, 5), (2, 11)}. Are the following true? (i) f is a relation from A to B (ii) f is a function from A to B. Justify your answer in each case.
(i) f is a relation from A to B
Show solution
- Every first entry (1, 2, 3, 4, 2) is in A and every second entry (5, 9, 1, 5, 11) is in B
- So f ⊂ A × B
Answer: True.
(ii) f is a function from A to B
Show solution
- The element 2 has two images, 9 and 11
Answer: False: f is not a function.
Question 11. Let f be the subset of Z × Z defined by f = {(ab, a + b) : a, b ∈ Z}. Is f a function from Z to Z? Justify your answer.
Show solution
- Take a = 0, b = 1: the pair (0, 1) ∈ f
- Take a = 0, b = 2: the pair (0, 2) ∈ f
- So 0 has two images, 1 and 2
Answer: No, f is not a function.
Question 12. Let A = {9, 10, 11, 12, 13} and let f : A → N be defined by f(n) = the highest prime factor of n. Find the range of f.
Show solution
- 9 = 3² → 3; 10 = 2 × 5 → 5; 11 → 11; 12 = 2² × 3 → 3; 13 → 13
Answer: Range of f = {3, 5, 11, 13}
Key points of Relations and Functions (quick revision)
- Ordered pairs are equal only when both entries match: (a, b) = (c, d) ⇔ a = c and b = d.
- A × B = {(a, b) : a ∈ A, b ∈ B}; n(A × B) = n(A) · n(B). If A or B is empty, A × B = φ.
- A relation R from A to B is any subset of A × B. Domain: the set of first elements; range: the set of second elements; codomain: B.
- If n(A) = p and n(B) = q, the number of relations from A to B is 2^(pq).
- A function from A to B is a relation in which every element of A has exactly one image in B (no element of A is left out or repeated with two images).
- Real function: domain and codomain inside R. Domain: values of x for which f(x) is defined (denominator ≠ 0, expression under √ ≥ 0). Range: all values f(x) actually takes.
- Standard functions: identity f(x) = x, constant, polynomial, rational, modulus |x|, signum and greatest integer [x].
- (f ± g)(x) = f(x) ± g(x), (fg)(x) = f(x)g(x), (f/g)(x) = f(x)/g(x) where g(x) ≠ 0.
How these solutions were checked
- Every question of the NCERT Mathematics reprint for 2026-27 is here, in the book's order and numbering.
- Every answer is worked out in full, then checked by substituting it back or recomputing it (algebra and calculus answers are verified by differentiation or computer algebra).
- Where the book has a misprint, or its printed answer differs from the correct one, the solution says so and shows why, so you can trust what you write in the exam.
- Found something that looks wrong? Tell us about it, and we correct it and update this page and its PDF.
Questions
How many exercises are there in Class 11 Maths Chapter 2 Relations and Functions?
4 (Exercise 2.1, Exercise 2.2, Exercise 2.3, Miscellaneous Exercise on Chapter 2), with 47 questions and parts in all. Every one is solved on this page.
Can I download the Class 11 Maths Chapter 2 Relations and Functions NCERT solutions as a PDF?
Yes. The PDF has every question and its solution, free to download and print, with no sign-in.
Questions are from the NCERT textbook Mathematics for Class 11; the solutions are written by beMahan.All Class 11 NCERT solutions