Solveeit Logo

Question

Question: Consider the function \(f\left( x \right)=\dfrac{x-2}{x-3}\) defined by f: A\(\to \)B where \(A=R-\l...

Consider the function f(x)=x2x3f\left( x \right)=\dfrac{x-2}{x-3} defined by f: A\to B where A=R-\left\\{ 3 \right\\},B=R-\left\\{ 1 \right\\}. Show that f(x) is one-one and onto and hence find f1{{f}^{-1}}.

Explanation

Solution

To prove that the function f(x) is one-one and onto we should know the method of proof adopted for each of the conditions. For a function to be one-one function, it should satisfy the condition that if f(x1)=f(x2)f\left( {{x}_{1}} \right)=f\left( {{x}_{2}} \right) implies that x1=x2{{x}_{1}}={{x}_{2}}. For a function to be onto, we should take f(x)=yf\left( x \right)=y and get the value of x in terms of y and back substitute the value of x in the function f(x). If we get y in the back calculation without any undetermined point, then the function is onto function. Once we know the function is both one-one and onto, we can call it bijective and we can conclude that the function has an inverse function. We can calculate the inverse function by assumingf1(x)=yx=f(y){{f}^{-1}}\left( x \right)=y\Rightarrow x=f\left( y \right), and get the value of y in terms of x. The final value of y in terms of x will be the inverse function of f(x).

Complete step by step answer:
In the question, we are given a function f(x)=x2x3f\left( x \right)=\dfrac{x-2}{x-3}.
Let us consider the one-one property.
For a function f(x) to be one-one function, it should satisfy the condition that if f(x1)=f(x2)f\left( {{x}_{1}} \right)=f\left( {{x}_{2}} \right) implies that x1=x2{{x}_{1}}={{x}_{2}}.
Let us consider two values x1,x2{{x}_{1}},{{x}_{2}} for which f(x1)=f(x2)f\left( {{x}_{1}} \right)=f\left( {{x}_{2}} \right). We can write that
x12x13=x22x23\dfrac{{{x}_{1}}-2}{{{x}_{1}}-3}=\dfrac{{{x}_{2}}-2}{{{x}_{2}}-3}
By cross multiplying, we get
(x12)×(x23)=(x22)×(x13) x1x22x23x1+6=x1x22x13x2+6 \begin{aligned} & \left( {{x}_{1}}-2 \right)\times \left( {{x}_{2}}-3 \right)=\left( {{x}_{2}}-2 \right)\times \left( {{x}_{1}}-3 \right) \\\ & {{x}_{1}}{{x}_{2}}-2{{x}_{2}}-3{{x}_{1}}+6={{x}_{1}}{{x}_{2}}-2{{x}_{1}}-3{{x}_{2}}+6 \\\ \end{aligned}
Cancelling the terms, we get
x1=x2 x1=x2 \begin{aligned} & -{{x}_{1}}=-{{x}_{2}} \\\ & {{x}_{1}}={{x}_{2}} \\\ \end{aligned}
So, we got that f(x1)=f(x2)x1=x2f\left( {{x}_{1}} \right)=f\left( {{x}_{2}} \right)\Rightarrow {{x}_{1}}={{x}_{2}}
So, f(x) is a one-one function.
Let us consider f(x)=yf\left( x \right)=y, we can write that
y=x2x3 xy3y=x2 xyx=3y2 x(y1)=3y2 x=3y2y1 \begin{aligned} & y=\dfrac{x-2}{x-3} \\\ & xy-3y=x-2 \\\ & xy-x=3y-2 \\\ & x\left( y-1 \right)=3y-2 \\\ & x=\dfrac{3y-2}{y-1} \\\ \end{aligned}
Let us substitute the value of x back in f(x)=x2x3f\left( x \right)=\dfrac{x-2}{x-3}, we get
f(x)=3y2y123y2y13=3y22y+2y13y23y+3y1=y1=yf\left( x \right)=\dfrac{\dfrac{3y-2}{y-1}-2}{\dfrac{3y-2}{y-1}-3}=\dfrac{\dfrac{3y-2-2y+2}{y-1}}{\dfrac{3y-2-3y+3}{y-1}}=\dfrac{y}{1}=y.
In the above calculations, we have cancelled (y-1) because the range of y-1 does not include 1. If the range of f(x) also includes the value of 1, we cannot cancel y-1 and the function f(x) will not be onto.
In our question, function f(x) is one-one and onto function in the given range.
We know that for a one-one and onto function, inverse exists.
Let us consider f1(x)=y{{f}^{-1}}\left( x \right)=y, we can write that
x=f(y) x=y2y3 xy3x=y2 xyy=3x2 y(x1)=3x2 y=3x2x1 \begin{aligned} & x=f\left( y \right) \\\ & x=\dfrac{y-2}{y-3} \\\ & xy-3x=y-2 \\\ & xy-y=3x-2 \\\ & y\left( x-1 \right)=3x-2 \\\ & y=\dfrac{3x-2}{x-1} \\\ \end{aligned}
But we know that f1(x)=y{{f}^{-1}}\left( x \right)=y, we can write
f1(x)=3x2x1{{f}^{-1}}\left( x \right)=\dfrac{3x-2}{x-1}
\therefore It is proved that the function f(x)=x2x3f\left( x \right)=\dfrac{x-2}{x-3} is one-one and onto in the given domain and range and f1(x)=3x2x1{{f}^{-1}}\left( x \right)=\dfrac{3x-2}{x-1}.

Note:
The domain and range in the question play a major role in deciding if the function is one-one or not and onto or not. In our question, at x=3 there is no value for the function, hence we can infer that 3 is removed from the domain. Similarly, for f(x)=1, we don’t have a value of x, that is why it is removed from the range to make the function one-one and onto function. We can also see that the end of the proof for onto function has the inverse of the function.