# Math Help - Show Injective/surjective

1. ## Show Injective/surjective

f: A x b --> A defined by f(x,y) = x

Injective: Here's what I did
Suppose f(x,y) = f(a,b). Then x = a. Thus not injective
Is this the correct approach?

2. For injective, you need to say that $b$ is not equal to $y$ (you start with $(a, b) \neq (x, y)$, but then you concluded that $a=x$ but not that $b=y$).

So, a proof would be: Note that for $b \neq y$, $f(x, b) = f(x, y)$ but $(x, b) \neq (x, y)$.

What you did was write down the working to find the proof, but it wasn't the proof itself per se.

For surjective, you start with something arbitrary in the image, A, and find something which maps to it. So, let $x \in A$. Can you think of some $(a, b) \in A \times B$ such that $f(a, b) = x$?

3. Originally Posted by jzellt
f: A x b --> A defined by f(x,y) = x

Injective: Here's what I did
Suppose f(x,y) = f(a,b). Then x = a. Thus not injective
Well, what causes the "thus"? To show "not injective", you need to assert that two different pairs, $(x_1, y_1)$ and $(x_2, y_2)$, can give the same value- you need to give a counterexample.

Is this the correct approach?