How to prove injection and surjection for a function with 2 variables?

2 replies · 4K views · last reply
pmooney12
Messages
1
Reaction score
0
how do you prove injection and surjection of the function of 2 variables. for example f:RxR->R
 
For example the map f:RxR--> R:x-->x+y.

This is not an injection, since f(1,0)=f(0,1).
This is a surjection. Take a in R, then f(a,0)=a.