1
$\begingroup$

Is f(m,n) = m^2 - 4 an onto function for a function that goes from Z x Z -> Z (Where Z means the set of all integers).
I think it is an onto function, but I am not sure how to go about proving it. Can I set an integer y to = m^2 - 4 and then show that if I set n = 0, it will work...?

(Sorry for any formatting errors).

  • 0
    What value of $m$ would allow you to have $m^2-4=2$? Also, you write $m^2-4$, there is no $n$ in that... might as well have been $\Bbb Z\to\Bbb Z$2017-02-02
  • 0
    Oh m would have to be the square root of 6 in this case, which does not fall under the requirement of Integers. So it is not onto...2017-02-02

1 Answers 1

2

It is not an onto function.

$$f(m,n) \geq -4$$

Hence there is no $(m,n)$ such that $f(m,n)=-5$ but $-5 \in \mathbb{Z}$