Exercise 2.1 Examples – 11th Class Math New Book (Functions, Domain, Range and Types of Functions)

Solved examples of Exercise 2.1 (Functions, Domain, Range and Types of Functions): the 6 textbook examples of Section 2.1, Chapter 2: Functions and Graphs, 11th class Mathematics new book (Punjab, PECTAA 2026-27), worked step by step.
Example 1Given $f(x)=x^3-2x^2+4x-1$, find: (i) $f(0)$ (ii) $f(1)$ (iii) $f(-2)$ (iv) $f(1+x)$ (v) $f\left(\frac1x\right),\ x\ne0$
Solution:
(i)
(ii)
(iii)
(iv)
(v)
Example 2Find the domain and range of $f(x)=x^2$.
Solution: $f(x)=x^2$ is defined for every real number $x$, and $x^2$ is always a non-negative real number.
Example 3Find the domain and range of $f(x)=\dfrac{x}{x^2-4}$.
Solution: At $x=2$ and $x=-2$ the denominator is zero, so $f(x)$ is not defined.
Let
By the quadratic formula (in $x$):
Clearly $x$ is defined for all $y\ne0$. For $y=0$ we have $0=\dfrac{x}{x^2-4}\Rightarrow x=0$, i.e. $f(0)=0$.
Example 4Find the domain and range of $f(x)=\sqrt{x^2-9}$.
Solution: The square root of a negative number is not a real number, therefore
Let $x^2-9=0\Rightarrow x=\pm3$. These critical points divide the number line into three regions:
- Put $x=-4$ in (i): $16-9\ge0$ (True)
- Put $x=0$ in (i): $0-9\ge0$ (False)
- Put $x=4$ in (i): $16-9\ge0$ (True)
The smallest value of $x^2-9$ is $0$ (when $x=\pm3$), so the smallest value of $y$ is $\sqrt0=0$. As $|x|$ increases beyond $3$, $x^2-9$ grows to $+\infty$, so $y$ grows to $+\infty$.
Example 5Show that the function $f(x)=x+1$, where the domain and co-domain are all real numbers, is bijective.
Solution: A function is bijective if it is both one-to-one and onto.
One-to-one: suppose $f(x_1)=f(x_2)$:
So $f$ is one-to-one.
Onto: for every real number $y$ there is a real number $x=y-1$ such that
So $f$ is onto.
Example 6Show that the function $f(x)=x^2-2$, where the domain and co-domain are all real numbers, is neither one-to-one nor onto.
Solution:
Taking square roots: $x_1=x_2$ or $x_1=-x_2$. This does not imply $x_1=x_2$; for example $x_1=2,\ x_2=-2$ gives $x_1\ne x_2$ but $f(2)=2=f(-2)$. Thus $f$ is not one-to-one.
Also, $-2$ is the smallest value that $f(x)=x^2-2$ can take (only at $x=0$). Any number less than $-2$ in the co-domain is not the image of any real $x$; e.g. $f(x)=-3\Rightarrow x^2-2=-3\Rightarrow x^2=-1$, which has no real root.