Can surjective functions map an element from the domain to two distinct elements in the codomain? I know that each element in the codomain must have at least one corresponding element in the domain. But for example,
$$f:\mathbb{R} \implies \mathbb{R^*} $$ $$f\left( \frac{a}{b}\right) = a + b $$
$$s.t.b \neq 0$$
this maps zero to every number, but it still is onto the codomain right?
By the way, $\mathbb{R^*}$ is the set of all real numbers not including zero.