Exercise 1.1 Examples – 12th Class Math Federal Board (Functions, Domain, Range and Inverses)

All textbook examples for Exercise 1.1 (Functions, Domain, Range and Inverses) of Chapter 1: Functions and Graphs, 12th class Mathematics, Federal Board (FBISE). All 7 examples are worked step by step, with the final answers highlighted.
Worked textbook examples
Example 1Find the domain and range of a function $f(x)=2x^2-4$.
Solution:
The square and subtraction are defined for every $x\in R$. Since $2x^2\ge0$, $f(x)\ge-4$, with equality at zero. For any $y\ge-4$, substituting $x=\sqrt{\frac{y+4}{2}}$ gives $f(x)=y$.
$\operatorname{Rang}f=[-4,\infty)$
Example 2Find the domain and range of function $g(x)=\sqrt{x-3}$.
Solution:
The radicand satisfies $x-3\ge0$ precisely for $x\ge3$. The output is non-negative and $g(3)=0$.
For any $y\ge0$, the input $3+y^2$ gives $g(3+y^2)=\sqrt{y^2}=y$.
$\operatorname{Rang}g=[0,\infty)$
Example 3Check whether the function $f(x)=2x+3$, is one-to-one or not if domain $=\{0.5,1,2\}$ and codomain $=\{4,5,7\}$.
Solution:
Each listed output occurs once. Also, equality of two outputs for this formula gives $2x_1=2x_2$, so $x_1=x_2$.
Example 4Check whether the function is one-to-one or not: $f(x)=2x^2+1$.
Solution:
Taking $f(x_1)=f(x_2)$ gives $x_1^2=x_2^2$.
This allows opposite inputs, for example $f(1)=3=f(-1)$.
A horizontal line at $y=3$ meets the graph twice.
Example 5Check the type of function $f(x)=x^2-1$ if $\operatorname{Dom}f(x)=\{1,-1,2,-2\}$ and $\operatorname{Codom}f(x)=\{0,3,-3\}$.
Solution:
The range is $\{0,3\}$. The output $-3$ would require $x^2=-2$, which has no real solution. The repeated images also show that it is many-to-one.
Example 6Find the type of the function $f(x)=3x+2$ defined on $f:R\to R$.
Solution:
Let $y=3x+2$. Then $x=\dfrac{y-2}{3}\in R$ for each $y\in R$.
This proves it is onto, as stated in the book. The input solution is also unique since the slope is nonzero.
Example 7Find the inverse function of $f(x)=\dfrac{x}{x-2}$ defined on $f:R\to R$.
Solution:
(i) Find domain and range of function and its inverse.
The original denominator requires $x\ne2$. Also $f(x)=1+\dfrac{2}{x-2}$, so $f(x)\ne1$.
Every $y\ne1$ gives a valid $x$, since $\dfrac{2y}{y-1}-2=\dfrac{2}{y-1}$. Exchanging input and output gives $f^{-1}(x)=\dfrac{2x}{x-1}$.
(ii) Prove that $f\circ f^{-1}(x)=f^{-1}\circ f(x)=x$.
$\operatorname{Dom}f^{-1}=\operatorname{Rang}f=R-\{1\}$
$\operatorname{Rang}f^{-1}=\operatorname{Dom}f=R-\{2\}$