Let $f: R^2 \rightarrow R^2 $ defined by $f(x,y) = (x+y,xy).$
Claim : Inverse image of each point in $R^2$ under f has at most two elements.
My Claim :
Suppose $f(x,y) = (x+y,xy)= (p,q).$ We have to find suitable x and y.
By solving the equations I get,
$x = \dfrac {p \pm \sqrt{p^2 - 4q}}{2q}, y = p-\dfrac {p \pm \sqrt{p^2 - 4q}}{2q}.$
My doubt is that for those $(p,q)$ such that $p^2 < 4q .$ Inverses doesn't exist.
How come inverse exist for all point in $R^2$ ?
They don't. For example, if $p = 0, q = 1$ then $x + y = p = 0$ implies $x = -y$ but then $xy = -x^2 = q = 1$ has no solution.