One-one and Onto: a function with an absolute value
Consider
f
: ℝ → [−1, 1],
f
(
x
) =
x
1 + |
x
|
. Is it one-one, onto, both or neither?