Suppose we have a function defined as $f: \mathbb{N} \times \mathbb{N}, f(a,b) = 2a-b$
This was my solution: Suppose $z\in\mathbb{Z}$. Then for some $x,y\in\mathbb{N} \times \mathbb{N}, f(x,y) = z.$
$2x-y = z$
$\Rightarrow -y=z-2x$
$\Rightarrow y = -z + 2x$
$2x = z + y$
$\Rightarrow{x = \frac{z+y}{2}}$
This was supposed to show values for $x$ and $y$ exist in the domain for all outputs. But I was told the following:
Choice of $(a,b)$ may not be in $\mathbb{N} \times \mathbb{N}$
Correct set up but did not choose $a$, $b$ appropriately, based on each case for $y(y>0, y<0, y=0)$
Could someone help me understand what this means?