f: [0, ∞) --> [0, ∞)
f(x) = x/(1+x)
i know this will be one-one since f'(x) is strictly positive and as for onto, someone told me that if i prove f(x) = y then this will be onto so i gave it a try:
from f(x) i got x = y/(1-y)
then i substituted this value of x in f(x) which indeed gave me f(x) = y but the final answer says the function is not onto. so either the answer is wrong(which i doubt) or i am doing it wrong.
If you want that $f(x)=y$, you get that necessarily $$x=\frac{y}{1-y}$$ So for all $y\neq1$ there exists $x$ such that $f(x)=y$. What if $y=1$? You want to find $x$ such that $$\frac{x}{x+1}=1$$ So $$x=x+1$$ Which doesn't hold for any $x\in\Bbb R$.