I am confused about how to represent a function to fix one on one correspondence, and how to represent a function only correspondence but not onto. Here are the example questions, could someone give me help or a tip?
Find a function f : [1, 2) → (1, 2) that is 1-1 correspondence.
f: (0.5, 1) → (0, 1) that is 1-1 but not onto;
f: (0.5, 1) → (0, 1) that is 1-1 correspondence;
An answer is already provided by William Elliot.
Put $f(x)=x$ for each $x$ from $(0.5,1)$.
Put $f(x)=2x-1$ for each $x$ from $(0.5,1)$.