Class 12 Maths NCERT Solutions Chapter 1 Ex 1.2 – Types of Functions | Boundless Maths
Ex 1.2 Class 12 Maths NCERT Solutions · Chapter 1

Class 12 Maths NCERT Solutions Chapter 1 Ex 1.2 – Types of Functions

Free, step-by-step Class 12 Maths NCERT Solutions for Chapter 1 Ex 1.2 — all 12 questions solved, checking functions for one-one (injective) and onto (surjective) behaviour, and identifying bijective functions.

Questions 1–5 build the core intuition using standard functions — reciprocal, power, greatest integer, modulus and signum — showing how the same domain can behave completely differently depending on which set you're mapping to or from (Q1 in particular shows the same function turning from bijective to merely injective just by shrinking the domain from ℝ* to ℕ). Questions 6–10 apply this to less familiar functions, including a rational function (Q10) where proving "onto" takes real algebraic work, before two MCQs close the exercise.

12Questions
Easy–HardDifficulty Mix
2026-27CBSE Syllabus

Class 12 Maths NCERT Solutions Chapter 1 Ex 1.2 — All 12 Questions

1

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

Medium +
Solution
Part 1: f : ℝ* → ℝ*, f(x) = 1/x

If f(x_1)=f(x_2), then \frac{1}{x_1}=\frac{1}{x_2}\Rightarrow x_1=x_2, so f is one-one.

Given any y\in\mathbb{R}_*, taking x=\frac{1}{y} (a valid non-zero real since y\neq0) gives f(x)=y, so f is onto.

Part 2: what if the domain is ℕ instead?

The one-one argument still holds for f:\mathbb{N}\to\mathbb{R}_*. But onto fails: taking y=2\in\mathbb{R}_* would need x=\frac12\notin\mathbb{N}.

f is one-one and onto on ℝ*. No — the result is not true with domain ℕ: f remains one-one, but is no longer onto.
2

Check the injectivity and surjectivity of the following functions:
(i) f:\mathbb{N}\to\mathbb{N} given by f(x)=x^2  (ii) f:\mathbb{Z}\to\mathbb{Z} given by f(x)=x^2  (iii) f:\mathbb{R}\to\mathbb{R} given by f(x)=x^2  (iv) f:\mathbb{N}\to\mathbb{N} given by f(x)=x^3  (v) f:\mathbb{Z}\to\mathbb{Z} given by f(x)=x^3

Hard +
Solution
(i) f : ℕ → ℕ, f(x) = x²

Injective on the positive naturals (x_1^2=x_2^2\Rightarrow x_1=x_2), but not surjective — 2 has no natural square root.

(ii) f : ℤ → ℤ, f(x) = x²

Not injective (f(-1)=1=f(1)), not surjective (2 has no integer square root).

(iii) f : ℝ → ℝ, f(x) = x²

Not injective (f(-1)=1=f(1)), not surjective (−1 has no real square root, since x^2\ge0 always).

(iv) f : ℕ → ℕ, f(x) = x³

Injective (cubing is strictly increasing on the naturals), not surjective — 2 has no natural cube root.

(v) f : ℤ → ℤ, f(x) = x³

Injective (cubing is strictly increasing over all of ℤ), not surjective — 2 has no integer cube root.

(i),(iv),(v): injective but not surjective. (ii),(iii): neither injective nor surjective.
3

Prove that the Greatest Integer Function f:\mathbb{R}\to\mathbb{R}, given by f(x)=[x], is neither one-one nor onto, where [x] denotes the greatest integer less than or equal to x.

Easy +
Solution

f(1.2)=1=f(1.9) even though 1.2\neq1.9 — not one-one. Since [x] is always an integer, a value like y=0.5\in\mathbb{R} is never produced — not onto.

f is neither one-one nor onto, proved.
4

Show that the Modulus Function f:\mathbb{R}\to\mathbb{R}, given by f(x)=|x|, is neither one-one nor onto, where |x| is x if x is positive or 0, and -x if x is negative.

Easy +
Solution

f(-1)=1=f(1) — not one-one. Since |x|\ge0 always, a negative value like -1\in\mathbb{R} is never produced — not onto.

f is neither one-one nor onto, proved.
5

Show that the Signum Function f:\mathbb{R}\to\mathbb{R}, given by f(x)=\begin{cases}1, & x \gt 0\\0, & x=0\\-1, & x \lt 0\end{cases} is neither one-one nor onto.

Easy +
Solution

f(1)=1=f(2), both positive give the same output — not one-one. The only possible outputs are \{-1,0,1\}, so a value like 2\in\mathbb{R} is never produced — not onto.

f is neither one-one nor onto, proved.
6

Let A=\{1,2,3\}, B=\{4,5,6,7\} and let f=\{(1,4),(2,5),(3,6)\} be a function from A to B. Show that f is one-one.

Easy +
Solution

The three distinct inputs 1,2,3 map to the three distinct outputs 4,5,6 — no two different inputs share an output.

Since distinct elements of A have distinct images, f is one-one, proved.
7

In each of the following cases, state whether the function is one-one, onto or bijective. Justify your answer.
(i) f:\mathbb{R}\to\mathbb{R} defined by f(x)=3-4x  (ii) f:\mathbb{R}\to\mathbb{R} defined by f(x)=1+x^2

Medium +
Solution
(i) f(x) = 3 − 4x

f(x_1)=f(x_2)\Rightarrow3-4x_1=3-4x_2\Rightarrow x_1=x_2 — one-one. Given any y\in\mathbb{R}, x=\frac{3-y}{4}\in\mathbb{R} solves f(x)=y — onto.

f is bijective.
(ii) f(x) = 1 + x²

f(-1)=2=f(1) — not one-one. Range is [1,\infty) since x^2\ge0, so a value like -1 is never attained — not onto.

f is neither one-one nor onto (so not bijective).
8

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.

Medium +
Solution

If f(a_1,b_1)=f(a_2,b_2), then (b_1,a_1)=(b_2,a_2)\Rightarrow a_1=a_2,\ b_1=b_2 — one-one.

Given any (b,a)\in B\times A, taking (a,b)\in A\times B gives f(a,b)=(b,a) — onto.

f is bijective, proved.
9

Let f:\mathbb{N}\to\mathbb{N} be defined by f(n)=\begin{cases}\dfrac{n+1}{2}, & n \text{ is odd}\\[4pt]\dfrac{n}{2}, & n \text{ is even}\end{cases} for all n\in\mathbb{N}. State whether the function f is bijective. Justify your answer.

Medium +
Solution

f(1)=\frac{1+1}{2}=1 (odd rule), and f(2)=\frac22=1 (even rule). So f(1)=f(2)=1 while 1\neq2 — f is not one-one.

f is not bijective, since it fails to be one-one. (It is actually onto — every m ∈ ℕ is the image of 2m — but many-one, not one-one.)
10

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

Hard +
Solution

If f(x_1)=f(x_2), cross-multiplying (x_1-2)(x_2-3)=(x_2-2)(x_1-3) and expanding both sides cancels x_1x_2 and the constant terms, leaving -3x_1-2x_2=-3x_2-2x_1\Rightarrow x_1=x_2 — one-one.

For onto, given y\in B (so y\neq1), solving y=\frac{x-2}{x-3} gives x=\frac{3y-2}{y-1}. Checking whether this x could equal 3: 3=\frac{3y-2}{y-1}\Rightarrow3y-3=3y-2\Rightarrow-3=-2, a contradiction — so x is never 3, meaning it's always a valid element of A.

Yes — f is both one-one and onto.
11

MCQ. Let f:\mathbb{R}\to\mathbb{R} be defined as f(x)=x^4. Choose the correct answer:   (A) f is one-one onto   (B) f is many-one onto   (C) f is one-one but not onto   (D) f is neither one-one nor onto

Easy +
Solution

f(-1)=1=f(1) — many-one, not one-one. Since x^4\ge0 always, negative values like -1 are never attained — not onto.

Answer: (D) f is neither one-one nor onto.
12

MCQ. Let f:\mathbb{R}\to\mathbb{R} be defined as f(x)=3x. Choose the correct answer:   (A) f is one-one onto   (B) f is many-one onto   (C) f is one-one but not onto   (D) f is neither one-one nor onto

Easy +
Solution

f(x_1)=f(x_2)\Rightarrow3x_1=3x_2\Rightarrow x_1=x_2 — one-one. Given any y\in\mathbb{R}, x=\frac{y}{3} gives f(x)=y — onto.

Answer: (A) f is one-one onto.

Know exactly which chapters are costing you marks

1000+ solved CBSE PYQs, unlimited AI-generated practice for your weak areas, and a chapter-wise Performance Report — not just for this chapter, but your entire syllabus.

Explore it →
Common Questions

Class 12 Maths NCERT Solutions Chapter 1 Ex 1.2 — FAQs

How many questions are there in Exercise 1.2?
Exercise 1.2 has 12 questions (10 short-answer/proof questions plus 2 MCQs), all on checking whether a function is one-one (injective), onto (surjective), or bijective.
What is the difference between one-one, onto and bijective functions?
A function is one-one (injective) if distinct inputs always give distinct outputs. It is onto (surjective) if every element of the codomain is the image of some element of the domain. A function that is both one-one and onto is called bijective.
Where can I find the official NCERT textbook for this chapter?
Relations and Functions is Chapter 1 of the NCERT Class 12 Mathematics textbook (Part I), published by the National Council of Educational Research and Training (NCERT) and prescribed by CBSE. You can download the official textbook PDF directly from ncert.nic.in, NCERT's official website — the solutions on this page follow the exercise exactly as it appears there.

Carry the formulas with you

One-page printable formula deck for every unit, including Relations and Functions.

Get Formula Cards →
Expert CBSE Coaching · Class 9–12