Give an example of 2 integrable functions $f$ and $g$ such that $g$ o $f$ is not integrable
Here is my example but I'm not so sure about it
$f(x)=-1$ is integrable and so is $g(x)=\sqrt{x}$. But $g$ o $f= \sqrt{-1}$ doesn't exist so it isn't integrable.
I wonder if my example is correct. If not Can you tell me why and give a better example?