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:R→R such that f(x)=ln(x+x2+1), another function g(x) is defined such that gof(x)=x∀x∈R, then g(2) is:
(a)2e2+e−2
(b)e2
(c)2e2−e−2
(d)e−2
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). Also it is given that gof(x)=x∀x∈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
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
As we know that e and ln (natural log) cancels out, so we get,
⇒x+x2+1=ey
Taking x to the other sides, we get,
⇒x2+1=ey−x
Now squaring both the sides, we get,
⇒x2+1=(ey−x)2
As we know that (a−b)2=a2+b2−2ab, hence we get,
⇒x2+1=e2y+x2−2xey
Cancelling x2 from both the sides, we get,
⇒1=e2y−2xey
Rearranging the terms, we get,
⇒2xey=e2y−1
Dividing both the sides by 2ey, we get,
⇒x=ey(2)ey(ey−ey1)
Since, x1=x−1, so we get,
⇒x=2ey−e−y
Now we know that g(y) = x, so we get,
g(y)=2ey−e−y
Now we need to find the value of g(2). So putting y = 2 in g(y), we get,
⇒g(2)=2e2−e−2
Hence, g(2) is equal to 2e2−e−2.
So, the correct answer is “Option (c)”.
Note: Students should carefully find the value of x in terms of y. We have simplified 2eye2y−1 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)).