I am having a bit of trouble with injections and surjections. Injections are like one to one functions (for every element in the domain, there is one, and only one in the range) and surjections are functions that hit every part of the range I believe. How would one prove $g: \mathbb{R}^3 \to \mathbb{R}^2$ where say $g$ is defined as $$g(x,y,z) = (xz,yz)$$ is(n't) injective or surjective?
For injectivity, I believe providing the counter-example $x,y,z = 1$ and $x,y,z = -1$ is enough to disprove it. That would be because there would be two points on the domain that for the range are equal, namely $g(1,1,1) = (1,1)$ and $g(-1,-1,-1) = (1,1)$.
For surjectivity, I believe that it is true. I believe you can map out the entire range from $(-\infty , \infty)$. I don't know how to go about proving the statement though.