My Cart
Your Cart 0

    Your cart is empty.

  • Total (Amount) ₹0.00
NCERT · Class 12 · Maths · 2025-26

Chapter 1: Relations and Functions

Practice each question, then open the answer or worked solution.

Miscellaneous Exercise on Chapter 1

Textbook page 15 · 7 questions
Q1Written answer
Show that the function \(f: \mathbf{R} \rightarrow \{x \in \mathbf{R}:-1<x<1\}\) defined by \(f(x)=\frac{x}{1+|x|}\), \(x \in \mathbf{R}\) is one one and onto function.
Show solutionHide solution
Worked solution

Let \(f:\mathbf R\to(-1,1)\) be defined by \[ f(x)=\frac{x}{1+|x|},\qquad x\in\mathbf R. \]

1. The values of \(f\) lie in \((-1,1)\).

Since \(1+|x|>0\) and \(1+|x|>|x|\), we have \[ |f(x)|=\frac{|x|}{1+|x|}<1. \] Thus \(f(x)\in(-1,1)\) for every real \(x\), so the codomain is respected.

2. \(f\) is one-one.

We use the piecewise form \[ f(x)= \begin{cases} \dfrac{x}{1+x}, & x\ge 0,\\ \dfrac{x}{1-x}, & x<0. \end{cases} \]

On \([0,\infty)\), if \(f(x_1)=f(x_2)\), then \[ \frac{x_1}{1+x_1}=\frac{x_2}{1+x_2} \] and cross-multiplication gives \(x_1(1+x_2)=x_2(1+x_1)\), hence \(x_1=x_2\).

On \((-\infty,0)\), if \(f(x_1)=f(x_2)\), then \[ \frac{x_1}{1-x_1}=\frac{x_2}{1-x_2}, \] so \(x_1(1-x_2)=x_2(1-x_1)\), hence \(x_1=x_2\).

Finally, if \(x_1\ge 0\) and \(x_2<0\), then \(f(x_1)\ge 0\) while \(f(x_2)<0\). Hence \(f(x_1)\neq f(x_2)\). Therefore \(f\) is one-one.

3. \(f\) is onto \((-1,1)\).

Let \(y\in(-1,1)\). We must find \(x\in\mathbf R\) with \(f(x)=y\).

  • If \(0\le y<1\), take \(x=\dfrac{y}{1-y}\ge 0\). Then \[ f(x)=\frac{\frac{y}{1-y}}{1+\frac{y}{1-y}} =\frac{y}{1-y+y}=y. \]
  • If \(-1<y<0\), take \(x=\dfrac{y}{1+y}<0\). Then \[ f(x)=\frac{\frac{y}{1+y}}{1-\frac{y}{1+y}} =\frac{y}{1+y-y}=y. \]

Thus every \(y\in(-1,1)\) has a preimage. Hence \(f\) is onto.

Since \(f\) is both one-one and onto, it is a bijection from \(\mathbf R\) onto \((-1,1)\).

Q2Written answer
Show that the function \(f: \mathbf{R} \rightarrow \mathbf{R}\) given by \(f(x)=x^{3}\) is injective.
Show solutionHide solution
Worked solution

We must show that \(f:\mathbf{R}\to\mathbf{R}\), \(f(x)=x^{3}\), is injective. By definition, a function is injective if

\[f(x_1)=f(x_2)\quad\Longrightarrow\quad x_1=x_2\]

for all \(x_1,x_2\) in the domain.

Step 1: Assume equal outputs. Let \(x_1,x_2\in\mathbf{R}\) and suppose

\[f(x_1)=f(x_2).\]

Since \(f(x)=x^{3}\), this means

\[x_1^{3}=x_2^{3}.\]

Step 2: Bring to one side and factor.

\[x_1^{3}-x_2^{3}=0.\]

Using the identity \(a^{3}-b^{3}=(a-b)(a^{2}+ab+b^{2})\) with \(a=x_1\), \(b=x_2\), we get

\[(x_1-x_2)\left(x_1^{2}+x_1x_2+x_2^{2}\right)=0.\]

Step 3: Show the second factor is positive unless both are zero. Complete the square:

\[x_1^{2}+x_1x_2+x_2^{2}=\left(x_1+\frac{x_2}{2}\right)^{2}+\frac{3}{4}x_2^{2}.\]

This is a sum of squares, so it is always \(\ge 0\). It equals \(0\) only when

\[x_1+\frac{x_2}{2}=0\quad\text{and}\quad x_2=0,\]

which forces \(x_1=0\) and \(x_2=0\).

Step 4: Conclude. Since the product is zero, either \(x_1-x_2=0\) or \(x_1^{2}+x_1x_2+x_2^{2}=0\). The second possibility gives \(x_1=x_2=0\), which also satisfies \(x_1-x_2=0\). Hence in every case

\[x_1=x_2.\]

Therefore \(f(x)=x^{3}\) is injective on \(\mathbf{R}\).

Alternative argument. The function \(g(x)=x^{3}\) is strictly increasing on \(\mathbf{R}\): if \(x_1<x_2\), then \(x_1^{3}<x_2^{3}\). A strictly increasing function is injective, so \(f\) is injective.

Q3Written answer
Given a non empty set X, consider P(X) which is the set of all subsets of X. Define the relation R in P(X) as follows:
For subsets A, B in P(X), ARB if and only if \(A \subset B\). Is R an equivalence relation on P(X)? Justify your answer.
Show solutionHide solution
Worked solution

We are given a non-empty set \(X\) and the power set \(P(X)\), whose elements are all subsets of \(X\). The relation \(R\) on \(P(X)\) is defined by

\[ A\,R\,B \iff A\subset B. \] We must decide whether \(R\) is an equivalence relation, i.e. whether it is reflexive, symmetric and transitive.

1. Reflexivity. For every subset \(A\in P(X)\), every element of \(A\) is an element of \(A\), so \(A\subset A\). Hence \(A\,R\,A\). Thus \(R\) is reflexive.

2. Symmetry. Take \(A,B\in P(X)\) with \(A\,R\,B\), so \(A\subset B\). For symmetry we would need \(B\subset A\) as well. This need not hold. For example, since \(X\) is non-empty, choose \(x\in X\), and let

\[ A=\varnothing,\qquad B=\{x\}. \] Then \(A\subset B\), so \(A\,R\,B\). But \(B\not\subset A\), because \(x\in B\) while \(x\notin A\). Hence \(B\,R\,A\) is false. Therefore \(R\) is not symmetric.

3. Transitivity. If \(A\subset B\) and \(B\subset C\), then every element of \(A\) lies in \(B\), hence in \(C\), so \(A\subset C\). Thus \(R\) is transitive.

Since an equivalence relation must be reflexive, symmetric and transitive, and \(R\) fails symmetry, \(R\) is not an equivalence relation on \(P(X)\).

Conclusion. \(R\) is reflexive and transitive, but not symmetric; therefore it is not an equivalence relation.

Q4Written answer
Find the number of all onto functions from the set \(\{1,2,3, \ldots \ldots, n\}\) to itself.
Show solutionHide solution
Worked solution

We need the number of onto (surjective) functions from the set \(A=\{1,2,3,\ldots,n\}\) to itself.

An onto function \(f:A\to A\) must have every element of \(A\) as an image. Since \(A\) has exactly \(n\) elements, a surjective function from \(A\) onto \(A\) must also be injective: if two distinct elements had the same image, then at most \(n-1\) elements would be used as images, so the function could not be onto. Thus every onto function from \(A\) to itself is a bijection, i.e. a permutation of the \(n\) elements.

Conversely, every permutation of \(A\) is onto. Therefore the number of onto functions from \(A\) to itself equals the number of permutations of \(n\) distinct elements:

\[ N=n!=n(n-1)(n-2)\cdots 2\cdot 1. \]

For example, when \(n=2\), the onto functions are the two permutations \((1\mapsto1,\,2\mapsto2)\) and \((1\mapsto2,\,2\mapsto1)\), giving \(2!=2\), which agrees with the formula.

Hence the required number is \(\boxed{n!}\).

Q5Written answer
Let \(A=\{-1,0,1,2\}, B=\{-4,-2,0,2\}\) and \(f, g: A \rightarrow B\) be functions defined by \(f(x)=x^{2}-x, x \in A\) and \(g(x)=2\left|x-\frac{1}{2}\right|-1, x \in A\). Are \(f\) and \(g\) equal? Justify your answer. (Hint: One may note that two functions \(f: A \rightarrow B\) and \(g: A \rightarrow B\) such that \(f(a)=g(a) \forall a \in A\), are called equal functions).
Show solutionHide solution
Worked solution

Two functions \(f:A\to B\) and \(g:A\to B\) are equal exactly when they have the same domain and \(f(a)=g(a)\) for every \(a\in A\). Here both functions have domain \(A=\{-1,0,1,2\}\), so we only need to compare their values at each element of \(A\).

Values of \(f(x)=x^{2}-x\):

\[ f(-1)=(-1)^2-(-1)=1+1=2, \] \[ f(0)=0^2-0=0, \] \[ f(1)=1^2-1=0, \] \[ f(2)=2^2-2=4-2=2. \] So \(f\) takes the values \(2,0,0,2\) at \(-1,0,1,2\) respectively.

Values of \(g(x)=2\left|x-\frac12\right|-1\):

\[ g(-1)=2\left|-1-\frac12\right|-1=2\cdot\frac32-1=3-1=2, \] \[ g(0)=2\left|0-\frac12\right|-1=2\cdot\frac12-1=1-1=0, \] \[ g(1)=2\left|1-\frac12\right|-1=2\cdot\frac12-1=1-1=0, \] \[ g(2)=2\left|2-\frac12\right|-1=2\cdot\frac32-1=3-1=2. \] So \(g\) also takes the values \(2,0,0,2\) at \(-1,0,1,2\) respectively.

Comparing the two lists, for every \(a\in A\),

\[ f(a)=g(a). \] For example, \(f(-1)=g(-1)=2\), \(f(0)=g(0)=0\), \(f(1)=g(1)=0\), and \(f(2)=g(2)=2\).

Also, both functions have the same domain \(A\) and the same codomain \(B\). Therefore, by the definition of equal functions, \(f\) and \(g\) are equal.

Answer: Yes, \(f\) and \(g\) are equal functions.

Q6Multiple choice
Let A = {1, 2, 3}. Then number of relations containing (1, 2) and (1, 3) which are reflexive and symmetric but not transitive is
Show answerHide answer
Correct option: A
Show solutionHide solution
Worked solution

Let \(A=\{1,2,3\}\). A relation \(R\) on \(A\) is a subset of \(A\times A\). We need \(R\) to contain \((1,2)\) and \((1,3)\), to be reflexive and symmetric, and not transitive.

Step 1: Reflexivity. Since \(R\) is reflexive, it must contain \((1,1),(2,2),(3,3)\).

Step 2: Required pairs. It must also contain \((1,2)\) and \((1,3)\).

Step 3: Symmetry. Because \((1,2)\in R\), symmetry forces \((2,1)\in R\). Because \((1,3)\in R\), symmetry forces \((3,1)\in R\).

Thus every such relation must contain the six pairs

\[(1,1),(2,2),(3,3),(1,2),(2,1),(1,3),(3,1).\]

Wait, that is seven pairs; let us list them carefully:

\[\{(1,1),(2,2),(3,3),(1,2),(2,1),(1,3),(3,1)\}.\]

The only pairs of \(A\times A\) not yet decided are \((2,3)\) and \((3,2)\). By symmetry, either both are included or both are excluded. So there are at most two candidate relations:

\(R_1\): the seven pairs above, without \((2,3)\) and \((3,2)\).

\(R_2\): the seven pairs above together with \((2,3)\) and \((3,2)\).

Step 4: Check transitivity.

For \(R_1\): we have \((1,2)\in R_1\) and \((2,1)\in R_1\), so transitivity would require \((1,1)\in R_1\), which is true. Also \((1,3)\in R_1\) and \((3,1)\in R_1\) require \((1,1)\), true. However, \((2,1)\in R_1\) and \((1,3)\in R_1\) require \((2,3)\in R_1\), but \((2,3)\notin R_1\). Hence \(R_1\) is not transitive.

For \(R_2\): it contains all pairs of \(A\times A\), so it is the universal relation, which is transitive. Therefore \(R_2\) is not allowed.

Hence exactly one relation satisfies all the conditions: \(R_1\).

Therefore the number of such relations is \(1\).

Q7Multiple choice
Let A = {1, 2, 3}. Then number of equivalence relations containing (1, 2) is
Show answerHide answer
Correct option: B
Show solutionHide solution
Worked solution

An equivalence relation on \(A=\{1,2,3\}\) must be reflexive, symmetric and transitive. We need those equivalence relations that contain the pair \((1,2)\).

Because the relation is symmetric, containing \((1,2)\) forces \((2,1)\) also to be present. Because it is transitive, \((1,2)\) and \((2,1)\) together force \((1,1)\) and \((2,2)\), which are already required by reflexivity. Thus \(1\) and \(2\) must lie in the same equivalence class.

So the equivalence classes must be one of the following partitions of \(A\):

  • \(\{\{1,2\},\{3\}\}\)
  • \(\{\{1,2,3\}\}\)

Each partition gives exactly one equivalence relation, and both contain \((1,2)\). Hence there are exactly \(2\) such equivalence relations.

Therefore the correct option is 2.