This MCQ module is based on: Relations, Functions, Domain, Range, and Graphs
Relations, Functions, Domain, Range, and Graphs
This mathematics assessment will be based on: Relations, Functions, Domain, Range, and Graphs
Targeting Class 11 level in Functions, with Advanced difficulty.
Upload images, PDFs, or Word documents to include their content in assessment generation.
2.3 Relations
Consider two sets \(P = \{a, b, c\}\) and \(Q = \{\text{Ali, Bhanu, Binoy, Chandra, Divya}\}\). The Cartesian product of P and Q contains 15 ordered pairs. We can now obtain a subset of \(P \times Q\) by introducing a relation? R between the first element \(x\) and the second element \(y\) of each ordered pair \((x, y)\) as:
R = \(\{(x, y) : x \text{ is the first letter of the name } y,\; x \in P,\; y \in Q\}\)
Then R = \(\{(a, \text{Ali}), (b, \text{Bhanu}), (b, \text{Binoy}), (c, \text{Chandra})\}\).
(ii) An arrow diagram is a visual representation of a relation.
(iii) The total number of relations that can be defined from a set A to a set B is the number of possible subsets of \(A \times B\). If \(n(A) = p\) and \(n(B) = q\), then \(n(A \times B) = pq\) and the total number of relations is \(2^{pq}\).
Worked Examples -- Relations
Example 7
Let \(A = \{1, 2, 3, 4, 5, 6\}\). Define a relation R from A to A by \(R = \{(x, y) : y = x + 1\}\).
(i) Depict this relation using an arrow diagram. (ii) Write down the domain, codomain and range of R.
(ii) We can see that the domain = \(\{1, 2, 3, 4, 5\}\).
Similarly, the range = \(\{2, 3, 4, 5, 6\}\) and the codomain = \(\{1, 2, 3, 4, 5, 6\}\).
Example 8
The figure (Fig 2.6) shows a relation between the sets P and Q. Write this relation (i) in set-builder form, (ii) in roster form. What is its domain and range?
(i) In set-builder form, R = \(\{(x, y) : x \text{ is the square of } y,\; x \in P,\; y \in Q\}\).
(ii) In roster form, R = \(\{(9, 3), (9, -3), (4, 2), (4, -2), (25, 5), (25, -5)\}\).
The domain of this relation is \(\{4, 9, 25\}\).
The range of this relation is \(\{-2, 2, -3, 3, -5, 5\}\).
Note that the element 1 is not related to any element in set P.
The set Q is the codomain of this relation.
Example 9
Let \(A = \{1, 2\}\) and \(B = \{3, 4\}\). Find the number of relations from A into B.
Since \(n(A \times B) = 4\), the number of subsets of \(A \times B\) is \(2^4\). Therefore, the number of relations from A into B will be \(2^4 = 16\).
Exercise 2.2
\(x = 1 \Rightarrow y = 3\), \(x = 2 \Rightarrow y = 6\), \(x = 3 \Rightarrow y = 9\), \(x = 4 \Rightarrow y = 12\).
For \(x = 5\), \(y = 15 \notin A\). So we stop.
R = \(\{(1,3), (2,6), (3,9), (4,12)\}\).
Domain = \(\{1, 2, 3, 4\}\)
Codomain = \(\{1, 2, 3, \ldots, 14\}\) (the whole set A)
Range = \(\{3, 6, 9, 12\}\)
\(x = 1 \Rightarrow y = 6\), \(x = 2 \Rightarrow y = 7\), \(x = 3 \Rightarrow y = 8\).
R = \(\{(1, 6), (2, 7), (3, 8)\}\).
Domain = \(\{1, 2, 3\}\), Range = \(\{6, 7, 8\}\).
For \(x = 1\): \(|1-4| = 3\) (odd), \(|1-6| = 5\) (odd), \(|1-9| = 8\) (even).
For \(x = 2\): \(|2-4| = 2\) (even), \(|2-6| = 4\) (even), \(|2-9| = 7\) (odd).
For \(x = 3\): \(|3-4| = 1\) (odd), \(|3-6| = 3\) (odd), \(|3-9| = 6\) (even).
For \(x = 5\): \(|5-4| = 1\) (odd), \(|5-6| = 1\) (odd), \(|5-9| = 4\) (even).
R = \(\{(1,4), (1,6), (2,9), (3,4), (3,6), (5,4), (5,6)\}\).
(ii) In roster form: R = \(\{(5, 3), (6, 4), (7, 5)\}\).
Domain = \(\{5, 6, 7\}\), Range = \(\{3, 4, 5\}\).
(i) Write R in roster form. (ii) Find the domain of R. (iii) Find the range of R.
(ii) Domain of R = \(\{1, 2, 3, 4, 6\}\).
(iii) Range of R = \(\{1, 2, 3, 4, 6\}\).
Domain = \(\{0, 1, 2, 3, 4, 5\}\).
Range = \(\{5, 6, 7, 8, 9, 10\}\).
R = \(\{(2, 8), (3, 27), (5, 125), (7, 343)\}\).
Number of relations = \(2^6 = 64\).
Therefore R = \(\mathbf{Z} \times \mathbf{Z}\).
Domain = \(\mathbf{Z}\) and Range = \(\mathbf{Z}\).
2.4 Functions
In this section, we study a special type of relation called a function?. It is one of the most important concepts in mathematics. We can visualise a function as a rule that produces new elements out of some given elements. There are many terms such as "map" or "mapping" used to denote a function.
In other words, a function \(f\) is a relation from a non-empty set A to a non-empty set B such that the domain of \(f\) is A and no two distinct ordered pairs in \(f\) have the same first element.
If \(f\) is a function from A to B and \((a, b) \in f\), then \(f(a) = b\), where \(b\) is called the image of \(a\) under \(f\) and \(a\) is called the preimage of \(b\) under \(f\).
The function \(f\) from A to B is denoted by \(f: A \rightarrow B\).
Looking at the previous examples, we can easily see that the relation in Example 7 is a function because every element in the domain has a unique image. However, the relation in Example 8 is not a function because elements in the domain are connected to more than one image. Similarly, the relation in Example 9 is also not a function (why?).
Worked Examples -- Functions
Example 10
Let N be the set of natural numbers and the relation R be defined on N such that \(R = \{(x, y) : y = 2x,\; x, y \in \mathbf{N}\}\). What is the domain, codomain and range of R? Is this relation a function?
The range is the set of even natural numbers.
Since every natural number \(n\) has one and only one image \(2n\), this relation is a function.
Example 11
Examine each of the following relations given below and state in each case, giving reasons whether it is a function or not.
(i) R = \(\{(2,1),(3,1),(4,2)\}\) (ii) R = \(\{(2,2),(2,4),(3,3),(4,4)\}\) (iii) R = \(\{(1,2),(2,3),(3,4),(4,5),(5,6),(6,7)\}\)
(ii) Since the same first element 2 corresponds to two different images 2 and 4, this relation is not a function.
(iii) Since every element has one and only one image, this relation is a function.
Example 12
Let N be the set of natural numbers. Define a real valued function \(f: \mathbf{N} \rightarrow \mathbf{N}\) by \(f(x) = 2x + 1\). Using this definition, complete the table below.
| \(x\) | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| \(y = f(x)\) | 3 | 5 | 7 | 9 | 11 | 13 | 15 |
2.4.1 Some Functions and Their Graphs
(i) Identity Function
Let \(\mathbf{R}\) be the set of real numbers. Define the real valued function \(f: \mathbf{R} \rightarrow \mathbf{R}\) by \(f(x) = x\) for each \(x \in \mathbf{R}\). Such a function is called the identity function?. Here the domain and range of \(f\) are \(\mathbf{R}\). The graph is a straight line passing through the origin (Fig 2.8).
(ii) Constant Function
Define the function \(f: \mathbf{R} \rightarrow \mathbf{R}\) by \(y = f(x) = c\), \(x \in \mathbf{R}\), where \(c\) is a constant and each \(x \in \mathbf{R}\). Here the domain of \(f\) is \(\mathbf{R}\) and its range is \(\{c\}\) (Fig 2.9).
(iii) Polynomial Function
A function \(f: \mathbf{R} \rightarrow \mathbf{R}\) is said to be a polynomial function if for each \(x \in \mathbf{R}\), \(f(x) = a_0 + a_1 x + a_2 x^2 + \cdots + a_n x^n\), where \(n\) is a non-negative integer and \(a_0, a_1, a_2, \ldots, a_n \in \mathbf{R}\).
The functions defined by \(f(x) = x^3 - x^2 + 2\), and \(g(x) = x^7 + \sqrt{2}\) are some examples of polynomial functions, whereas the function \(h(x) = x^3 + \sqrt[3]{x} - 2x\) is not a polynomial function (why?).
Example 13
Define the function \(f: \mathbf{R} \rightarrow \mathbf{R}\) by \(f(x) = x^2\), \(x \in \mathbf{R}\). Complete the table given below. Draw the graph of \(f\).
| \(x\) | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|---|---|---|---|
| \(y = f(x) = x^2\) | 16 | 9 | 4 | 1 | 0 | 1 | 4 | 9 | 16 |
(iv) Rational Function
Rational functions are functions of the type \(\frac{f(x)}{g(x)}\), where \(f(x)\) and \(g(x)\) are polynomial functions of \(x\) defined in a domain, where \(g(x) \neq 0\).
Example 15
Define the real valued function \(f: \mathbf{R} - \{0\} \rightarrow \mathbf{R}\) defined by \(f(x) = \frac{1}{x}\), \(x \in \mathbf{R} - \{0\}\). Complete the table and draw the graph.
| \(x\) | -4 | -2 | -1 | -0.5 | 0.5 | 1 | 2 | 4 |
|---|---|---|---|---|---|---|---|---|
| \(f(x) = \frac{1}{x}\) | -0.25 | -0.5 | -1 | -2 | 2 | 1 | 0.5 | 0.25 |
The domain is all real numbers except 0, and the range is also all real numbers except 0 (Fig 2.12).
(v) The Modulus Function
The function \(f: \mathbf{R} \rightarrow \mathbf{R}\) defined by \(f(x) = |x|\) for each \(x \in \mathbf{R}\) is called the modulus function?. For each non-negative value of \(x\), \(f(x)\) equals \(x\). For negative values of \(x\), the value of \(f(x)\) is the negation of \(x\), i.e.:
\[f(x) = |x| = \begin{cases} x, & \text{if } x \geq 0 \\ -x, & \text{if } x < 0 \end{cases}\](vi) Signum Function
The function \(f: \mathbf{R} \rightarrow \mathbf{R}\) defined by:
\[f(x) = \begin{cases} 1, & \text{if } x > 0 \\ 0, & \text{if } x = 0 \\ -1, & \text{if } x < 0 \end{cases}\]is called the signum function?. The domain is \(\mathbf{R}\) and the range is \(\{-1, 0, 1\}\) (Fig 2.14).
(vii) Greatest Integer Function
The function \(f: \mathbf{R} \rightarrow \mathbf{R}\) defined by \(f(x) = [x]\), \(x \in \mathbf{R}\), assumes the value of the greatest integer less than or equal to \(x\). Such a function is called the greatest integer function? (Fig 2.15).
For example: \([2.3] = 2\), \([-1.7] = -2\), \([0.5] = 0\), \([4] = 4\).
- Diagram 1: A = {1,2,3} to B = {a,b}. Arrows: 1 to a, 2 to a, 3 to b. Is this a function?
- Diagram 2: A = {1,2,3} to B = {a,b}. Arrows: 1 to a, 1 to b, 2 to a, 3 to b. Is this a function?
- Diagram 3: A = {1,2,3} to B = {a,b}. Arrows: 1 to a, 3 to b. Is this a function?
- For each case, state the rule violated (if any).
Observe:
- Diagram 1: Yes, it is a function. Every element of A has exactly one image (multiple elements can share the same image).
- Diagram 2: Not a function. Element 1 has two images (a and b). A function requires each element to have exactly one image.
- Diagram 3: Not a function. Element 2 has no image. Every element of the domain must have an image.
Competency-Based Questions
Assertion--Reason Questions
Reason (R): In a function, every element of the domain must have exactly one image in the codomain.
Reason (R): The codomain is the set from which images are drawn, and the range consists of only those elements that are actually images.
Reason (R): The modulus function always returns the non-negative value of any real number input.
Frequently Asked Questions
What is a relation in mathematics?
A relation R from set A to set B is a subset of the Cartesian product A x B. The set of first elements is the domain and the set of second elements is the range.
What is the difference between a relation and a function?
A function is a special relation where every element in the domain maps to exactly one element in the codomain. In a relation, one input can map to multiple outputs.
What are domain, codomain, and range?
Domain is the set of all inputs, codomain is the target set, and range is the set of actual outputs. Range is always a subset of the codomain.
What are the main types of functions in Class 11?
NCERT Class 11 covers identity function, constant function, polynomial functions, rational functions, modulus function, signum function, and greatest integer function.
How do you determine if a relation is a function?
Check that no two ordered pairs have the same first element with different second elements. Graphically, use the vertical line test.
Frequently Asked Questions — Relations and Functions
What is Relations, Functions, Domain, Range, and Graphs in NCERT Class 11 Mathematics?
Relations, Functions, Domain, Range, and Graphs is a key concept covered in NCERT Class 11 Mathematics, Chapter 2: Relations and Functions. This lesson builds the student's foundation in the chapter by explaining the core ideas with worked examples, definitions, and step-by-step methods aligned to the CBSE curriculum.
How do I solve problems on Relations, Functions, Domain, Range, and Graphs step by step?
To solve problems on Relations, Functions, Domain, Range, and Graphs, follow the NCERT method: identify the given quantities, choose the relevant formula or theorem, substitute values carefully, and simplify. Class 11 exercises gradually increase in difficulty — start with solved NCERT examples before attempting exercise questions, and always verify your answer by substitution or diagram.
What are the most important formulas for Chapter 2: Relations and Functions?
The essential formulas of Chapter 2 (Relations and Functions) are listed in the chapter summary and highlighted throughout the lesson in formula boxes. Memorise them and practise at least 2–3 problems per formula. CBSE board exams frequently test direct application as well as combined use of multiple formulas from this chapter.
Is Relations, Functions, Domain, Range, and Graphs important for the Class 11 board exam?
Relations, Functions, Domain, Range, and Graphs is part of the NCERT Class 11 Mathematics syllabus and appears in CBSE board exams. Questions typically include short-answer, long-answer, and competency-based items. Review the NCERT examples, exercise questions, and previous-year board problems on this topic to prepare confidently.
What mistakes should students avoid in Relations, Functions, Domain, Range, and Graphs?
Common mistakes in Relations, Functions, Domain, Range, and Graphs include skipping steps, misapplying formulas, sign errors, and losing track of units. Write each step clearly, double-check algebraic manipulations, and re-read the question after solving to verify that your answer matches what was asked.
Where can I find more NCERT practice questions on Relations, Functions, Domain, Range, and Graphs?
End-of-chapter NCERT exercises for Relations, Functions, Domain, Range, and Graphs cover all difficulty levels tested in CBSE exams. After completing them, try the examples again without looking at the solutions, attempt the NCERT Exemplar questions for Chapter 2, and solve at least one previous-year board paper to consolidate your understanding.