[guided]For the reverse direction we assume the ratio criterion and must prove two things: (a) $T$ is sufficient, and (b) $T$ is minimal, i.e., every other sufficient statistic refines $T$.
**(a) $T$ is sufficient.** The plan is to produce a factorisation $f(x; \theta) = g(T(x); \theta)\,h(x)$ and apply [Factorisation](/theorems/1425).
For each $t$ in the image $\mathcal{T}_0 = T(\mathcal{X}_0)$, pick a representative $x_t$ in the level set $T^{-1}(t) \cap \mathcal{X}_0$. (This measurable selection is a standard but non-trivial step; we assume the regularity needed for it to be valid, which holds under mild conditions — e.g., Polish $\mathcal{X}$, Borel $T$, by standard section theorems.)
For any $x \in \mathcal{X}_0$, set $t = T(x)$. Then $T(x) = T(x_t)$, so the ratio criterion (used left-to-right this time) says $f(x; \theta)/f(x_t; \theta)$ does not depend on $\theta$. We therefore can define
\begin{align*}
h(x) := \frac{f(x; \theta)}{f(x_{T(x)}; \theta)}, \qquad g(t; \theta) := f(x_t; \theta),
\end{align*}
with $h(x)$ well-defined because the right-hand side does not depend on $\theta$. Rearranging gives
\begin{align*}
f(x; \theta) = g(T(x); \theta)\,h(x),
\end{align*}
so by the [Factorisation Criterion](/theorems/1425), $T$ is sufficient.
**(b) $T$ is minimal.** Let $T'$ be any other sufficient statistic. We must show $T$ is a function of $T'$ a.e. on $\mathcal{X}_0$.
By sufficiency of $T'$, Factorisation gives $f(x; \theta) = g'(T'(x); \theta)\,h'(x)$. Before dividing, we must verify that we can safely cancel the $g'$ terms without worrying about $h'$ vanishing. We claim $h'(x) > 0$ for every $x \in \mathcal{X}_0$. To see this, note that $x \in \mathcal{X}_0$ means $f(x; \theta_0) > 0$ for some $\theta_0 \in \Theta$. Since $f(x; \theta_0) = g'(T'(x); \theta_0)\,h'(x)$ with $g', h' \ge 0$, both factors must be strictly positive; in particular $h'(x) > 0$. The same argument gives $h'(y) > 0$ for $y \in \mathcal{X}_0$.
Now consider two points $x, y \in \mathcal{X}_0$ with $T'(x) = T'(y)$. Since $h'(x), h'(y) > 0$, the ratio of densities is
\begin{align*}
\frac{f(x; \theta)}{f(y; \theta)} = \frac{g'(T'(x); \theta)\,h'(x)}{g'(T'(y); \theta)\,h'(y)}.
\end{align*}
Since $T'(x) = T'(y)$, the $g'$ terms are identical and cancel, leaving $h'(x)/h'(y)$, which does not depend on $\theta$.
Now apply the ratio criterion right-to-left: "ratio constant in $\theta$" implies "$T(x) = T(y)$". So whenever $T'(x) = T'(y)$, also $T(x) = T(y)$. This is exactly the statement that $T$ is constant on the level sets of $T'$, which in turn means $T$ factors through $T'$: there is a function $\psi: \mathcal{T}'_0 \to \mathcal{T}$ with $T = \psi \circ T'$ on $\mathcal{X}_0$. The measurability of $\psi$ — the standard delicate step — follows from measurable factorisation theorems (e.g., Kuratowski–Ryll-Nardzewski) applied to the measurable functions $T$ and $T'$.
Combining (a) and (b), $T$ is minimal sufficient.[/guided]