1. Understand the problem:
We are given two composite functions:
\[ (g \circ f)(x) = \sin x \quad \text{and} \quad (f \circ g)(x) = (\sin \sqrt{x})^2 \]
We need to determine the functions \( f(x) \) and \( g(x) \) from the given options.
2. Analyze the first condition \( (g \circ f)(x) = \sin x \):
This means \( g(f(x)) = \sin x \).
If \( f(x) = \sin^2 x \), then \( g(\sin^2 x) = \sin x \), which suggests \( g(y) = \sqrt{y} \) (where \( y = \sin^2 x \)).
3. Verify with the second condition \( (f \circ g)(x) = (\sin \sqrt{x})^2 \):
If \( g(x) = \sqrt{x} \) and \( f(x) = \sin^2 x \), then:
\[ f(g(x)) = f(\sqrt{x}) = \sin^2 (\sqrt{x}) = (\sin \sqrt{x})^2 \]
This matches the given condition.
Correct Answer: (C) \(f(x) = \sin^2 x, g(x) = \sqrt{x}\)
Given $(g \circ f)(x) = \sin x$, this implies: \[ g(f(x)) = \sin x. \] Also, $(f \circ g)(x) = \left(\sin \sqrt{x}\right)^2$, which implies: \[ f(g(x)) = \left(\sin \sqrt{x}\right)^2. \] From $(g \circ f)(x) = \sin x$, let $f(x) = \sin^2 x$. Substituting into $g(f(x)) = \sin x$, we get: \[ g(\sin^2 x) = \sin x \implies g(x) = \sqrt{x}. \] Verify with $(f \circ g)(x)$: \[ f(g(x)) = f(\sqrt{x}) = \sin^2(\sqrt{x}). \] This matches the given condition. Hence, $f(x) = \sin^2 x$ and $g(x) = \sqrt{x}$.