I have the calculus complete course book, edition 8 by Adams something. In chapter P5 exercise 15 I get a table with functions then I am supposed to find a missing one.
Question: If $f(x)=\frac{x+1}{x}$ and $f\circ g(x)=x$, then find $g(x)$.
I am supposed to find $g(x)$ but I do not know how. According to the solutions manual $g(x)=\frac{1}{x−1}$ but I do not know how to get that number.
Thank you for your help :)
Let $$f : x \mapsto \frac{x+1}{x} = 1+\frac{1}{x}$$
Then, for a given $x \in \mathbb{R}$,
$$ f(g(x))=x \Rightarrow 1+\frac{1}{g(x)}=x \text{ and } g(x)\ne0$$
$$\Rightarrow \frac{1}{g(x)}=x-1 \text{ and } g(x)\ne0$$
$$\Rightarrow g(x)=\frac{1}{x-1} \text{ and } g(x)\ne0 \text{ and } x\ne 1$$
Now, you must verify that $ \forall x \ne 1, (f\circ g)(x)=x$ and $g(x)\ne0$.