# Injectivity & Surjectivity

1. Jan 9, 2010

### Dollydaggerxo

Find whether the following function is injective and/or surjective:
f(x)= (x^2-2x+2)/(2x^2+2x+2)

Basically, I just need to know if it is surjective. I don't want any proof because I should work it out myself seen as it is homework haha. I have a done it a few different ways and came out with the answer that it is neither, however, the way the question is worded seems like it should be one or the other or both.
Any help would be greatly appreciated.
Thank you

Last edited: Jan 9, 2010
2. Jan 9, 2010

### tiny-tim

Welcome to PF!

Hi Dollydaggerxo! Welcome to PF!

(try using the X2 tag just above the Reply box )
Show us how you got your answer, and then we'll see what went wrong.

3. Jan 9, 2010

### Dollydaggerxo

oh i didnt see that haha thanks :)

and well, I constructed the graph of it, and since there is a horizontal line that intersects it more than once, I have concluded that it is not injective.

for the surjectvity, I have it isnt surjective because if you were to construct a horizontal line at say, -1, it wouldnt intersect it. Therefore it is not surjective for R -> R but perhaps for R -> R+o
also for the surjectivity, I found that there is no real number, x, such that the function = -1
(i apologise for the rubbish symbols!)

4. Jan 9, 2010

### tiny-tim

ok but messy

in particular, for the surjectivity, it would be neater to complete the squares, and then consider whether certain things can be negative.

5. Jan 9, 2010

### Dollydaggerxo

oh yes i could do that....
neither could be negative, which means its not surjective because a positive/positive cannot be negative and therefore cannot be mapped onto every real number?

sorry for all the questions, I appreciate your help.

so is it neither? was that right or not?
Thank you

6. Jan 9, 2010

### tiny-tim

Yup!
Yes, that was right.

7. Jan 9, 2010

### Dollydaggerxo

Okay, thanks for your help, greatly appreciated! :)