Find f(g(x)) and g(f(x)) for f(x) = 4/(x-2) and g(x) = 4/x + 2

Check the final answer first, then review the worked steps.

Answer

\(f(g(x)) = x, g(f(x)) = x, f and g are inverses of each other\)

Work

f(g(x)) = \frac{4}{(\frac{4}{x}+2)-2} = \frac{4}{4/x} = x \\ g(f(x)) = \frac{4}{4/(x-2)} + 2 = (x-2) + 2 = x

Step-by-step solution

  1. Find $f(g(x))$ by substituting $g(x) = \frac{4}{x} + 2$ into $f(x) = \frac{4}{x-2}$: $$f(g(x)) = \frac{4}{(\frac{4}{x} + 2) - 2} = \frac{4}{\frac{4}{x}} = 4 \cdot \frac{x}{4} = x$$ 2. Find $g(f(x))$ by substituting $f(x) = \frac{4}{x-2}$ into $g(x) = \frac{4}{x} + 2$: $$g(f(x)) = \frac{4}{\frac{4}{x-2}} + 2 = 4 \cdot \frac{x-2}{4} + 2 = (x-2) + 2 = x$$ 3. Since both $f(g(x)) = x$ and $g(f(x)) = x$, the functions are inverses.