I have got the following problem. I am sure that I miss something but can not get what I am missing.
Let $\mathcal{F}=\{f | f:\mathbb{R}\to\mathbb{R}\}$ and define a relation $\mathbf{R}$ on $\mathcal{F}$ as follows:
$\mathbf{R}=\{(f,g)\in\mathcal{F}\times\mathcal{F}|\exists h \in \mathcal{F}(f=h \circ g) \}$
Let $f(x)=x^2+1$, $g(x)=x^3+1$ and $h(x)=x^4+1$. Prove that $hRf$ , but it is not the case that $gRf$.
Prove the first claim is simple, let $c(x)=(x-1)^2+1$ then $c(f(x))=c(x^2+1)=x^4+1=h(x)$ so $hRf$.
My problem is that from my point of view we can also prove that $gRf$. If we take into account that there is a function $b(x)=(|x-1|)^{3/2}+1$. Domane of this function is $\mathbb{R}$ and because $(x^2+1)-1$ is always positive we have got $(x^2)^{3/2} + 1 = x^3 + 1$.
Could someone kindly explain what I miss?