prove function is surjective /analysis proofs!! Suppose $f:(a,b)\longrightarrow\mathbb R$, differentiable, where $(a,b)\subseteq\mathbb R$ is an open interval. Assume that $f'(x)$ is not $=0$.


*

*Show that there is an open interval $(c,d)\subseteq\mathbb R$ such that $f((a,b))=(c,d)$ (hint: $f$ is surjective on $(c,d)$).

*Since $f$ bijectively maps $(a,b)$ into $(c,d)$ (it is injective and
surjective), we may define an inverse function $g:(c, d)\rightarrow(a, b)$
where $g(f(x)) = x$. Prove that $g'(f(x))= 1/f'(x)$ for all $x\in(a,b)$.

*

*Let $c=\inf \{\,f(x)\|a<x<b\,\}$,  $d=\sup \{\,f(x)\|a<x<b\,\}$,. The assumption that $f(x)=c$ for some $x\in(a,b)$ leads to $f'(x)=0$, similarly for $d$. The rest is IVT.

*Apply $\frac d{dx}$ to both sides of $g(f(x))=x$.
