Main content

### Course: Class 12 math (India) > Unit 1

Lesson 8: Solutions to select NCERT problems# Select problems from exercise 1.2

solutions ncert selected problems.

In this article we will look at solutions of a few

**selected problems from exercise 1.2**of NCERT.**Problem 1:**

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

Solution:

A function is

**one-one**if no two different inputs give the same output.Let's check some of the function outputs.

In the second row, try to look for a different input which gives the same output in the above row. See that it is impossible to do so.

Let us now generally show that $f$ is one-one. Let ${x}_{1}$ and ${x}_{2}$ be two inputs having the same output.

So ${x}_{1}={x}_{2}$ , meaning inputs are the same. Thus for the same output, we cannot have two different inputs. $f$ is one-one.

Now, a function is $f$ is onto if the function output takes all non-zero real numbers.

**onto**if its range is equal to its co-domain. In this caseLet's check the graph of $f(x)={\displaystyle \frac{1}{x}}$ .

To show $f$ is onto algebraically, take any $y\in {\mathbb{R}}_{\ast}$ . Pick $x={\displaystyle \frac{1}{y}}$ . Because $y$ is a non-zero real number, $x$ is also a non-zero real number, or $x\in {\mathbb{R}}_{\ast}$ .

Hence for every $y\in {\mathbb{R}}_{\ast}$ , there exists some $x\in {\mathbb{R}}_{\ast}$ such that $f(x)=y$ . Therefore, $f$ is onto.

Now, for the second part of the question, let us consider $f:\mathbb{N}\to {\mathbb{R}}_{\ast}$ , $f(x)={\displaystyle \frac{1}{x}}$ .

As far as one-one nature is concerned, nothing changes here. Earlier no two different real number inputs gave the same output. And now, no two different natural number inputs will give the same output. So, $f$ remains one-one.

The main question is whether $f$ remains onto as well. Because $x\in \mathbb{N}$ , $x=1,2,3,\dots $ . So $f(x)=1,{\displaystyle \frac{1}{2}},{\displaystyle \frac{1}{3}},\dots $ .

See that $f(x)$ does not take any negative real number. Also, many positive real numbers like those between $\frac{1}{2}$ and $1$ are left out. So, $f$ is not onto in this case.

**Problem 2:**

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

Solution:

A function is bijective if it is both one-one and onto.

Let us first see an example. Let $A=\{1,2\}$ and $B=\{p,q,r\}$ .

See that $f$ will map each element in the first line above to the element exactly below it. No two different inputs have the same output and all elements of $B\times A$ are covered. For this example, the function is one-one and onto.

Let us now generally show that $f$ is one-one. Let $({a}_{1},{b}_{1})$ and $({a}_{2},{b}_{2})$ be two different inputs having the same output.

Now, recall two ordered pairs are equal if and only if their first and second elements are respectively equal. So, ${b}_{1}={b}_{2}$ and ${a}_{1}={a}_{2}$ .

This means the two inputs are the same and our initial assumption is false. For the same output, we cannot have two different inputs. $f$ is one-one.

To show $f$ is onto, consider the number of elements in $A\times B$ and $B\times A$ .

Now, $f:A\times B\to B\times A$ is a one-one function where the domain and co-domain have the same number of elements. So, $f$ must be onto.

To conclude, $f$ is a bijective function.

**Problem 3:**

Let $f:\mathbb{N}\to \mathbb{N}$ be defined by $f(n)=\{\begin{array}{ll}{\displaystyle \frac{n+1}{2}}& \text{, if}n\text{is odd}\\ \\ {\displaystyle \frac{n}{2}}& \text{, if}n\text{is even}\end{array}$ for all $n\in \mathbb{N}$ .

State whether the function $f$ is bijective. Justify your answer.

Solution:

For $f$ to be bijective, $f$ should be both one-one and onto.

**one-one**if no two different inputs give the same output. Also

**onto**if its range covers the entire set of natural numbers.

Let's check the behaviour of the function.

odd | even | odd | even | |||

Clearly, $f$ is not one-one. $f(1)=f(2)=1$ .

But see that $f$ is onto. If we see the pattern in the second row, we find that all natural numbers will be covered by $f$ .

**Problem 4:**

Let $A=\mathbb{R}-\{3\}$ and $B=\mathbb{R}-\{1\}$ . Consider the function $f:A\to B$ defined by $f(x)={\displaystyle \frac{x-2}{x-3}}$ . Is $f$ one-one and onto? Justify your answer.

Solution:

**one-one**if no two different inputs give the same output. Also

**onto**if its range is equal to

It is a little difficult to understand the behaviour of the function the way it is written. However, if we manipulate the expression a little bit, we can write $f$ in a much simpler form.

Now $\frac{1}{x-3}$ is one-one for $x\in \mathbb{R}-\{3\}$ .

So, $f(x)$ is one-one.

Also, $\frac{1}{x-3}$ takes all real values except $0$ . Its behaviour is similar to $\frac{1}{x}$ . Here's the graph.

So, $f(x)=1+{\displaystyle \frac{1}{x-3}}$ takes all real values except $1$ .

Range of $f=\mathbb{R}-\{1\}$ . Thus $f$ is onto.