DPMachine
- 26
- 0
Homework Statement
I'm trying to show that the function below is surjective
f: Z^2 \rightarrow Z, f((n,m))=nm
Homework Equations
The Attempt at a Solution
1. Suppose z\in Z.
2. Then z=nm.
3. So n=\frac{z}{m} and m=\frac{z}{n}
4. So f((n,m))=\frac{z^2}{mn}=\frac{n^2m^2}{mn}=nm=z
I'm mostly wondering about step 2... Am I allowed to assume that? (z=nm?)