Let $(X, \mathbb{X}, \mu)$ be a finite measure space and let $1 \leq p< \infty$. Let $\phi$ be continuous on $\mathbb{R}$ to $\mathbb{R}$ and satisfy the condition: $(*)$ there esists $K>0$ such that $|\phi (t)|<K|t|$ for $t \geq K$. Show that $\phi \circ f$ belongs to $L_p$ for each $f \in L_p$ . Conversely , if $\phi$ does not satisfy $(*)$, then there is a function $f$ in $L_p$ on a finite measure space such that $\phi \circ f$ does not belong to $L_p$.
Any suggestion? I tried to use $|\phi (t)|<K|t|$ exchanging $t$ by $f(t)$ and I calculated $||\phi \circ f||_p$, but without success.
One has $\int_X \vert \phi \circ f \vert^p d\mu=\int_{f^{-1}([-K,K])} \vert \phi \circ f \vert^p d\mu + \int_{f^{-1}(\mathbb{R}\setminus [-K,K])}\vert \phi \circ f \vert^p d\mu$.
But $$\int_{f^{-1}([-K,K])} \vert \phi \circ f \vert^p d\mu \leqslant \mu(X) \max_{[-K,K]} (\vert \phi \vert ^p) < \infty.$$
And $$\int_{f^{-1}(\mathbb{R}\setminus [-K,K])}\vert \phi \circ f \vert^p d\mu \leqslant \int_{f^{-1}(\mathbb{R}\setminus [-K,K])} K^p \vert f \vert ^p d\mu \leqslant K^p \int_X \vert f \vert ^p d\mu < \infty .$$