I am stuck on the following problem that says:
Let $\,f \colon \Bbb R \to \Bbb R$ be a continuous function such that $\,|f(x)-f(y)|\ge \frac12 |x-y|, \forall x,y \in \Bbb R$ . Then which of the following options is correct?
$f$ is both one-to-one and onto
$f$ is one-to-one but may not be onto
$f$ is onto but may not be one-to-one
$f$ is neither one-to-one nor onto
I do not know how to approach this particular problem even though I know about one-to-one and onto functions. Can someone explain? Thanks and regards to all.