# Thread: providing example of one to one ,onto functions......

1. ## providing example of one to one ,onto functions......

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.

2. Your function is not correct. It needs to be $f(x)=2x+1.$ That is 1-1 and onto (i.e., a bijection).

To show this is 1-1, look at the definition of 1-1. A function is 1-1 if and only if for every $x,y\in\mathcal{D}(f)$ such that $x\not=y,$ it follows that $f(x)\not=f(y).$ Or, equivalently, $f(x)=f(y)$ implies $x=y.$ So, assume $x,y\in(0,1)$ and $f(x)=f(y).$ Can you prove that $x=y$?

For onto, you have to show that the function "hits" every value in the range. That is, for every $y\in\mathcal{R}(f),$ there exists $x\in\mathcal{D}(f)$ such that $y=f(x).$ So, pick a $y\in(1,3).$ Now show that you can find an $x\in(0,1)$ such that $y=f(x).$

Can you finish from here?

3. ## Problem finding example

I have trouble finding actual example of function. Is there any rule you can use
to find example.

4. Any linear function is a bijection.

Consider the function: $f(x) = \left( {\frac{{d - c}}{{b - a}}} \right)\left[ {x - a} \right] + c$

Does that map $\left( {a,b} \right) \leftrightarrow \left( {c,d} \right)?$

5. ## thank you

6. Reason I asked this is because my teacher during test can come up with some other constrain and ask if we can produce functions that follows the constrain. He might ask to produce one function for 1-1 ,onto.
I was just curious if there is rule you can use that no matter what constrain he puts on I can produce function examples.

7. It is not true that for any two sets A and B, there exists a bijection between them. In particular, if the two sets have different cardinality, you won't be able to find a bijection. Make sense?