Consider the function $f : \Bbb R \to \Bbb R$ defined by
$$ f(x) = \exp(x)-\exp(-x)$$
Is $f$ an invertible function? Give reasons for your answer.
The answer given with this question states that since the function is continuous, it is surjective and since it is increasing, it is injective and so bijective and hence invertible. But is it true that all continuous functions are surjective and if this reason is correct?
This is an odd strictly increasing function (compute $f'$) that is bounded neither above nor below. It is therefore invertible.