I have problem with following....

I was given constrain that function must have input between (0,1) and output (1,3)-open intervals

I want to prove or disprove that example function I have given f(x)=1/2*x +1 is one to one or onto.

Can someone give me example how to prove or disprove this.