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

Exercise 1.1 (Functions, Domain, Range and Inverses) of Chapter 1: Functions and Graphs, 12th class Mathematics, Federal Board (FBISE). All 9 questions are worked step by step, with the final answers highlighted.
Worked textbook questions
Question 1Find the domain of following functions.
A polynomial is defined throughout $R$. For a fraction, exclude every zero of the denominator. For a real square root, the radicand must be non-negative.
(i) $f(x)=x^2-6$
Sol:
The expression $x^2-6$ is a polynomial. Every $x\in R$ gives a real value of $f(x)$.
(ii) $g(x)=\dfrac{x}{x+3}$
Sol:
Division by zero is undefined. Find the input that makes the denominator zero.
At $x=-3$ the denominator is zero. For every other real $x$ the denominator is nonzero and the quotient is defined.
(iii) $h(x)=\dfrac{x+4}{x^2-9}$
Sol:
Set the denominator equal to zero and factor the difference of squares.
The first factor gives $x=3$ and the second gives $x=-3$. Exclude both inputs. At every other real input the denominator is nonzero.
(iv) $i(x)=\dfrac{x}{5x+2}$
Sol:
The excluded input solves the denominator equation.
The fraction is defined for all remaining real inputs.
(v) $j(x)=\dfrac{x}{x^2+4}$
Sol:
The only possible restriction would come from a zero denominator. Test the equation $x^2+4=0$.
A real square is nonnegative, so this equation has no real solution. In fact, $x^2+4\ge4$ for every real $x$.
(vi) $k(x)=\sqrt{x+1}$
Sol:
A real square root requires a nonnegative radicand.
Include $x=-1$ because the square root of zero is defined.
Question 2Find the domain and range of the functions.
Use the original expression for domain restrictions. To determine the range, bound the output or solve $y=f(x)$ for an allowed input.
(i) $f(x)=x+7$
Sol:
Domain. The formula $x+7$ is defined for every real $x$.
Range. Put $y=x+7$. For each real $y$, the input is $x=y-7$.
$\operatorname{Rang}f=R$
(ii) $f(x)=2x^2+1$
Sol:
Domain. Every real input can be squared.
Range. Since $x^2\ge0$, the least value of $2x^2+1$ is $1$, at $x=0$. The positive half of the parabola takes every height above $1$.
$\operatorname{Rang}f=[1,\infty)$
(iii) $f(x)=2\sqrt{x-5}$
Sol:
Domain. The root requires $x-5\ge0$, so $x\ge5$.
Range. For those inputs, $2\sqrt{x-5}\ge0$. It starts at $0$ when $x=5$ and increases without bound.
$\operatorname{Rang}f=[0,\infty)$
(iv) $f(x)=|x-2|-3$
Sol:
Domain. The absolute value is defined for every real input.
Range. The least value of $|x-2|$ is zero at $x=2$. Thus the least height is $-3$, and the graph rises without bound on either side.
$\operatorname{Rang}f=[-3,\infty)$
(v) $f(x)=1+\sin x$
Sol:
Domain. Sine is defined for all real $x$.
Range. Start with the full range of sine and add $1$.
$\operatorname{Rang}f=[0,2]$
(vi) $f(x)=3+\sqrt{x-2}$
Sol:
Domain. Use $x-2\ge0$, giving $x\ge2$.
Range. The square root increases from $0$ without bound as $x$ increases from $2$. Adding $3$ makes the lowest height $3$.
$\operatorname{Rang}f=[3,\infty)$
(vii) $f(x)=\dfrac{3e^x}{7}$
Sol:
Domain. The exponential $e^x$ is defined for every real $x$.
Range. Its range is $(0,\infty)$. Multiplication by the positive constant $\frac37$ leaves that range unchanged.
$\operatorname{Rang}f=(0,\infty)$
(viii) $f(x)=\dfrac{x^2-16}{x+4}$
Sol:
Domain. Exclude $x=-4$, where $x+4=0$.
Range. Factor the numerator and cancel with the domain restriction in place.
The line $y=x-4$ would give $-8$ at the excluded input $-4$. Every other height remains.
$\operatorname{Rang}f=R-\{-8\}$
(ix) $f(x)=(x-1)^2+1$
Sol:
Domain. The formula is defined for every real input.
Range. At $x=1$, the square is zero and the least output is $1$. The outputs then rise without bound in either direction.
$\operatorname{Rang}f=[1,\infty)$
(x) $f(x)=\dfrac1{x-1}$
Sol:
Domain. Exclude $x=1$, where $x-1=0$.
Range. A reciprocal with numerator $1$ cannot give zero. For any $y\ne0$, the equation $y(x-1)=1$ gives the input $x=1+\frac1y$.
$\operatorname{Rang}f=R-\{0\}$
(xi) $f(x)=\dfrac{x-2}{x+3}$
Sol:
Domain. Exclude $x=-3$, where $x+3=0$.
Range. Put $y=f(x)$ and multiply by $x+3$.
At $y=1$ this last equation would read $0=5$. For $y\ne1$,
This input is allowed because $x+3=\frac5{1-y}\ne0$.
$\operatorname{Rang}f=R-\{1\}$
(xii) $f(x)=\dfrac{x^2-x-6}{x-3}$
Sol:
Domain. Exclude $x=3$, where $x-3=0$.
Range. Split the middle term and factor the numerator.
The line $y=x+2$ would give $5$ at the excluded input $3$. Every other height remains.
$\operatorname{Rang}f=R-\{5\}$
Question 3Given that $A=\{0,1,2,3\}$, $B=\{p,q,r,s\}$ and $f=\{(0,p),(1,q),(2,r),(3,s)\}$. Check whether the function is one to one, onto and/or into.
For a finite mapping, compare the second entries of the ordered pairs. Distinct second entries show that it is one-to-one. Every codomain member must appear for it to be onto.
Sol:
| Input | $0$ | $1$ | $2$ | $3$ |
|---|---|---|---|---|
| Image | $p$ | $q$ | $r$ | $s$ |
One-to-one. The four images are distinct.
Onto. The range is $\{p,q,r,s\}=B$.
Question 4$A=\{2,3,4,5\}$, $B=\{b,c,d,e\}$. The function is defined as $f=\{(2,b),(3,c),(4,e),(5,e)\}$. Check whether the function is one to one, into or onto.
A repeated image for two distinct inputs disproves one-to-one. An unused codomain element proves the function is into.
Sol:
| Input | $2$ | $3$ | $4$ | $5$ |
|---|---|---|---|---|
| Image | $b$ | $c$ | $e$ | $e$ |
One-to-one test. Since $f(4)=e=f(5)$ with $4\ne5$, the function is many-to-one.
Onto test. The range $\{b,c,e\}$ is a proper subset of $B$. The element $d$ has no preimage.
Question 5Check whether the functions are one-to-one or not.
Compare $f(x_1)$ and $f(x_2)$. The function is one-to-one when equality of outputs forces equality of inputs.
(i) $f(x)=4x-7$
Sol:
Suppose $f(x_1)=f(x_2)$.
Equal outputs force equal inputs.
(ii) $f(x)=6x^2+2$
Sol:
Assume that the outputs from $x_1$ and $x_2$ are equal. Simplify the resulting equation.
Either $x_1=x_2$ or $x_1=-x_2$. The second possibility allows different inputs. For instance, substituting $2$ and $-2$ gives $26$ each time.
(iii) $f(x)=\dfrac{x^3-1}{2}$
Sol:
Suppose $f(x_1)=f(x_2)$.
Taking real cube roots in the last step gives the same input.
Question 6Check the type of function $g(x)=2x^2+3x+1$ if $\operatorname{Dom}g(x)=\{0,1,2,3\}$ and $\operatorname{Rang}g(x)=\{1,6,15,28,35\}$.
Substitute every input in a finite domain. Compare its actual image set with the stated target set.
Sol:
One-to-one. Each of the four inputs has a different output.
Onto test. The actual range is $\{1,6,15,28\}$. If the stated five-element set is the codomain, then $35$ has no preimage and the function is into.
Question 7Find the type of the function $h(x)=2x+1$ defined on $h:R\to R$.
Show equality of outputs forces equality of inputs. To prove onto, find an input for an arbitrary output in $R$.
Sol:
One-to-one. Suppose that $h(x_1)=h(x_2)$. Subtract $1$ and divide by $2$.
Onto. Let $y$ be any real output. Solving $y=2x+1$ gives the real input $x=\frac{y-1}{2}$. Substitution verifies the preimage.
Every member of the stated codomain is attained.
Question 8If $f:A\to B$ is defined by $f(x)=\dfrac{x-2}{x-3}$ for all $x\in A$ where $A=R-\{3\}$ and $B=R-\{1\}$. Then show that the function $f$ is bijective.
Use $f(x)=1+\dfrac{1}{x-3}$. To prove bijectivity, show that for each $y\in B$ there is exactly one preimage in $A$.
Sol:
One-to-one. Equate the outputs at two allowed inputs. The denominators are nonzero, so cross-multiplication is valid.
Onto. The formula cannot give $1$ because $x-2$ and $x-3$ differ by $1$. Now let $y$ be any real number other than $1$.
Subtracting $3$ from this input gives $\frac{1}{y-1}$, so $x\ne3$. Substitute in the original function written as $1+\frac1{x-3}$.
Equal outputs have equal inputs and every member of $B$ is attained. This proves bijectivity.
Question 9Find the domain and range of inverse functions when: Also prove that $f(f^{-1}(x))=f^{-1}(f(x))=x$.
Solve $y=f(x)$ for $x$ and exchange the variables. The inverse domain is the original range, and the inverse range is the original domain. Check each composition on its own domain.
(i) $f(x)=4x-3$
Sol:
The original domain and range are both $R$: the formula takes real values and $y=4x-3$ has a real solution for every $y$.
Replace $y$ by the inverse input. Then verify both compositions.
$\operatorname{Dom}f^{-1}=R$
$\operatorname{Rang}f^{-1}=R$
(ii) $f(x)=\dfrac{x}{x-5}$
Sol:
The original input cannot equal $5$. Write $y=f(x)$ and solve for the original input.
The third equation is impossible at $y=1$. For every other $y$ the solved input differs from $5$ by $\frac5{y-1}$. Thus exchanging variables gives the inverse on $R-\{1\}$ with range $R-\{5\}$.
First put the original function into the inverse. The input here must satisfy $x\ne5$.
Next put the inverse into the original function. The input here must satisfy $x\ne1$.
$\operatorname{Dom}f^{-1}=R-\{1\}$
$\operatorname{Rang}f^{-1}=R-\{5\}$
(iii) $f(x)=\dfrac{x+2}{x-1}$
Sol:
The denominator is zero at $x=1$. To find the inverse, put $y=\frac{x+2}{x-1}$.
Interchange the variables. The inverse is $f^{-1}(x)=\frac{x+2}{x-1}$, with $x\ne1$.
First composition
Second composition
$\operatorname{Dom}f^{-1}=\operatorname{Rang}f^{-1}=R-\{1\}$
(iv) $f(x)=\sqrt{x+2}$
Sol:
The square root requires $x\ge-2$ and gives $y\ge0$. Use those conditions when squaring $y=\sqrt{x+2}$.
Conversely, if $y\ge0$ then $x=y^2-2$ gives the original equation back.
Therefore the inverse takes a nonnegative input and returns a value at least $-2$.
$\operatorname{Dom}f^{-1}=[0,\infty)$
$\operatorname{Rang}f^{-1}=[-2,\infty)$
(v) $f(x)=x^2+6$
Sol:
Put $y=f(x)$ and solve for $x$.
The positive and negative choices give two original inputs for each $y>6$. In particular, $f(-1)=f(1)=7$. On the full real line the function is many-to-one.
Restrict the original input to $x\ge0$, so that the positive square root is the inverse. This branch has range $[6,\infty)$, which becomes the inverse domain. Verify both compositions on their respective domains.
$\operatorname{Dom}f^{-1}=[6,\infty)$
$\operatorname{Rang}f^{-1}=[0,\infty)$
On all of $R$, $f$ is many-to-one and has no inverse function.
(vi) $f(x)=\dfrac{2x-1}{x+4}$
Sol:
The original input excludes $-4$. Put $y=f(x)$ and collect the terms containing $x$.
At $y=2$ the equation would give $0=9$. Every other $y$ gives an input that differs from $-4$ by $\frac{9}{2-y}$. Exchange variables and check both compositions.
$\operatorname{Dom}f^{-1}=R-\{2\}$
$\operatorname{Rang}f^{-1}=R-\{-4\}$
Quick check: MCQs on Exercise 1.1
- A function $f:A\to B$ is said to be onto if:
(a) Every element of the set $A$ has a unique image in the set $B$. · (b) Every element in the set $B$ has a preimage in the set $A$. · (c) Some elements of the set $B$ have no preimage in the set $A$. · (d) $f$ is both one to one and onto.Show answer
Answer: (b) Every element in the set $B$ has a preimage in the set $A$.. The defining condition is that the range equals all of $B$. - The function $f(x)=x+1$, where $f:\{1,2,3\}\to\{2,3,4\}$, is:
(a) one to one but not onto · (b) onto but not one to one · (c) both one to one and onto · (d) neither one to one nor ontoShow answer
Answer: (c) both one to one and onto. The three inputs give distinct outputs $2,3,4$, covering the codomain. - The function $f:R\to[0,\infty)$ defined by $f(x)=x^2+1$, is:
(a) onto but not on to one · (b) one to one but not onto · (c) neither one to one nor onto · (d) both one to one and ontoShow answer
Answer: (c) neither one to one nor onto. $f(1)=f(-1)=2$, and $0$ is in the codomain but is never attained. - A function $f:A\to B$ has an inverse if and only if:
(a) $f$ is one to one · (b) $f$ is onto · (c) $f$ is both one to one and onto · (d) $f$ is neither one to one and ontoShow answer
Answer: (c) $f$ is both one to one and onto. The inverse must assign exactly one preimage to each element of $B$. Conversely, when $f$ is bijective, assigning each output its unique preimage defines the inverse.