[step:Apply Hölder to $|f|^p$ and the constant function when $q<\infty$]Assume first that $q<\infty$. Define the exponents $r,s\in[1,\infty]$ by
\begin{align*}
r := \frac{q}{p}
\end{align*}
and
\begin{align*}
s := \frac{q}{q-p}.
\end{align*}
Since $1\leq p<q<\infty$, we have $1<r<\infty$, $1<s<\infty$, and
\begin{align*}
\frac{1}{r}+\frac{1}{s}
=
\frac{p}{q}+\frac{q-p}{q}
=
1.
\end{align*}
Choose a measurable representative of the equivalence class $f$. Define the [measurable functions](/page/Measurable%20Functions) $h:X\to[0,\infty]$, $x\mapsto |f(x)|^p$, and $\mathbb{1}_X:X\to\mathbb{R}$, $x\mapsto 1$. Because $f\in L^q(X,\mathcal{A},\mu;\mathbb{F})$, the function $h$ belongs to $L^r(X,\mathcal{A},\mu;\mathbb{R})$, with
\begin{align*}
\|h\|_r
=
\left(\int_X |h(x)|^r\,d\mu(x)\right)^{1/r}
=
\left(\int_X |f(x)|^q\,d\mu(x)\right)^{p/q}
=
\|f\|_q^p.
\end{align*}
Also $\mathbb{1}_X\in L^s(X,\mathcal{A},\mu;\mathbb{R})$, since $\mu(X)<\infty$, and
\begin{align*}
\|\mathbb{1}_X\|_s = \left(\int_X 1\,d\mu(x)\right)^{1/s} = \mu(X)^{1/s} = \mu(X)^{(q-p)/q}.
\end{align*}
Applying the conjugate pairing estimate [citetheorem:9905] to $h\in L^r$ and $\mathbb{1}_X\in L^s$ gives
\begin{align*}
\int_X |f(x)|^p\,d\mu(x) = \int_X h(x)\mathbb{1}_X(x)\,d\mu(x) \leq \|h\|_r\|\mathbb{1}_X\|_s.
\end{align*}
Substituting the two norm computations yields
\begin{align*}
\int_X |f(x)|^p\,d\mu(x) \leq \|f\|_q^p\,\mu(X)^{(q-p)/q}.
\end{align*}
Since
\begin{align*}
\frac{q-p}{q}
=
p\left(\frac{1}{p}-\frac{1}{q}\right),
\end{align*}
we obtain
\begin{align*}
\|f\|_p^p
\leq
\mu(X)^{p(1/p-1/q)}\|f\|_q^p.
\end{align*}
Taking $p$-th roots gives
\begin{align*}
\|f\|_p
\leq
\mu(X)^{1/p-1/q}\|f\|_q.
\end{align*}
In particular $\|f\|_p<\infty$, so $f\in L^p(X,\mathcal{A},\mu;\mathbb{F})$.[/step]