Solveeit Logo

Question

Question: If \[f:R\to R\] such that \[f\left( x \right)=\ln \left( x+\sqrt{{{x}^{2}}+1} \right),\] another fun...

If f:RRf:R\to R such that f(x)=ln(x+x2+1),f\left( x \right)=\ln \left( x+\sqrt{{{x}^{2}}+1} \right), another function g(x) is defined such that gof(x)=xxR,gof\left( x \right)=x\forall x\in R, then g(2) is:
(a)e2+e22\left( a \right)\dfrac{{{e}^{2}}+{{e}^{-2}}}{2}
(b)e2\left( b \right){{e}^{2}}
(c)e2e22\left( c \right)\dfrac{{{e}^{2}}-{{e}^{-2}}}{2}
(d)e2\left( d \right){{e}^{-2}}

Explanation

Solution

In this question, we are given a function f(x) and we are given that g (f(x)) = x. Using this we have to find g(x) for this we will assume f(x) as y. So we need to get g(y) = x. Now we need to find the value of x in terms of y so we will find it by solving f(x) = y. At last, we will put the value of y as 2 in the found g(y) to get our final answer.

Complete step-by-step answer:
Here we are given f(x)=ln(x+x2+1).f\left( x \right)=\ln \left( x+\sqrt{{{x}^{2}}+1} \right). Also it is given that gof(x)=xxR,gof\left( x \right)=x\forall x\in R, which means g(f(x)) = x. Now, let us suppose that f(x) = y. So, we get g(y) = x. Now, x becomes a function of y, so we need to find it. As we know that f(x) = y, so we get,
ln(x+x2+1)=y\ln \left( x+\sqrt{{{x}^{2}}+1} \right)=y
Now using this we will find the value of x in terms of y. Now using this we will find the value of x in terms of y. Taking the exponential on both the sides, we get,
eln(x+x2+1)=ey\Rightarrow {{e}^{\ln \left( x+\sqrt{{{x}^{2}}+1} \right)}}={{e}^{y}}
As we know that e and ln (natural log) cancels out, so we get,
x+x2+1=ey\Rightarrow x+\sqrt{{{x}^{2}}+1}={{e}^{y}}
Taking x to the other sides, we get,
x2+1=eyx\Rightarrow \sqrt{{{x}^{2}}+1}={{e}^{y}}-x
Now squaring both the sides, we get,
x2+1=(eyx)2\Rightarrow {{x}^{2}}+1={{\left( {{e}^{y}}-x \right)}^{2}}
As we know that (ab)2=a2+b22ab,{{\left( a-b \right)}^{2}}={{a}^{2}}+{{b}^{2}}-2ab, hence we get,
x2+1=e2y+x22xey\Rightarrow {{x}^{2}}+1={{e}^{2y}}+{{x}^{2}}-2x{{e}^{y}}
Cancelling x2{{x}^{2}} from both the sides, we get,
1=e2y2xey\Rightarrow 1={{e}^{2y}}-2x{{e}^{y}}
Rearranging the terms, we get,
2xey=e2y1\Rightarrow 2x{{e}^{y}}={{e}^{2y}}-1
Dividing both the sides by 2ey,2{{e}^{y}}, we get,
x=ey(ey1ey)ey(2)\Rightarrow x=\dfrac{{{e}^{y}}\left( {{e}^{y}}-\dfrac{1}{{{e}^{y}}} \right)}{{{e}^{y}}\left( 2 \right)}
Since, 1x=x1,\dfrac{1}{x}={{x}^{-1}}, so we get,
x=eyey2\Rightarrow x=\dfrac{{{e}^{y}}-{{e}^{-y}}}{2}
Now we know that g(y) = x, so we get,
g(y)=eyey2g\left( y \right)=\dfrac{{{e}^{y}}-{{e}^{-y}}}{2}
Now we need to find the value of g(2). So putting y = 2 in g(y), we get,
g(2)=e2e22\Rightarrow g\left( 2 \right)=\dfrac{{{e}^{2}}-{{e}^{-2}}}{2}
Hence, g(2) is equal to e2e22.\dfrac{{{e}^{2}}-{{e}^{-2}}}{2}.

So, the correct answer is “Option (c)”.

Note: Students should carefully find the value of x in terms of y. We have simplified e2y12ey\dfrac{{{e}^{2y}}-1}{2{{e}^{y}}} to match our answer with the options. Students should note that only natural log (ln) cancels out with e. Students can make mistakes in signs, so take care of that. Here, got (x) means g(f(x)).