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

Exercise 1.1 solutions thumbnail for 12th class math Federal Board chapter 1 (Functions and Graphs) showing the key formulas of the exercise

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

Tap a question to open or close it.
Question 1Find the domain of following functions.
Formula used

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)$.

Answer $\operatorname{Dom}f=R$

(ii) $g(x)=\dfrac{x}{x+3}$

Sol:

Division by zero is undefined. Find the input that makes the denominator zero.

$$\begin{aligned}x+3&=0\\[7pt]x&=-3\end{aligned}$$

At $x=-3$ the denominator is zero. For every other real $x$ the denominator is nonzero and the quotient is defined.

Answer $\operatorname{Dom}g=R-\{-3\}$

(iii) $h(x)=\dfrac{x+4}{x^2-9}$

Sol:

Set the denominator equal to zero and factor the difference of squares.

$$\begin{aligned}x^2-9&=0\\[7pt](x-3)(x+3)&=0\end{aligned}$$

The first factor gives $x=3$ and the second gives $x=-3$. Exclude both inputs. At every other real input the denominator is nonzero.

Answer $\operatorname{Dom}h=R-\{-3,3\}$

(iv) $i(x)=\dfrac{x}{5x+2}$

Sol:

The excluded input solves the denominator equation.

$$\begin{aligned}5x+2&=0\\[7pt]&\text{Equivalently, }5x=-2\\[7pt]&\text{Equivalently, }x=-\frac25\end{aligned}$$

The fraction is defined for all remaining real inputs.

Answer $\operatorname{Dom}i=R-\left\{-\dfrac25\right\}$

(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$.

$$x^2=-4$$

A real square is nonnegative, so this equation has no real solution. In fact, $x^2+4\ge4$ for every real $x$.

Answer $\operatorname{Dom}j=R$

(vi) $k(x)=\sqrt{x+1}$

Sol:

A real square root requires a nonnegative radicand.

$$\begin{aligned}&x+1\ge0\\[7pt]&\text{Equivalently, }x\ge-1\end{aligned}$$

Include $x=-1$ because the square root of zero is defined.

Answer $\operatorname{Dom}k=[-1,\infty)$
Question 2Find the domain and range of the functions.
Formula used

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$.

Answer $\operatorname{Dom}f=R$
$\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$.

Answer $\operatorname{Dom}f=R$
$\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.

Answer $\operatorname{Dom}f=[5,\infty)$
$\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.

Answer $\operatorname{Dom}f=R$
$\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$.

$$\begin{aligned}&-1\le\sin x\le1\\[7pt]&0\le1+\sin x\le2\end{aligned}$$
Answer $\operatorname{Dom}f=R$
$\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$.

Answer $\operatorname{Dom}f=[2,\infty)$
$\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.

Answer $\operatorname{Dom}f=R$
$\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.

$$\begin{aligned}&f(x)=\frac{(x-4)(x+4)}{x+4}\\[7pt]&\quad=x-4\qquad(x\ne-4)\end{aligned}$$

The line $y=x-4$ would give $-8$ at the excluded input $-4$. Every other height remains.

Answer $\operatorname{Dom}f=R-\{-4\}$
$\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.

Answer $\operatorname{Dom}f=R$
$\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$.

Answer $\operatorname{Dom}f=R-\{1\}$
$\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$.

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

At $y=1$ this last equation would read $0=5$. For $y\ne1$,

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

This input is allowed because $x+3=\frac5{1-y}\ne0$.

Answer $\operatorname{Dom}f=R-\{-3\}$
$\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.

$$\begin{aligned}&f(x)=\frac{x^2-3x+2x-6}{x-3}\\[7pt]&\quad=\frac{x(x-3)+2(x-3)}{x-3}\\[7pt]&\quad=\frac{(x-3)(x+2)}{x-3}\\[7pt]&\quad=x+2\qquad(x\ne3)\end{aligned}$$

The line $y=x+2$ would give $5$ at the excluded input $3$. Every other height remains.

Answer $\operatorname{Dom}f=R-\{3\}$
$\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.
Formula used

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$.

Answer $f$ is one-to-one and onto, so it is bijective.
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.
Formula used

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.

Answer $f$ is many-to-one and into.
Question 5Check whether the functions are one-to-one or not.
Formula used

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)$.

$$\begin{aligned}4x_1-7&=4x_2-7\\[7pt]&\text{So, }4x_1=4x_2\\[7pt]&\text{So, }x_1=x_2\end{aligned}$$

Equal outputs force equal inputs.

Answer $f$ is one-to-one.

(ii) $f(x)=6x^2+2$

Sol:

Assume that the outputs from $x_1$ and $x_2$ are equal. Simplify the resulting equation.

$$\begin{aligned}6x_1^2+2&=6x_2^2+2\\[7pt]x_1^2&=x_2^2\\[7pt](x_1-x_2)(x_1+x_2)&=0\end{aligned}$$

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.

Answer $f$ is many-to-one on $R$.

(iii) $f(x)=\dfrac{x^3-1}{2}$

Sol:

Suppose $f(x_1)=f(x_2)$.

$$\begin{aligned}\frac{x_1^3-1}{2}&=\frac{x_2^3-1}{2}\\[7pt]&\text{So, }x_1^3=x_2^3\\[7pt]&\text{So, }x_1=x_2\end{aligned}$$

Taking real cube roots in the last step gives the same input.

Answer $f$ is one-to-one.
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\}$.
Formula used

Substitute every input in a finite domain. Compare its actual image set with the stated target set.

Sol:

$$\begin{aligned}g(0)&=2(0)^2+3(0)+1=1\\[7pt]g(1)&=2(1)^2+3(1)+1=6\\[7pt]g(2)&=2(2)^2+3(2)+1=15\\[7pt]g(3)&=2(3)^2+3(3)+1=28\end{aligned}$$

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.

Answer $g$ is one-to-one and into the stated target set, with actual range $\{1,6,15,28\}$.
Question 7Find the type of the function $h(x)=2x+1$ defined on $h:R\to R$.
Formula used

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$.

$$\begin{aligned}2x_1+1&=2x_2+1\\[7pt]2x_1&=2x_2\\[7pt]x_1&=x_2\end{aligned}$$

Onto. Let $y$ be any real output. Solving $y=2x+1$ gives the real input $x=\frac{y-1}{2}$. Substitution verifies the preimage.

$$\begin{aligned}h\left(\frac{y-1}{2}\right)&=2\left(\frac{y-1}{2}\right)+1\\[7pt]&=y\end{aligned}$$

Every member of the stated codomain is attained.

Answer $h$ is bijective.
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.
Formula used

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.

$$\begin{aligned}(x_1-2)(x_2-3)&=(x_2-2)(x_1-3)\\[7pt]x_1x_2-3x_1-2x_2+6&=x_1x_2-3x_2-2x_1+6\\[7pt]x_1&=x_2\end{aligned}$$

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$.

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

Subtracting $3$ from this input gives $\frac{1}{y-1}$, so $x\ne3$. Substitute in the original function written as $1+\frac1{x-3}$.

$$f(x)=1+(y-1)=y$$

Equal outputs have equal inputs and every member of $B$ is attained. This proves bijectivity.

Answer Hence proved.
Question 9Find the domain and range of inverse functions when: Also prove that $f(f^{-1}(x))=f^{-1}(f(x))=x$.
Formula used

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$.

$$\begin{aligned}y&=4x-3\\[7pt]&\text{Equivalently, }4x=y+3\\[7pt]&\text{Equivalently, }x=\frac{y+3}{4}\end{aligned}$$

Replace $y$ by the inverse input. Then verify both compositions.

$$f(f^{-1}(x))=4\left(\frac{x+3}{4}\right)-3=x$$
$$f^{-1}(f(x))=\frac{(4x-3)+3}{4}=x$$
Answer $f^{-1}(x)=\dfrac{x+3}{4}$
$\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.

$$\begin{aligned}y(x-5)&=x\\[7pt]xy-5y&=x\\[7pt]x(y-1)&=5y\\[7pt]x&=\frac{5y}{y-1}\end{aligned}$$

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$.

$$\begin{aligned}f^{-1}(f(x))&=\frac{\frac{5x}{x-5}}{\frac{x}{x-5}-1}\\[7pt]&=\frac{\frac{5x}{x-5}}{\frac{x-(x-5)}{x-5}}\\[7pt]&=\frac{5x}{5}=x\end{aligned}$$

Next put the inverse into the original function. The input here must satisfy $x\ne1$.

$$\begin{aligned}f(f^{-1}(x))&=\frac{\frac{5x}{x-1}}{\frac{5x}{x-1}-5}\\[7pt]&=\frac{\frac{5x}{x-1}}{\frac{5x-5(x-1)}{x-1}}\\[7pt]&=\frac{5x}{5}=x\end{aligned}$$
Answer $f^{-1}(x)=\dfrac{5x}{x-1}$
$\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}$.

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

Interchange the variables. The inverse is $f^{-1}(x)=\frac{x+2}{x-1}$, with $x\ne1$.

First composition

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

Second composition

$$\begin{aligned}&f^{-1}(f(x))=\frac{\frac{x+2}{x-1}+2}{\frac{x+2}{x-1}-1}\\[7pt]&\quad=\frac{x+2+2(x-1)}{x+2-(x-1)}\\[7pt]&\quad=\frac{3x}{3}=x\end{aligned}$$
Answer $f^{-1}(x)=\dfrac{x+2}{x-1}$
$\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}$.

$$\begin{aligned}y^2&=x+2\\[7pt]x&=y^2-2\end{aligned}$$

Conversely, if $y\ge0$ then $x=y^2-2$ gives the original equation back.

$$\sqrt{x+2}=\sqrt{y^2}=y$$

Therefore the inverse takes a nonnegative input and returns a value at least $-2$.

$$\begin{aligned}f(f^{-1}(x))&=\sqrt{(x^2-2)+2}\\[7pt]&=|x|\\[7pt]&=x\qquad(x\ge0)\end{aligned}$$
$$\begin{aligned}f^{-1}(f(x))&=\left(\sqrt{x+2}\right)^2-2\\[7pt]&=(x+2)-2\\[7pt]&=x\qquad(x\ge-2)\end{aligned}$$
Answer $f^{-1}(x)=x^2-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$.

$$\begin{aligned}y&=x^2+6\\[7pt]x^2&=y-6\\[7pt]x&=\pm\sqrt{y-6}\quad(y\ge6)\end{aligned}$$

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.

$$\begin{aligned}f(f^{-1}(x))&=(\sqrt{x-6})^2+6=x\qquad(x\ge6)\\[7pt]f^{-1}(f(x))&=\sqrt{x^2+6-6}\\[7pt]&=|x|\\[7pt]&=x\qquad(x\ge0)\end{aligned}$$
Answer With the domain restricted to $x\ge0$: $f^{-1}(x)=\sqrt{x-6}$
$\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$.

$$\begin{aligned}y(x+4)&=2x-1\\[7pt]xy+4y&=2x-1\\[7pt]x(2-y)&=4y+1\\[7pt]x&=\frac{4y+1}{2-y}\end{aligned}$$

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.

$$\begin{aligned}f(f^{-1}(x))&=\frac{2f^{-1}(x)-1}{f^{-1}(x)+4}\\[7pt]&=\frac{2(4x+1)-(2-x)}{4x+1+4(2-x)}\\[7pt]&=\frac{9x}{9}=x\qquad(x\ne2)\end{aligned}$$
$$\begin{aligned}f^{-1}(f(x))&=\frac{4f(x)+1}{2-f(x)}\\[7pt]&=\frac{4(2x-1)+(x+4)}{2(x+4)-(2x-1)}\\[7pt]&=\frac{9x}{9}=x\qquad(x\ne-4)\end{aligned}$$
Answer $f^{-1}(x)=\dfrac{1+4x}{2-x}$
$\operatorname{Dom}f^{-1}=R-\{2\}$
$\operatorname{Rang}f^{-1}=R-\{-4\}$

Quick check: MCQs on Exercise 1.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$.
  2. 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 onto
    Show answer
    Answer: (c) both one to one and onto. The three inputs give distinct outputs $2,3,4$, covering the codomain.
  3. 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 onto
    Show answer
    Answer: (c) neither one to one nor onto. $f(1)=f(-1)=2$, and $0$ is in the codomain but is never attained.
  4. 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 onto
    Show 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.

Take the Exercise 1.1 quiz (13 MCQs)

Popular posts from this blog

Chapter 10 Numerical Methods MCQs and Short Questions – 12th Class Math Federal Board

Exercise 10.1 Solutions – 12th Class Math Federal Board (Root Finding by Iteration)

Exercise 10.2 Examples – 12th Class Math Federal Board (Trapezoidal and Simpson Rules)