Solving the One-to-One and Onto Problem of f: R→N

  • Thread starter Thread starter nicnicman
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 2K views
nicnicman
Messages
132
Reaction score
0
To me this problem doesn't seem right. Here it is:

Is the following function one-to-one, onto, both, or neither?
f: R→N f(x) = ceiling 2x/3

My answer: onto

Although, wouldn't this function be invalid since it produces negative numbers and the set of natural numbers doesn't include negatives? Consider f(-1.5) = -1.

Am I misunderstanding a concept?
 
Physics news on Phys.org
A lot of people would consider the ceiling function to be f:R->Z.
It would be invalid to say it's f:R->N Unless you restrict R to R+
 
Well, that's the way is worded in the book, so it must be a typo. Maybe the writers meant to put Z rather than N.

Would my answer be correct if were R to Z?

Thanks for the help.