For the given functions, find (f o g)(x) and (g o f)(x) and the domain of each. f(x...

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

Answer

\((f \circ g)(x) = \frac{8x}{x-3}, x \in (-\infty, 0) \cup (0, 3) \cup (3, \infty); (g \circ f)(x) = \frac{1-3x}{8}, x \in (-\infty, 1/3) \cup (1/3, \infty)\)

Work

$(f \circ g)(x) = f(1/x) = \frac{8}{1-3/x} = \frac{8x}{x-3}$. Domain: $x \neq 0$ (from $g$) and $x-3 \neq 0 \implies x \neq 3$. $(g \circ f)(x) = g(\frac{8}{1-3x}) = \frac{1-3x}{8}$. Domain: $1-3x \neq 0 \implies x \neq 1/3$.

Step-by-step solution

Substitute $g(x)$ into $f(x)$ to get $(f \circ g)(x) = \frac{8x}{x-3}$ with $x \neq 0, 3$. Substitute $f(x)$ into $g(x)$ to get $(g \circ f)(x) = \frac{1-3x}{8}$ with $x \neq 1/3$.