My Cart
Your Cart 0

    Your cart is empty.

  • Total (Amount) ₹0.00
Kerala SCERT · Class 12 · Maths · 2018-19

Chapter 1: Relations and Functions

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

EXERCISE 1.2

Textbook page 10 · 12 questions
Q1Written answer

Show that the function ${\text{f}}:{{\mathbf{R}}_*} \to {{\mathbf{R}}_*}$ defined by ${\text{f(}}x) = \dfrac{1}{x}$ is one-one and onto, where ${{\mathbf{R}}_*}$ is the set of all non-zero real numbers. Is the result true, if the domain ${{\mathbf{R}}_*}$ is replaced by ${\text{N}}$ with co-domain being same as ${{\mathbf{R}}_*}$?

Show solutionHide solution
Worked solution

Let \(f:\mathbf{R}_*\to\mathbf{R}_*\) be defined by \(f(x)=\dfrac{1}{x}\), where \(\mathbf{R}_*\) is the set of all non-zero real numbers.

One-one (injective): Let \(x_1,x_2\in\mathbf{R}_*\) with \(f(x_1)=f(x_2)\). Then \(\dfrac{1}{x_1}=\dfrac{1}{x_2}\). Since \(x_1,x_2\neq 0\), cross-multiplying gives \(x_2=x_1\). Hence \(f\) is one-one.

Onto (surjective): Let \(y\in\mathbf{R}_*\) be arbitrary. Then \(y\neq 0\), so \(x=\dfrac{1}{y}\) is a non-zero real number, i.e. \(x\in\mathbf{R}_*\). Also \(f(x)=\dfrac{1}{x}=\dfrac{1}{1/y}=y\). Thus every element of the co-domain has a pre-image, so \(f\) is onto.

Therefore \(f\) is both one-one and onto (a bijection).

If the domain is replaced by \(\mathbf{N}\): Consider \(g:\mathbf{N}\to\mathbf{R}_*\) defined by \(g(x)=\dfrac{1}{x}\).

For one-one: if \(g(x_1)=g(x_2)\), then \(\dfrac{1}{x_1}=\dfrac{1}{x_2}\), so \(x_1=x_2\). Hence \(g\) is still one-one.

For onto: take \(y=\dfrac{1}{2}\in\mathbf{R}_*\). The only real number with \(\dfrac{1}{x}=\dfrac{1}{2}\) is \(x=2\in\mathbf{N}\), so this value is attained. But take \(y=\dfrac{1}{3/2}=\dfrac{2}{3}\in\mathbf{R}_*\). Then \(x=\dfrac{3}{2}\notin\mathbf{N}\), and no natural number \(x\) satisfies \(\dfrac{1}{x}=\dfrac{2}{3}\). More simply, for \(y=\dfrac{1}{2}\) the pre-image is \(2\), but for \(y=\dfrac{1}{3}\) the pre-image is \(3\), while for a value such as \(y=\dfrac{1}{2.5}\) there is no natural pre-image. In general, the range of \(g\) is \(\left\{\dfrac{1}{n}: n\in\mathbf{N}\right\}\), which is not all of \(\mathbf{R}_*\). For instance \(y=\dfrac{2}{3}\in\mathbf{R}_*\) has no pre-image in \(\mathbf{N}\).

Hence \(g\) is one-one but not onto. So the result is not true when the domain \(\mathbf{R}_*\) is replaced by \(\mathbf{N}\) with the same co-domain \(\mathbf{R}_*\): the function remains one-one but fails to be onto.

Q2Written answer

Check the injectivity and surjectivity of the following functions:

(i) ${\text{f}}:{\text{N}} \to {\text{N}}$ given by ${\text{f}}(x) = {x^2}$

(ii) ${\text{f}}:{\text{Z}} \to {\text{Z}}$ given by ${\text{f}}(x) = {x^2}$

(iii) f: ${\text{R}} \to {\text{R}}$ is given by ${\text{f}}(x) = {x^2}$

(iv) ${\text{f}}:{\text{N}} \to {\text{N}}$ given by ${\text{f}}(x) = {x^3}$

(v) ${\text{f}}\,{\text{:}}\,{\text{Z}} \to {\text{Z}}$ is given by $f(x) = {x^3}$

Show solutionHide solution
Worked solution

Recall. A function \(f:A\to B\) is injective (one-one) if \(f(x_1)=f(x_2)\) always forces \(x_1=x_2\). It is surjective (onto) if every element of \(B\) is the image of some element of \(A\).

(i) \(f:\mathbb{N}\to\mathbb{N}\), \(f(x)=x^2\).

If \(f(x_1)=f(x_2)\), then \(x_1^2=x_2^2\), so \(x_1=x_2\) (both are non-negative). Hence \(f\) is injective.

But \(2\in\mathbb{N}\) is not a square of any natural number, so \(2\) has no pre-image. Hence \(f\) is not surjective.

(ii) \(f:\mathbb{Z}\to\mathbb{Z}\), \(f(x)=x^2\).

Here \(f(1)=1=f(-1)\) while \(1\neq -1\), so \(f\) is not injective.

Also \(2\in\mathbb{Z}\) is not a square of any integer, so \(f\) is not surjective.

(iii) \(f:\mathbb{R}\to\mathbb{R}\), \(f(x)=x^2\).

As in (ii), \(f(1)=f(-1)\) with \(1\neq -1\), so \(f\) is not injective.

Negative real numbers, for example \(-1\), are not squares of real numbers, so \(f\) is not surjective.

(iv) \(f:\mathbb{N}\to\mathbb{N}\), \(f(x)=x^3\).

If \(x_1^3=x_2^3\), then \((x_1-x_2)(x_1^2+x_1x_2+x_2^2)=0\). For natural numbers the second factor is positive, so \(x_1=x_2\). Hence \(f\) is injective.

But \(2\in\mathbb{N}\) is not a perfect cube of any natural number, so \(2\) has no pre-image. Hence \(f\) is not surjective.

(v) \(f:\mathbb{Z}\to\mathbb{Z}\), \(f(x)=x^3\).

If \(x_1^3=x_2^3\), then \((x_1-x_2)(x_1^2+x_1x_2+x_2^2)=0\). The second factor equals \(\tfrac12\big((x_1+x_2)^2+x_1^2+x_2^2\big)\), which is zero only when \(x_1=x_2=0\); in every case it forces \(x_1=x_2\). Hence \(f\) is injective.

However \(2\in\mathbb{Z}\) is not a perfect cube of any integer, so \(f\) is not surjective.

Summary.

(i) injective, not surjective; (ii) neither injective nor surjective; (iii) neither injective nor surjective; (iv) injective, not surjective; (v) injective, not surjective.

Q3Written answer

Prove that the Greatest Integer Function ${\text{f}}:{\text{R}} \to {\text{R}}$ given by ${\text{f}}(x) = [x]$, is neither one

one nor onto, where \[[x]\]denotes the greatest integer less than or equal to $x$.

Show solutionHide solution
Worked solution

Let \(f:\mathbb{R}\to\mathbb{R}\) be defined by \(f(x)=[x]\), the greatest integer less than or equal to \(x\). We must show that \(f\) is neither one-one nor onto.

1. \(f\) is not one-one (not injective).

Recall that \([x]\) is constant on every interval \([n,n+1)\) where \(n\in\mathbb{Z}\). In particular, take two distinct real numbers in the same such interval, for example

\[x_1=\tfrac12,\qquad x_2=\tfrac34.\]

Clearly \(x_1\neq x_2\), but

\[[x_1]=\left[\tfrac12\right]=0,\qquad [x_2]=\left[\tfrac34\right]=0.\]

Hence \(f(x_1)=f(x_2)\) although \(x_1\neq x_2\). Therefore \(f\) is not one-one.

2. \(f\) is not onto (not surjective).

The range of \(f\) consists only of integers, because \([x]\) is always an integer for every real \(x\). So

\[\text{Range}(f)\subseteq \mathbb{Z}\subsetneq \mathbb{R}.\]

For instance, the real number \(\tfrac12\) (which is not an integer) has no preimage: if \(f(x)=\tfrac12\), then \([x]=\tfrac12\), impossible since \([x]\) is an integer. Thus there exists an element of the codomain \(\mathbb{R}\) with no preimage in the domain, so \(f\) is not onto.

Conclusion. Since \(f\) is neither one-one nor onto, the greatest integer function \(f(x)=[x]\) is neither one-one nor onto.

Q4Written answer

Show that the Modulus Function ${\text{f}}:{\text{R}} \to {\text{R}}$ given by ${\text{f}}(x) = |x|$, is neither one-one nor 

onto, where \[|x|\] is $x$, if ${\text{x}}$ is positive or 0 and $|x|$ is $ - x$, if $x$ is negative.

Show solutionHide solution
Worked solution

Let \(f:\mathbb{R}\to\mathbb{R}\) be defined by \(f(x)=|x|\), where

\[|x|=\begin{cases}x, & x\ge 0,\\-x, & x<0.\end{cases}\]

1. \(f\) is not one-one.

Take two distinct real numbers, for example \(x_1=-1\) and \(x_2=1\). Then \(x_1\ne x_2\), but

\[f(-1)=|-1|=1,\qquad f(1)=|1|=1.\]

Thus \(f(-1)=f(1)\) although \(-1\ne 1\). A one-one function must give different values to different inputs, so \(f\) is not one-one.

2. \(f\) is not onto.

For every real number \(x\), the modulus \(|x|\) is non-negative, so

\[f(x)=|x|\ge 0 \quad\text{for all } x\in\mathbb{R}.\]

Hence no negative real number can be the image of any element of the domain. For instance, \(-1\in\mathbb{R}\) (the codomain), but there is no \(x\in\mathbb{R}\) with \(f(x)=-1\), since \(|x|=-1\) is impossible.

Therefore \(f\) does not attain every value of its codomain \(\mathbb{R}\), so \(f\) is not onto.

Conclusion. The modulus function \(f(x)=|x|\) is neither one-one nor onto.

Q5Written answer

Show that the Signum Function f: ${\text{R}} \to {\text{R}}$, given by ${\text{f}}(x) = \left\{ {\begin{array}{*{20}{l}} 1&{{\text{ if }}x > 0} \\ {0,}&{{\text{ if }}x = 0} \\ { - 1,}&{{\text{ if }}x < 0} \end{array}} \right.$

is neither one-one nor onto.

Show solutionHide solution
Worked solution

Let \(f:\mathbb{R}\to\mathbb{R}\) be the signum function,

\[f(x)=\begin{cases}1,& x>0,\\ 0,& x=0,\\ -1,& x<0.\end{cases}\]

Not one-one. A function is one-one if distinct inputs always give distinct outputs. But

\[f(1)=1\quad\text{and}\quad f(2)=1,\]

since both \(1\) and \(2\) are positive. Thus \(1\neq 2\) yet \(f(1)=f(2)\). Hence \(f\) is not one-one.

Not onto. The range of \(f\) consists only of the three values \(-1,\,0,\,1\), because for every real \(x\) exactly one of the cases \(x>0\), \(x=0\), \(x<0\) holds. So

\[\text{Range}(f)=\{-1,0,1\}\neq \mathbb{R}.\]

For instance, the number \(2\) lies in the codomain \(\mathbb{R}\), but there is no real \(x\) with \(f(x)=2\). Therefore \(f\) is not onto.

Since \(f\) is neither one-one nor onto, the signum function is neither one-one nor onto, as required.

Q6Written answer

Let ${\text{A}} = \{ 1,2,3\} ,\,\,{\text{B}} = \{ 4,5,6,7\} $ and let ${\text{f}} = \{ (1,4),\,\,(2,5),\,\,(3,6)\} $ be a function from ${\text{A}}$ to ${\text{B}}$. 

Show that ${\text{f}}$ is one-one.

Show solutionHide solution
Worked solution

We are given \(A=\{1,2,3\}\), \(B=\{4,5,6,7\}\), and \(f=\{(1,4),(2,5),(3,6)\}\), a function from \(A\) to \(B\).

A function is one-one (injective) if distinct elements of the domain have distinct images. So we must show that whenever \(x_1,x_2\in A\) and \(x_1\neq x_2\), then \(f(x_1)\neq f(x_2)\).

From the definition of \(f\):

\[f(1)=4,\qquad f(2)=5,\qquad f(3)=6.\]

The three images are \(4,5,6\), which are all different from one another. Equivalently, the second coordinates in the ordered pairs \((1,4),(2,5),(3,6)\) are pairwise distinct.

Now check the possible pairs of distinct domain elements:

\[f(1)=4\neq 5=f(2),\]

\[f(1)=4\neq 6=f(3),\]

\[f(2)=5\neq 6=f(3).\]

Thus no two different elements of \(A\) are mapped to the same element of \(B\). Therefore \(f\) is one-one.

Equivalently, the range of \(f\) is \(\{4,5,6\}\), which has \(3\) elements, the same as the number of elements in the domain \(A\). A function from a finite set to any set is one-one exactly when its range has as many elements as its domain, so \(f\) is one-one.

Q7Written answer

In each of the following cases, state whether the function is one-one,

onto or bijective. Justify your answer.

(i) ${\text{f}}\,{\text{:}}\,{\text{R}} \to {\text{R}}$ defined by ${\text{f}}(x) = 3 - 4x$

(ii) ${\text{f}}\,{\text{:}}\,{\text{R}} \to {\text{R}}$ is defined as ${\text{f}}(x) = 1 + {x^2}$

Show solutionHide solution
Worked solution

(i) Let \(f:\mathbb{R}\to\mathbb{R}\) be defined by \(f(x)=3-4x\).

One-one: Suppose \(f(x_1)=f(x_2)\). Then

\[3-4x_1=3-4x_2\]

Subtracting \(3\) from both sides gives \(-4x_1=-4x_2\), and dividing by \(-4\) gives \(x_1=x_2\). Hence \(f\) is one-one.

Onto: Let \(y\in\mathbb{R}\) be arbitrary. We need \(x\in\mathbb{R}\) with \(f(x)=y\). Solving \(3-4x=y\) gives

\[x=\frac{3-y}{4},\]

which is a real number for every real \(y\). Also \(f\!\left(\frac{3-y}{4}\right)=3-4\cdot\frac{3-y}{4}=3-(3-y)=y\). Thus every element of the codomain has a preimage, so \(f\) is onto.

Since \(f\) is both one-one and onto, it is bijective.

(ii) Let \(f:\mathbb{R}\to\mathbb{R}\) be defined by \(f(x)=1+x^2\).

One-one: Take \(x_1=1\) and \(x_2=-1\). Then

\[f(1)=1+1^2=2,\qquad f(-1)=1+(-1)^2=2.\]

So \(f(1)=f(-1)\) but \(1\neq -1\). Hence \(f\) is not one-one.

Onto: Since \(x^2\ge 0\) for every real \(x\), we have \(f(x)=1+x^2\ge 1\). Thus no negative real number, for example \(-1\), can be of the form \(f(x)\). Hence \(f\) is not onto.

Therefore \(f\) is neither one-one nor onto, and hence not bijective.

Q8Written answer

Let ${\text{A}}$ and ${\text{B}}$ be sets. Show that ${\text{f}}:{\text{A}} \times {\text{B}} \to {\text{B}} \times {\text{A}}$ such that $(a,b) = (b,a)$ is

bijective function.

Show solutionHide solution
Worked solution

Define \(f:A\times B\to B\times A\) by \(f(a,b)=(b,a)\).

1. \(f\) is one-one (injective).

Suppose \(f(a_1,b_1)=f(a_2,b_2)\). Then \((b_1,a_1)=(b_2,a_2)\), so \(b_1=b_2\) and \(a_1=a_2\). Hence \((a_1,b_1)=(a_2,b_2)\). Thus \(f\) is one-one.

2. \(f\) is onto (surjective).

Let \((b,a)\) be any element of \(B\times A\). Then \((a,b)\in A\times B\) and \(f(a,b)=(b,a)\). So every element of the codomain is an image. Thus \(f\) is onto.

Since \(f\) is both one-one and onto, \(f\) is a bijective function.

Remark. The inverse is \(f^{-1}:B\times A\to A\times B\) given by \(f^{-1}(b,a)=(a,b)\), which confirms bijectivity.

Q9Written answer

Let f: ${\text{N}} \to {\text{N}}$ be defined by ${\text{f}}(n) = \left\{ {\begin{array}{*{20}{l}} {\dfrac{{n + 1}}{2},}&{{\text{ if }}n{\text{ is odd }}} \\ {\dfrac{n}{2},}&{{\text{ if }}n{\text{ is even }}} \end{array}} \right.$ for all $n \in {\text{N}}$

State whether the function ${\text{f}}$ is bijective. Justify your answer.

Show solutionHide solution
Worked solution

Solution. The function \(f:\mathbb{N}\to\mathbb{N}\) is defined by

\[f(n)=\begin{cases}\dfrac{n+1}{2}, & n \text{ odd},\\ \dfrac{n}{2}, & n \text{ even}.\end{cases}\]

Step 1: Check whether \(f\) is one-one (injective).

Suppose \(f(m)=f(n)\) for some \(m,n\in\mathbb{N}\). We consider the possible parities.

  • If both \(m\) and \(n\) are odd, then \(\dfrac{m+1}{2}=\dfrac{n+1}{2}\), so \(m=n\).
  • If both \(m\) and \(n\) are even, then \(\dfrac{m}{2}=\dfrac{n}{2}\), so \(m=n\).
  • If \(m\) is odd and \(n\) is even, then \(\dfrac{m+1}{2}=\dfrac{n}{2}\), giving \(m+1=n\). But \(m\) odd means \(m+1\) is even, which is consistent with \(n\) even. For example, take \(m=1\) and \(n=2\): then \(f(1)=\dfrac{1+1}{2}=1\) and \(f(2)=\dfrac{2}{2}=1\). Thus \(f(1)=f(2)\) although \(1\neq 2\).

Hence \(f\) is not one-one.

Step 2: Conclusion.

A bijective function must be both one-one and onto. Since \(f\) is not one-one, it cannot be bijective.

Therefore, \(f\) is not bijective. The counterexample \(f(1)=f(2)=1\) justifies this.

Q10Written answer

Let ${\text{A}} = {\text{R}} - \{ 3\} $ and ${\text{B}} = {\text{R}} - \{ 1\} .$ Consider the function f: ${\text{A}} \to {\text{B}}$ defined by ${\text{f}}(x)$ 

$ = \left( {\dfrac{{x - 2}}{{x - 3}}} \right).$ Is f one-one and onto? Justify your answer.

Show solutionHide solution
Worked solution

We are given \(A=\mathbb{R}\setminus\{3\}\), \(B=\mathbb{R}\setminus\{1\}\), and \(f:A\to B\) defined by

\[ f(x)=\frac{x-2}{x-3}. \]

1. Is \(f\) one-one?

Let \(x_1,x_2\in A\) and suppose \(f(x_1)=f(x_2)\). Then

\[ \frac{x_1-2}{x_1-3}=\frac{x_2-2}{x_2-3}. \]

Cross-multiplying (valid since \(x_1,x_2\neq 3\)):

\[ (x_1-2)(x_2-3)=(x_2-2)(x_1-3). \]

Expanding both sides:

\[ x_1x_2-3x_1-2x_2+6=x_1x_2-3x_2-2x_1+6. \]

Cancelling \(x_1x_2\) and \(6\) from both sides:

\[ -3x_1-2x_2=-3x_2-2x_1. \]

Rearranging:

\[ -3x_1+2x_1=-3x_2+2x_2 \quad\Longrightarrow\quad -x_1=-x_2 \quad\Longrightarrow\quad x_1=x_2. \]

Hence \(f\) is one-one.

2. Is \(f\) onto?

Let \(y\in B\), so \(y\neq 1\). We look for \(x\in A\) with \(f(x)=y\):

\[ y=\frac{x-2}{x-3}. \]

Cross-multiplying:

\[ y(x-3)=x-2 \quad\Longrightarrow\quad xy-3y=x-2. \]

Collecting terms in \(x\):

\[ xy-x=3y-2 \quad\Longrightarrow\quad x(y-1)=3y-2. \]

Since \(y\neq 1\), we have \(y-1\neq 0\), so

\[ x=\frac{3y-2}{y-1}. \]

This \(x\) is a real number. We must check that \(x\neq 3\): if \(x=3\), then

\[ \frac{3y-2}{y-1}=3 \quad\Longrightarrow\quad 3y-2=3y-3 \quad\Longrightarrow\quad -2=-3, \]

a contradiction. Hence \(x\neq 3\), so \(x\in A\). Also,

\[ f(x)=\frac{\dfrac{3y-2}{y-1}-2}{\dfrac{3y-2}{y-1}-3} =\frac{3y-2-2(y-1)}{3y-2-3(y-1)} =\frac{3y-2-2y+2}{3y-2-3y+3} =\frac{y}{1}=y. \]

Thus every \(y\in B\) has a preimage \(x\in A\). Therefore \(f\) is onto.

Conclusion. The function \(f\) is both one-one and onto, i.e. a bijection from \(A\) onto \(B\).