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

Exercise 2.1 Solutions (Functions, Domain, Range and Types of Functions) – 11th class math new book (Punjab) featured image

Exercise 2.1 (Functions, Domain, Range and Types of Functions) of Chapter 2: Functions and Graphs, 11th class Mathematics new book (Punjab, PECTAA 2026-27). All 10 questions are solved step by step with the final answer highlighted, with graphs where a figure helps.

Tap a question to open or close it.
Question 1Given that (a) $f(x)=x^2-1$ $\ $ (b) $f(x)=\sqrt{2x+3}$. Find: (i) $f(-3)$ $\ $ (ii) $f(0)$ $\ $ (iii) $f(x-2)$ $\ $ (iv) $f\left(x^2+3\right)$
Formula used

To find $f(a)$, replace every $x$ in the formula of $f(x)$ by $a$ and simplify.

(a) $f(x)=x^2-1$

Sol:

(i)

$$\begin{aligned}f(-3)&=(-3)^2-1\\[6pt]&=9-1\\[6pt]&=8\end{aligned}$$

(ii)

$$\begin{aligned}f(0)&=(0)^2-1\\[6pt]&=-1\end{aligned}$$

(iii)

$$\begin{aligned}f(x-2)&=(x-2)^2-1\\[6pt]&=x^2-4x+4-1\\[6pt]&=x^2-4x+3\end{aligned}$$

(iv)

$$\begin{aligned}f\left(x^2+3\right)&=\left(x^2+3\right)^2-1\\[6pt]&=x^4+6x^2+9-1\\[6pt]&=x^4+6x^2+8\end{aligned}$$
Answer (i) $8$ $\ $ (ii) $-1$ $\ $ (iii) $x^2-4x+3$ $\ $ (iv) $x^4+6x^2+8$

(b) $f(x)=\sqrt{2x+3}$

Sol:

(i)

$$f(-3)=\sqrt{2(-3)+3}=\sqrt{-6+3}$$
$$f(-3)=\sqrt{-3}$$
Common mistake / Note: $\sqrt{-3}$ is not a real number, so $f(-3)$ is not defined in real numbers. The domain of $f$ is $2x+3\ge0$, i.e. $x\ge-\frac32$, and $-3$ is not in it.

(ii)

$$\begin{aligned}f(0)&=\sqrt{2(0)+3}\\[6pt]&=\sqrt3\end{aligned}$$

(iii)

$$\begin{aligned}f(x-2)&=\sqrt{2(x-2)+3}\\[6pt]&=\sqrt{2x-4+3}\\[6pt]&=\sqrt{2x-1}\end{aligned}$$

(iv)

$$\begin{aligned}f\left(x^2+3\right)&=\sqrt{2\left(x^2+3\right)+3}\\[6pt]&=\sqrt{2x^2+6+3}\\[6pt]&=\sqrt{2x^2+9}\end{aligned}$$
Answer (i) $\sqrt{-3}$ (not real) $\ $ (ii) $\sqrt3$ $\ $ (iii) $\sqrt{2x-1}$ $\ $ (iv) $\sqrt{2x^2+9}$
Question 2Find $\dfrac{f(a+h)-f(a)}{h}$ and simplify where,
Formula used
$$\sin C-\sin D=2\cos\frac{C+D}{2}\sin\frac{C-D}{2}$$
$$\sin(A-B)=\sin A\cos B-\cos A\sin B$$
$$(a+h)^3=a^3+3a^2h+3ah^2+h^3$$

(i) $f(x)=4x+7$

Sol:

$$f(a+h)=4(a+h)+7=4a+4h+7$$
$$f(a)=4a+7$$

Now

$$\begin{aligned}\frac{f(a+h)-f(a)}{h}&=\frac{4a+4h+7-4a-7}{h}\\&=\frac{4h}{h}\\&=4\end{aligned}$$
Answer $4$

(ii) $f(x)=\sin x$

Sol:

$$f(a+h)=\sin(a+h)$$
$$f(a)=\sin a$$

Now

$$\begin{aligned}\frac{f(a+h)-f(a)}{h}&=\frac{\sin(a+h)-\sin a}{h}\\&=\frac2h\cos\left(\frac{a+h+a}{2}\right)\sin\left(\frac{a+h-a}{2}\right)\\&=\frac2h\cos\left(\frac{2a+h}{2}\right)\sin\left(\frac{h}{2}\right)\\&=\frac2h\cos\left(\frac{2a}{2}+\frac h2\right)\sin\left(\frac{h}{2}\right)\\&=\frac2h\cos\left(a+\frac h2\right)\sin\left(\frac h2\right)\end{aligned}$$
Answer $\dfrac2h\cos\left(a+\dfrac h2\right)\sin\left(\dfrac h2\right)$

(iii) $f(x)=x^3+x^2-1$

Sol:

$$\begin{aligned}f(a+h)&=(a+h)^3+(a+h)^2-1\\&=a^3+3a^2h+3ah^2+h^3+a^2+2ah+h^2-1\end{aligned}$$
$$f(a)=a^3+a^2-1$$

Subtracting:

$$\begin{aligned}f(a+h)-f(a)&=a^3+3a^2h+3ah^2+h^3+a^2+2ah\\&\qquad+h^2-1-a^3-a^2+1\\&=3a^2h+3ah^2+h^3+2ah+h^2\end{aligned}$$

Now

$$\begin{aligned}\frac{f(a+h)-f(a)}{h}&=\frac{3a^2h+3ah^2+h^3+2ah+h^2}{h}\\&=\frac{h\left(h^2+3ah+h+3a^2+2a\right)}{h}\\&=h^2+3ah+h+3a^2+2a\end{aligned}$$
Answer $h^2+3ah+h+3a^2+2a$

(iv) $f(x)=\tan x$

Sol:

$$f(a+h)=\tan(a+h)$$
$$f(a)=\tan a$$

Now

$$\begin{aligned}\frac{f(a+h)-f(a)}{h}&=\frac{\tan(a+h)-\tan a}{h}\\&=\frac1h\left[\frac{\sin(a+h)}{\cos(a+h)}-\frac{\sin a}{\cos a}\right]\\&=\frac{\sin(a+h)\cos a-\cos(a+h)\sin a}{h\cos(a+h)\cos a}\\&=\frac{\sin(a+h-a)}{h\cos(a+h)\cos a}\\&=\frac{\sin h}{h\cos a\cos(a+h)}\end{aligned}$$
Answer $\dfrac{\sin h}{h\cos a\cos(a+h)}$
Question 3Express the following:
Formula used

Square: $A=x^2,\ P=4x$. $\quad$ Circle: $C=2\pi r,\ A=\pi r^2$. $\quad$ Cube: $S=6x^2,\ V=x^3$.

(a) The area $A$ of a square as a function of its perimeter $P$.

Sol: Let $x$ be the length of a side of the square. Then

$$A=x^2\qquad\text{(i)}$$
$$\begin{aligned}P&=x+x+x+x\\[6pt]&=4x\end{aligned}$$
$$x=\frac P4$$

Put $x=\frac P4$ in eq. (i):

$$\begin{aligned}A&=\left(\frac P4\right)^2\\[6pt]&=\frac{P^2}{16}\end{aligned}$$
Answer $A=\dfrac{P^2}{16}$

(b) The circumference $C$ of a circle as a function of its area $A$.

Sol: Let $r$ be the radius of the circle. Then

$$C=2\pi r\qquad\text{(i)}$$
$$A=\pi r^2$$
$$r^2=\frac A\pi$$
$$r=\sqrt{\frac A\pi}$$

Put $r=\sqrt{\frac A\pi}$ in eq. (i):

$$\begin{aligned}C&=2\pi\sqrt{\frac A\pi}\\[6pt]&=2\pi^{1-\frac12}\sqrt A\\[6pt]&=2\pi^{\frac12}\sqrt A\\[6pt]&=2\sqrt{\pi A}\end{aligned}$$
Answer $C=2\sqrt{\pi A}$

(c) The surface area $S$ of a cube as a function of its volume $V$.

Sol: Let $x$ be the length of an edge of the cube. Then

$$S=6x^2\qquad\text{(i)}$$
$$\begin{aligned}V&=x\cdot x\cdot x\\[6pt]&=x^3\end{aligned}$$
$$\left(x^3\right)^{\frac13}=V^{\frac13}$$
$$x=V^{\frac13}$$

Put $x=V^{\frac13}$ in eq. (i):

$$\begin{aligned}S&=6\left(V^{\frac13}\right)^2\\[6pt]&=6V^{\frac23}\end{aligned}$$
Answer $S=6V^{\frac23}$
Question 4Find the domain and the range of the function $g$ defined below:
Formula used

Domain: the set of all input values ($x$-values) for which the function is defined (not infinite, not imaginary).

Range: the set of all output values ($y$-values) that the function produces.

Open interval $(a,b)$: end points not included. $\ $ Closed interval $[a,b]$: end points included. $\ $ Semi-open $[a,b)$ or $(a,b]$: one end point included.

(i) $g(x)=5-x$

Sol: $g(x)=5-x$ is a linear function. It is defined for every real number and it takes every real value.

$$\text{Domain }g=(-\infty,\infty)$$
$$\text{Range }g=(-\infty,\infty)$$
Answer Domain $g=(-\infty,\infty)$, $\ $ Range $g=(-\infty,\infty)$

(ii) $g(x)=\sqrt{x+2}$

Sol: The square root of a negative number is not real, so

$$x+2\ge0$$
$$x\ge-2$$
$$\text{Domain }g=[-2,\infty)$$

When $x=-2$:

$$g(-2)=\sqrt{-2+2}=\sqrt0$$
$$g(-2)=0$$

A square root is never negative, and $\sqrt{x+2}$ grows without bound as $x$ increases.

$$\text{Range }g=[0,\infty)$$
Answer Domain $g=[-2,\infty)$, $\ $ Range $g=[0,\infty)$

(iii) $g(x)=\begin{cases}6x+7, & x\le-2\\ 4-3x, & x>-2\end{cases}$

Sol: The first part is defined for $x\le-2$ and the second part for $x>-2$; together they cover all real numbers.

$$\begin{aligned}\text{Domain }g&=(-\infty,-2]\cup(-2,\infty)\\[6pt]&=(-\infty,\infty)\end{aligned}$$

Range for $6x+7$:

$$x\le-2$$

Multiply both sides by $6$:

$$6x\le-12$$

Add $7$ on both sides:

$$6x+7\le-12+7$$
$$6x+7\le-5$$
$$g(x)\le-5\qquad\text{(i)}$$

Range for $4-3x$:

$$x>-2$$
$$-x<2$$

Multiply both sides by $3$:

$$-3x<6$$

Add $4$ on both sides:

$$4-3x<6+4$$
$$4-3x<10$$
$$g(x)<10\qquad\text{(ii)}$$

Combining (i) and (ii):

$$\begin{aligned}\text{Range }g&=(-\infty,-5]\cup(-\infty,10)\\[6pt]&=(-\infty,10)\end{aligned}$$
Piecewise g(x): 6x+7 for x<=-2, 4-3x for x>-2xy−6−5−4−3−2−11234−12−10−8−6−4−224681012O(−2, −5)(−2, 10)6x + 7, x ≤ −24 − 3x, x > −2
Both pieces of $g$: the left piece ends at $(-2,-5)$; the right piece comes close to $10$ but never reaches it.
Answer Domain $g=(-\infty,\infty)$, $\ $ Range $g=(-\infty,10)$

(iv) $g(x)=|x-5|$

Sol: $|x-5|$ is defined for every real number.

$$\text{Domain }g=(-\infty,\infty)$$

The absolute value of any number is always positive or zero; it can never be negative. Its minimum value is $0$ (at $x=5$).

$$\text{Range }g=[0,\infty)$$
Answer Domain $g=(-\infty,\infty)$, $\ $ Range $g=[0,\infty)$

(v) $g(x)=\dfrac{x+2}{3-x}$

Sol: $g(x)$ is not defined when $3-x=0$, i.e. $x=3$.

$$\text{Domain }g=R-\{3\}$$

Let

$$y=\frac{x+2}{3-x}$$
$$y(3-x)=x+2$$
$$3y-yx=x+2$$
$$\begin{aligned}3y-2&=x+yx\\[6pt]&=x(1+y)\end{aligned}$$
$$x=\frac{3y-2}{1+y}$$

$x$ is a real number for every $y$ except $y=-1$.

$$\text{Range }g=R-\{-1\}$$
Answer Domain $g=R-\{3\}$, $\ $ Range $g=R-\{-1\}$
Question 5Given $f(x)=x^3-ax^2+bx+1$. If $f(2)=-3$ and $f(-1)=0$, find the values of $a$ and $b$.

Sol:

$$f(x)=x^3-ax^2+bx+1$$

Put $x=2$:

$$f(2)=(2)^3-a(2)^2+b(2)+1$$
$$-3=8-4a+2b+1$$
$$-3-8-1=-4a+2b$$
$$-12=2(-2a+b)$$
$$-6=-2a+b$$
$$-2a+b=-6\qquad\text{(i)}$$

Put $x=-1$:

$$f(-1)=(-1)^3-a(-1)^2+b(-1)+1$$
$$\begin{aligned}0&=-1-a-b+1\\[6pt]&=-a-b\end{aligned}$$
$$-a-b=0\qquad\text{(ii)}$$

Adding eq. (i) and eq. (ii):

$$\begin{aligned}-2a+b&=-6\\-a-b&=0\\-3a&=-6\end{aligned}$$
$$\begin{aligned}a&=\frac{-6}{-3}\\[6pt]&=2\end{aligned}$$

Put $a=2$ in eq. (i):

$$-2(2)+b=-6$$
$$-4+b=-6$$
$$\begin{aligned}b&=-6+4\\[6pt]&=-2\end{aligned}$$
Answer $a=2,\ b=-2$
Question 6A stone falls from a height of 60 m on the ground, the height $h$ after $x$ seconds is approximately given by $h(x)=40-10x^2$. (i) What is the height of the stone when (a) $x=1$ sec (b) $x=1.5$ sec (c) $x=1.7$ sec? (ii) When does the stone strike the ground?

(i) (a) $x=1$ sec

Sol:

$$h(x)=40-10x^2$$

Put $x=1$:

$$\begin{aligned}h(1)&=40-10(1)^2\\[6pt]&=40-10\\[6pt]&=30\ \text{m}\end{aligned}$$
Answer $30$ m

(i) (b) $x=1.5$ sec

Sol: Put $x=1.5$:

$$\begin{aligned}h(1.5)&=40-10(1.5)^2\\[6pt]&=40-10(2.25)\\[6pt]&=40-22.5\\[6pt]&=17.5\ \text{m}\end{aligned}$$
Answer $17.5$ m

(i) (c) $x=1.7$ sec

Sol: Put $x=1.7$:

$$\begin{aligned}h(1.7)&=40-10(1.7)^2\\[6pt]&=40-10(2.89)\\[6pt]&=40-28.9\\[6pt]&=11.1\ \text{m}\end{aligned}$$
Answer $11.1$ m

(ii) When does the stone strike the ground?

Sol: When the stone strikes the ground, its height is zero. Put $h(x)=0$:

$$40-10x^2=0$$
$$-10x^2=-40$$
$$\begin{aligned}x^2&=\frac{-40}{-10}\\[6pt]&=4\end{aligned}$$
$$x=\pm2$$

Since time cannot be negative, $x=2$ seconds.

Answer The stone strikes the ground after $2$ seconds.
Question 7Consider the function $f(x)=3x-5$. (i) Determine the domain and range of $f(x)$. (ii) Is the function $f$ one-to-one? Justify your answer. (iii) Is the function $f$ onto if the co-domain is all real numbers? Explain.
Formula used

One-to-one: $f(x_1)=f(x_2)\Rightarrow x_1=x_2$. $\quad$ Onto: every $y$ in the co-domain has a pre-image $x$ with $f(x)=y$.

(i) Domain and range

Sol: $f(x)=3x-5$ is a linear function. Its domain is the set of real numbers and its range is also the set of real numbers.

Answer Domain $f=(-\infty,\infty)$, $\ $ Range $f=(-\infty,\infty)$

(ii) Is $f$ one-to-one?

Sol: Let

$$f(x_1)=f(x_2)$$
$$3x_1-5=3x_2-5$$
$$3x_1-5+5=3x_2$$
$$3x_1=3x_2$$
$$x_1=x_2$$
Answer Yes, $f$ is one-to-one, because equal outputs imply equal inputs.

(iii) Is $f$ onto?

Sol:

$$y=3x-5$$
$$y+5=3x$$
$$x=\frac{y+5}{3}$$

For each real $y$ in the co-domain, $x=\dfrac{y+5}{3}$ is a real number in the domain and $f\left(\dfrac{y+5}{3}\right)=3\left(\dfrac{y+5}{3}\right)-5=y$.

Answer Yes, $f$ is onto when the co-domain is all real numbers.
Question 8Let $f:R\to R$ be defined by $f(x)=\dfrac{2x-3}{x+1}$. (i) Find the domain and range of $f(x)$. (ii) Determine whether $f(x)$ is onto. (iii) Prove that $f(x)$ is one-to-one.

(i) Domain and range

Sol: $f(x)$ is not defined when $x+1=0$, i.e. $x=-1$.

$$\text{Domain }f=R-\{-1\}$$

Let

$$y=\frac{2x-3}{x+1}$$
$$y(x+1)=2x-3$$
$$yx+y=2x-3$$
$$yx-2x=-y-3$$
$$x(y-2)=-y-3$$
$$x=\frac{-y-3}{y-2}$$

$x$ is a real number for every $y$ except $y=2$.

$$\text{Range }f=R-\{2\}$$
Answer Domain $f=R-\{-1\}$, $\ $ Range $f=R-\{2\}$

(ii) Is $f(x)$ onto?

Sol: From part (i), $x=\dfrac{-y-3}{y-2}$ does not exist for $y=2$. Check directly whether any $x$ gives $f(x)=2$:

$$\frac{2x-3}{x+1}=2$$
$$2x-3=2x+2$$
$$-3=2$$

which is impossible. So $y=2$ in the co-domain $R$ has no pre-image, i.e. Range $f=R-\{2\}\ne R$.

f(x)=(2x-3)/(x+1) with asymptotes x=-1 and y=2xy−7−6−5−4−3−2−112345−6−4−2246810Oy = (2x − 3)/(x + 1)y = 2 is never reached
The graph never meets the line $y=2$, so $2$ is not an image.
Answer $f(x)$ is not onto.

(iii) Prove that $f(x)$ is one-to-one.

Sol: Let

$$f(x_1)=f(x_2)$$
$$\frac{2x_1-3}{x_1+1}=\frac{2x_2-3}{x_2+1}$$
$$(2x_1-3)(x_2+1)=(2x_2-3)(x_1+1)$$
$$2x_1x_2+2x_1-3x_2-3=2x_1x_2+2x_2-3x_1-3$$
$$2x_1-3x_2=2x_2-3x_1$$
$$2x_1+3x_1=2x_2+3x_2$$
$$5x_1=5x_2$$
$$x_1=x_2$$
Answer $f(x)$ is a one-to-one function.
Question 9Consider the function $f:R^+\to R^+$ defined by $f(x)=e^{-x}$. Show that $f(x)$ is a bijective.

Sol: One-to-one: Let

$$f(x_1)=f(x_2)$$
$$e^{-x_1}=e^{-x_2}$$

Taking $\ln$ of both sides:

$$\ln e^{-x_1}=\ln e^{-x_2}$$
$$-x_1=-x_2$$
$$x_1=x_2$$

Therefore $f(x)$ is one-to-one.

Onto: Let

$$y=e^{-x}$$
$$\begin{aligned}\ln y&=\ln e^{-x}\\[6pt]&=-x\ln e\\[6pt]&=-x\end{aligned}$$
$$x=-\ln y$$

For $x$ to lie in the domain $R^+$ we need $-\ln y>0$, i.e. $\ln y<0$, i.e. $0<y<1$. So every $y$ in $(0,1)$ has the pre-image $x=-\ln y>0$, but a value such as $y=2$ would need $x=-\ln2<0$, which is not in $R^+$.

f(x)=e^{-x} for x>0 takes values only between 0 and 1xy1234−0.20.20.40.60.811.2O(0, 1)y = e−x​, x > 0y = 1
For $x>0$ the values of $e^{-x}$ lie between $0$ and $1$.
Common mistake / Note: As printed, the co-domain $R^+$ makes $f$ one-to-one but not onto (values $y\ge1$ are missed). The function is bijective when the co-domain is its range $(0,1)$, i.e. $f:R^+\to(0,1)$; equally, $f(x)=e^{-x}$ from $R$ to $R^+$ is bijective. With the co-domain $(0,1)$: every $y$ in $(0,1)$ has the pre-image $x=-\ln y$ in $R^+$, so $f$ is onto.
Answer $f(x)=e^{-x}$ is one-to-one; it is onto (hence bijective) when the co-domain is taken as $(0,1)$.
Question 10Let $g:R\to R$ be given by $g(x)=x^3-3x$. Determine if $g(x)$ is injective and/or surjective.

Sol:

$$g(x)=x^3-3x$$
$$g(0)=0^3-3(0)=0$$
$$\begin{aligned}g\left(\sqrt3\right)&=\left(\sqrt3\right)^3-3\sqrt3\\[6pt]&=3\sqrt3-3\sqrt3\\[6pt]&=0\end{aligned}$$

Since $g(0)=g\left(\sqrt3\right)$ but $0\ne\sqrt3$, $g(x)$ is not injective.

Let

$$y=x^3-3x$$
$$x^3-3x-y=0$$

Every cubic equation with real coefficients has at least one real root. Thus for every $y$ in the co-domain there is a corresponding $x$ in the domain. Hence $g(x)$ is surjective.

g(x)=x^3-3xxy−3−2−1123−4−3−2−11234O−√3√3y = x3​ − 3x
The horizontal line $y=0$ meets the curve three times (not injective), and the curve covers every $y$-value (surjective).
Answer $g(x)$ is not injective, but it is surjective.

Quick check: MCQs on Exercise 2.1

  1. The term function was used by the German mathematician
    (a) Euler · (b) Leibniz · (c) Lagrange · (d) Newton
    Show answer
    Answer: (b) Leibniz. Leibniz (1646–1716) introduced the term.
  2. The symbolic way to write a function as $y=f(x)$ was introduced by
    (a) Euler · (b) Lagrange · (c) Leibniz · (d) Boher
    Show answer
    Answer: (a) Euler. Euler (1707–1783) introduced $y=f(x)$.
  3. If $y=f(x)$ is a function, then $y$ is called the
    (a) dependent variable · (b) independent variable · (c) co-domain · (d) domain
    Show answer
    Answer: (a) dependent variable. $y$ depends on $x$.
  4. If $y$ is the image of $x$ under the function $f$, we write it as
    (a) $x=f(y)$ · (b) $y\ne f(x)$ · (c) $y=x$ · (d) $y=f(x)$
    Show answer
    Answer: (d) $y=f(x)$. The image of $x$ is $f(x)$.

Take the Exercise 2.1 quiz

Popular posts from this blog

Exercise 6.2 Solutions – 11th Class Math New Book (Arithmetic Progression (A.P.))

Exercise 14.3 Examples – 11th Class Math New Book (Cross or Vector Product)

Exercise 10.3 Solutions – 11th Class Math New Book (Double, Half and Triple Angle Identities)