@kory
Your overall aim is not just to show that the function [MATH]f:\mathbb{N} \rightarrow[/MATH] 4[MATH]\mathbb{Z}^+[/MATH] is 1-1 but also that it is onto.
Informally, 'onto' means that any element of 4[MATH]\mathbb{Z}^+[/MATH] is [MATH] f(n)[/MATH] for some [MATH]n \in \mathbb{N}[/MATH].
Informally, '1-1' means that any element of 4[MATH]\mathbb{Z}^+[/MATH] is [MATH] f(n)[/MATH] for at most one value of [MATH]n \in \mathbb{N}[/MATH].
Even though it is obvious that f is both, in proofs you must always start with the
definitions. So I look up the definition of 1-1 and I look up the definition of onto (even though I 'know' what they mean), write out the definitions as they apply to this question and simply prove those statments (no matter what looks obvious or not to me). Lots of statements in mathematics are obvious and many of them are not true! So you always stick rigidly to the definitions. Here is a proof.
Prove that [MATH]f:\mathbb{N} \rightarrow 4\mathbb{Z}^+[/MATH] is a bijection (1-1 and onto)
where [MATH]f(n)=4n, n \in \mathbb{N}[/MATH]
Onto: [MATH]\quad y \in 4\mathbb{Z}^+ \rightarrow \exists n \in \mathbb{N}: f(n)=y \quad[/MATH] (from definition)
Proof
[MATH]4\mathbb{Z}^+ = \{4n:n \in \mathbb{N}\}[/MATH][MATH]\therefore y \in 4\mathbb{Z}^+ \rightarrow \exists n \in \mathbb{N}: 4n=y[/MATH][MATH]\therefore \exists n \in \mathbb{N}: f(n)=y[/MATH]Q.E.D.
1-1:[MATH]\quad f(n_1)=f(n_2) \rightarrow n_1=n_2 \quad[/MATH] (from definition)
Proof
[MATH]f(n_1)=f(n_2)[/MATH][MATH]\leftrightarrow 4n_1=4n_2[/MATH][MATH]\leftrightarrow n_1=n_2[/MATH]Q.E.D.
f is a bijection
ºººººººººººººººººººººººººººº
(1) Next I have to prove that the function is a one-to-one correspondence between the set [math]N[/math] and the set [math]4Z^+[/math](2) Suppose [math]y[/math] is a particular but arbitrarily chosen positive integer.
(3) We must show that [math]x[/math] in the natural numbers, [math]x \in N[/math] such that [math]f(n)=y[/math](4) [math]4x+2=y[/math](5) [math]4x=y+2[/math] by addition
(6) [math]4x[/math]/[math]4[/math] = [math]y+2[/math]/[math]4[/math] by division
(7) [math]x=y+1[/math]/[math]2[/math](8) Since [math]y=2k+2[/math](9) then [math]x=(2k+2)+1)[/math]/[math]2[/math] = [math]2k+2[/math]/[math]2 = k+1[/math]
A few comments
(1) you are only trying to prove it is 1-1 (but also needs to be onto)
(2) y should be an element of 4[MATH]\mathbb{Z}^+[/MATH] not [MATH]\mathbb{Z}^+[/MATH](3) ...that
there exists x...f(x)=y (you have x and n)
(4) the function f(x)=4x not 4x+2
(5) this line does not follow from the previous one
(6)(7) when you divide y+2 by 4, you get [MATH]\frac{y}{4} + \frac{2}{4} \text{ or } \frac{y+2}{4}[/MATH](8) we know that y is of the form [MATH]4k[/MATH](9) the brackets don't match and the division by 2 is done incorrectly.
In summary, this is a good example of a formal proof and there are some good points to learn from it.
It all helps. You'll pick up a few things from this for next time. It all takes time and practice!